]>
granicus.if.org Git - php/log
Márcio Almada [Mon, 23 Mar 2015 07:35:11 +0000 (04:35 -0300)]
update NEWS with group use declarations implementation
Stanislav Malyshev [Mon, 23 Mar 2015 05:13:21 +0000 (22:13 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fixed #68021 - get_browser() browser_name_regex
Stanislav Malyshev [Mon, 23 Mar 2015 05:12:36 +0000 (22:12 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fixed #68021 - get_browser() browser_name_regex
Tjerk Meesters [Wed, 17 Sep 2014 13:38:56 +0000 (21:38 +0800)]
Fixed #68021 - get_browser() browser_name_regex
Replaced expression delimiter with tilde (~) and escape where necessary.
Stanislav Malyshev [Mon, 23 Mar 2015 05:05:23 +0000 (22:05 -0700)]
Merge branch 'pull-request/1191'
* pull-request/1191:
Print checking message for all ODBC drivers
Change default option of ODBC drivers to no to enable bulding standalone ODBC
Stanislav Malyshev [Mon, 23 Mar 2015 05:05:12 +0000 (22:05 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Print checking message for all ODBC drivers
Change default option of ODBC drivers to no to enable bulding standalone ODBC
Stanislav Malyshev [Mon, 23 Mar 2015 05:04:41 +0000 (22:04 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Print checking message for all ODBC drivers
Change default option of ODBC drivers to no to enable bulding standalone ODBC
Conflicts:
ext/odbc/config.m4
Lior Kaplan [Sun, 22 Mar 2015 20:30:32 +0000 (22:30 +0200)]
Print checking message for all ODBC drivers
This makes the output more readble in case no ODBC driver was selected
Lior Kaplan [Sun, 22 Mar 2015 20:28:16 +0000 (22:28 +0200)]
Change default option of ODBC drivers to no to enable bulding standalone ODBC
Stanislav Malyshev [Mon, 23 Mar 2015 04:56:40 +0000 (21:56 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
oops, forgot TSRMLS_CC
Conflicts:
ext/date/php_date.c
Stanislav Malyshev [Mon, 23 Mar 2015 04:55:34 +0000 (21:55 -0700)]
oops, forgot TSRMLS_CC
Stanislav Malyshev [Mon, 23 Mar 2015 04:51:58 +0000 (21:51 -0700)]
fix warning & improve error handling in CURL
Stanislav Malyshev [Mon, 23 Mar 2015 04:43:05 +0000 (21:43 -0700)]
silence warning
Stanislav Malyshev [Mon, 23 Mar 2015 04:34:13 +0000 (21:34 -0700)]
Merge branch 'pull-request/1188'
* pull-request/1188:
Reduce downstream patches
Stanislav Malyshev [Mon, 23 Mar 2015 04:33:52 +0000 (21:33 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Reduce downstream patches
lesniewskister [Fri, 20 Mar 2015 23:09:49 +0000 (20:39 -0230)]
Reduce downstream patches
As per http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/lang/php/5.6/patches/patch-ext_gd_libgd_gdcache_h?rev=1.1&content-type=text/x-cvsweb-markup
Stanislav Malyshev [Mon, 23 Mar 2015 04:11:43 +0000 (21:11 -0700)]
Merge branch 'pull-request/1186'
* pull-request/1186:
Move check for __builtin_expect to configure
Stanislav Malyshev [Mon, 23 Mar 2015 04:05:39 +0000 (21:05 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Adding a new `createFromImmutable` method to the `DateTime` class to mirror the current `DateTime::createFromMutable()`
Conflicts:
ext/date/php_date.c
Stanislav Malyshev [Mon, 23 Mar 2015 04:04:41 +0000 (21:04 -0700)]
Merge branch 'pull-request/1145'
* pull-request/1145:
Putting whitespace back to the way it was.
Updating the `DateTime_verify` test to include the new method in the reflected method list
Whoops! String length....
Adding a new test for the new method
Adding a new `createFromImmutable` method to the `DateTime` class to mirror the current `DateTime::createFromMutable()`
Stanislav Malyshev [Mon, 23 Mar 2015 03:57:46 +0000 (20:57 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Adding a new `createFromImmutable` method to the `DateTime` class to mirror the current `DateTime::createFromMutable()`
Trevor Suarez [Thu, 5 Mar 2015 06:58:09 +0000 (01:58 -0500)]
Adding a new `createFromImmutable` method to the `DateTime` class to mirror the current `DateTime::createFromMutable()`
Stanislav Malyshev [Mon, 23 Mar 2015 03:35:35 +0000 (20:35 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Renamed test case to match with reported bug
Fixed serialization of non string values on __sleep
Conflicts:
ext/standard/var.c
Juan Basso [Tue, 10 Mar 2015 04:01:26 +0000 (00:01 -0400)]
Renamed test case to match with reported bug
Juan Basso [Fri, 6 Feb 2015 04:45:04 +0000 (23:45 -0500)]
Fixed serialization of non string values on __sleep
Returning just N; (null) on the __sleep makes the number of fields/values be incomplete and corrupting the generated value from serialize, making impossible to unserialize it.
Conflicts:
ext/standard/var.c
Stanislav Malyshev [Mon, 23 Mar 2015 03:27:35 +0000 (20:27 -0700)]
Merge branch 'pull-request/1057'
* pull-request/1057:
Renamed test case to match with reported bug
Fixed serialization of non string values on __sleep
Stanislav Malyshev [Mon, 23 Mar 2015 01:56:12 +0000 (18:56 -0700)]
Merge branch 'pull-request/1192'
* pull-request/1192:
add CURL_HTTP_VERSION_2_0 and CURL_VERSION_HTTP2
Stanislav Malyshev [Mon, 23 Mar 2015 01:55:04 +0000 (18:55 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
add CURL_HTTP_VERSION_2_0 and CURL_VERSION_HTTP2
Stanislav Malyshev [Mon, 23 Mar 2015 01:52:55 +0000 (18:52 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
add CURL_HTTP_VERSION_2_0 and CURL_VERSION_HTTP2
Masaki Kagaya [Sun, 22 Mar 2015 23:10:06 +0000 (08:10 +0900)]
add CURL_HTTP_VERSION_2_0 and CURL_VERSION_HTTP2
Stanislav Malyshev [Mon, 23 Mar 2015 01:33:39 +0000 (18:33 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Bacport fix bug #68741 - Null pointer dereference
Check that the type is correct
Conflicts:
ext/standard/incomplete_class.c
Stanislav Malyshev [Mon, 23 Mar 2015 01:31:43 +0000 (18:31 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Bacport fix bug #68741 - Null pointer dereference
Check that the type is correct
Stanislav Malyshev [Mon, 23 Mar 2015 01:30:21 +0000 (18:30 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Bacport fix bug #68741 - Null pointer dereference
Check that the type is correct
Stanislav Malyshev [Mon, 23 Mar 2015 01:20:59 +0000 (18:20 -0700)]
Bacport fix bug #68741 - Null pointer dereference
Stanislav Malyshev [Mon, 23 Mar 2015 01:17:47 +0000 (18:17 -0700)]
Check that the type is correct
Stanislav Malyshev [Sun, 22 Mar 2015 23:48:54 +0000 (16:48 -0700)]
Merge branch 'pull-request/1091'
* pull-request/1091:
Stop trying to call the callback after it has thrown an exception. Also, as an exception has been thrown, there is no need to have a separate error message.
Fix freeing null segfault. Added test for behaviour.
Conflicts:
ext/sqlite3/tests/bug68760.phpt
Stanislav Malyshev [Sun, 22 Mar 2015 23:47:54 +0000 (16:47 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fix #68760: Fix freeing null segfault. Added test for behaviour.
Fix #68760: Fix freeing null segfault. Added test for behaviour.
Conflicts:
ext/sqlite3/sqlite3.c
Stanislav Malyshev [Sun, 22 Mar 2015 23:46:30 +0000 (16:46 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fix #68760: Fix freeing null segfault. Added test for behaviour.
Conflicts:
ext/sqlite3/tests/bug68760.phpt
Danack [Tue, 6 Jan 2015 22:09:13 +0000 (22:09 +0000)]
Fix #68760: Fix freeing null segfault. Added test for behaviour.
Danack [Tue, 6 Jan 2015 22:09:13 +0000 (22:09 +0000)]
Fix #68760: Fix freeing null segfault. Added test for behaviour.
Masaki Kagaya [Sun, 22 Mar 2015 23:10:06 +0000 (08:10 +0900)]
add CURL_HTTP_VERSION_2_0 and CURL_VERSION_HTTP2
Anatol Belski [Sun, 22 Mar 2015 23:08:11 +0000 (00:08 +0100)]
Merge branch 'PHP-5.6'
* PHP-5.6:
cosmetic fix to default odbcver
Remove extraneous strlen() call
Remove extraneous strlen() call
Anatol Belski [Sun, 22 Mar 2015 23:07:43 +0000 (00:07 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
cosmetic fix to default odbcver
Remove extraneous strlen() call
Anatol Belski [Sun, 22 Mar 2015 23:07:09 +0000 (00:07 +0100)]
cosmetic fix to default odbcver
Anatol Belski [Sun, 22 Mar 2015 23:06:00 +0000 (00:06 +0100)]
cosmetic fix to default odbcver
Stanislav Malyshev [Sun, 22 Mar 2015 22:29:38 +0000 (15:29 -0700)]
Merge branch 'pull-request/1182'
* pull-request/1182:
Treat NetBSD the same as FreeBSD wrt. TCP_INFO usage.
Lior Kaplan [Sun, 22 Mar 2015 20:30:32 +0000 (22:30 +0200)]
Print checking message for all ODBC drivers
This makes the output more readble in case no ODBC driver was selected
Lior Kaplan [Sun, 22 Mar 2015 20:28:16 +0000 (22:28 +0200)]
Change default option of ODBC drivers to no to enable bulding standalone ODBC
Nikita Popov [Sun, 22 Mar 2015 17:50:36 +0000 (18:50 +0100)]
Allow adding return type during inheritance
This is allowed as per the return types RFC. The test for this
behavior happened to use an internal class without arginfo, which
is why this was not properly implemented.
Levi Morrison [Fri, 20 Mar 2015 17:58:58 +0000 (11:58 -0600)]
Move check for __builtin_expect to configure
This allows __builtin_expect to be used more accurately
Nikita Popov [Sun, 22 Mar 2015 08:24:56 +0000 (09:24 +0100)]
Partially revert "Fix uninitialized value condition"
This reverts commit
e874f76096a346c5ee073c8aaf252d916f3be925 ,
which broke zpp quite mode.
Only the initialization of the "severity" variable is retained.
Nikita Popov [Sun, 22 Mar 2015 08:17:42 +0000 (09:17 +0100)]
Revert "Use E_ERROR | E_EXCEPTION in FAST_ZPP mode too"
This reverts commit
d4da7c20d2d642a6f0f81bde836576b9970969af .
The argument passed to this function refers to the weak mode
severity, strict mode will get an exception in any case.
Bob Weinand [Sat, 21 Mar 2015 23:17:33 +0000 (00:17 +0100)]
Use E_ERROR | E_EXCEPTION in FAST_ZPP mode too
Bob Weinand [Sat, 21 Mar 2015 23:14:47 +0000 (00:14 +0100)]
Fix uninitialized value condition
Bob Weinand [Sat, 21 Mar 2015 22:19:12 +0000 (23:19 +0100)]
Fix parent command offsets
Bob Weinand [Sat, 21 Mar 2015 22:03:22 +0000 (23:03 +0100)]
Put info to info and made print always output opcodes
Bob Weinand [Sat, 21 Mar 2015 21:40:44 +0000 (22:40 +0100)]
Add phpdbg -h for help
Bob Weinand [Sat, 21 Mar 2015 19:36:30 +0000 (20:36 +0100)]
Stabilize (simple) watchpoints with IS_INDIRECT/IS_REFERENCE situations
Rasmus Lerdorf [Sat, 21 Mar 2015 15:23:20 +0000 (08:23 -0700)]
Remove extraneous strlen() call
Rasmus Lerdorf [Sat, 21 Mar 2015 15:23:20 +0000 (08:23 -0700)]
Remove extraneous strlen() call
Rasmus Lerdorf [Sat, 21 Mar 2015 15:23:20 +0000 (08:23 -0700)]
Remove extraneous strlen() call
Derick Rethans [Sat, 21 Mar 2015 13:51:14 +0000 (14:51 +0100)]
- Updated to version 2015.2 (2015b)
Derick Rethans [Sat, 21 Mar 2015 13:51:14 +0000 (14:51 +0100)]
Empty merge
Derick Rethans [Sat, 21 Mar 2015 13:51:11 +0000 (14:51 +0100)]
- Updated to version 2015.2 (2015b)
Derick Rethans [Sat, 21 Mar 2015 13:51:10 +0000 (14:51 +0100)]
Empty merge
Derick Rethans [Sat, 21 Mar 2015 13:51:09 +0000 (14:51 +0100)]
- Updated to version 2015.2 (2015b)
Xinchen Hui [Sat, 21 Mar 2015 13:11:14 +0000 (21:11 +0800)]
Improve test scripts
Xinchen Hui [Sat, 21 Mar 2015 12:17:04 +0000 (20:17 +0800)]
Fixed memleak
Xinchen Hui [Sat, 21 Mar 2015 09:50:50 +0000 (17:50 +0800)]
Fixed test
Xinchen Hui [Sat, 21 Mar 2015 08:54:45 +0000 (16:54 +0800)]
More error conditions
Xinchen Hui [Sat, 21 Mar 2015 07:58:57 +0000 (15:58 +0800)]
Added note about preg_replace_callback_array in UPGRADING
Xinchen Hui [Sat, 21 Mar 2015 07:56:52 +0000 (15:56 +0800)]
Merge branch 'master' of https://git.php.net/repository/php-src
Xinchen Hui [Sat, 21 Mar 2015 07:55:40 +0000 (15:55 +0800)]
Improved impelmentation(and cleanup behaviro with errors conditions)
Rasmus Lerdorf [Sat, 21 Mar 2015 06:32:07 +0000 (23:32 -0700)]
Fix a couple of warnings
Xinchen Hui [Sat, 21 Mar 2015 06:01:11 +0000 (14:01 +0800)]
Merge branch 'rfc-preg-replace-callback-array' of https://github.com/zxcvdavid/php-src
Conflicts:
Zend/zend_vm_gen.php
ext/pcre/php_pcre.c
Xinchen Hui [Sat, 21 Mar 2015 05:58:29 +0000 (13:58 +0800)]
Only used in ZTS
lesniewskister [Fri, 20 Mar 2015 23:09:49 +0000 (20:39 -0230)]
Reduce downstream patches
As per http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/lang/php/5.6/patches/patch-ext_gd_libgd_gdcache_h?rev=1.1&content-type=text/x-cvsweb-markup
Anthony Ferrara [Fri, 20 Mar 2015 22:04:35 +0000 (18:04 -0400)]
Add news file for merge of scalar typehints RFC
Dmitry Stogov [Fri, 20 Mar 2015 22:00:00 +0000 (01:00 +0300)]
Merge branch 'scalar_type_hints_v5'
* scalar_type_hints_v5: (65 commits)
Fixed in-place modification of IS_CONST operand
Changed SKIPIF messages
ZPP changed to lazely check for "strict/weak" only if it's really necessary. Cleanup.
cleanup
Fixed return type hint handling for constants
Fixed tests
Imroved ZPP rules (condititins reoredered to prevent duplicate checks)
Fixed comments
Fixed error messages
Improved type hinting:
Fixed white spaces
Add check for maintaining reference all the way through both type and return values
Reduce the number of times that the zval needs to be separated in return type checking to those that are necessary
Add test to ensure namespaced code can't use scalar types as class names
Disallow relative namespace type declarations
Add support and tests for null constant default values. Refactor complex conditionals into an extracted function for clarity and code-reuse
Refactor as to not use call info, but add the flag to the op_array.
Fix severity issues with callbacks, start work porting ZEND_STRLEN opcode to work with strict mode, more refactoring to come
Fix C89 compatibility by moving a misplaced if statement
Refactor gotos into more elaborate ifs to eliminate goto failure
...
Dmitry Stogov [Fri, 20 Mar 2015 21:22:25 +0000 (00:22 +0300)]
Fixed in-place modification of IS_CONST operand
Dmitry Stogov [Fri, 20 Mar 2015 20:19:51 +0000 (23:19 +0300)]
Changed SKIPIF messages
Dmitry Stogov [Fri, 20 Mar 2015 20:18:52 +0000 (23:18 +0300)]
ZPP changed to lazely check for "strict/weak" only if it's really necessary.
Cleanup.
Dmitry Stogov [Fri, 20 Mar 2015 17:43:23 +0000 (20:43 +0300)]
cleanup
Anatol Belski [Fri, 20 Mar 2015 08:36:38 +0000 (09:36 +0100)]
use correct api
Dmitry Stogov [Fri, 20 Mar 2015 15:36:43 +0000 (18:36 +0300)]
Fixed return type hint handling for constants
Dmitry Stogov [Fri, 20 Mar 2015 14:56:32 +0000 (17:56 +0300)]
Fixed tests
Dmitry Stogov [Fri, 20 Mar 2015 14:27:03 +0000 (17:27 +0300)]
Imroved ZPP rules (condititins reoredered to prevent duplicate checks)
Dmitry Stogov [Fri, 20 Mar 2015 14:26:38 +0000 (17:26 +0300)]
Fixed comments
Dmitry Stogov [Fri, 20 Mar 2015 14:26:12 +0000 (17:26 +0300)]
Fixed error messages
Ferenc Kovacs [Fri, 20 Mar 2015 13:41:22 +0000 (14:41 +0100)]
Merge branch 'PHP-5.6'
* PHP-5.6:
this already had an entry
Ferenc Kovacs [Fri, 20 Mar 2015 13:40:58 +0000 (14:40 +0100)]
this already had an entry
Dmitry Stogov [Fri, 20 Mar 2015 13:04:04 +0000 (16:04 +0300)]
Improved type hinting:
EX_PREV_USES_STRICT_TYPES() and family changed/renamed to fit with other macros
Optimized zend_verify_internal_arg_type() and family (they don't need "strict" argument anymore)
Standerd ZPP is called from VM only for weak type check or strict exception (int -> double)
Fixed ZEND_RECV_VARIADIC
Fixed ZEND_STRLEN
TODO: should we accept IS_NULL for non-nullable arguments?
Ferenc Kovacs [Fri, 20 Mar 2015 12:35:07 +0000 (13:35 +0100)]
reverting pear/install-pear-nozlib.phar as this mass php 5 -> php 7 string replace broke the file signature(phar files are binary)
Ferenc Kovacs [Fri, 20 Mar 2015 12:34:55 +0000 (13:34 +0100)]
Merge branch 'PHP-5.6'
* PHP-5.6:
add pear to the travis build
Ferenc Kovacs [Fri, 20 Mar 2015 12:34:35 +0000 (13:34 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
add pear to the travis build
Ferenc Kovacs [Fri, 20 Mar 2015 12:34:16 +0000 (13:34 +0100)]
add pear to the travis build
Julien Pauli [Fri, 20 Mar 2015 09:53:44 +0000 (10:53 +0100)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Updated NEWS
Julien Pauli [Fri, 20 Mar 2015 09:53:33 +0000 (10:53 +0100)]
Updated NEWS
Julien Pauli [Fri, 20 Mar 2015 09:53:13 +0000 (10:53 +0100)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Updated NEWS
Julien Pauli [Fri, 20 Mar 2015 09:45:54 +0000 (10:45 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Updated NEWS
Julien Pauli [Fri, 20 Mar 2015 09:45:36 +0000 (10:45 +0100)]
Updated NEWS