]>
granicus.if.org Git - php/log
Bob Weinand [Tue, 14 Jul 2015 00:37:35 +0000 (02:37 +0200)]
Fix __METHOD__ in functions nested into methods
Bob Weinand [Mon, 13 Jul 2015 23:55:32 +0000 (01:55 +0200)]
Init variable to NULL before passing to zpp
Lior Kaplan [Mon, 13 Jul 2015 23:43:11 +0000 (02:43 +0300)]
Format alignment
Christopher Jones [Mon, 13 Jul 2015 22:39:59 +0000 (08:39 +1000)]
PHP 7 OCI8: fix bug57702.phpt regression
Anatol Belski [Mon, 13 Jul 2015 22:12:35 +0000 (00:12 +0200)]
remove #ifdef
Anatol Belski [Mon, 13 Jul 2015 21:42:40 +0000 (23:42 +0200)]
remove comment, it's not right
Christoph M. Becker [Mon, 13 Jul 2015 20:33:43 +0000 (22:33 +0200)]
updated NEWS
Christoph M. Becker [Mon, 13 Jul 2015 20:30:43 +0000 (22:30 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
updated NEWS
Fix #66882: imagerotate by -90 degrees truncates image by 1px
Christoph M. Becker [Mon, 13 Jul 2015 20:29:10 +0000 (22:29 +0200)]
updated NEWS
Christoph M. Becker [Mon, 13 Jul 2015 20:14:13 +0000 (22:14 +0200)]
Fix #66882: imagerotate by -90 degrees truncates image by 1px
Contrary to the external libgd, the bundled libgd doesn't use optimized
rotation algorithms for negative square angles. We fix that now.
There are other improvements in gdImageRotateInterpolated() in the external
libgd. I'll leave them out for now, in the hope that we'll be able to rejoin
the two libraries rather soon.
Anatol Belski [Mon, 13 Jul 2015 19:48:45 +0000 (21:48 +0200)]
update NEWS
Anatol Belski [Mon, 13 Jul 2015 19:46:51 +0000 (21:46 +0200)]
Fixed bug #70065 curl_getinfo() returns corrupted values
Anthony Ferrara [Mon, 13 Jul 2015 17:27:06 +0000 (13:27 -0400)]
Revert SplFileInfo BC break while keeping fix for assertion removal
This reverts the minor bc-break where .test would return an empty extension. This is different from 5.x's behavior.
In 7, it would result in an assertion failure crash. The fix for the removal of this assertion is kept, keeping BC with 5.x.
Anthony Ferrara [Mon, 13 Jul 2015 17:12:45 +0000 (13:12 -0400)]
Fix issue with SplFileInfo::getExtension() on files with only a leading '.' character
Currently, there is an assert() that fails on files like .gitignore crashing PHP. This patch fixes that.
Instead, now an empty string is returned (since the file has no extension). A test has been added to test this behavior.
Christoph M. Becker [Mon, 13 Jul 2015 16:39:11 +0000 (18:39 +0200)]
updated NEWS
Christoph M. Becker [Mon, 13 Jul 2015 16:36:15 +0000 (18:36 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
updated NEWS
Fix #70064: imagescale(..., IMG_BICUBIC) leaks memory
Christoph M. Becker [Mon, 13 Jul 2015 16:34:40 +0000 (18:34 +0200)]
updated NEWS
Christoph M. Becker [Mon, 13 Jul 2015 16:30:33 +0000 (18:30 +0200)]
Fix #70064: imagescale(..., IMG_BICUBIC) leaks memory
A temporary image (tmp_im) is created with gdImageTrueColor() and freed with
gdFree() instead of gdImageDestroy(). Let's fix that.
Christoph M. Becker [Mon, 13 Jul 2015 13:59:40 +0000 (15:59 +0200)]
updated NEWS
Christoph M. Becker [Mon, 13 Jul 2015 13:56:39 +0000 (15:56 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
updated NEWS
Fix #69024: imagescale segfault with palette based image
Christoph M. Becker [Mon, 13 Jul 2015 13:54:57 +0000 (15:54 +0200)]
updated NEWS
Christoph M. Becker [Mon, 13 Jul 2015 13:43:16 +0000 (15:43 +0200)]
Fix #69024: imagescale segfault with palette based image
imagescale(..., IMG_BICUBIC) is not supposed to work with palette images, so we
fix that by converting to true color if necessary. Basically the same fix has
already been applied to the external libgd[1].
[1] <https://github.com/libgd/libgd/commit/
723ea520bed3b5854df87393c687323d3930edf3 >
Bob Weinand [Mon, 13 Jul 2015 12:11:39 +0000 (14:11 +0200)]
Fix weird asm instruction order with gcc by marking as volatile in phpdbg
Bob Weinand [Mon, 13 Jul 2015 11:45:27 +0000 (13:45 +0200)]
Preserve return value in zend_vm_call_opcode_handler with global opline/ex registers enabled
Xinchen Hui [Mon, 13 Jul 2015 11:12:18 +0000 (19:12 +0800)]
Merge branch 'shmop-extension_improve-test-coverage' of https://github.com/edgarsandi/php-src
Xinchen Hui [Mon, 13 Jul 2015 11:08:25 +0000 (19:08 +0800)]
Merge branch 'basename-function_improve-test-coverage' of https://github.com/edgarsandi/php-src
Xinchen Hui [Mon, 13 Jul 2015 11:07:11 +0000 (19:07 +0800)]
Merge branch 'goto_branch_hint' of https://github.com/bogdanandone/php-src
Xinchen Hui [Mon, 13 Jul 2015 09:22:34 +0000 (17:22 +0800)]
Revert "Fixed test fail in travis from time to time"
Some tests rely on this warning... :<
This reverts commit
aed4c03cf9a360cd31a6d95304723896530bbdb8 .
Xinchen Hui [Mon, 13 Jul 2015 08:40:56 +0000 (16:40 +0800)]
Merge branch 'master' of https://github.com/Geolim4/php-src
Xinchen Hui [Mon, 13 Jul 2015 08:36:19 +0000 (16:36 +0800)]
Fixed test fail in travis from time to time
Xinchen Hui [Mon, 13 Jul 2015 08:24:54 +0000 (16:24 +0800)]
Update NEWS
Xinchen Hui [Mon, 13 Jul 2015 08:22:55 +0000 (16:22 +0800)]
Fixed bug #70057 (Build failure on 32-bit Mac OS X 10.6.8: recursive inlining)
Xinchen Hui [Mon, 13 Jul 2015 08:02:21 +0000 (16:02 +0800)]
Merge branch 'zend_update_static_property' of https://github.com/dreamsxin/php-src
Xinchen Hui [Mon, 13 Jul 2015 07:05:04 +0000 (15:05 +0800)]
Fixed Bug #70058 Build fails when building for i386
(I don't have a m32 build env, so this is not tested)
Christopher Jones [Mon, 13 Jul 2015 01:50:00 +0000 (11:50 +1000)]
Some OCI8 fixes (Rajendra)
Dreamsxin [Mon, 13 Jul 2015 00:42:18 +0000 (08:42 +0800)]
Updated zend_update_static_property
Christopher Jones [Sun, 12 Jul 2015 23:56:00 +0000 (09:56 +1000)]
Merge branch 'master' of https://git.php.net/repository/php-src
Christoph M. Becker [Sun, 12 Jul 2015 23:50:09 +0000 (01:50 +0200)]
updated NEWS
Christoph M. Becker [Sun, 12 Jul 2015 23:46:09 +0000 (01:46 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
updated NEWS
Fix #53154: Zero-height rectangle has whiskers
Christoph M. Becker [Sun, 12 Jul 2015 23:41:46 +0000 (01:41 +0200)]
updated NEWS
Christoph M. Becker [Sun, 12 Jul 2015 23:29:01 +0000 (01:29 +0200)]
Fix #53154: Zero-height rectangle has whiskers
To avoid drawing the corner pixels twice, gdImageRectangle() draws the vertical
lines 2 points shorter than the actual side of the rectangle. However, this
causes "whiskers" for rectangles with height 0. This patch fixes this issue and
at the same time optimizes the algorithm by drawing only a single line for zero
height and zero width rectangles.
Christoph M. Becker [Sun, 12 Jul 2015 21:18:59 +0000 (23:18 +0200)]
updated NEWS
Christoph M. Becker [Sun, 12 Jul 2015 21:15:06 +0000 (23:15 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
updated NEWS
Fix #67447: imagecrop() adds a black line when cropping
Christoph M. Becker [Sun, 12 Jul 2015 21:13:13 +0000 (23:13 +0200)]
updated NEWS
Christoph M. Becker [Sun, 28 Jun 2015 23:36:39 +0000 (01:36 +0200)]
Fix #67447: imagecrop() adds a black line when cropping
A simple one-off error: imagecrop)() copied only width-1 and height-1 pixels.
Tjerk Meesters [Sun, 12 Jul 2015 16:33:55 +0000 (00:33 +0800)]
Fixed #70053 MutlitpleIterator array-keys incompatible change in PHP 7
Christoph M. Becker [Sun, 12 Jul 2015 14:43:38 +0000 (16:43 +0200)]
updated NEWS
Christoph M. Becker [Sun, 12 Jul 2015 14:39:50 +0000 (16:39 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
updated NEWS
Fix #68714: copy 'n paste error
Christoph M. Becker [Sun, 12 Jul 2015 14:38:23 +0000 (16:38 +0200)]
updated NEWS
Christoph M. Becker [Sun, 12 Jul 2015 14:26:16 +0000 (16:26 +0200)]
Fix #68714: copy 'n paste error
Actually, this is not really a bug fix, but rather a simplification and
optimization in the same vein as has been done with the external libgd, but
going a small step further and joining both for loops.
Christoph M. Becker [Sat, 11 Jul 2015 22:12:31 +0000 (00:12 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Added XFAIL test for bug #53640
Christoph M. Becker [Sat, 11 Jul 2015 22:10:56 +0000 (00:10 +0200)]
Added XFAIL test for bug #53640
Geolim4 [Sat, 11 Jul 2015 19:44:23 +0000 (21:44 +0200)]
Fix #70048: When running a phpinfo(), if you have a very long cell value you got a table overflow.
Christoph M. Becker [Sat, 11 Jul 2015 19:03:40 +0000 (21:03 +0200)]
updated NEWS
Christoph M. Becker [Sat, 11 Jul 2015 19:01:01 +0000 (21:01 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
updated NEWS
Fix #66339: PHP segfaults in imagexbm
Christoph M. Becker [Sat, 11 Jul 2015 18:58:50 +0000 (20:58 +0200)]
updated NEWS
Christoph M. Becker [Sat, 11 Jul 2015 18:50:54 +0000 (20:50 +0200)]
Fix #66339: PHP segfaults in imagexbm
The file parameter of the XBM image ZPP is not properly taken into account. If
it is NULL that would result in a segfault, because gdImageXbmCtx() is not
prepared to take a NULL file_name. If it is not NULL the XBM data would be
written to STDOUT, because the stream is not initialized. This patch fixes both
issues.
Christoph M. Becker [Sat, 11 Jul 2015 15:56:33 +0000 (17:56 +0200)]
updated NEWS
Christoph M. Becker [Sat, 11 Jul 2015 15:52:22 +0000 (17:52 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
updated NEWS
Fix #70047: gd_info() doesn't report WebP support
Christoph M. Becker [Sat, 11 Jul 2015 15:50:42 +0000 (17:50 +0200)]
updated NEWS
Christoph M. Becker [Sat, 11 Jul 2015 15:49:13 +0000 (17:49 +0200)]
Fix #70047: gd_info() doesn't report WebP support
Despite being documented, the array returned by gd_info() doesn't have a 'WebP
Support' key. This patch adds it.
Xinchen Hui [Sat, 11 Jul 2015 10:59:09 +0000 (18:59 +0800)]
Better implementation
Christoph M. Becker [Fri, 10 Jul 2015 22:20:46 +0000 (00:20 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Adding tests for getprotobyname and getprotobynumber functions
Rasmus Lerdorf [Fri, 10 Jul 2015 22:17:06 +0000 (15:17 -0700)]
DOMDocument::saveXML has a 2nd optional arg
Edgar R. Sandi [Thu, 9 Jul 2015 19:59:26 +0000 (16:59 -0300)]
Adding tests for getprotobyname and getprotobynumber functions
Bob Weinand [Fri, 10 Jul 2015 21:35:05 +0000 (23:35 +0200)]
hmm, we do not need the nop after compilation, so does not matter for opcache...
Bob Weinand [Fri, 10 Jul 2015 21:29:07 +0000 (23:29 +0200)]
a: try { ... } ≠ try { a: ... }
Ferenc Kovacs [Fri, 10 Jul 2015 15:26:09 +0000 (17:26 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
add missing NEWS entry
Ferenc Kovacs [Fri, 10 Jul 2015 15:25:44 +0000 (17:25 +0200)]
add missing NEWS entry
Xinchen Hui [Fri, 10 Jul 2015 14:26:53 +0000 (22:26 +0800)]
Fixed invalid read (Part issue of #69579)
Nikita Popov [Fri, 10 Jul 2015 11:35:14 +0000 (13:35 +0200)]
Move try/catch/finally tests to common directory
Nikita Popov [Fri, 10 Jul 2015 11:33:32 +0000 (13:33 +0200)]
Mark temporary_cleaning_006.phpt as XFAIL
And adjust it to fail even with opcode.
Nikita Popov [Fri, 10 Jul 2015 09:22:34 +0000 (11:22 +0200)]
Better opcode dump for finally
* Move opcode decode into opline decode, so we can adjust it for
extended_value.
* Show extended_value and secondary jump ops for FAST_CALL and
FAST_RET.
Xinchen Hui [Fri, 10 Jul 2015 08:39:21 +0000 (16:39 +0800)]
Micro optimization
Xinchen Hui [Fri, 10 Jul 2015 08:33:13 +0000 (16:33 +0800)]
Fixed Bug #69996 (Changing the property of a cloned object affects the original)
Bogdan Andone [Tue, 30 Jun 2015 07:58:17 +0000 (10:58 +0300)]
Hint label lookup table initialization branch on GOTO VM kind.
This initialization is performed only once so it shall be marked as unexpected.
Xinchen Hui [Fri, 10 Jul 2015 08:04:45 +0000 (16:04 +0800)]
Fixed No 2 issue in #1400
Xinchen Hui [Fri, 10 Jul 2015 07:27:06 +0000 (15:27 +0800)]
Fixed Issue #1400 (double free static property)
Dmitry Stogov [Fri, 10 Jul 2015 01:44:21 +0000 (04:44 +0300)]
Resolve GOTO at compile time and replace it with sequnce of FREE/FE_FREE and JMP.
Dmitry Stogov [Fri, 10 Jul 2015 01:13:34 +0000 (04:13 +0300)]
Exception thrown by "return" statement (from TMP destructors) shouldn't be caught in the same function
Dmitry Stogov [Fri, 10 Jul 2015 00:46:57 +0000 (03:46 +0300)]
Readded tests
Dmitry Stogov [Fri, 10 Jul 2015 00:32:46 +0000 (03:32 +0300)]
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
add missing NEWS entry
PDO_OCI LOB fixes (Senthil)
Improve test portability (Senthil)
Add new test section. Diff with query 5 is still to be resolved
Add Oracle syntax (Senthil)
Dmitry Stogov [Fri, 10 Jul 2015 00:31:52 +0000 (03:31 +0300)]
Squashed commit of the following:
commit
03cf871f1576f08b2348c141b209894a7bf17a86
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Jul 10 02:45:31 2015 +0300
Revert "Fixed bug #62210 (Exceptions can leak temporary variables. As a part of the fix serious refactoring was done. op_array->brk_cont_array was removed, and replaced with more general and speed efficient op_array->T_liveliness. ZEND_GOTO opcode is always replaced by ZEND_JMP at compile time). (Bob, Dmitry, Laruence)"
This reverts commit
5ee841325901a4b040cfea56292a24702fe224d9 .
commit
285a68227ce3d380e821a24fa389aa5239bd3fe1
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Jul 10 02:45:26 2015 +0300
Revert "Tuned off dubugging of live ranges"
This reverts commit
404dc93d35f7061fc4b1b41ad6cb0721b9b52bcc .
commit
93d9d11157301ee2ec99afb6f5744b126d17f637
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Jul 10 02:45:17 2015 +0300
Revert "Remove loop_var_stack"
This reverts commit
b3a4c05071c3786e27e1326fa1b4d5acad62fccd .
commit
ede68ebbc284aec79e3f719f2c8dbf9da6907752
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Jul 10 02:45:12 2015 +0300
Revert "ZEND_SEPARATE reuses temporaries"
This reverts commit
1852f538b9f8d5e7d67fe5a4f6080396d8b10034 .
commit
96d8995dc1f517fb01b481736273767509f76c47
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Jul 10 02:45:10 2015 +0300
Revert "Add assertion in liveliness computation"
This reverts commit
ed14019e8c0c852480eebc6fc552d8c3d939dce1 .
commit
0649d7bfef152e6cc8e67b922534e9946c634d9c
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Jul 10 02:45:07 2015 +0300
Revert "Fixed invalid live-range detection"
This reverts commit
54f367ee2a2e4cb7c952b17915c226fdc56038ab .
commit
dfe8f3851f6b04595eb089323e3492115a59363e
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Jul 10 02:45:04 2015 +0300
Revert "Add test guaranteeing that loop vars are only freed after potential return type exceptions"
This reverts commit
f5db5a558d550bf441373febebbb02f3884209d1 .
commit
52a94aad6f48a199358cc07f7e4f56bb73050504
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Jul 10 02:45:01 2015 +0300
Revert "Fixed exception habdling on "return" statement."
This reverts commit
17c5315bdf8f8087979aeb55f6d3a512ba197cf5 .
commit
6e90ad7331901711e89c2ceb2bcab5023e5cee60
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Jul 10 02:44:58 2015 +0300
Revert "Fix too early terminated temporary range with break/cont/goto"
This reverts commit
cc876c04b420589cb1f62b650d0c0e24975dd4af .
commit
7b766e44b1970e4031f75109c302c07ead2c05cb
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Jul 10 02:44:55 2015 +0300
Revert "Fixed exception catching on break/continue"
This reverts commit
8c3f701eebfa92d761bb368cfa8c2d1ccf821b9d .
Ferenc Kovacs [Fri, 10 Jul 2015 00:31:16 +0000 (02:31 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
add missing NEWS entry
Ferenc Kovacs [Fri, 10 Jul 2015 00:30:29 +0000 (02:30 +0200)]
add missing NEWS entry
Christopher Jones [Thu, 9 Jul 2015 23:55:36 +0000 (09:55 +1000)]
PDO_OCI LOB fixes (Senthil)
Christopher Jones [Thu, 9 Jul 2015 23:53:45 +0000 (09:53 +1000)]
Improve test portability (Senthil)
Christopher Jones [Thu, 9 Jul 2015 23:49:10 +0000 (09:49 +1000)]
Add new test section. Diff with query 5 is still to be resolved
Christopher Jones [Thu, 9 Jul 2015 23:47:45 +0000 (09:47 +1000)]
Add Oracle syntax (Senthil)
Nikita Popov [Thu, 9 Jul 2015 20:59:31 +0000 (22:59 +0200)]
Don't return T_ERROR from token_get_all()
This turned out to be rather inconvenient after all. Instead just
return the same output we did on PHP 5. If people want to have an
error, use TOKEN_PARSE.
Anatol Belski [Thu, 9 Jul 2015 20:55:44 +0000 (22:55 +0200)]
refix the NEWS
Dmitry Stogov [Thu, 9 Jul 2015 20:20:50 +0000 (23:20 +0300)]
Fixed exception catching on break/continue
Fixed "finaly" handling on exception in "return" statement
Edgar R. Sandi [Thu, 9 Jul 2015 19:43:31 +0000 (16:43 -0300)]
adding scenario of test to improve test coverage
Nikita Popov [Thu, 9 Jul 2015 18:40:07 +0000 (20:40 +0200)]
Fix posix_setrlimit segfault
Bob Weinand [Thu, 9 Jul 2015 18:07:40 +0000 (20:07 +0200)]
Fix too early terminated temporary range with break/cont/goto
I have no crashing or leaking reproduce script, only valgrind invalid reads for that one; hence no phpt here
Ferenc Kovacs [Thu, 9 Jul 2015 18:02:18 +0000 (20:02 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
move the use-after-free fixes to 5.6.11
Ferenc Kovacs [Thu, 9 Jul 2015 18:01:37 +0000 (20:01 +0200)]
move the use-after-free fixes to 5.6.11
Dmitry Stogov [Thu, 9 Jul 2015 17:47:25 +0000 (20:47 +0300)]
Fixed exception habdling on "return" statement.
Such exceptions shouldn't be caught in the same function.
Nikita Popov [Thu, 9 Jul 2015 17:10:06 +0000 (19:10 +0200)]
Fix bug #69430
Don't throw from token_get_all() unless TOKEN_PARSE is used. Errors
are reported as T_ERROR tokens.
Nikita Popov [Thu, 9 Jul 2015 16:19:12 +0000 (18:19 +0200)]
Update token_get_all() arginfo