]>
granicus.if.org Git - php/log
Bob Weinand [Mon, 5 Oct 2015 23:02:52 +0000 (01:02 +0200)]
Update NEWS
Scott [Mon, 5 Oct 2015 15:39:55 +0000 (11:39 -0400)]
Fixed bug #70641 (Random_* - Better compatibility on Linux distros)
See:
* https://bugs.php.net/bug.php?id=70641
* https://github.com/php/php-src/pull/1513#issuecomment-
145571829
Anatol Belski [Sun, 4 Oct 2015 20:19:51 +0000 (22:19 +0200)]
don't leak handles
Anatol Belski [Sun, 4 Oct 2015 20:14:47 +0000 (22:14 +0200)]
use correct function to close handles
Bob Weinand [Mon, 5 Oct 2015 19:52:09 +0000 (21:52 +0200)]
Speed up self::$property access by 20%
Bob Weinand [Mon, 5 Oct 2015 19:16:52 +0000 (21:16 +0200)]
Speed up self::method() calls (no ZEND_FETCH_CLASS)
Bob Weinand [Mon, 5 Oct 2015 15:49:32 +0000 (17:49 +0200)]
Allow random $this on non-internal Closures again
As it turns out, there is actually no reason to prevent this, it even was a bigger BC break than expected...
Also fixes a memory leak (the Closure leaks) when calling internal functions via Closure by moving it out of leave helper onto caller side for TOP_CODE:
$z = new SplStack; $z->push(20);
$x = (new ReflectionMethod("SplStack", "pop"))->getClosure($z);
var_dump($x());
Bob Weinand [Mon, 5 Oct 2015 12:45:15 +0000 (14:45 +0200)]
Merge branch 'array_keys_strict_refs' of https://github.com/tony2001/php-src
Bob Weinand [Sun, 4 Oct 2015 22:52:10 +0000 (00:52 +0200)]
Improve
517b55362 (scope rebinding on method Closures)
Now it is completely impossible to rebind a scoped method Closure (only the kind you get from ReflectionMethod::getClosure()) to a foreign scope
Adding a lot of tests to ensure this...
Also, properly return NULL in case the Closure could not be created instead of some crippled unbound Closure
Anatol Belski [Sun, 4 Oct 2015 12:33:09 +0000 (14:33 +0200)]
improve error message
Anatol Belski [Sun, 4 Oct 2015 10:16:54 +0000 (12:16 +0200)]
fix incrementing on 32-bit
Nuno Lopes [Sun, 4 Oct 2015 09:39:01 +0000 (05:39 -0400)]
fix coverage report for datelib
Xinchen Hui [Sun, 4 Oct 2015 06:16:38 +0000 (23:16 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0
Xinchen Hui [Sun, 4 Oct 2015 03:33:24 +0000 (20:33 -0700)]
Fixed bug #70632 (Third one of segfault in gc_remove_from_buffer)
Xinchen Hui [Sun, 4 Oct 2015 03:14:55 +0000 (20:14 -0700)]
Fixed the third one of (segfault in gc_remove_from_buffer())
This one maybe only used in debug mode, so no bug report and no test
script provided
Xinchen Hui [Sun, 4 Oct 2015 03:08:21 +0000 (20:08 -0700)]
Fixed bug #70631 (Another Segfault in gc_remove_from_buffer())
Xinchen Hui [Sun, 4 Oct 2015 02:50:38 +0000 (19:50 -0700)]
Do not edit the zval cause it might be in shared memory
Xinchen Hui [Sun, 4 Oct 2015 02:38:56 +0000 (19:38 -0700)]
Fixed bug #70601 (Segfault in gc_remove_from_buffer())
Bob Weinand [Sat, 3 Oct 2015 23:38:59 +0000 (01:38 +0200)]
Fixed bug #70630 (Closure::call/bind() crash with ReflectionFunction->getClosure())
This additionally removes support for binding to an unknown (not in parent hierarchy) scope.
Removing support for cross-scope is necessary for certain compile-time assumptions (like class constants) to prevent unexpected results
Anatol Belski [Sat, 3 Oct 2015 08:57:32 +0000 (10:57 +0200)]
remove useless checks
Other platforms than listed in the checks are not supported since
PHP 5.5. We also won't need these checks for a while, so can simplify.
Anatol Belski [Sat, 3 Oct 2015 08:46:10 +0000 (10:46 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
fix win10 support
Anatol Belski [Sat, 3 Oct 2015 08:44:43 +0000 (10:44 +0200)]
fix win10 support
dwMajorVersion == 10 there, and generally this check is obsolete
as we don't support dwMajorVersion < 6 since 5.5
Nikita Popov [Sat, 3 Oct 2015 08:13:06 +0000 (10:13 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Sat, 3 Oct 2015 08:12:11 +0000 (10:12 +0200)]
Fixed bug #70625
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