]>
granicus.if.org Git - php/log
Dmitry Stogov [Fri, 20 Nov 2015 19:06:36 +0000 (22:06 +0300)]
Refactored CFG based optimization using new CFG representation.
Squashed commit of the following:
commit
907533390678f58eac738040ef62a40788048bef
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Nov 20 21:25:28 2015 +0300
cleanup
commit
82f7e6f5bb434f12e9fdf45f597be351527f383c
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Nov 20 21:22:01 2015 +0300
Update build system
commit
8fd83d843fde3f486692de4e2c6b7d64d4192704
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Nov 20 20:50:32 2015 +0300
Reachable blocks can't be empty
commit
5822a36269833930a35cb3547222357118b11310
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Nov 20 19:11:02 2015 +0300
added missing constraints
commit
2d0c00b243479924de0260ae8d80d624c36994a3
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Nov 20 19:03:12 2015 +0300
optimization
commit
29d1e5eb210c51b052cac4d6c232aaa2c724dbbb
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Nov 20 18:34:11 2015 +0300
Added missing optimization patterns
commit
38dd3b3f2459f5193c742633213f41d78326ea28
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Nov 20 17:47:06 2015 +0300
zend_optimize_block() refactoring
commit
3dc97bd1f6d433dff0617338382347b6d0c08f84
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Nov 20 14:30:32 2015 +0300
We don't use CFG back-references anymore
commit
2242c9e0aa741d287146ad43179650796f199f2d
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Nov 20 14:16:03 2015 +0300
Consistent naming
commit
64f2856716069390ed7703ac88905cebf5e04023
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Nov 20 13:29:32 2015 +0300
Optimization and separate building of direct CFG from predecessrs calculation
commit
9389be4869b13ec45df5dbd443015d2ac539a347
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Nov 20 10:44:19 2015 +0300
Use CFG without back references (incomplete, but works)
commit
3d3ecd4b883959cf7b86c33622183295f913924e
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Nov 20 00:50:09 2015 +0300
Fixed iteration in reverse order
commit
52f7fde0c3dfa4b4591519828ebdb238c2377936
Author: Dmitry Stogov <dmitry@zend.com>
Date: Thu Nov 19 18:35:09 2015 +0300
Separate debugging code into zend_dump.c
commit
4193a039ea96bae41baf97c6e458f419e8dbf9c5
Author: Dmitry Stogov <dmitry@zend.com>
Date: Thu Nov 19 17:22:04 2015 +0300
Remove unused code
commit
4228fdc57d8d120e1dad4e4d44045fa1a6f06fe0
Author: Dmitry Stogov <dmitry@zend.com>
Date: Thu Nov 19 17:21:20 2015 +0300
Remove dead live-ranges only on assembling basic blocks
commit
9a4a7966edf19b92678876f85565700694205598
Author: Dmitry Stogov <dmitry@zend.com>
Date: Thu Nov 19 15:26:29 2015 +0300
New CFG representation (incomplete)
Xinchen Hui [Fri, 20 Nov 2015 14:57:14 +0000 (06:57 -0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Fri, 20 Nov 2015 14:54:57 +0000 (06:54 -0800)]
Improved previously fix a little
Xinchen Hui [Fri, 20 Nov 2015 14:37:54 +0000 (06:37 -0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Fri, 20 Nov 2015 14:37:38 +0000 (06:37 -0800)]
Fixed bug #70947 (INI parser segfault with INI_SCANNER_TYPED)
Xinchen Hui [Fri, 20 Nov 2015 08:38:36 +0000 (16:38 +0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Fri, 20 Nov 2015 08:38:24 +0000 (16:38 +0800)]
Update NEWS
Xinchen Hui [Fri, 20 Nov 2015 08:38:00 +0000 (16:38 +0800)]
Merge branch 'PHP-5.6' into PHP-7.0
Conflicts:
Zend/zend_exceptions.c
Xinchen Hui [Fri, 20 Nov 2015 08:24:53 +0000 (16:24 +0800)]
Fixed bug #70944 (try{ } finally{} can create infinite chains of exceptions)
Xinchen Hui [Fri, 20 Nov 2015 07:37:43 +0000 (15:37 +0800)]
Merge branch 'PHP-7.0'
Conflicts:
ext/gd/gd_compat.c
Xinchen Hui [Fri, 20 Nov 2015 07:36:26 +0000 (15:36 +0800)]
Merge branch 'PHP-5.6' into PHP-7.0
Xinchen Hui [Fri, 20 Nov 2015 07:36:13 +0000 (15:36 +0800)]
This seems better
Xinchen Hui [Fri, 20 Nov 2015 07:22:59 +0000 (15:22 +0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Fri, 20 Nov 2015 07:22:45 +0000 (15:22 +0800)]
Merge branch 'PHP-5.6' into PHP-7.0
Xinchen Hui [Fri, 20 Nov 2015 07:22:05 +0000 (15:22 +0800)]
Fixed build error "undefined symbol gdJpegGetVersionString"
Christopher Jones [Thu, 19 Nov 2015 22:19:20 +0000 (09:19 +1100)]
Merge branch 'master' of https://git.php.net/repository/php-src
Christopher Jones [Thu, 19 Nov 2015 22:16:33 +0000 (09:16 +1100)]
Merge branch 'PHP-7.0'
Christopher Jones [Thu, 19 Nov 2015 22:14:05 +0000 (09:14 +1100)]
Fixed LOB implementation size_t/zend_long mismatch reported by gcov
Christopher Jones [Thu, 19 Nov 2015 22:13:47 +0000 (09:13 +1100)]
Stablize test on Windows
George Wang [Thu, 19 Nov 2015 22:01:26 +0000 (17:01 -0500)]
Fixed runtime php.ini override, ini name length is off by 1.
Remi Collet [Thu, 19 Nov 2015 08:20:13 +0000 (09:20 +0100)]
typo
Dmitry Stogov [Thu, 19 Nov 2015 08:19:06 +0000 (11:19 +0300)]
Proper optmisation of "goto" into the middle of "try" block.
Remi Collet [Thu, 19 Nov 2015 07:19:23 +0000 (08:19 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
NEWS
Fixed bug #70940 Segfault in soep / type_to_string
Remi Collet [Thu, 19 Nov 2015 07:19:04 +0000 (08:19 +0100)]
NEWS
Remi Collet [Thu, 19 Nov 2015 07:18:13 +0000 (08:18 +0100)]
Fixed bug #70940 Segfault in soep / type_to_string
Dmitry Stogov [Wed, 18 Nov 2015 21:47:08 +0000 (00:47 +0300)]
Don't keep wrong jump target in last CATCH.
Dmitry Stogov [Wed, 18 Nov 2015 20:03:20 +0000 (23:03 +0300)]
minor fixes
Andrea Faulds [Wed, 14 Oct 2015 18:15:32 +0000 (19:15 +0100)]
Add void return type
Dmitry Stogov [Wed, 18 Nov 2015 15:04:02 +0000 (18:04 +0300)]
Eliminate unreachable live ranges
Dmitry Stogov [Wed, 18 Nov 2015 12:34:28 +0000 (15:34 +0300)]
Eliminate unreachable catch blocks
Dmitry Stogov [Wed, 18 Nov 2015 10:14:57 +0000 (13:14 +0300)]
Extended Debug info with live-ranges and excepton-table.
Andrey Hristov [Wed, 18 Nov 2015 09:49:37 +0000 (10:49 +0100)]
Fix the macro in case of no statistics
Andrey Hristov [Wed, 18 Nov 2015 09:35:10 +0000 (10:35 +0100)]
Fix wrong macro name
Andrey Hristov [Tue, 17 Nov 2015 17:57:51 +0000 (18:57 +0100)]
Revert "Fixed compilation on 32-bit Linux"
This reverts commit
11c9729a9ca7b064936106e03fabadb8ab6f89fa .
Dmitry Stogov [Tue, 17 Nov 2015 23:47:39 +0000 (02:47 +0300)]
Added internal debug log for block pass.
Dmitry Stogov [Tue, 17 Nov 2015 23:45:58 +0000 (02:45 +0300)]
Two step optimization for JMPZNZ L,L; L: JMPZ L+1; L: JMPNZ L+1.
Bob Weinand [Tue, 17 Nov 2015 20:08:09 +0000 (21:08 +0100)]
Merge branch 'PHP-7.0'
Bob Weinand [Tue, 17 Nov 2015 20:06:39 +0000 (21:06 +0100)]
Fixed bug #70899 (buildconf failure in extensions)
Dmitry Stogov [Tue, 17 Nov 2015 18:07:01 +0000 (21:07 +0300)]
Move JMPZNZ L,L; L: JMPZ L+1; L: JMPNZ L+1 optimization patterns from zend_jmp_optimization() into zend_optimize_block() because the value of Tsource in zend_jmp_optimization() is inconsistent.
Fixed compilation warnings.
Andrey Hristov [Tue, 17 Nov 2015 16:55:32 +0000 (17:55 +0100)]
Revert "Add some const-ness to the protocol frame codec"
This reverts commit
f8c2b459481209c3761a694baa6f38060dc9875a .
Andrey Hristov [Tue, 17 Nov 2015 16:47:50 +0000 (17:47 +0100)]
Don't use the specific translated name but use the macro for this
Dmitry Stogov [Tue, 17 Nov 2015 16:02:39 +0000 (19:02 +0300)]
Skip first basic block (we skiped it before)
Dmitry Stogov [Tue, 17 Nov 2015 16:02:17 +0000 (19:02 +0300)]
Fixed signed/unsigned mismatch
Dmitry Stogov [Tue, 17 Nov 2015 16:01:50 +0000 (19:01 +0300)]
Fixed compilation on 32-bit Linux
Andrey Hristov [Tue, 17 Nov 2015 13:59:59 +0000 (14:59 +0100)]
More const and moved the declaration of php_mysqlnd_scramble() to mysqlnd_auth.h
Andrey Hristov [Tue, 17 Nov 2015 13:49:18 +0000 (14:49 +0100)]
constify parameters
Andrey Hristov [Tue, 17 Nov 2015 13:40:03 +0000 (14:40 +0100)]
Rename from previous acronym (ppec became pfc)
Andrey Hristov [Tue, 17 Nov 2015 12:28:47 +0000 (13:28 +0100)]
Bring consistency to the class by renaming the methods too (from the
old temporary name)
Andrey Hristov [Tue, 17 Nov 2015 12:16:53 +0000 (13:16 +0100)]
Add some const-ness to the protocol frame codec
Xinchen Hui [Tue, 17 Nov 2015 12:14:22 +0000 (20:14 +0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Tue, 17 Nov 2015 12:14:11 +0000 (20:14 +0800)]
Merge branch 'PHP-5.6' into PHP-7.0
Xinchen Hui [Tue, 17 Nov 2015 12:13:22 +0000 (20:13 +0800)]
Merge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6
Xinchen Hui [Tue, 17 Nov 2015 12:12:50 +0000 (20:12 +0800)]
Improve the test
Andrey Hristov [Tue, 17 Nov 2015 11:31:30 +0000 (12:31 +0100)]
mysqlnd refactoring:
- move MYSQLND_READ_BUFFER to own file
Dmitry Stogov [Tue, 17 Nov 2015 08:24:16 +0000 (11:24 +0300)]
cleanup
Dmitry Stogov [Tue, 17 Nov 2015 06:59:49 +0000 (09:59 +0300)]
cleanup
Dmitry Stogov [Tue, 17 Nov 2015 04:15:35 +0000 (07:15 +0300)]
Don't undo/redo "pass two" for jump targets in opcache optimizer.
Andrey Hristov [Mon, 16 Nov 2015 15:23:39 +0000 (16:23 +0100)]
mysqlnd refactoring:
- reorganize the statistics code a bit. There is one mysqlnd specific function,
for convenience, in mysqlnd_statistics.c - namelyu _mysqlnd_get_client_stats().
The mysqlnd specific stats macros are moved to mysqlnd.h to keep
mysqlnd_statistics.h from being mysqlnd specific.
Andrey Hristov [Mon, 16 Nov 2015 14:37:11 +0000 (15:37 +0100)]
mysqlnd refactoring :
- move the command buffer out of the networking code to the protocol frame
codec.
Andrey Hristov [Mon, 16 Nov 2015 12:03:12 +0000 (13:03 +0100)]
Merge branch 'PHP-7.0'
Andrey Hristov [Mon, 16 Nov 2015 11:39:04 +0000 (12:39 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
Andrey Hristov [Mon, 16 Nov 2015 11:38:25 +0000 (12:38 +0100)]
News for fixed bug #68344
Andrey Hristov [Fri, 13 Nov 2015 07:54:23 +0000 (08:54 +0100)]
- Remove dead macrom mysql_list_fields()
- Small optimizations here and there
Xinchen Hui [Mon, 16 Nov 2015 10:22:56 +0000 (18:22 +0800)]
Unused var
Xinchen Hui [Mon, 16 Nov 2015 10:19:22 +0000 (18:19 +0800)]
Addtional fixes of #70918
Xinchen Hui [Mon, 16 Nov 2015 10:04:10 +0000 (18:04 +0800)]
Revert pushed by mistake
Revert "Revert "Remove assumption that extensions are in ext/ext-name""
This reverts commit
7e47bf1e65086d6bb69bd9e9c79ccb179c5302b4 .
Xinchen Hui [Mon, 16 Nov 2015 09:59:54 +0000 (17:59 +0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Mon, 16 Nov 2015 09:59:46 +0000 (17:59 +0800)]
Merge branch 'PHP-5.6' into PHP-7.0
Conflicts:
ext/mysql/php_mysql.c
Xinchen Hui [Mon, 16 Nov 2015 09:02:55 +0000 (17:02 +0800)]
Merge branch 'master' of git.php.net:/php-src
Xinchen Hui [Mon, 16 Nov 2015 09:00:16 +0000 (17:00 +0800)]
Merge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6
Xinchen Hui [Mon, 16 Nov 2015 08:58:19 +0000 (16:58 +0800)]
Fixed bug #68077 (LOAD DATA LOCAL INFILE / open_basedir restriction)
Actually, this only be fixed if php uses mysqlnd
Côme Bernigaud [Mon, 16 Nov 2015 03:50:12 +0000 (04:50 +0100)]
Added back support for undocummented host:port syntax
Christopher Jones [Sun, 15 Nov 2015 21:16:07 +0000 (08:16 +1100)]
Merge branch 'PHP-7.0'
Christopher Jones [Sun, 15 Nov 2015 21:15:22 +0000 (08:15 +1100)]
Fixed LOB mem leak reported on gcov. Also fixed unsigend comparison compile warning; and remove direct field access
Jakub Zelenka [Sun, 15 Nov 2015 19:16:01 +0000 (19:16 +0000)]
Merge branch 'PHP-7.0'
Jakub Zelenka [Sun, 15 Nov 2015 19:13:49 +0000 (19:13 +0000)]
Merge branch 'PHP-5.6' into PHP-7.0
Jakub Zelenka [Sun, 15 Nov 2015 19:06:09 +0000 (19:06 +0000)]
Use the same CS for all json tests
Anatol Belski [Sun, 15 Nov 2015 18:02:21 +0000 (19:02 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Fixed bug #70917 install-pear-nozlib.phar missing
Update mime type generator script to keep track of additional mime-types
Added support for CSS/JavaScript source maps
Anatol Belski [Sun, 15 Nov 2015 17:57:10 +0000 (18:57 +0100)]
Fixed bug #70917 install-pear-nozlib.phar missing
The actual bug is caused by some network error while packaged. An
error check added to interrupt the packaging process if phar package
download failed.
Reeze Xia [Sun, 15 Nov 2015 03:08:14 +0000 (11:08 +0800)]
Update mime type generator script to keep track of additional mime-types
Thorsten Rinne [Wed, 11 Nov 2015 07:34:36 +0000 (08:34 +0100)]
Added support for CSS/JavaScript source maps
Source maps (http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/) are basically a way to map a combined/minified file back to an unbuilt state. To avoid error messages in Browser DevTools, source map files should be served with the MIME type "application/json"
Reeze Xia [Sun, 15 Nov 2015 03:08:14 +0000 (11:08 +0800)]
Update mime type generator script to keep track of additional mime-types
Xinchen Hui [Sun, 15 Nov 2015 02:42:23 +0000 (18:42 -0800)]
Merge branch 'master' of git.php.net:/php-src
Xinchen Hui [Sun, 15 Nov 2015 02:41:55 +0000 (18:41 -0800)]
Fixed Bug #70918 (Segfault using static outside of class scope)
Anatol Belski [Sat, 14 Nov 2015 23:04:19 +0000 (00:04 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
fix test title
Anatol Belski [Sat, 14 Nov 2015 23:03:40 +0000 (00:03 +0100)]
fix test title
c/p mistake :)
Anatol Belski [Sat, 14 Nov 2015 22:49:59 +0000 (23:49 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
update NEWS
Fixed bug #70914 zend_throw_or_error() format string vulnerability
Anatol Belski [Sat, 14 Nov 2015 22:48:40 +0000 (23:48 +0100)]
update NEWS
Taoguang Chen [Sat, 14 Nov 2015 22:44:59 +0000 (23:44 +0100)]
Fixed bug #70914 zend_throw_or_error() format string vulnerability
Nikita Popov [Sat, 14 Nov 2015 10:23:31 +0000 (11:23 +0100)]
Remove no longer applicable optimization
PHP 7 generates CVs inside silenced blocks.
Xinchen Hui [Sat, 14 Nov 2015 09:56:46 +0000 (01:56 -0800)]
Merge branch 'master' of https://github.com/thorsten/php-src
Xinchen Hui [Sat, 14 Nov 2015 09:44:43 +0000 (01:44 -0800)]
Merge branch 'substr-useless-check' of https://github.com/tpunt/php-src
Xinchen Hui [Sat, 14 Nov 2015 09:43:38 +0000 (01:43 -0800)]
Merge branch 'patch-1' of https://github.com/glensc/php-src
Xinchen Hui [Sat, 14 Nov 2015 09:14:56 +0000 (01:14 -0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Sat, 14 Nov 2015 09:14:36 +0000 (01:14 -0800)]
Update NEWs
Xinchen Hui [Sat, 14 Nov 2015 03:40:20 +0000 (19:40 -0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Sat, 14 Nov 2015 03:39:59 +0000 (19:39 -0800)]
Fixed bug #70910 (extract() breaks variable references)
Xinchen Hui [Fri, 13 Nov 2015 13:25:06 +0000 (21:25 +0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Fri, 13 Nov 2015 13:01:11 +0000 (21:01 +0800)]
Fixed bug #70912 (Null ptr dereference instantiating class with invalid array property)
Dmitry Stogov [Fri, 13 Nov 2015 12:35:07 +0000 (15:35 +0300)]
Squashed commit of the following:
commit
afe963e6cc289696e60c6c679796ba2197c52b3b
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Nov 13 15:32:29 2015 +0300
Added news entry
commit
a126b891c97848dd7ef8f1abf716328c46e0f19c
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Nov 13 15:29:21 2015 +0300
VERIFY_RETURN_TYPE doesn't have to cleanup operand on exception, bacause now, live temporary variables are released by exception unwinder.
commit
0db475e98786e6bcaa8401ee3e0b33743b9a2f2b
Author: Dmitry Stogov <dmitry@zend.com>
Date: Thu Nov 12 22:55:39 2015 +0300
Fixed copy/paste
commit
0ac73fe7174bec9de9a610319a98b259bea67f7f
Author: Dmitry Stogov <dmitry@zend.com>
Date: Wed Nov 11 16:11:50 2015 +0300
Fixed bug #62210 (Exceptions can leak temporary variables)