]>
granicus.if.org Git - php/log
Pierrick Charron [Sun, 23 Dec 2012 19:05:04 +0000 (14:05 -0500)]
Remove duplicated function definition
Pierrick Charron [Sun, 23 Dec 2012 00:10:35 +0000 (19:10 -0500)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Update NEWS file
Fixed segfault due to libcurl connection caching
Pierrick Charron [Sun, 23 Dec 2012 00:09:56 +0000 (19:09 -0500)]
Update NEWS file
Pierrick Charron [Sun, 23 Dec 2012 00:04:45 +0000 (19:04 -0500)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
Fixed segfault due to libcurl connection caching
Pierrick Charron [Sun, 23 Dec 2012 00:03:24 +0000 (19:03 -0500)]
Fixed segfault due to libcurl connection caching
Libcurl is doing connection caching. When easy handle is cleaned up,
if the handle was previously used by the curl_multi_api, the connection
remains open un the curl multi handle is cleaned up. Some protocols are
sending content like the FTP one, and libcurl try to use the
WRITEFUNCTION or the HEADERFUNCTION. Since structures used in those
callback are freed, we need to use an other callback to which avoid
segfaults.
Libcurl commit
d021f2e8a00 fix this issue and should be part of 7.28.2
Pierrick Charron [Sat, 22 Dec 2012 00:27:51 +0000 (19:27 -0500)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Update NEWS file
Fixed bug #63352 (Can't enable hostname validation when using curl stream wrappers)
CURL >= 7.28.0 no longer support value 1 for CURLOPT_SSL_VERIFYHOST)
Pierrick Charron [Sat, 22 Dec 2012 00:24:28 +0000 (19:24 -0500)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
Update NEWS file
Fixed bug #63352 (Can't enable hostname validation when using curl stream wrappers)
CURL >= 7.28.0 no longer support value 1 for CURLOPT_SSL_VERIFYHOST)
Conflicts:
ext/curl/interface.c
ext/curl/tests/bug63363.phpt
Pierrick Charron [Sat, 22 Dec 2012 00:19:25 +0000 (19:19 -0500)]
Update NEWS file
Pierrick Charron [Sat, 22 Dec 2012 00:12:43 +0000 (19:12 -0500)]
Fixed bug #63352 (Can't enable hostname validation when using curl stream wrappers)
Pierrick Charron [Sat, 22 Dec 2012 00:10:55 +0000 (19:10 -0500)]
CURL >= 7.28.0 no longer support value 1 for CURLOPT_SSL_VERIFYHOST)
Fixed bug #63795
Pierrick Charron [Fri, 21 Dec 2012 17:25:34 +0000 (12:25 -0500)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Fix test to work on every libcurl version
- Fixed typo on "SKIPIF" (causing make test to abort on some systems)
Pierrick Charron [Fri, 21 Dec 2012 17:24:52 +0000 (12:24 -0500)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
Fix test to work on every libcurl version
- Fixed typo on "SKIPIF" (causing make test to abort on some systems)
Conflicts:
tests/output/bug63377.phpt
Pierrick Charron [Fri, 21 Dec 2012 17:19:54 +0000 (12:19 -0500)]
Fix test to work on every libcurl version
Pierrick Charron [Fri, 21 Dec 2012 16:49:00 +0000 (11:49 -0500)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Fix test
Pierrick Charron [Fri, 21 Dec 2012 16:45:59 +0000 (11:45 -0500)]
Fix test
This test is only valid if libcurl < 7.28.1 since
libcurl removed support for the 1 value in CURLOPT_SSL_VERIFYHOST.
Nikita Popov [Fri, 21 Dec 2012 16:28:20 +0000 (17:28 +0100)]
Fix crash when last yielded value is a closure
If zend_generator_close is called from within zend_generator_resume (e.g.
due to a return statement) then all the EGs will still be using the values
from the generator. That's why the stack frame has to be the last thing
that is dtored, otherwise some other dtor that is using
EG(current_execute_data) might access the already freed memory segment.
This was the case with the closure dtor.
The fix is to move the dtors for key and value to the start of the handler.
This way the stack frame is the last thing that is freed.
Nikita Popov [Fri, 21 Dec 2012 00:56:37 +0000 (01:56 +0100)]
Fix bug #63822: Crash when using closures with ArrayAccess
op_array->T was used after the closure's op_array was already freed. This just
swaps the freeing order.
Felipe Pena [Fri, 21 Dec 2012 00:35:05 +0000 (22:35 -0200)]
- Fixed typo on "SKIPIF" (causing make test to abort on some systems)
Nikita Popov [Thu, 20 Dec 2012 19:33:18 +0000 (20:33 +0100)]
Do not add a ref to EX(object) on generator clone
If a ref has to be added it will be already added while walking the call
slots.
Rasmus Lerdorf [Thu, 20 Dec 2012 04:00:41 +0000 (23:00 -0500)]
Merge branch 'PHP-5.4' into PHP-5.5
Rasmus Lerdorf [Thu, 20 Dec 2012 03:58:18 +0000 (22:58 -0500)]
Fix for bug #63811
Pierrick Charron [Thu, 20 Dec 2012 00:46:57 +0000 (19:46 -0500)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Fixed bug #55438 (Curlwapper is not sending http header randomly)
Pierrick Charron [Thu, 20 Dec 2012 00:44:08 +0000 (19:44 -0500)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
Fixed bug #55438 (Curlwapper is not sending http header randomly)
Pierrick Charron [Thu, 20 Dec 2012 00:40:29 +0000 (19:40 -0500)]
Fixed bug #55438 (Curlwapper is not sending http header randomly)
Since curl multi is used, it sometime happen that the resource is freed before
the curl multi really execute the query. The patch will store the headers
slist in the curlstream handle and free it only when the stream will be closed
Johannes Schlüter [Wed, 19 Dec 2012 16:01:44 +0000 (17:01 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5
Andrey Hristov [Wed, 19 Dec 2012 15:58:34 +0000 (16:58 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5
Conflicts:
ext/mysqlnd/mysqlnd_alloc.c
Johannes Schlüter [Wed, 19 Dec 2012 15:17:18 +0000 (16:17 +0100)]
Merge branch 'PHP-5.3' into PHP-5.4
Johannes Schlüter [Wed, 19 Dec 2012 15:15:39 +0000 (16:15 +0100)]
Update release date
Nikita Popov [Wed, 19 Dec 2012 14:21:34 +0000 (15:21 +0100)]
Add missing zend_do_free call
This is a followup to
d53f1bf8ab . When the yield *statement* is used its
return value still needs to be freed.
Andrey Hristov [Wed, 19 Dec 2012 14:08:09 +0000 (15:08 +0100)]
Merge branch 'PHP-5.4' of ssh://git.php.net/php-src into PHP-5.4
Remi Collet [Wed, 19 Dec 2012 09:25:05 +0000 (10:25 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
fix failing test on Linux build
Remi Collet [Wed, 19 Dec 2012 09:23:57 +0000 (10:23 +0100)]
fix failing test on Linux build
Nikita Popov [Tue, 18 Dec 2012 20:36:48 +0000 (21:36 +0100)]
Fix leak when generator ignores sent value
When the return value of yield wasn't used it was leaked.
This is fixed by using a TMP_VAR return value instead of VAR. TMP_VARs are
automatically freed when they aren't used.
David Soria Parra [Fri, 14 Dec 2012 23:08:39 +0000 (00:08 +0100)]
News for PHP 5.5.0 Alphas
Andrey Hristov [Tue, 18 Dec 2012 15:21:05 +0000 (16:21 +0100)]
be cautious about the result of strrchr
Xinchen Hui [Mon, 17 Dec 2012 06:30:20 +0000 (14:30 +0800)]
Merge branch 'PHP-5.4' into PHP-5.5
Xinchen Hui [Mon, 17 Dec 2012 06:29:45 +0000 (14:29 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4
Xinchen Hui [Mon, 17 Dec 2012 06:29:13 +0000 (14:29 +0800)]
dos2unix & skip on connect fail
Xinchen Hui [Mon, 17 Dec 2012 04:58:12 +0000 (12:58 +0800)]
Merge branch 'PHP-5.4' into PHP-5.5
Xinchen Hui [Mon, 17 Dec 2012 04:57:37 +0000 (12:57 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4
Xinchen Hui [Mon, 17 Dec 2012 04:56:55 +0000 (12:56 +0800)]
Fix failed test
Sebastian Bergmann [Sun, 16 Dec 2012 08:07:55 +0000 (09:07 +0100)]
Ignore Zend/zend_dtrace_gen.h and Zend/zend_dtrace_gen.hbak
Remi Collet [Sun, 16 Dec 2012 07:51:17 +0000 (08:51 +0100)]
Fixed bug #63706: Cannot build PHP-5.5 with --enable-dtrace on Fedora 17
Lars Strojny [Sat, 15 Dec 2012 11:00:42 +0000 (12:00 +0100)]
Updating news entry to list new filetypes
Lars Strojny [Fri, 14 Dec 2012 13:56:25 +0000 (14:56 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5
Lars Strojny [Fri, 14 Dec 2012 13:54:38 +0000 (14:54 +0100)]
News entry for updated mime types
pascalc [Tue, 11 Dec 2012 15:05:12 +0000 (16:05 +0100)]
update test for supported Mime Types checking
pascalc [Tue, 11 Dec 2012 11:45:00 +0000 (12:45 +0100)]
update list of common Mime Types in PHP development server to support Web audio/video formats (Webm ,and Ogg containers) + have jpeg mime types listed together
Xinchen Hui [Fri, 14 Dec 2012 09:26:42 +0000 (17:26 +0800)]
Fix warning of no return in non-void function
Xinchen Hui [Fri, 14 Dec 2012 09:21:43 +0000 (17:21 +0800)]
Fixed warning of no return in non-void funciton
Xinchen Hui [Fri, 14 Dec 2012 08:52:56 +0000 (16:52 +0800)]
Add test for bug #63741
Dmitry Stogov [Fri, 14 Dec 2012 08:10:29 +0000 (12:10 +0400)]
Fixed uninitialized EX(call)->called_scope
Rasmus Lerdorf [Fri, 14 Dec 2012 00:54:44 +0000 (16:54 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5
Rasmus Lerdorf [Fri, 14 Dec 2012 00:54:31 +0000 (16:54 -0800)]
Merge branch 'PHP-5.3' into PHP-5.4
Rasmus Lerdorf [Fri, 14 Dec 2012 00:54:16 +0000 (16:54 -0800)]
Need connect.inc here
Rasmus Lerdorf [Fri, 14 Dec 2012 00:42:50 +0000 (16:42 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5
Rasmus Lerdorf [Fri, 14 Dec 2012 00:42:33 +0000 (16:42 -0800)]
Merge branch 'PHP-5.3' into PHP-5.4
Rasmus Lerdorf [Fri, 14 Dec 2012 00:41:56 +0000 (16:41 -0800)]
Fix broken test
Need to use the configured connection parameters here. We can't assume
the test user has access.
Rasmus Lerdorf [Fri, 14 Dec 2012 00:17:34 +0000 (16:17 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5
Rasmus Lerdorf [Fri, 14 Dec 2012 00:15:06 +0000 (16:15 -0800)]
Merge branch 'PHP-5.3' into PHP-5.4
Rasmus Lerdorf [Fri, 14 Dec 2012 00:13:37 +0000 (16:13 -0800)]
Fix broken test
This was missing a %s for the path here
Arpad Ray [Thu, 13 Dec 2012 23:59:34 +0000 (23:59 +0000)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Fix #63379 - Don't reset mod_user_is_open in destroy
Arpad Ray [Thu, 13 Dec 2012 23:51:43 +0000 (23:51 +0000)]
Fix #63379 - Don't reset mod_user_is_open in destroy
The parent handler is still open so the reset here was in error.
Johannes Schlüter [Thu, 13 Dec 2012 21:45:47 +0000 (22:45 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5
Johannes Schlüter [Thu, 13 Dec 2012 21:40:23 +0000 (22:40 +0100)]
Merge branch 'PHP-5.3' into PHP-5.4
Johannes Schlüter [Thu, 13 Dec 2012 21:39:35 +0000 (22:39 +0100)]
Fix Bug #63762 Sigsegv when Exception::$trace is changed by user
Anatoliy Belsky [Thu, 13 Dec 2012 14:05:35 +0000 (15:05 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Fixed mysqlnd compilation in debug mode on windows
Anatoliy Belsky [Thu, 13 Dec 2012 14:01:01 +0000 (15:01 +0100)]
Fixed mysqlnd compilation in debug mode on windows
Dmitry Stogov [Thu, 13 Dec 2012 13:51:04 +0000 (17:51 +0400)]
Removed unreachable code
Dmitry Stogov [Thu, 13 Dec 2012 13:29:30 +0000 (17:29 +0400)]
Removed unnecessary checks
Dmitry Stogov [Thu, 13 Dec 2012 10:46:44 +0000 (14:46 +0400)]
Removed redundand checks from release build
Dmitry Stogov [Thu, 13 Dec 2012 09:40:42 +0000 (13:40 +0400)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Fixed bug #63757 (getenv() produces memory leak with CGI SAPI)
Conflicts:
NEWS
Dmitry Stogov [Thu, 13 Dec 2012 09:39:42 +0000 (13:39 +0400)]
Fixed bug #63757 (getenv() produces memory leak with CGI SAPI)
Xinchen Hui [Thu, 13 Dec 2012 02:45:33 +0000 (10:45 +0800)]
Merge branch 'PHP-5.4' into PHP-5.5
Xinchen Hui [Thu, 13 Dec 2012 02:44:56 +0000 (10:44 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4
Xinchen Hui [Thu, 13 Dec 2012 02:44:14 +0000 (10:44 +0800)]
MFH
Dmitry Stogov [Wed, 12 Dec 2012 22:53:27 +0000 (02:53 +0400)]
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
* 'PHP-5.5' of git.php.net:php-src:
Really fix test pdo_mysql_class_constants.phpt
Dmitry Stogov [Wed, 12 Dec 2012 22:48:51 +0000 (02:48 +0400)]
An exception thrown in try or catch block is disacarded by return statement in finally block.
Remi Collet [Wed, 12 Dec 2012 15:53:18 +0000 (16:53 +0100)]
Really fix test pdo_mysql_class_constants.phpt
- with mysqlnd, constant always present
- with mysqli, check client library version
- without mysqlnd and without mysqli
skip the test if no connection
use connection to check client library
Note : MySQLPDOTest::getClientVersion() is broken with mysqlnd
as PDO::ATTR_CLIENT_VERSION return "mysqlnd 5.0.11-dev -
20120503 ..."
so, getClientVersion() return "11"
Dmitry Stogov [Wed, 12 Dec 2012 13:47:55 +0000 (17:47 +0400)]
Restored proper generators behaviour in conjunction with "finally". (Nikita)
Remi Collet [Tue, 11 Dec 2012 15:30:08 +0000 (16:30 +0100)]
Fixed Bug #63738 unpack: back result with Z format
Fix result for empty string.
Same output as perl
perl -e 'print unpack("Z2","\0\0");' => ""
perl -e 'print unpack("Z2","A\0");' => "A"
perl -e 'print unpack("Z2","AB\0");' => "AB"
perl -e 'print unpack("Z2","ABC\0");'=> "AB"
Dmitry Stogov [Tue, 11 Dec 2012 13:25:32 +0000 (17:25 +0400)]
- generators API exported for extensions
- improved RETURN sequence to avoid redundant check if op_array is a generator
Adam Harvey [Tue, 11 Dec 2012 11:53:02 +0000 (19:53 +0800)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Alter php_json_decode_ex() to respect JSON_BIGINT_AS_STRING for bare numbers.
Adam Harvey [Tue, 11 Dec 2012 11:51:30 +0000 (19:51 +0800)]
Alter php_json_decode_ex() to respect JSON_BIGINT_AS_STRING for bare numbers.
Fixes bug #63737 (json_decode does not properly decode with options parameter).
Adam Harvey [Tue, 11 Dec 2012 01:08:07 +0000 (09:08 +0800)]
Tinker with the wording of the MySQL deprecation news post.
I know that in general NEWS is a very punchy "this is what happened" log, but
Chris e-mailed me off-list to ask if it could be added to avoid any FUD — this
merely brings the NEWS post into line with UPGRADING, the migration guide, and
every other piece of advice we're giving out.
I also forgot to add the RFC URL last night, so added that.
Adam Harvey [Mon, 10 Dec 2012 14:12:09 +0000 (22:12 +0800)]
Deprecate ext/mysql.
Per https://wiki.php.net/rfc/mysql_deprecation, connecting to a MySQL database
via ext/mysql now generates an E_DEPRECATED error. This commit includes the
minimal EXPECTF updates required for the test suite to pass: it may be
preferable to refactor some of the tests to suppress deprecation errors in
situations where no other error is expected from mysql_[p]connect(), but I'm
not enough of a MySQL expert to want to get my hands that dirty in a long
standing test suite.
Johannes Schlüter [Mon, 10 Dec 2012 12:36:05 +0000 (13:36 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5
Johannes Schlüter [Mon, 10 Dec 2012 12:35:57 +0000 (13:35 +0100)]
Merge branch 'PHP-5.3' into PHP-5.4
Johannes Schlüter [Mon, 10 Dec 2012 12:35:27 +0000 (13:35 +0100)]
Merge branch 'PHP-5.3' of git.php.net:/php-src into PHP-5.3
Johannes Schlüter [Mon, 10 Dec 2012 12:34:23 +0000 (13:34 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5
Johannes Schlüter [Mon, 10 Dec 2012 12:32:50 +0000 (13:32 +0100)]
Merge branch 'PHP-5.3' into PHP-5.4
Johannes Schlüter [Mon, 10 Dec 2012 12:32:08 +0000 (13:32 +0100)]
Fix typo
Xinchen Hui [Mon, 10 Dec 2012 12:30:39 +0000 (20:30 +0800)]
Merge branch 'PHP-5.4' into PHP-5.5
Xinchen Hui [Mon, 10 Dec 2012 12:29:51 +0000 (20:29 +0800)]
Fixed bug #63726 (Memleak with static properties and internal/user classes)
No test scripts provided (will try to find one)
Xinchen Hui [Mon, 10 Dec 2012 12:29:38 +0000 (20:29 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4
Xinchen Hui [Mon, 10 Dec 2012 12:28:27 +0000 (20:28 +0800)]
Fixed bug #63726 (Memleak with static properties and internal/user classes)
Xinchen Hui [Mon, 10 Dec 2012 10:47:53 +0000 (18:47 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4
Xinchen Hui [Mon, 10 Dec 2012 10:47:21 +0000 (18:47 +0800)]
skip 32-bit OS
Xinchen Hui [Mon, 10 Dec 2012 10:35:04 +0000 (18:35 +0800)]
Merge branch 'PHP-5.4' into PHP-5.5
Xinchen Hui [Mon, 10 Dec 2012 10:29:34 +0000 (18:29 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4