]>
granicus.if.org Git - php/log
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
...
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
Dmitry Stogov [Fri, 6 Mar 2015 13:26:40 +0000 (16:26 +0300)]
Improved hash key manangement code
Tjerk Meesters [Fri, 6 Mar 2015 12:59:52 +0000 (20:59 +0800)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fixed bug #68917 (parse_url fails on some partial urls)
Update test to run locally instead of remotely
Tjerk Meesters [Fri, 6 Mar 2015 12:58:20 +0000 (20:58 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fixed bug #68917 (parse_url fails on some partial urls)
Tjerk Meesters [Fri, 6 Mar 2015 12:51:22 +0000 (20:51 +0800)]
Fixed bug #68917 (parse_url fails on some partial urls)
Dmitry Stogov [Fri, 6 Mar 2015 08:00:19 +0000 (11:00 +0300)]
Fixed conditions
Dmitry Stogov [Fri, 6 Mar 2015 07:56:19 +0000 (10:56 +0300)]
Revert "Fix logical-op-parentheses warning"
This reverts commit
b7408234b9d9846d69d4557aa1850f5dc4622d1a .
Daniel Lowrey [Fri, 6 Mar 2015 05:00:38 +0000 (22:00 -0700)]
Update test to run locally instead of remotely
Daniel Lowrey [Fri, 6 Mar 2015 05:00:38 +0000 (22:00 -0700)]
Update test to run locally instead of remotely
Reeze Xia [Fri, 6 Mar 2015 04:18:45 +0000 (12:18 +0800)]
Fix logical-op-parentheses warning
What a condition ;-)
Daniel Lowrey [Fri, 6 Mar 2015 04:18:09 +0000 (21:18 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fixed bug (#69195 Inconsistent stream crypto values across versions)
Conflicts:
ext/standard/http_fopen_wrapper.c
Daniel Lowrey [Fri, 6 Mar 2015 03:48:47 +0000 (20:48 -0700)]
Fixed bug (#69195 Inconsistent stream crypto values across versions)
PHP 5.6.0 altered the semantics of the following constants:
- STREAM_CRYPTO_METHOD_SSLv23_CLIENT
- STREAM_CRYPTO_METHOD_SSLv23_SERVER
- STREAM_CRYPTO_METHOD_TLS_CLIENT
- STREAM_CRYPTO_METHOD_TLS_SERVER
Instead of representing the SSLv23_*() handshake methods the v23
constants were changed to allow only SSLv2 or SSLv3 connections.
Likewise, the TLS methods were modified from using only the TLSv1
handshake to allowing TLS1,1.1, and 1.2. This created a situation
in which users upgrading from previous versions faced a potential
security degradation if they did not update code to use different
constants. In the interest of compatibility across PHP versions
the original semantics have been restored with the following
caveat:
**IMPORTANT**
The SSLv23 client/server methods will no longer negotiate the use
of the insecure SSLv2 or SSLv3 protocols by default. Users wishing
to allow these protocols must explicitly add them to the method
bitmask via the appropriate flags.
Daniel Lowrey [Fri, 6 Mar 2015 00:53:04 +0000 (17:53 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fix stream_select() issue with OpenSSL buffer
Conflicts:
main/streams/streams.c
Chris Wright [Sat, 23 Aug 2014 00:40:19 +0000 (01:40 +0100)]
Fix stream_select() issue with OpenSSL buffer
Ensure data from OpenSSL internal buffer has been
transfered to PHP stream buffer before a select()
emulation operation is performed
Addresses bug #65137
https://bugs.php.net/bug.php?id=65137
Conflicts:
ext/openssl/xp_ssl.c
Dmitry Stogov [Thu, 5 Mar 2015 23:13:47 +0000 (02:13 +0300)]
Improved hash key manangement code
Daniel Lowrey [Thu, 5 Mar 2015 21:11:35 +0000 (14:11 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Really fix zts this time
Conflicts:
ext/openssl/xp_ssl.c
Daniel Lowrey [Thu, 5 Mar 2015 21:08:46 +0000 (14:08 -0700)]
Really fix zts this time
Ferenc Kovacs [Thu, 5 Mar 2015 20:07:34 +0000 (21:07 +0100)]
Merge branch 'PHP-5.6'
* PHP-5.6:
re-arrange NEWS
Ferenc Kovacs [Thu, 5 Mar 2015 20:07:05 +0000 (21:07 +0100)]
re-arrange NEWS
Daniel Lowrey [Thu, 5 Mar 2015 19:24:04 +0000 (12:24 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fix ZTS
Fix ZTS build
Conflicts:
ext/openssl/openssl.c
ext/openssl/xp_ssl.c
Daniel Lowrey [Thu, 5 Mar 2015 19:19:15 +0000 (12:19 -0700)]
Fix ZTS
Daniel Lowrey [Thu, 5 Mar 2015 19:13:33 +0000 (12:13 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fix ZTS build