]>
granicus.if.org Git - php/log
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
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
Daniel Lowrey [Thu, 5 Mar 2015 19:12:55 +0000 (12:12 -0700)]
Fix ZTS build
Adam Harvey [Thu, 5 Mar 2015 18:58:54 +0000 (18:58 +0000)]
Like Shady, --with-mysql-sock is back.
As Matteo pointed out, MySQLi and PDO_MySQL both rely on this.
Ferenc Kovacs [Thu, 5 Mar 2015 18:08:46 +0000 (19:08 +0100)]
Merge branch 'PHP-5.6'
* PHP-5.6:
5.6.8 up next
Ferenc Kovacs [Thu, 5 Mar 2015 18:07:23 +0000 (19:07 +0100)]
5.6.8 up next
Daniel Lowrey [Thu, 5 Mar 2015 17:27:11 +0000 (10:27 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fix bug #67403 (Add signatureType to openssl_x509_parse)
5.5.24 now
Conflicts:
ext/openssl/openssl.c
Daniel Lowrey [Thu, 5 Mar 2015 17:21:32 +0000 (10:21 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fix bug #67403 (Add signatureType to openssl_x509_parse)
5.5.24 now
Conflicts:
configure.in
main/php_version.h
Daniel Lowrey [Thu, 5 Mar 2015 16:50:04 +0000 (09:50 -0700)]
Fix bug #67403 (Add signatureType to openssl_x509_parse)
Dmitry Stogov [Thu, 5 Mar 2015 15:19:27 +0000 (18:19 +0300)]
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
Unused var
Dmitry Stogov [Thu, 5 Mar 2015 15:18:39 +0000 (18:18 +0300)]
Avoid repeatable strlen() calls
Xinchen Hui [Thu, 5 Mar 2015 15:09:58 +0000 (23:09 +0800)]
Unused var
Dmitry Stogov [Thu, 5 Mar 2015 14:22:10 +0000 (17:22 +0300)]
Minimize copying of HashTable realocation
Julien Pauli [Thu, 5 Mar 2015 13:13:39 +0000 (14:13 +0100)]
5.5.24 now
Xinchen Hui [Thu, 5 Mar 2015 13:06:59 +0000 (21:06 +0800)]
Merge branch 'PHP-5.6'
Xinchen Hui [Thu, 5 Mar 2015 13:06:07 +0000 (21:06 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6
Xinchen Hui [Thu, 5 Mar 2015 12:57:48 +0000 (20:57 +0800)]
Error also maybe happened here
Dmitry Stogov [Thu, 5 Mar 2015 11:23:48 +0000 (14:23 +0300)]
Avoid useless op_array duplication
Xinchen Hui [Thu, 5 Mar 2015 11:06:02 +0000 (19:06 +0800)]
Merge branch 'PHP-5.6'
Xinchen Hui [Thu, 5 Mar 2015 11:04:43 +0000 (19:04 +0800)]
Revert commit to zend signal by mistake
Anatol Belski [Thu, 5 Mar 2015 07:41:50 +0000 (08:41 +0100)]
fix incompatible pointer
Xinchen Hui [Thu, 5 Mar 2015 10:45:00 +0000 (18:45 +0800)]
Merge branch 'cleanup' of https://github.com/zxcvdavid/php-src
Xinchen Hui [Thu, 5 Mar 2015 10:41:12 +0000 (18:41 +0800)]
Merge branch 'PHP-5.6'
Xinchen Hui [Thu, 5 Mar 2015 10:40:25 +0000 (18:40 +0800)]
Update NEWs
Xinchen Hui [Thu, 5 Mar 2015 10:40:06 +0000 (18:40 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6
Xinchen Hui [Thu, 5 Mar 2015 10:16:39 +0000 (18:16 +0800)]
Fixed bug #69174 (leaks when unused inner class use traits precedence)
Xinchen Hui [Thu, 5 Mar 2015 10:11:22 +0000 (18:11 +0800)]
Revive Zend Signals handler (and fixed bug #61083)
Reeze Xia [Thu, 5 Mar 2015 09:05:21 +0000 (17:05 +0800)]
Merge branch 'pull-request/1142'
* pull-request/1142:
Fixed wrong parameter type of php_stream_mmap_range()
Rasmus Lerdorf [Thu, 5 Mar 2015 08:44:47 +0000 (00:44 -0800)]
This test fails with multibyte on because it spews
a conversion error on the bogus file
Rasmus Lerdorf [Thu, 5 Mar 2015 08:44:47 +0000 (00:44 -0800)]
This test fails with multibyte on because it spews
a conversion error on the bogus file
Wei Dai [Thu, 5 Mar 2015 07:55:30 +0000 (15:55 +0800)]
Remove the unused vars
Daniel Lowrey [Thu, 5 Mar 2015 06:56:36 +0000 (23:56 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fixed bug #68265 (SAN match fails with trailing DNS dot)
Daniel Lowrey [Thu, 5 Mar 2015 06:55:42 +0000 (23:55 -0700)]
Fixed bug #68265 (SAN match fails with trailing DNS dot)
Daniel Lowrey [Thu, 5 Mar 2015 06:00:59 +0000 (23:00 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
hexadecimal is case*in*sensitive
Conflicts:
ext/openssl/xp_ssl.c
Daniel Lowrey [Thu, 5 Mar 2015 05:55:22 +0000 (22:55 -0700)]
Merge branch 'PHP-5.6' of https://github.com/bjori/php-src into PHP-5.6
* 'PHP-5.6' of https://github.com/bjori/php-src:
hexadecimal is case*in*sensitive
Daniel Lowrey [Thu, 5 Mar 2015 05:42:25 +0000 (22:42 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fixed bug #68879 (IP Address fields in subjectAltNames not used)
Fix broken test
Conflicts:
ext/openssl/xp_ssl.c
Daniel Lowrey [Thu, 5 Mar 2015 05:39:25 +0000 (22:39 -0700)]
Fixed bug #68879 (IP Address fields in subjectAltNames not used)
Daniel Lowrey [Thu, 5 Mar 2015 05:37:07 +0000 (22:37 -0700)]
Fix broken test
Xinchen Hui [Thu, 5 Mar 2015 04:40:09 +0000 (12:40 +0800)]
Use strpprintf
Adam Harvey [Thu, 5 Mar 2015 01:07:36 +0000 (01:07 +0000)]
Merge branch 'master' into HEAD
Adam Harvey [Thu, 5 Mar 2015 00:51:05 +0000 (00:51 +0000)]
Use a deprecated function that still exists.
Adam Harvey [Thu, 5 Mar 2015 00:33:20 +0000 (00:33 +0000)]
Remove unnecessary debug warning (that also broke tests).
Adam Harvey [Thu, 5 Mar 2015 00:27:36 +0000 (00:27 +0000)]
Explicitly depend opcache on pcre.
Adam Harvey [Thu, 5 Mar 2015 00:27:21 +0000 (00:27 +0000)]
Update UPGRADING.
Adam Harvey [Thu, 5 Mar 2015 00:21:38 +0000 (00:21 +0000)]
Merge remote-tracking branch 'datibbaw/kill-ereg'
Conflicts:
ext/ereg/config.w32
ext/ereg/config0.m4
ext/ereg/ereg.c
ext/ereg/php_ereg.h
ext/ereg/php_regex.h
ext/ereg/regex/engine.c
ext/ereg/regex/main.c
ext/ereg/regex/regcomp.c
ext/ereg/regex/regerror.c
ext/ereg/tests/split_error_002.phpt
ext/ereg/tests/split_variation_003.phpt
ext/ereg/tests/spliti_error_002.phpt
ext/ereg/tests/spliti_variation_003.phpt
ext/pgsql/pgsql.c
sapi/apache/php_apache_http.h
sapi/apache_hooks/php_apache_http.h
Adam Harvey [Thu, 5 Mar 2015 00:18:40 +0000 (00:18 +0000)]
Remove the deprecated MySQL extension.
Relevant RFC: https://wiki.php.net/rfc/remove_deprecated_functionality_in_php7
Hannes Magnusson [Thu, 5 Mar 2015 00:03:45 +0000 (16:03 -0800)]
hexadecimal is case*in*sensitive
Dmitry Stogov [Wed, 4 Mar 2015 23:10:38 +0000 (02:10 +0300)]
Improved method inhereitance code and cleanup
Daniel Lowrey [Wed, 4 Mar 2015 20:56:58 +0000 (13:56 -0700)]
Merge branch 'tls-alpn'
* tls-alpn:
Improve test to target specific issue
Misc updates/cleanup
Add TLS ALPN extension support in crypto client/server streams
Add stream_socket_crypto_info() function
Update for compatibility with newer openssl libs
Dmitry Stogov [Wed, 4 Mar 2015 20:06:07 +0000 (23:06 +0300)]
Improved ineritance code
Daniel Lowrey [Wed, 4 Mar 2015 19:50:35 +0000 (12:50 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fixed bug #68920 (use strict peer_fingerprint input checks)
Conflicts:
ext/openssl/xp_ssl.c
Daniel Lowrey [Wed, 4 Mar 2015 17:54:34 +0000 (12:54 -0500)]
Fixed bug #68920 (use strict peer_fingerprint input checks)
Anatol Belski [Wed, 4 Mar 2015 18:26:47 +0000 (19:26 +0100)]
fix ini registry handling
Daniel Lowrey [Wed, 4 Mar 2015 15:23:46 +0000 (10:23 -0500)]
Improve test to target specific issue
Dmitry Stogov [Wed, 4 Mar 2015 15:17:06 +0000 (18:17 +0300)]
Merge commit 'refs/pull/1066/head' of git://github.com/php/php-src
* git://github.com/php/php-src:
Add zend assert deleted by accident
Let's keep it simple
Improve internal function return types checking for parent
Dmitry Stogov [Wed, 4 Mar 2015 15:07:07 +0000 (18:07 +0300)]
Merge commit 'refs/pull/1137/head' of git://github.com/php/php-src
* git://github.com/php/php-src:
Optimize class constant declare compilation
Dmitry Stogov [Wed, 4 Mar 2015 14:55:02 +0000 (17:55 +0300)]
Merge branch 'pull-request/1128'
* pull-request/1128:
Fixed memleak in alloc_globals_ctor
Dmitry Stogov [Wed, 4 Mar 2015 14:41:01 +0000 (17:41 +0300)]
Improved code for class property inheritance
Daniel Lowrey [Sat, 28 Feb 2015 22:11:30 +0000 (17:11 -0500)]
Misc updates/cleanup
Xinchen Hui [Wed, 4 Mar 2015 10:27:18 +0000 (18:27 +0800)]
Merge branch 'master' of https://git.php.net/repository/php-src
Xinchen Hui [Wed, 4 Mar 2015 10:26:58 +0000 (18:26 +0800)]
Add test for previously fixed segfault
Anatol Belski [Wed, 4 Mar 2015 09:22:51 +0000 (10:22 +0100)]
ensure the mail() socket is not leaked after request
Xinchen Hui [Wed, 4 Mar 2015 09:17:48 +0000 (17:17 +0800)]
Fixed segfault
Xinchen Hui [Wed, 4 Mar 2015 06:49:03 +0000 (14:49 +0800)]
Merge branch 'PHP-5.6'
Xinchen Hui [Wed, 4 Mar 2015 06:48:41 +0000 (14:48 +0800)]
Fixed bug #69159 (Opcache causes problem when passing a variable variable to a function)
Xinchen Hui [Wed, 4 Mar 2015 04:10:23 +0000 (12:10 +0800)]
indent
Xinchen Hui [Wed, 4 Mar 2015 04:08:54 +0000 (12:08 +0800)]
Fixed memleak