]>
granicus.if.org Git - php/log
Dmitry Stogov [Mon, 30 Jun 2014 14:08:16 +0000 (18:08 +0400)]
Fixed compilation problems
Dmitry Stogov [Mon, 30 Jun 2014 11:43:45 +0000 (15:43 +0400)]
Refactored parameter passing mechanism.
In PHP-5.6 and below each argument passed to user function was copies on VM stack twice.
Now we always have ZEND_INIT_FCALL (or simular) opcode that pushes "call frame" on top of VM stack.
"Call frame" is actually the same zend_execute_data structure.
All the following ZEND_SEND instructions push arguments on top of the stack in a way that they directly comes into corresponding CV variables of the called frame. Extra arguments are copied at the end of stack frame (after all CV and TMP variables) on function enterance.
There are two minor incompatibilities:
1) It's not allowed to decalre functions redefining arguments e.g. "function foo($a,$a) {}".
2) func_get_arg() and func_get args() return the current value of argument and not the original value that was sent.
Xinchen Hui [Mon, 30 Jun 2014 03:03:03 +0000 (11:03 +0800)]
Fixed reference handling in intltz_get_canonical_id
Xinchen Hui [Mon, 30 Jun 2014 03:01:26 +0000 (11:01 +0800)]
Fixed reference handling in intltz_get_offset
Xinchen Hui [Sun, 29 Jun 2014 14:56:27 +0000 (22:56 +0800)]
Fixed segfault in intlgregcal_create_instance
Xinchen Hui [Sun, 29 Jun 2014 14:30:32 +0000 (22:30 +0800)]
Fixed segfault in resourcebundle
Xinchen Hui [Sun, 29 Jun 2014 13:54:39 +0000 (21:54 +0800)]
Fixed iterators
Xinchen Hui [Sun, 29 Jun 2014 13:06:30 +0000 (21:06 +0800)]
Fixed test
Xinchen Hui [Sun, 29 Jun 2014 11:46:01 +0000 (19:46 +0800)]
Fixed memory leak
Xinchen Hui [Sun, 29 Jun 2014 11:07:06 +0000 (19:07 +0800)]
Fixed retval with zend_call_method
Xinchen Hui [Sun, 29 Jun 2014 10:45:14 +0000 (18:45 +0800)]
Fixed collator_sort
Xinchen Hui [Sun, 29 Jun 2014 10:07:12 +0000 (18:07 +0800)]
Fixed test
Xinchen Hui [Sun, 29 Jun 2014 09:48:10 +0000 (17:48 +0800)]
Fixed memory leaks
Xinchen Hui [Sun, 29 Jun 2014 07:53:42 +0000 (15:53 +0800)]
Fixed segfault
Xinchen Hui [Sun, 29 Jun 2014 07:45:08 +0000 (15:45 +0800)]
Fixed segfault temporarily (probably need to be reverted later)
Xinchen Hui [Sun, 29 Jun 2014 07:39:45 +0000 (15:39 +0800)]
Fixed object properties init
Xinchen Hui [Sun, 29 Jun 2014 07:24:00 +0000 (15:24 +0800)]
Fixed temporarily un-expected object re-init
Xinchen Hui [Sat, 28 Jun 2014 16:29:07 +0000 (00:29 +0800)]
Fixed segfault, segfault and segfault
Xinchen Hui [Sat, 28 Jun 2014 15:30:46 +0000 (23:30 +0800)]
Fixed get_debug_info
Xinchen Hui [Sat, 28 Jun 2014 13:14:50 +0000 (21:14 +0800)]
Intl's codes are really need more careful :<
Xinchen Hui [Sat, 28 Jun 2014 13:09:07 +0000 (21:09 +0800)]
Fixed refernce handling
Xinchen Hui [Sat, 28 Jun 2014 13:05:20 +0000 (21:05 +0800)]
Fixed initialize of zval
Xinchen Hui [Sat, 28 Jun 2014 12:58:50 +0000 (20:58 +0800)]
Fixed Calendar_objects_free
Xinchen Hui [Sat, 28 Jun 2014 12:53:32 +0000 (20:53 +0800)]
Fixed add_ref
Xinchen Hui [Sat, 28 Jun 2014 12:52:41 +0000 (20:52 +0800)]
Fixed segfaults
Xinchen Hui [Sat, 28 Jun 2014 12:14:12 +0000 (20:14 +0800)]
Fixed segfault while starting up
Xinchen Hui [Sat, 28 Jun 2014 04:20:35 +0000 (12:20 +0800)]
Refactoring ext/intl (only compilerable now, far to finish :<)
Xinchen Hui [Sat, 28 Jun 2014 03:19:38 +0000 (11:19 +0800)]
C++ doesn't allow implicitly convert void * to other pointer type
Xinchen Hui [Fri, 27 Jun 2014 16:09:26 +0000 (00:09 +0800)]
Suppress warning
Xinchen Hui [Fri, 27 Jun 2014 16:03:26 +0000 (00:03 +0800)]
Merge branch 'phpng' of git.php.net:php-src into phpng
Xinchen Hui [Fri, 27 Jun 2014 16:02:50 +0000 (00:02 +0800)]
Refactoring ext/intl (incompleted)
Xinchen Hui [Fri, 27 Jun 2014 15:58:55 +0000 (23:58 +0800)]
Fixed build with libmysql
Xinchen Hui [Fri, 27 Jun 2014 04:35:34 +0000 (12:35 +0800)]
C++ compiler doesn't allow cast a void * to other pointer type
Dmitry Stogov [Thu, 26 Jun 2014 20:40:52 +0000 (00:40 +0400)]
Reverted
387c491559f1507685740bf613070d27bce59e4d (it broke ext/standard/tests/file/bug44607.phpt)
Xinchen Hui [Thu, 26 Jun 2014 14:13:24 +0000 (22:13 +0800)]
op2 is null terminated string
Xinchen Hui [Thu, 26 Jun 2014 10:29:25 +0000 (18:29 +0800)]
IS_OBJECT and IS_RESOURCE is obviously exclusive
Xinchen Hui [Thu, 26 Jun 2014 10:10:18 +0000 (18:10 +0800)]
No need to initialize it
Xinchen Hui [Thu, 26 Jun 2014 10:09:04 +0000 (18:09 +0800)]
More optimizations
Xinchen Hui [Thu, 26 Jun 2014 09:56:55 +0000 (17:56 +0800)]
Let's assume the name is already lowercased
Xinchen Hui [Thu, 26 Jun 2014 08:11:24 +0000 (16:11 +0800)]
Save some strlen
Xinchen Hui [Wed, 25 Jun 2014 08:34:53 +0000 (16:34 +0800)]
Use ZEND_HANDLE_NUMERIC
Xinchen Hui [Wed, 25 Jun 2014 04:33:35 +0000 (12:33 +0800)]
Fixed stack usage
Xinchen Hui [Tue, 24 Jun 2014 16:52:05 +0000 (00:52 +0800)]
Remove temp file committed by accident
Xinchen Hui [Tue, 24 Jun 2014 16:42:20 +0000 (00:42 +0800)]
Don't use zend_string for other fields (only name here is enough)
Xinchen Hui [Tue, 24 Jun 2014 16:39:37 +0000 (00:39 +0800)]
Fixed _zend_get_parameters_array
it should not decrease the refcount (spotted by
register_shutdown_function in ext/mysqli/tests/bug49442.phpt)
Xinchen Hui [Mon, 23 Jun 2014 16:03:02 +0000 (00:03 +0800)]
Fixed use of uninitialized value
Xinchen Hui [Mon, 23 Jun 2014 15:01:35 +0000 (23:01 +0800)]
Cleanup (refactoring is finish)
Xinchen Hui [Mon, 23 Jun 2014 14:58:09 +0000 (22:58 +0800)]
We don't need extra 1 byte anymore
Dmitry Stogov [Mon, 23 Jun 2014 13:18:47 +0000 (17:18 +0400)]
Fixed string destruction (ext/mysql/tests/mysql_list_fields.phpt was failed)
Dmitry Stogov [Mon, 23 Jun 2014 13:02:22 +0000 (17:02 +0400)]
Fixed refcounting bug
Dmitry Stogov [Mon, 23 Jun 2014 13:01:59 +0000 (17:01 +0400)]
Fixed string deallocation and code cleanup
Xinchen Hui [Mon, 23 Jun 2014 11:34:23 +0000 (19:34 +0800)]
Respect the origin behavior (fix one test: ext/pdo_mysql/tests/bug_33689.phpt)
Xinchen Hui [Mon, 23 Jun 2014 11:12:15 +0000 (19:12 +0800)]
Use zend_string in mysqlnd
Xinchen Hui [Mon, 23 Jun 2014 09:10:25 +0000 (17:10 +0800)]
typo
Xinchen Hui [Mon, 23 Jun 2014 09:00:18 +0000 (17:00 +0800)]
Fixed segfault (we need to close it for it has referenced by somewhere)
Xinchen Hui [Mon, 23 Jun 2014 08:29:48 +0000 (16:29 +0800)]
Fixed the trick....
Xinchen Hui [Mon, 23 Jun 2014 07:48:19 +0000 (15:48 +0800)]
Fixed compiler warning
Xinchen Hui [Mon, 23 Jun 2014 07:35:53 +0000 (15:35 +0800)]
Actually, I don't know how it works. (maybe I should re-start again :<)
Dmitry Stogov [Fri, 20 Jun 2014 15:40:03 +0000 (19:40 +0400)]
Code cleanup
Dmitry Stogov [Fri, 20 Jun 2014 11:04:38 +0000 (15:04 +0400)]
Fixed compilation warnings
Dmitry Stogov [Fri, 20 Jun 2014 11:04:25 +0000 (15:04 +0400)]
fixed memory leak
Dmitry Stogov [Fri, 20 Jun 2014 10:02:15 +0000 (14:02 +0400)]
Merge branch 'master' into phpng
* master:
Fixed MarinaDB support
Dmitry Stogov [Fri, 20 Jun 2014 10:01:22 +0000 (14:01 +0400)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fixed MarinaDB support
Dmitry Stogov [Fri, 20 Jun 2014 09:58:26 +0000 (13:58 +0400)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fixed MarinaDB support
Dmitry Stogov [Fri, 20 Jun 2014 09:57:38 +0000 (13:57 +0400)]
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Fixed MarinaDB support
Dmitry Stogov [Fri, 20 Jun 2014 09:56:32 +0000 (13:56 +0400)]
Fixed MarinaDB support
Dmitry Stogov [Fri, 20 Jun 2014 09:31:43 +0000 (13:31 +0400)]
Hide warning message after fatal errors
Dmitry Stogov [Fri, 20 Jun 2014 09:31:23 +0000 (13:31 +0400)]
Check if socket is still alive
Dmitry Stogov [Fri, 20 Jun 2014 07:16:57 +0000 (11:16 +0400)]
Merge branch 'master' into phpng
* master:
skip this test which fails without network
add missing entry to NEWS
add missing entry to NEWS
add NEWS block for 5.6.0RC2
Add support for gb18030/MySQL 5.7
Fix another problem with MySQL 5.7
new test, missing in
ea466a3
Suppress test failure with MySQL 5.7
Dmitry Stogov [Fri, 20 Jun 2014 06:32:05 +0000 (10:32 +0400)]
Fixed compilation warning
Dmitry Stogov [Fri, 20 Jun 2014 06:27:24 +0000 (10:27 +0400)]
Fixed compilation
Xinchen Hui [Fri, 20 Jun 2014 05:27:56 +0000 (13:27 +0800)]
Fixed memory leak
Xinchen Hui [Fri, 20 Jun 2014 05:08:40 +0000 (13:08 +0800)]
Fixed bugs in binding result
Remi Collet [Fri, 20 Jun 2014 04:45:36 +0000 (06:45 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
skip this test which fails without network
Remi Collet [Fri, 20 Jun 2014 04:45:16 +0000 (06:45 +0200)]
skip this test which fails without network
Xinchen Hui [Fri, 20 Jun 2014 03:40:53 +0000 (11:40 +0800)]
Fixed PDO_PARAM_ZVAL
Xinchen Hui [Thu, 19 Jun 2014 15:00:45 +0000 (23:00 +0800)]
Fixed pdo_mysql build with mysqlnd
Xinchen Hui [Thu, 19 Jun 2014 14:36:48 +0000 (22:36 +0800)]
Refcount may have different meaning in PHP NG
Xinchen Hui [Thu, 19 Jun 2014 14:30:15 +0000 (22:30 +0800)]
Fixed mysqli_get_links_stats
Xinchen Hui [Thu, 19 Jun 2014 14:28:43 +0000 (22:28 +0800)]
Fixed paramters binding
Xinchen Hui [Thu, 19 Jun 2014 08:24:24 +0000 (16:24 +0800)]
Fixed hash key in persistent hash
Xinchen Hui [Thu, 19 Jun 2014 08:20:21 +0000 (16:20 +0800)]
Fixed releasing of hash_key
Xinchen Hui [Thu, 19 Jun 2014 08:16:41 +0000 (16:16 +0800)]
Fixed stat fields name
Xinchen Hui [Thu, 19 Jun 2014 08:08:45 +0000 (16:08 +0800)]
Fixed reference handling of bind_result
Xinchen Hui [Thu, 19 Jun 2014 07:49:56 +0000 (15:49 +0800)]
Fixed invalid read
Xinchen Hui [Thu, 19 Jun 2014 06:43:14 +0000 (14:43 +0800)]
Fixed segfault
Xinchen Hui [Thu, 19 Jun 2014 06:24:49 +0000 (14:24 +0800)]
Fixed various bugs
Xinchen Hui [Thu, 19 Jun 2014 03:10:03 +0000 (11:10 +0800)]
Fixed MySQLi built with mysqlnd
Xinchen Hui [Thu, 19 Jun 2014 02:46:23 +0000 (10:46 +0800)]
unused variables
Ferenc Kovacs [Thu, 19 Jun 2014 00:29:42 +0000 (02:29 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
add missing entry to NEWS
Ferenc Kovacs [Thu, 19 Jun 2014 00:29:27 +0000 (02:29 +0200)]
add missing entry to NEWS
Ferenc Kovacs [Thu, 19 Jun 2014 00:18:52 +0000 (02:18 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
add missing entry to NEWS
Ferenc Kovacs [Thu, 19 Jun 2014 00:18:26 +0000 (02:18 +0200)]
add missing entry to NEWS
Ferenc Kovacs [Wed, 18 Jun 2014 23:35:19 +0000 (01:35 +0200)]
Merge branch 'PHP-5.6'
* PHP-5.6:
add NEWS block for 5.6.0RC2
Ferenc Kovacs [Wed, 18 Jun 2014 23:34:25 +0000 (01:34 +0200)]
add NEWS block for 5.6.0RC2
Andrey Hristov [Wed, 18 Jun 2014 18:54:26 +0000 (21:54 +0300)]
Merge branch 'PHP-5.6'
Conflicts:
NEWS
Andrey Hristov [Wed, 18 Jun 2014 18:53:34 +0000 (21:53 +0300)]
Add support for gb18030/MySQL 5.7
Xinchen Hui [Wed, 18 Jun 2014 15:37:47 +0000 (23:37 +0800)]
Merge branch 'phpng' of git.php.net:php-src into phpng
Xinchen Hui [Wed, 18 Jun 2014 15:13:30 +0000 (23:13 +0800)]
Fixed various bugs (ext/mysql with mysqlnd tests pass)
Andrey Hristov [Wed, 18 Jun 2014 15:32:51 +0000 (18:32 +0300)]
Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6