]>
granicus.if.org Git - php/log
Sara Golemon [Wed, 28 Dec 2016 17:44:20 +0000 (09:44 -0800)]
Use new param API in date
Left the zend_parse_parameters_throw() uses along because
throwing isn't currently supported by the new API.
Also left the complex parsing in DatePeriod::__construct alone
because the macros don't really stack all that well.
Sara Golemon [Wed, 28 Dec 2016 17:11:53 +0000 (09:11 -0800)]
Use new param API in ctype
Sara Golemon [Wed, 28 Dec 2016 16:38:01 +0000 (08:38 -0800)]
Migrate curl to new parameters API
Plus a handful of char*->zend_string* conversions
Sara Golemon [Wed, 28 Dec 2016 07:44:18 +0000 (23:44 -0800)]
Convert bcmath to new parameter parsing API
Sara Golemon [Wed, 28 Dec 2016 07:35:38 +0000 (23:35 -0800)]
Use zend_string in bcmath params
Sara Golemon [Wed, 28 Dec 2016 06:52:26 +0000 (22:52 -0800)]
Correct function protos in intl/idn
Sara Golemon [Wed, 28 Dec 2016 06:47:16 +0000 (22:47 -0800)]
Use zend_string in intl/idn
Sara Golemon [Wed, 28 Dec 2016 06:37:29 +0000 (22:37 -0800)]
Simplify error path in intl/idn
Anatol Belski [Tue, 27 Dec 2016 22:43:13 +0000 (23:43 +0100)]
fix uninitialized value
Nikita Popov [Tue, 27 Dec 2016 21:22:14 +0000 (22:22 +0100)]
Merge branch 'PHP-7.1'
Nikita Popov [Tue, 27 Dec 2016 21:22:05 +0000 (22:22 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Tue, 27 Dec 2016 21:20:40 +0000 (22:20 +0100)]
Disable AppVeyor fast_finish
As NTS and TS fail in different ways, we want to see both.
Graham Campbell [Tue, 27 Dec 2016 19:39:15 +0000 (19:39 +0000)]
Fixed typo in "session_module_name"
Nikita Popov [Tue, 27 Dec 2016 20:52:56 +0000 (21:52 +0100)]
Merge branch 'PHP-7.1'
Nikita Popov [Tue, 27 Dec 2016 20:52:33 +0000 (21:52 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
Mitch Hagstrand [Fri, 23 Dec 2016 20:07:47 +0000 (12:07 -0800)]
Makes the sapi web server and curl tests more reliable
1. Increased the time for the sapi/cli/tests/php_cli_server.inc to accept connections.
2. sapi/cli/tests/php_cli_server.inc has errors messages and a `stop` function.
3. bug67429.phpt uses the `stop` function to shutdown the webserver before starting a new one.
4. Removed ext/curl/tests/bug48203_multi-win32.phpt test now that ext/curl/tests/bug48203_multi.phpt
runs on Windows also.
Mitch Hagstrand [Tue, 20 Dec 2016 10:37:48 +0000 (02:37 -0800)]
Fixes the curl tests to be more reliable in Travis CI
1. Increases the amount of time for the PHP built-in server to accept a connection
2. Outputs an error if the PHP built-in server fails
3. In bug48203_multi.phpt the test no longer starts and stops multiple PHP built-in servers
Anatol Belski [Mon, 26 Dec 2016 20:37:34 +0000 (21:37 +0100)]
fork tests
dedal.qq [Sun, 25 Dec 2016 00:00:02 +0000 (03:00 +0300)]
New parsing parameters in curl
Barbu Paul - Gheorghe [Mon, 26 Dec 2016 18:39:19 +0000 (10:39 -0800)]
Reduce redundant storage of required number of parameters to required flag
The required field, until now, stored how many required parameters
the function, it belongs to, has. I think this is rather problematic
because it's a feature of the function to know how many required
parameters it has, not of the parameter itself. The parameter should
only say if it's required or optional (among other unrelated things).
Also storing the function's number of required parameters in every
parameter was redundant since the _zend_function structure already
has that information. And storing the same value (number of required
parameters) across multiple variables is inefficient and could lead
to inconsistencies.
Sara Golemon [Mon, 26 Dec 2016 06:33:11 +0000 (22:33 -0800)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Interpretation of curl_setopt values for boolean parameters
Sara Golemon [Mon, 26 Dec 2016 06:33:03 +0000 (22:33 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Interpretation of curl_setopt values for boolean parameters
dedal.qq [Tue, 13 Dec 2016 21:52:16 +0000 (00:52 +0300)]
Interpretation of curl_setopt values for boolean parameters
Sara Golemon [Mon, 26 Dec 2016 06:18:27 +0000 (22:18 -0800)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Remove extraneous parentheses in conditions
Sébastien Santoro [Thu, 22 Dec 2016 21:01:20 +0000 (21:01 +0000)]
Remove extraneous parentheses in conditions
The zend_vm_gen.php generator now checks if the condition is already
enclosed by parentheses, and them only if needed.
This fixes nine clang/llvm parentheses-equality warnings.
Sara Golemon [Mon, 26 Dec 2016 06:07:29 +0000 (22:07 -0800)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Fixes #65689. PDO_Firebrid / exec() does not free allocated statement.
Sara Golemon [Mon, 26 Dec 2016 06:07:09 +0000 (22:07 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixes #65689. PDO_Firebrid / exec() does not free allocated statement.
Dorin Marcoci [Sat, 24 Dec 2016 11:57:03 +0000 (13:57 +0200)]
Fixes #65689. PDO_Firebrid / exec() does not free allocated statement.
Yasuo Ohgaki [Fri, 23 Dec 2016 23:50:28 +0000 (08:50 +0900)]
Fix tests for appveyor
Bob Weinand [Thu, 22 Dec 2016 22:40:24 +0000 (23:40 +0100)]
Merge branch 'PHP-7.1'
Also inline alpn_ctx in openssl_netstream_data (no need for the extra allocation there)
Bob Weinand [Thu, 22 Dec 2016 22:34:51 +0000 (23:34 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
Bob Weinand [Thu, 22 Dec 2016 22:34:07 +0000 (23:34 +0100)]
Fix alpn_ctx leaking in openssl
Bob Weinand [Thu, 22 Dec 2016 14:31:58 +0000 (15:31 +0100)]
Merge branch 'PHP-7.1'
Bob Weinand [Thu, 22 Dec 2016 14:31:39 +0000 (15:31 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
Bob Weinand [Thu, 22 Dec 2016 14:29:17 +0000 (15:29 +0100)]
Fixed bug #73373 (deflate_add does not verify that output was not truncated)
Anatol Belski [Thu, 22 Dec 2016 13:56:47 +0000 (14:56 +0100)]
Path handling related refactorings
Primarily related to the path handling datatypes, to avoid unnecessary
casts, where possible. Also some rework to avoid code dup. Probably
more places are to go, even not path related, primarily to have less
casts and unsigned integers where possible. That way, we've not only
less warnings and casts, but are also safer with regard to the
integer overflows. OFC it's not a panacea, but still significantly
reduces the vulnerability potential.
Anatol Belski [Thu, 22 Dec 2016 13:32:02 +0000 (14:32 +0100)]
Finish remaining replacement uint => uint32_t
Tthe core should be normalized now, no uints anymore
Nikita Popov [Thu, 22 Dec 2016 11:47:50 +0000 (12:47 +0100)]
Merge branch 'PHP-7.1'
Nikita Popov [Thu, 22 Dec 2016 11:47:29 +0000 (12:47 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
Sébastien Santoro [Wed, 21 Dec 2016 21:14:04 +0000 (21:14 +0000)]
Fix IS_UNDEF comparisons in opcache
These conditions were formerly `!q->pData` and `!p->pData`, and should
now be detected as undefined variables, using the special type IS_UNDEF.
Incidentally, this syntax raised a logical-not-parentheses compiler
warning, now gone.
Anatol Belski [Thu, 22 Dec 2016 11:40:58 +0000 (12:40 +0100)]
fix min supported versions
Yasuo Ohgaki [Thu, 22 Dec 2016 07:03:55 +0000 (16:03 +0900)]
Update NEWS
Yasuo Ohgaki [Thu, 22 Dec 2016 06:57:53 +0000 (15:57 +0900)]
Fix bug #73100 - Improve bug fix. Forbid to set 'user' save handler other than set_save_handler().
Kalle Sommer Nielsen [Thu, 22 Dec 2016 05:51:18 +0000 (06:51 +0100)]
Eliminate win95nt.h
- Most of this is builtin php.h now
- Removed some dead defines
- We now pass /D _USE_MATH_DEFINES for M_PI etc
Kalle Sommer Nielsen [Thu, 22 Dec 2016 04:53:13 +0000 (05:53 +0100)]
Hmm actually it seems to be the other way around, Anatol?
Kalle Sommer Nielsen [Thu, 22 Dec 2016 04:47:00 +0000 (05:47 +0100)]
Merge branch 'master' of git.php.net:php-src
Kalle Sommer Nielsen [Thu, 22 Dec 2016 04:46:12 +0000 (05:46 +0100)]
Sync the default value of --with-odbcver with the hardcoded default for ODBCVER
Anatol Belski [Thu, 22 Dec 2016 01:17:55 +0000 (02:17 +0100)]
move the defs to the right place
Bob Weinand [Wed, 21 Dec 2016 23:42:05 +0000 (00:42 +0100)]
Merge branch 'PHP-7.1'
Bob Weinand [Wed, 21 Dec 2016 23:40:54 +0000 (00:40 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
Bob Weinand [Wed, 21 Dec 2016 23:38:47 +0000 (00:38 +0100)]
Fixed bug #73704 (phpdbg shows the wrong line in files with shebang)
Nikita Popov [Wed, 21 Dec 2016 21:12:17 +0000 (22:12 +0100)]
Merge branch 'PHP-7.1'
Nikita Popov [Wed, 21 Dec 2016 21:11:17 +0000 (22:11 +0100)]
Fix string extension in negate_num_string
Forgot to actually assign the reallocated string...
Nikita Popov [Wed, 21 Dec 2016 20:28:36 +0000 (21:28 +0100)]
Merge branch 'PHP-7.1'
Nikita Popov [Wed, 21 Dec 2016 20:28:29 +0000 (21:28 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Wed, 21 Dec 2016 20:27:47 +0000 (21:27 +0100)]
Increase timing quota for small string concat test
Test is regularly failing on Travis.
Nikita Popov [Wed, 21 Dec 2016 20:19:28 +0000 (21:19 +0100)]
Merge branch 'PHP-7.1'
Nikita Popov [Sun, 18 Dec 2016 16:13:21 +0000 (17:13 +0100)]
Drop some dead code in ext/reflection
Nikita Popov [Wed, 21 Dec 2016 20:18:55 +0000 (21:18 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
David Walker [Tue, 20 Dec 2016 22:48:43 +0000 (15:48 -0700)]
Fix #73753 - Unpacked Arrays and Duplication
Anatol Belski [Wed, 21 Dec 2016 17:00:45 +0000 (18:00 +0100)]
Merge branch 'PHP-7.1'
* PHP-7.1:
add folds
fix possible null dereference
Anatol Belski [Wed, 21 Dec 2016 16:59:45 +0000 (17:59 +0100)]
add folds
Anatol Belski [Wed, 21 Dec 2016 16:58:34 +0000 (17:58 +0100)]
fix possible null dereference
Anatol Belski [Wed, 21 Dec 2016 15:10:38 +0000 (16:10 +0100)]
add UPGRADING and NEWS items
Anatol Belski [Wed, 21 Dec 2016 14:59:45 +0000 (15:59 +0100)]
Raise the supported API to win7/server 2008r2
Xinchen Hui [Wed, 21 Dec 2016 06:27:13 +0000 (14:27 +0800)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Revert "Reorder the oplines" (Break Zend/tests/return_types/bug71092.phpt)
Xinchen Hui [Wed, 21 Dec 2016 06:24:14 +0000 (14:24 +0800)]
Revert "Reorder the oplines" (Break Zend/tests/return_types/bug71092.phpt)
This reverts commit
a12f43ee2c3d27a7eb9a3c873901643df5f7197e .
Bob Weinand [Wed, 21 Dec 2016 01:43:04 +0000 (02:43 +0100)]
Merge branch 'PHP-7.1'
Bob Weinand [Wed, 21 Dec 2016 01:42:38 +0000 (02:42 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
Bob Weinand [Wed, 21 Dec 2016 01:42:23 +0000 (02:42 +0100)]
Fix issue with -- in phpdbg command line
Yasuo Ohgaki [Tue, 20 Dec 2016 23:16:38 +0000 (08:16 +0900)]
Update NEWS and UPGRADING
Yasuo Ohgaki [Tue, 20 Dec 2016 23:07:49 +0000 (08:07 +0900)]
Merge branch 'pull-request/2233'
* pull-request/2233:
Remove "register_globals" support codes from php/php_binary serializers. As a result, users may use PS_UNDEF_MAKER(=!) char for session variable name.
Yasuo Ohgaki [Wed, 7 Dec 2016 09:23:11 +0000 (18:23 +0900)]
Remove "register_globals" support codes from php/php_binary serializers.
As a result, users may use PS_UNDEF_MAKER(=!) char for session variable name.
Bob Weinand [Tue, 20 Dec 2016 19:18:53 +0000 (20:18 +0100)]
Merge branch 'PHP-7.1'
Bob Weinand [Tue, 20 Dec 2016 19:18:36 +0000 (20:18 +0100)]
Fixed bug #73794 (Crash (out of memory) when using run and # command separator)
Bob Weinand [Tue, 20 Dec 2016 18:49:25 +0000 (19:49 +0100)]
Merge branch 'PHP-7.1'
Bob Weinand [Tue, 20 Dec 2016 18:48:59 +0000 (19:48 +0100)]
Fix segfault in ZTS mode when just printing and exiting in phpdbg
Adam Baratz [Tue, 20 Dec 2016 14:59:39 +0000 (09:59 -0500)]
Add "Sent SQL" to debug dump for emulated prepares
Adam Baratz [Tue, 20 Dec 2016 14:58:50 +0000 (09:58 -0500)]
Remove PDOStatement::activeQueryString()
Dmitry Stogov [Tue, 20 Dec 2016 13:54:53 +0000 (16:54 +0300)]
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
Dmitry Stogov [Tue, 20 Dec 2016 13:54:28 +0000 (16:54 +0300)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Fixed bug #73792 (invalid foreach loop hangs script)
Fixed bug #73789 (Strange behavior of class constants in switch/case block)
Dmitry Stogov [Tue, 20 Dec 2016 13:53:06 +0000 (16:53 +0300)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixed bug #73792 (invalid foreach loop hangs script)
Dmitry Stogov [Tue, 20 Dec 2016 13:48:57 +0000 (16:48 +0300)]
Fixed bug #73792 (invalid foreach loop hangs script)
Xinchen Hui [Tue, 20 Dec 2016 13:01:38 +0000 (21:01 +0800)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Fixed bug #73789 (Strange behavior of class constants in switch/case block)
Xinchen Hui [Tue, 20 Dec 2016 13:01:21 +0000 (21:01 +0800)]
Fixed bug #73789 (Strange behavior of class constants in switch/case block)
Anatol Belski [Tue, 20 Dec 2016 01:44:40 +0000 (02:44 +0100)]
Merge branch 'PHP-7.1'
* PHP-7.1:
deliver the real cp also if a constant is passed
Anatol Belski [Tue, 20 Dec 2016 01:40:44 +0000 (02:40 +0100)]
deliver the real cp also if a constant is passed
Dmitry Stogov [Mon, 19 Dec 2016 12:36:37 +0000 (15:36 +0300)]
Few micro-optimizations
Dmitry Stogov [Mon, 19 Dec 2016 08:13:21 +0000 (11:13 +0300)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Fixed arginfo
Dmitry Stogov [Mon, 19 Dec 2016 08:13:02 +0000 (11:13 +0300)]
Fixed arginfo
Anatol Belski [Mon, 19 Dec 2016 00:10:58 +0000 (01:10 +0100)]
Merge branch 'PHP-7.1'
* PHP-7.1:
update NEWS
update NEWS
Compatibility with Firebird & Oracle select syntax.
Anatol Belski [Mon, 19 Dec 2016 00:08:44 +0000 (01:08 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
update NEWS
Compatibility with Firebird & Oracle select syntax.
Anatol Belski [Mon, 19 Dec 2016 00:08:19 +0000 (01:08 +0100)]
update NEWS
Anatol Belski [Mon, 19 Dec 2016 00:07:08 +0000 (01:07 +0100)]
update NEWS
Dorin Marcoci [Sat, 17 Dec 2016 19:34:32 +0000 (21:34 +0200)]
Compatibility with Firebird & Oracle select syntax.
Anatol Belski [Sun, 18 Dec 2016 23:53:17 +0000 (00:53 +0100)]
Merge branch 'PHP-7.1'
* PHP-7.1:
fix proto
Anatol Belski [Sun, 18 Dec 2016 23:52:01 +0000 (00:52 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Sun, 18 Dec 2016 23:50:29 +0000 (00:50 +0100)]
fix proto
Anatol Belski [Sun, 18 Dec 2016 20:56:56 +0000 (21:56 +0100)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Cursor is not opened on singleton selects.
fix arg spec and datatype, follow up on 73594
Anatol Belski [Sun, 18 Dec 2016 20:55:30 +0000 (21:55 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Cursor is not opened on singleton selects.
fix arg spec and datatype, follow up on 73594