]>
granicus.if.org Git - php/log
Ferenc Kovacs [Fri, 2 Oct 2015 19:51:13 +0000 (21:51 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Update NEWS file with LDAP fixes
Ferenc Kovacs [Fri, 2 Oct 2015 19:48:33 +0000 (21:48 +0200)]
Merge branch 'pr-1544' into PHP-5.6
* pr-1544:
Update NEWS file with LDAP fixes
Derick Rethans [Fri, 2 Oct 2015 17:12:18 +0000 (18:12 +0100)]
Updated to version 2015.7 (2015g)
Derick Rethans [Fri, 2 Oct 2015 17:12:18 +0000 (18:12 +0100)]
Empty merge
Derick Rethans [Fri, 2 Oct 2015 17:12:16 +0000 (18:12 +0100)]
Updated to version 2015.7 (2015g)
Xinchen Hui [Fri, 2 Oct 2015 14:26:04 +0000 (07:26 -0700)]
PHP7 is not affected
Xinchen Hui [Fri, 2 Oct 2015 14:20:23 +0000 (07:20 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0
Conflicts:
ext/date/php_date.c
Xinchen Hui [Fri, 2 Oct 2015 14:19:21 +0000 (07:19 -0700)]
Fixed bug #70619 (DateTimeImmutable segfault)
Bob Weinand [Fri, 2 Oct 2015 10:51:32 +0000 (12:51 +0200)]
Fix parse errors in -rr mode
Bob Weinand [Fri, 2 Oct 2015 10:37:17 +0000 (12:37 +0200)]
Ensure proper set_exception_handler() handling with exit() inside it
Bob Weinand [Fri, 2 Oct 2015 10:18:26 +0000 (12:18 +0200)]
Fixed bug #70614 (incorrect exit code in -rr mode with Exceptions)
Bob Weinand [Fri, 2 Oct 2015 10:03:28 +0000 (12:03 +0200)]
Do not display memory leaks on fatal
Bob Weinand [Fri, 2 Oct 2015 09:43:52 +0000 (11:43 +0200)]
Do not include zend_verify_return_type in executable ops (phpdbg)
Nikita Popov [Fri, 2 Oct 2015 07:10:49 +0000 (09:10 +0200)]
Fix/improve zpp usage
The ext/interbase changes are done blindly, fingers crossed.
Some of these are bug fixes, some make zpp usage more idiomatic.
Nikita Popov [Fri, 2 Oct 2015 06:59:22 +0000 (08:59 +0200)]
More check_parameters improvements
* Switch default REPORT_LEVEL to 1 to cut down on the noise
* Make initialization of 'C' variable always required
* Don't require init of lLdb variable if ! is used
* Don't throw error about missing init of not detected parameters
(This was a regression in the last changeset)
* Support method_parameters and throw variations
Nikita Popov [Thu, 1 Oct 2015 18:22:55 +0000 (20:22 +0200)]
More check_parameters improvements
* Allow / on everything but lLdb (on which it will work, but makes
no sense).
* For ! on lLdb add additional zend_bool* parameter.
* For optional s and p only require one of the variables to be
initialized. The length is usually not initialized.
Sean DuBois [Tue, 15 Sep 2015 07:05:27 +0000 (02:05 -0500)]
Update scripts/dev/check_parameters.php for PHP 7
Also fix deprecation errors and move from preg_replace
-> preg_replace_callback.
Nikita Popov [Thu, 1 Oct 2015 14:33:30 +0000 (16:33 +0200)]
Remove checks for read_property retval being NULL
read_property uses &EG(uninitialized_zval) instead.
Nikita Popov [Thu, 1 Oct 2015 14:28:28 +0000 (16:28 +0200)]
Remove dead assignment in get_property_guard
Matteo Beccati [Wed, 30 Sep 2015 13:50:01 +0000 (15:50 +0200)]
ReflectionGenerator and ReflectionType are new classes
I've added them to the new classes paragraph for the sake of completeness, even
though they are mentioned before as new features.
Antony Dovgal [Wed, 30 Sep 2015 13:40:29 +0000 (14:40 +0100)]
fix dl() function
..which was using old macro
Dmitry Stogov [Wed, 30 Sep 2015 13:22:56 +0000 (16:22 +0300)]
Reordered field to improve data lacality and reduce L1D CPU cache misses in ZEND_INIT_FCALL opcode family
Julien Pauli [Wed, 30 Sep 2015 11:19:37 +0000 (13:19 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Fixed test
5.5.31 now
Julien Pauli [Wed, 30 Sep 2015 11:19:18 +0000 (13:19 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fixed test
5.5.31 now
Conflicts:
configure.in
main/php_version.h
Julien Pauli [Wed, 30 Sep 2015 11:18:16 +0000 (13:18 +0200)]
Fixed test
Julien Pauli [Wed, 30 Sep 2015 11:01:11 +0000 (13:01 +0200)]
5.5.31 now
Bob Weinand [Wed, 30 Sep 2015 10:39:09 +0000 (12:39 +0200)]
Add NTS/ZTS information to php -v
Anatol Belski [Wed, 30 Sep 2015 10:18:32 +0000 (12:18 +0200)]
fix test
Anatol Belski [Wed, 30 Sep 2015 07:16:46 +0000 (09:16 +0200)]
fork test
Anatol Belski [Wed, 30 Sep 2015 07:16:02 +0000 (09:16 +0200)]
fix tests on Windows
Anatol Belski [Tue, 29 Sep 2015 14:47:57 +0000 (16:47 +0200)]
tweak cgi binary search
Andrey Hristov [Wed, 30 Sep 2015 07:02:11 +0000 (09:02 +0200)]
Add JSON as exported type, if available. mysqlnd has it, libmysql doesn't export it (for now).
Xinchen Hui [Wed, 30 Sep 2015 04:59:45 +0000 (12:59 +0800)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
Andrey Hristov [Wed, 30 Sep 2015 07:04:00 +0000 (09:04 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Richard Quadling [Fri, 25 Sep 2015 11:16:53 +0000 (12:16 +0100)]
Spelling
bugger => buffer
Xinchen Hui [Wed, 30 Sep 2015 02:41:54 +0000 (10:41 +0800)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
Xinchen Hui [Wed, 30 Sep 2015 02:41:27 +0000 (10:41 +0800)]
Simply use 0/1 instead as dmitry suggested
Ferenc Kovacs [Tue, 29 Sep 2015 23:35:35 +0000 (01:35 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
update NEWS, these missed 5.6.14RC1 as I was not asked to include them so delaying for the next release
Ferenc Kovacs [Tue, 29 Sep 2015 23:28:39 +0000 (01:28 +0200)]
update NEWS, these missed 5.6.14RC1 as I was not asked to include them so delaying for the next release
Ferenc Kovacs [Tue, 29 Sep 2015 23:17:40 +0000 (01:17 +0200)]
add NEWS entries
Ferenc Kovacs [Tue, 29 Sep 2015 23:17:10 +0000 (01:17 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
add NEWS entries
add NEWS entries
Ferenc Kovacs [Tue, 29 Sep 2015 23:16:43 +0000 (01:16 +0200)]
add NEWS entries
Ferenc Kovacs [Tue, 29 Sep 2015 23:15:54 +0000 (01:15 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
add NEWS entries
Ferenc Kovacs [Tue, 29 Sep 2015 23:15:24 +0000 (01:15 +0200)]
add NEWS entries
Xinchen Hui [Tue, 29 Sep 2015 13:49:22 +0000 (21:49 +0800)]
Make ZEND_ECHO and removed ZEND_PRINT distinguishable
Dmitry Stogov [Tue, 29 Sep 2015 11:11:39 +0000 (14:11 +0300)]
Merge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0
* 'PHP-7.0' of git.php.net:php-src:
fix test
Ensure timeout tests wait for the entire specified duration
Dmitry Stogov [Tue, 29 Sep 2015 11:08:03 +0000 (14:08 +0300)]
Added information about Zend Extension API chabges
Anatol Belski [Tue, 29 Sep 2015 09:53:26 +0000 (11:53 +0200)]
fix test
Steven Hilder [Sun, 13 Sep 2015 10:06:23 +0000 (10:06 +0000)]
Ensure timeout tests wait for the entire specified duration
Dmitry Stogov [Tue, 29 Sep 2015 10:31:47 +0000 (13:31 +0300)]
Added zend_internal_function.reserved[] fields, to allow extensions keep additional associated information.
We didn't have zend_internal_function.reserved[] in PHP5, but we always allocated space for zend_function union, and extensions were able to reuse zend_function.op_array.reserved[] even for internal function. Now this is not possible. And extensions have to use zend_function.op_array.reserved[] for user functions and zend_function.internal_function.reserved[] for internal.
Anatol Belski [Tue, 29 Sep 2015 08:51:23 +0000 (10:51 +0200)]
update NEWS for next
marcosptf [Wed, 9 Sep 2015 21:13:24 +0000 (18:13 -0300)]
Update openssl_x509_checkpurpose.phpt
root [Sun, 6 Sep 2015 15:19:53 +0000 (12:19 -0300)]
add test to openssl ext
Dmitry Stogov [Tue, 29 Sep 2015 08:17:43 +0000 (11:17 +0300)]
Removed or simplified incorrect SEPARATE_*() macros usage.
Andrey Hristov [Tue, 29 Sep 2015 07:42:55 +0000 (09:42 +0200)]
Add upgrading info about the tick functions internal API change
Scott [Mon, 28 Sep 2015 20:36:11 +0000 (16:36 -0400)]
Remove makedev() check.
Scott [Mon, 21 Sep 2015 15:51:16 +0000 (11:51 -0400)]
Different error message if makedev check fails
Scott [Wed, 9 Sep 2015 10:50:06 +0000 (06:50 -0400)]
Add support for getrandom(2), add type check on file descriptor
Fix to_read, throw exception if syscall fails
Fixes thanks to feedback from sarnold at ##crypto on freenode
Correction on error conditions
Remove dead code (thanks @defuse)
It turns out getrandom can take >256, getentropy refuses.
Better semantics
Thanks @defuse for catching my silly mistake here
Cast to size_t to be explicit
Let's simplify the logic a bit
Let's be consistent; define everything before we do any logic
Continuously check that the file descriptor is still a valid one
Add device type check on fd initialization
Anatol Belski [Tue, 29 Sep 2015 07:11:52 +0000 (09:11 +0200)]
fix test
cutting out the '/' is not critical, but allows to avoid forking
Stanislav Malyshev [Tue, 29 Sep 2015 04:43:16 +0000 (21:43 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Better fix for bug #70433
Conflicts:
ext/phar/dirstream.c
ext/phar/util.c
Stanislav Malyshev [Tue, 29 Sep 2015 04:42:08 +0000 (21:42 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Better fix for bug #70433
Conflicts:
ext/phar/dirstream.c
Stanislav Malyshev [Tue, 29 Sep 2015 04:37:26 +0000 (21:37 -0700)]
Better fix for bug #70433
Stanislav Malyshev [Tue, 29 Sep 2015 03:45:02 +0000 (20:45 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
fix memory leak
FIx bug #70433 - Uninitialized pointer in phar_make_dirstream when zip entry filename is "/"
Conflicts:
ext/phar/dirstream.c
Stanislav Malyshev [Tue, 29 Sep 2015 03:44:28 +0000 (20:44 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
fix memory leak
FIx bug #70433 - Uninitialized pointer in phar_make_dirstream when zip entry filename is "/"
Conflicts:
ext/phar/dirstream.c
Stanislav Malyshev [Tue, 29 Sep 2015 03:43:18 +0000 (20:43 -0700)]
fix memory leak
Stanislav Malyshev [Tue, 29 Sep 2015 00:12:35 +0000 (17:12 -0700)]
FIx bug #70433 - Uninitialized pointer in phar_make_dirstream when zip entry filename is "/"
Stanislav Malyshev [Tue, 29 Sep 2015 00:00:32 +0000 (17:00 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Fix bug #69720: Null pointer dereference in phar_get_fp_offset()
Conflicts:
ext/phar/util.c
Stanislav Malyshev [Mon, 28 Sep 2015 23:59:46 +0000 (16:59 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fix bug #69720: Null pointer dereference in phar_get_fp_offset()
Stanislav Malyshev [Mon, 28 Sep 2015 22:51:59 +0000 (15:51 -0700)]
Fix bug #69720: Null pointer dereference in phar_get_fp_offset()
Stanislav Malyshev [Mon, 28 Sep 2015 20:08:44 +0000 (13:08 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Fix bug #70480 (php_url_parse_ex() buffer overflow read)
Misha Nasledov [Mon, 28 Sep 2015 19:59:16 +0000 (12:59 -0700)]
Update NEWS file with LDAP fixes
Stanislav Malyshev [Mon, 28 Sep 2015 18:31:14 +0000 (11:31 -0700)]
Fix bug #70480 (php_url_parse_ex() buffer overflow read)
Andrey Hristov [Mon, 28 Sep 2015 09:21:17 +0000 (11:21 +0200)]
Add support for parameters to tick functions, on C level. This is only
for extensions that want to use register tick functions. Userland tick
functions are unaffected.
Bob Weinand [Sun, 27 Sep 2015 23:07:38 +0000 (01:07 +0200)]
Add NEWS entry for #70533 (credits to Anatol)
Anatol Belski [Sun, 27 Sep 2015 13:46:07 +0000 (15:46 +0200)]
fix phpdbg's -h switch
The help functionality needs a correct stdout fd, so pre setup it
for the only case.
Andrey Hristov [Fri, 25 Sep 2015 12:29:06 +0000 (14:29 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Andrey Hristov [Fri, 25 Sep 2015 12:06:28 +0000 (14:06 +0200)]
Fixed bug #70572 segfault in mysqlnd_connect
Andrey Hristov [Wed, 23 Sep 2015 16:35:45 +0000 (18:35 +0200)]
Spread the news about 70384
Dmitry Stogov [Fri, 25 Sep 2015 09:54:51 +0000 (12:54 +0300)]
Allow an experimental VM with tail call dispatch technique (disabled by default).
This VM may work only if all tail calls are optimized, otherwaise it will crach because of stack overflow.
Unfortunately, we can't guarantee tail call optimization in C.
Anatol Belski [Fri, 25 Sep 2015 09:49:45 +0000 (11:49 +0200)]
check for test requirement
Anatol Belski [Fri, 25 Sep 2015 07:35:59 +0000 (09:35 +0200)]
fix data type and warning
Dmitry Stogov [Fri, 25 Sep 2015 08:50:38 +0000 (11:50 +0300)]
Extended zend_extension API to allow storing additional data associated with op_arrays in opcache SHM. (op_array->reserved[])
Dmitry Stogov [Fri, 25 Sep 2015 07:59:27 +0000 (10:59 +0300)]
Make necessary separation (it might be possible to fix this in a better way, but this will requre some refactoring)
Anatol Belski [Fri, 25 Sep 2015 07:11:33 +0000 (09:11 +0200)]
add note about minimum openssl version
Anatol Belski [Thu, 24 Sep 2015 15:29:51 +0000 (17:29 +0200)]
fix ident
Dmitry Stogov [Thu, 24 Sep 2015 23:20:05 +0000 (02:20 +0300)]
Cleanup: avoid useless array duplication
Dmitry Stogov [Thu, 24 Sep 2015 22:36:10 +0000 (01:36 +0300)]
Cleanup
Dmitry Stogov [Thu, 24 Sep 2015 19:39:59 +0000 (22:39 +0300)]
Fixed incorrect usage of HASH_OF() macro. Replaced HASH_OF() with more appropriate Z_ARRVAL_P() or Z_OBJPROP_P().
Bob Weinand [Thu, 24 Sep 2015 19:06:07 +0000 (21:06 +0200)]
Fix missing LOAD_OPLINE() for ZEND_USER_OPCODE_LEAVE
Bob Weinand [Thu, 24 Sep 2015 18:33:37 +0000 (20:33 +0200)]
Ensure proper exception handling and EX(opline) state in USER_OPCODE handler
Anatol Belski [Thu, 24 Sep 2015 12:41:08 +0000 (14:41 +0200)]
don't keep locked mutex after errors
Anatol Belski [Thu, 24 Sep 2015 12:26:15 +0000 (14:26 +0200)]
avoid dangling pointers
Anatol Belski [Thu, 24 Sep 2015 10:46:54 +0000 (12:46 +0200)]
move accel_shared_globals assignment into locked block
this might fix crashes under high concurrency
Anatol Belski [Thu, 24 Sep 2015 05:18:31 +0000 (07:18 +0200)]
add ovfl check, fix warnings
Anatol Belski [Wed, 23 Sep 2015 20:19:38 +0000 (22:19 +0200)]
fix warning
Anatol Belski [Wed, 23 Sep 2015 20:19:05 +0000 (22:19 +0200)]
fix warning
Dmitry Stogov [Thu, 24 Sep 2015 13:42:59 +0000 (16:42 +0300)]
Fixed bug #70573 (Cloning SplPriorityQueue leads to memory leaks)
Adam Harvey [Thu, 24 Sep 2015 12:16:45 +0000 (14:16 +0200)]
Fix a memory leak in sqlite3_do_callback.
This was very, very obvious when using a debug build of PHP to build the
manual!
Fixes bug #70571 (Memory leak in sqlite3_do_callback).
Dmitry Stogov [Thu, 24 Sep 2015 08:19:26 +0000 (11:19 +0300)]
Fix (revert) loop exit condition
Dmitry Stogov [Thu, 24 Sep 2015 07:48:34 +0000 (10:48 +0300)]
Attmpt to fix "Unable to reattach to base address" problem. (Matt Ficken)