]>
granicus.if.org Git - php/log
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)
Yasuo Ohgaki [Fri, 13 Nov 2015 12:27:13 +0000 (21:27 +0900)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Use distinguishable error messages.
Yasuo Ohgaki [Fri, 13 Nov 2015 12:22:59 +0000 (21:22 +0900)]
Use distinguishable error messages.
Xinchen Hui [Fri, 13 Nov 2015 06:27:59 +0000 (14:27 +0800)]
Revert "Remove assumption that extensions are in ext/ext-name"
This reverts commit
82b73fd1e3c53228bb31b75a446114b5fd0cd240 .
Conflicts:
build/genif.sh
build/order_by_dep.awk
Xinchen Hui [Fri, 13 Nov 2015 06:00:16 +0000 (14:00 +0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Fri, 13 Nov 2015 06:00:01 +0000 (14:00 +0800)]
SKIP on slow debug version PHP
Dmitry Stogov [Thu, 12 Nov 2015 21:46:13 +0000 (00:46 +0300)]
Fixed compilation errors
Dmitry Stogov [Thu, 12 Nov 2015 17:37:23 +0000 (20:37 +0300)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Fixed bug #70900 (SoapClient systematic out of memory error)
Dmitry Stogov [Thu, 12 Nov 2015 17:36:39 +0000 (20:36 +0300)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Fixed bug #70900 (SoapClient systematic out of memory error)
Dmitry Stogov [Thu, 12 Nov 2015 17:31:52 +0000 (20:31 +0300)]
Fixed bug #70900 (SoapClient systematic out of memory error)
Andrey Hristov [Thu, 12 Nov 2015 15:18:32 +0000 (16:18 +0100)]
MNDR:
- constify some parameters to MYSQLND_RES functions
Andrey Hristov [Thu, 12 Nov 2015 13:04:37 +0000 (14:04 +0100)]
MNDR:
- cleanup in mysqlnd_result.c
- switch from zend_ulong to size_t for lengths. Accordingly change
mysqli and pdo_mysql for this.
Andrey Hristov [Thu, 12 Nov 2015 12:04:58 +0000 (13:04 +0100)]
MNDR:
- rename mysqlnd.c to mysqlnd_connection.c
Andrey Hristov [Tue, 10 Nov 2015 15:59:34 +0000 (16:59 +0100)]
MNDR:
- less dereferencing in mysqlnd_ps . Dereference stmt->conn only once and
use a stack variable. Also make the source cleaner.
Andrey Hristov [Tue, 10 Nov 2015 13:28:44 +0000 (14:28 +0100)]
MNDR:
- remove unused macros
Andrey Hristov [Tue, 10 Nov 2015 13:25:06 +0000 (14:25 +0100)]
MNDR:
- move things out of mysqlnd_priv.h
Andrey Hristov [Tue, 10 Nov 2015 12:32:59 +0000 (13:32 +0100)]
MNDR:
- remove inclusion of uneeded headers
Andrey Hristov [Tue, 10 Nov 2015 12:14:39 +0000 (13:14 +0100)]
MNDR:
- move the command factory to own file - mysqlnd_commands.c
Andrey Hristov [Tue, 10 Nov 2015 12:02:26 +0000 (13:02 +0100)]
MNDR:
- route the option to the right handler
Andrey Hristov [Tue, 10 Nov 2015 11:56:07 +0000 (12:56 +0100)]
MNDR:
- move all data members from MYSQLND_PFC to MYSQLND_PFC_DATA
Andrey Hristov [Tue, 10 Nov 2015 11:34:27 +0000 (12:34 +0100)]
MNDR:
- move from char* + len to MYSQLND_STRING
- add some more const modifiers
Andrey Hristov [Tue, 10 Nov 2015 10:53:19 +0000 (11:53 +0100)]
MNDR:
- better name for MYSQLND_PPEC - MYSQLND_PFC (protocol frame codec)
Andrey Hristov [Tue, 10 Nov 2015 10:02:33 +0000 (11:02 +0100)]
MNDR:
- rename MYSQLND_NET to MYSQLND_PPEC (protocol packet envelope codec).
PPEC does only the encoding and decoding to the protocol frame.
Andrey Hristov [Mon, 9 Nov 2015 14:53:42 +0000 (15:53 +0100)]
MNDR:
- intermediate step to move MYSQLND_NET from mysqlnd_vio.c to mysqlnd_wireprotocol.c
In following commits MYSQLND_NET's methods and data will be moved to MYSQLND_PROTOCOL
Andrey Hristov [Mon, 9 Nov 2015 14:46:34 +0000 (15:46 +0100)]
MNDR:
- moved networking code to mysqlnd_vio.c
Andrey Hristov [Mon, 9 Nov 2015 13:56:16 +0000 (14:56 +0100)]
MNDR:
- split MYSQLND_NET into MYSQLND_NET and MYSQLND_VIO
MYSQLND_NET is above MYSQLND_VIO. _NET takes care of protocol packet
counting (even with compressed), while VIO is just about the network
(or in case of windows, non-network, but PIPE) transport.
Andrey Hristov [Fri, 6 Nov 2015 16:07:18 +0000 (17:07 +0100)]
MNDR:
- some small renaming of methods
Andrey Hristov [Fri, 6 Nov 2015 15:36:02 +0000 (16:36 +0100)]
MNDR:
- send_command and send_command_handle_response_* moved to a structure
Andrey Hristov [Thu, 5 Nov 2015 15:21:32 +0000 (16:21 +0100)]
MNDR:
- Move transport string generation to own function, which can be overloaded or sniffed
Andrey Hristov [Thu, 5 Nov 2015 14:43:10 +0000 (15:43 +0100)]
MNDR:
- remove double decrement
Andrey Hristov [Thu, 5 Nov 2015 14:26:33 +0000 (15:26 +0100)]
MNDR:
- move connection establishment code to own command - COM_HANDSHAKE
Andrey Hristov [Wed, 4 Nov 2015 12:07:23 +0000 (13:07 +0100)]
MNDR:
- convert the API of MYSQLND_NET to MYSQLND_STRING
Andrey Hristov [Wed, 4 Nov 2015 09:29:00 +0000 (10:29 +0100)]
MNDR:
- decouple the commands from the connection. CONN ist passed now only in 1 case
Andrey Hristov [Mon, 2 Nov 2015 17:08:53 +0000 (18:08 +0100)]
MNDR:
- remove dead code
Andrey Hristov [Mon, 2 Nov 2015 17:05:12 +0000 (18:05 +0100)]
MNDR:
- clean up some things
Andrey Hristov [Mon, 2 Nov 2015 15:35:59 +0000 (16:35 +0100)]
MNDR:
- move COM_INIT_DE result handling to the command
Andrey Hristov [Mon, 2 Nov 2015 14:59:19 +0000 (15:59 +0100)]
MNDR:
- remove COM_FIELD_LIST
Andrey Hristov [Mon, 2 Nov 2015 14:58:59 +0000 (15:58 +0100)]
MNDR:
- move handling of commands to the command itself
Andrey Hristov [Mon, 2 Nov 2015 13:16:18 +0000 (14:16 +0100)]
MNDR:
- split handle_response() into handle_OK and handle_EOF
Andrey Hristov [Fri, 30 Oct 2015 15:05:55 +0000 (16:05 +0100)]
MNDR:
- now send_command_handle_response() also doesn't depend directly on
MYSQLND_CONN_DATA
Andrey Hristov [Fri, 30 Oct 2015 13:31:12 +0000 (14:31 +0100)]
MNDR:
- pass connection closer and its context
- remove unused parameter
Andrey Hristov [Fri, 30 Oct 2015 13:06:16 +0000 (14:06 +0100)]
MNDR:
- rename the macro for updating the connection state
Andrey Hristov [Fri, 30 Oct 2015 12:44:09 +0000 (13:44 +0100)]
MNDR:
- make the connection state a class
Andrey Hristov [Fri, 30 Oct 2015 12:21:54 +0000 (13:21 +0100)]
MNDR:
- simplify the macroses for the types
Andrey Hristov [Fri, 30 Oct 2015 12:20:53 +0000 (13:20 +0100)]
MNDR:
- switch to macro generation of structure names for the methods
Andrey Hristov [Fri, 30 Oct 2015 11:41:28 +0000 (12:41 +0100)]
MNDR:
- Remove the SET_STMT_ERROR macro
Andrey Hristov [Fri, 30 Oct 2015 10:35:58 +0000 (11:35 +0100)]
MNDR:
- make MYSQLND_ERROR_INFO a class
Andrey Hristov [Thu, 29 Oct 2015 17:24:45 +0000 (18:24 +0100)]
MNDR:
- switch to MYSQLND_CLASS_METHOD_TABLE_NAME_DECL() for automatic naming
of class methods
Andrey Hristov [Thu, 29 Oct 2015 16:52:10 +0000 (17:52 +0100)]
MDNR:
- make MYSQLND_UPSERT_STATUS more like an object that a simple structure
Still use macros to make updates simple
Andrey Hristov [Thu, 29 Oct 2015 13:12:02 +0000 (14:12 +0100)]
MNDR:
- abstract SSL enabling into COM_ENABLE_SSL
Andrey Hristov [Mon, 19 Oct 2015 16:20:28 +0000 (18:20 +0200)]
MDNR:
- Refactor the command factory. Let the factory be exchangeable.
Andrey Hristov [Mon, 19 Oct 2015 15:06:24 +0000 (17:06 +0200)]
MDNR:
- remove dead code
Andrey Hristov [Mon, 19 Oct 2015 15:05:52 +0000 (17:05 +0200)]
MDNR:
- send_command() is no more, thus we need commands for all COM_STMT_*
+ CHANGE_USER
Andrey Hristov [Fri, 16 Oct 2015 14:40:44 +0000 (16:40 +0200)]
MNDR:
- Switch for directly executing a command over the wire to creating a
command object which is then executed.
Andrey Hristov [Tue, 13 Oct 2015 10:54:02 +0000 (12:54 +0200)]
MNDR:
- Remove unused variable