]>
granicus.if.org Git - php/log
Xinchen Hui [Mon, 9 Mar 2015 09:14:55 +0000 (17:14 +0800)]
Merge branch 'PHP-5.6'
Jeff Welch [Mon, 9 Mar 2015 07:54:19 +0000 (03:54 -0400)]
Fix #69202: FILTER_FLAG_STRIP_BACKTICK ignored unless other flags are used.
Xinchen Hui [Mon, 9 Mar 2015 09:13:47 +0000 (17:13 +0800)]
Update NEWs
Reeze Xia [Mon, 9 Mar 2015 08:12:53 +0000 (16:12 +0800)]
Now opened_path is a zend_string
Xinchen Hui [Mon, 9 Mar 2015 07:50:52 +0000 (15:50 +0800)]
Fixed build
Wei Dai [Mon, 9 Mar 2015 07:21:08 +0000 (15:21 +0800)]
Fixed build
Masaki Kagaya [Wed, 18 Feb 2015 14:17:39 +0000 (23:17 +0900)]
added missing parentheses
added test case for bug #68846
replaced tab with space
added missing parentheses again
See also: http://icu-project.org/docs/papers/gb18030.html#h7
Julien Pauli [Tue, 15 Jul 2014 15:18:56 +0000 (17:18 +0200)]
Fix #67626
Julien Pauli [Fri, 20 Feb 2015 12:38:35 +0000 (13:38 +0100)]
Fix #63486
Stanislav Malyshev [Mon, 9 Mar 2015 06:41:30 +0000 (23:41 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
added missing parentheses
Fix #67626
Fix #63486
Conflicts:
main/streams/userspace.c
Masaki Kagaya [Wed, 18 Feb 2015 14:17:39 +0000 (23:17 +0900)]
added missing parentheses
added test case for bug #68846
replaced tab with space
added missing parentheses again
See also: http://icu-project.org/docs/papers/gb18030.html#h7
Julien Pauli [Tue, 15 Jul 2014 15:18:56 +0000 (17:18 +0200)]
Fix #67626
Julien Pauli [Fri, 20 Feb 2015 12:38:35 +0000 (13:38 +0100)]
Fix #63486
Masaki Kagaya [Wed, 18 Feb 2015 14:17:39 +0000 (23:17 +0900)]
added missing parentheses
added test case for bug #68846
replaced tab with space
added missing parentheses again
See also: http://icu-project.org/docs/papers/gb18030.html#h7
Stanislav Malyshev [Mon, 9 Mar 2015 06:20:50 +0000 (23:20 -0700)]
Merge branch 'pull-request/1104' into PHP-5.5
* pull-request/1104:
Fix #63486
Stanislav Malyshev [Mon, 9 Mar 2015 05:45:47 +0000 (22:45 -0700)]
Merge branch 'pull-request/1106' into PHP-5.5
* pull-request/1106:
Fix #67626
Xinchen Hui [Mon, 9 Mar 2015 04:08:34 +0000 (12:08 +0800)]
Add note of group use
Xinchen Hui [Mon, 9 Mar 2015 03:43:10 +0000 (11:43 +0800)]
Merge branch 'filter/adjust-logic' of https://github.com/whatthejeff/php-src
Xinchen Hui [Mon, 9 Mar 2015 03:19:05 +0000 (11:19 +0800)]
Temorary fix for phpdbg segfault while use zend_mm_set_custom_handlers
Stanislav Malyshev [Mon, 9 Mar 2015 00:57:47 +0000 (17:57 -0700)]
Merge branch 'pull-request/1049'
* pull-request/1049:
Rename __callstatic (internal name) to __callStatic (userland name) in error message
Stanislav Malyshev [Mon, 9 Mar 2015 00:24:11 +0000 (17:24 -0700)]
Merge branch 'pull-request/1135'
* pull-request/1135:
Return void like other functions
Use zend_parse_parameters_none()
Implemented FR #45235 A way to clear or reset the results for error_get_last()
Stanislav Malyshev [Mon, 9 Mar 2015 00:13:32 +0000 (17:13 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Regression tests for SplFileInfo class setters
Stanislav Malyshev [Mon, 9 Mar 2015 00:13:25 +0000 (17:13 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Regression tests for SplFileInfo class setters
Stanislav Malyshev [Mon, 9 Mar 2015 00:13:02 +0000 (17:13 -0700)]
Merge branch 'pull-request/1134' into PHP-5.5
* pull-request/1134:
Regression tests for SplFileInfo class setters
Stanislav Malyshev [Mon, 9 Mar 2015 00:05:59 +0000 (17:05 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Add missing value for error_reporting directive
Stanislav Malyshev [Mon, 9 Mar 2015 00:05:51 +0000 (17:05 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Add missing value for error_reporting directive
Stanislav Malyshev [Mon, 9 Mar 2015 00:05:37 +0000 (17:05 -0700)]
Merge branch 'pull-request/1130' into PHP-5.5
* pull-request/1130:
Add missing value for error_reporting directive
Stanislav Malyshev [Mon, 9 Mar 2015 00:04:13 +0000 (17:04 -0700)]
Merge branch 'pull-request/1129'
* pull-request/1129:
Array - make krsort FAST_ZPP compatibility
Stanislav Malyshev [Mon, 9 Mar 2015 00:02:48 +0000 (17:02 -0700)]
Merge branch 'pull-request/1127'
* pull-request/1127:
merge ZEND_SIGNED_MULTIPLY_LONG for i386 and x86_64
Stanislav Malyshev [Sun, 8 Mar 2015 23:51:00 +0000 (16:51 -0700)]
Adding notes regarding implementation of FR #69089
Stanislav Malyshev [Sun, 8 Mar 2015 23:46:15 +0000 (16:46 -0700)]
Merge branch 'pull-request/1070'
* pull-request/1070:
More docs for /win32/build/confutils.js
Adding some inline docs/docs cleanup
Anatol Belski [Sun, 8 Mar 2015 19:31:02 +0000 (20:31 +0100)]
Merge remote-tracking branch 'weltling/libmagic_upgrade'
* weltling/libmagic_upgrade: (29 commits)
partially revert wrong merge
after merge fix
updated libmagic.patch
catching up
catching up
regenerated data file
more after patch fixes
restore good patch parts
stat is done by php
use zend_strndup
started to patch for libmagic.next
fix test outputs
catch up with the previous cve-2014-3538 patch
catching up
catching up
catching up
updated the test magic file
add patchlevel info
portable off_t
regenerated data file
...
Jeff Welch [Sun, 8 Mar 2015 15:31:26 +0000 (11:31 -0400)]
Adjust logic in sanity checks.
The code should return false when the provided options argument is neither an
array nor a valid filter.
Anatol Belski [Sun, 8 Mar 2015 19:05:34 +0000 (20:05 +0100)]
partially revert wrong merge
Anatol Belski [Sun, 8 Mar 2015 18:56:31 +0000 (19:56 +0100)]
after merge fix
Anatol Belski [Sun, 8 Mar 2015 16:24:44 +0000 (17:24 +0100)]
updated libmagic.patch
Anatol Belski [Fri, 6 Mar 2015 15:52:14 +0000 (16:52 +0100)]
catching up
Anatol Belski [Fri, 6 Mar 2015 14:16:08 +0000 (15:16 +0100)]
catching up
Anatol Belski [Fri, 6 Mar 2015 08:43:00 +0000 (09:43 +0100)]
regenerated data file
Anatol Belski [Fri, 6 Mar 2015 08:28:34 +0000 (09:28 +0100)]
more after patch fixes
Anatol Belski [Thu, 5 Mar 2015 21:43:41 +0000 (22:43 +0100)]
restore good patch parts
Anatol Belski [Thu, 5 Mar 2015 13:08:22 +0000 (14:08 +0100)]
stat is done by php
Anatol Belski [Thu, 5 Mar 2015 13:01:36 +0000 (14:01 +0100)]
use zend_strndup
Anatol Belski [Thu, 5 Mar 2015 12:50:29 +0000 (13:50 +0100)]
started to patch for libmagic.next
everything is broken yet
Anatol Belski [Sun, 8 Mar 2015 12:16:28 +0000 (13:16 +0100)]
fix test outputs
Anatol Belski [Sun, 8 Mar 2015 12:09:58 +0000 (13:09 +0100)]
catch up with the previous cve-2014-3538 patch
Anatol Belski [Sat, 7 Mar 2015 22:42:44 +0000 (23:42 +0100)]
catching up
Anatol Belski [Fri, 6 Mar 2015 15:52:14 +0000 (16:52 +0100)]
catching up
Anatol Belski [Fri, 6 Mar 2015 14:16:08 +0000 (15:16 +0100)]
catching up
Anatol Belski [Fri, 6 Mar 2015 12:45:27 +0000 (13:45 +0100)]
updated the test magic file
Anatol Belski [Fri, 6 Mar 2015 10:43:49 +0000 (11:43 +0100)]
add patchlevel info
Anatol Belski [Fri, 6 Mar 2015 10:19:28 +0000 (11:19 +0100)]
portable off_t
Anatol Belski [Fri, 6 Mar 2015 08:43:00 +0000 (09:43 +0100)]
regenerated data file
Anatol Belski [Fri, 6 Mar 2015 08:28:34 +0000 (09:28 +0100)]
more after patch fixes
Anatol Belski [Thu, 5 Mar 2015 21:43:41 +0000 (22:43 +0100)]
restore good patch parts
Anatol Belski [Thu, 5 Mar 2015 14:42:03 +0000 (15:42 +0100)]
missing prototype
Anatol Belski [Thu, 5 Mar 2015 14:32:04 +0000 (15:32 +0100)]
libmagic.patch so far
Anatol Belski [Thu, 5 Mar 2015 14:04:51 +0000 (15:04 +0100)]
updated test magic file
Anatol Belski [Thu, 5 Mar 2015 13:12:08 +0000 (14:12 +0100)]
use right memory api
Anatol Belski [Thu, 5 Mar 2015 13:08:22 +0000 (14:08 +0100)]
stat is done by php
Anatol Belski [Thu, 5 Mar 2015 13:01:36 +0000 (14:01 +0100)]
use zend_strndup
Anatol Belski [Thu, 5 Mar 2015 12:50:29 +0000 (13:50 +0100)]
started to patch for libmagic.next
everything is broken yet
Xinchen Hui [Sun, 8 Mar 2015 16:41:19 +0000 (00:41 +0800)]
Revert "Fixed memleak while using custom mm"
This reverts commit
5eabd979ffb2f0edb996baf91100197066a81a09 .
Xinchen Hui [Sun, 8 Mar 2015 16:18:54 +0000 (00:18 +0800)]
Fixed memleak while using custom mm
Xinchen Hui [Sun, 8 Mar 2015 16:17:52 +0000 (00:17 +0800)]
Revert "Fixed memleak in alloc_globals_ctor"
This reverts commit
85316b4bf02f75e6a89efb8b10416a0505a2ae4d .
Xinchen Hui [Sun, 8 Mar 2015 16:01:55 +0000 (00:01 +0800)]
Declares in top
Xinchen Hui [Sun, 8 Mar 2015 15:54:46 +0000 (23:54 +0800)]
Merge branch 'batch-use' of https://github.com/marcioAlmada/php-src
Márcio Almada [Sat, 7 Mar 2015 20:59:20 +0000 (17:59 -0300)]
fix compilation warnings, rename batch_use to group_use
Rouven Weßling [Sun, 8 Mar 2015 14:55:23 +0000 (22:55 +0800)]
Add ZEND_ARG_CALLABLE_INFO to allow internal function to type hint against callable
xingxing [Sun, 8 Mar 2015 14:48:29 +0000 (22:48 +0800)]
Add configtest option to fpm init.d script
Xinchen Hui [Sun, 8 Mar 2015 12:22:02 +0000 (20:22 +0800)]
Fixed bug #69201 (Memory leak using iterator and get by reference on PHP 7)
Reeze Xia [Sun, 8 Mar 2015 11:24:50 +0000 (19:24 +0800)]
ZTS cleanup
Jakub Zelenka [Sun, 8 Mar 2015 10:47:22 +0000 (10:47 +0000)]
Merge branch 'pull-request/1151'
Remi Collet [Sun, 8 Mar 2015 06:37:07 +0000 (07:37 +0100)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fix odbc build as shared
Remi Collet [Sun, 8 Mar 2015 06:36:35 +0000 (07:36 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fix odbc build as shared
Remi Collet [Sun, 8 Mar 2015 06:34:51 +0000 (07:34 +0100)]
Márcio Almada [Wed, 11 Feb 2015 21:58:45 +0000 (18:58 -0300)]
add explicit tests for variations on whitespace usages
Márcio Almada [Fri, 30 Jan 2015 22:54:37 +0000 (19:54 -0300)]
require trailing T_NS_SEPARATOR #1005
Márcio Almada [Thu, 29 Jan 2015 05:26:41 +0000 (02:26 -0300)]
fix test ns_092.phpt
Márcio Almada [Thu, 29 Jan 2015 05:16:53 +0000 (02:16 -0300)]
allow non mixed use declarations, CC @nikic #1005
```
use function N\S { foo, bar, etc };
use const N\S { FOO, BAR, ETC };
```
Related tests:
```
make test -j4 TESTS="-m Zend/tests/ns_0{88..92}*.phpt"
```
All namespace tests:
```
make test -j4 TESTS="Zend/tests/ns_*.phpt"
```
Márcio Almada [Thu, 29 Jan 2015 04:38:16 +0000 (01:38 -0300)]
add test for non mixed batch use statements... #1005
```
use function foo\math {sin, cos, sum};
use const foo\math { PI, E, GAMMA, GOLDEN_RATIO }
```
Márcio Almada [Tue, 27 Jan 2015 05:48:39 +0000 (02:48 -0300)]
ensure that comments are allowed between batch use declarations #1005
Márcio Almada [Tue, 20 Jan 2015 02:40:52 +0000 (23:40 -0300)]
simplify batch use declaration syntax error test: ns_088.phpt
Márcio Almada [Mon, 19 Jan 2015 05:22:23 +0000 (02:22 -0300)]
first implementation of batch use compilation
Márcio Almada [Mon, 19 Jan 2015 05:21:11 +0000 (02:21 -0300)]
add tests for batch use declarations with classes, functions and constants
Márcio Almada [Sun, 18 Jan 2015 14:46:32 +0000 (11:46 -0300)]
fix typo
Bob Weinand [Sat, 7 Mar 2015 19:59:42 +0000 (20:59 +0100)]
Added test for bug #69160 (current behavior is correct)
Xinchen Hui [Sat, 7 Mar 2015 16:15:55 +0000 (00:15 +0800)]
Fixed zend_hash_append result duplicated key
actually, maybe we should precalculate before calling zend_hash_appen
when we are not sure whether the hash is caclculated(prop_info->name).
but it looks a little ugly.. (also for zend_string_copy)
Bob Weinand [Sat, 7 Mar 2015 12:07:18 +0000 (13:07 +0100)]
Reduced initial VM_STACK page size of Generators to 4 KB (256 slots)
Generators all have their own vm_stack, but usually don't go really deep.
In most cases even most of the 4 KB will remain unused (in my tests average is rather 1 KB), but this was tested a straightforward implementation without a lot of abstraction layers.
That way I'm using a more conservative 4 KB stack size which really should be enough for, I think, at least 90% of the cases.
This was necessary to not immediately run out of memory with 95%+ usused vm_stack space: If you have a few thousands of Generators active, your application quickly hits memory_limit with a stack page size of 256 KB...
In addition, it's also a bit faster (70% less instructions for zend_vm_stack_new_page) due to emalloc() not having to allocate a whole new segment (segment size 256 KB). Also no mmap()/malloc() necessary.
Dmitry Stogov [Sat, 7 Mar 2015 12:07:48 +0000 (15:07 +0300)]
Restored incorrectly merged NEWS
Hugo Fonseca [Sat, 7 Mar 2015 10:53:31 +0000 (10:53 +0000)]
Added test for bug 69187
Xinchen Hui [Sat, 7 Mar 2015 08:49:07 +0000 (16:49 +0800)]
Fixed bug #69198 (Compact function generate array with length but no content)
Anatol Belski [Fri, 6 Mar 2015 20:02:29 +0000 (21:02 +0100)]
fix fetching wrong resource
Jakub Zelenka [Fri, 6 Mar 2015 18:41:43 +0000 (18:41 +0000)]
Update UPGRADING with info about JSON decode error for empty string
Daniel Lowrey [Fri, 6 Mar 2015 18:31:04 +0000 (11:31 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fixed bug #69197 (openssl_pkcs7_sign handles default value incorrectly)
Conflicts:
ext/openssl/openssl.c
Daniel Lowrey [Fri, 6 Mar 2015 18:29:56 +0000 (11:29 -0700)]
Fixed bug #69197 (openssl_pkcs7_sign handles default value incorrectly)
Dmitry Stogov [Fri, 6 Mar 2015 16:23:54 +0000 (19:23 +0300)]
Use fast zend_hash_append() API
Anatol Belski [Fri, 6 Mar 2015 15:49:08 +0000 (16:49 +0100)]
fix data type
Anatol Belski [Fri, 6 Mar 2015 15:41:57 +0000 (16:41 +0100)]
fix invalid write
Dmitry Stogov [Fri, 6 Mar 2015 14:07:36 +0000 (17:07 +0300)]
Make fast path linear