]> granicus.if.org Git - php/log
php
10 years agoFixed compilation problems
Dmitry Stogov [Mon, 30 Jun 2014 14:08:16 +0000 (18:08 +0400)]
Fixed compilation problems

10 years agoRefactored parameter passing mechanism.
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.

10 years agoFixed reference handling in intltz_get_canonical_id
Xinchen Hui [Mon, 30 Jun 2014 03:03:03 +0000 (11:03 +0800)]
Fixed reference handling in intltz_get_canonical_id

10 years agoFixed reference handling in intltz_get_offset
Xinchen Hui [Mon, 30 Jun 2014 03:01:26 +0000 (11:01 +0800)]
Fixed reference handling in intltz_get_offset

10 years agoFixed segfault in intlgregcal_create_instance
Xinchen Hui [Sun, 29 Jun 2014 14:56:27 +0000 (22:56 +0800)]
Fixed segfault in intlgregcal_create_instance

10 years agoFixed segfault in resourcebundle
Xinchen Hui [Sun, 29 Jun 2014 14:30:32 +0000 (22:30 +0800)]
Fixed segfault in resourcebundle

10 years agoFixed iterators
Xinchen Hui [Sun, 29 Jun 2014 13:54:39 +0000 (21:54 +0800)]
Fixed iterators

10 years agoFixed test
Xinchen Hui [Sun, 29 Jun 2014 13:06:30 +0000 (21:06 +0800)]
Fixed test

10 years agoFixed memory leak
Xinchen Hui [Sun, 29 Jun 2014 11:46:01 +0000 (19:46 +0800)]
Fixed memory leak

10 years agoFixed retval with zend_call_method
Xinchen Hui [Sun, 29 Jun 2014 11:07:06 +0000 (19:07 +0800)]
Fixed retval with zend_call_method

10 years agoFixed collator_sort
Xinchen Hui [Sun, 29 Jun 2014 10:45:14 +0000 (18:45 +0800)]
Fixed collator_sort

10 years agoFixed test
Xinchen Hui [Sun, 29 Jun 2014 10:07:12 +0000 (18:07 +0800)]
Fixed test

10 years agoFixed memory leaks
Xinchen Hui [Sun, 29 Jun 2014 09:48:10 +0000 (17:48 +0800)]
Fixed memory leaks

10 years agoFixed segfault
Xinchen Hui [Sun, 29 Jun 2014 07:53:42 +0000 (15:53 +0800)]
Fixed segfault

10 years agoFixed segfault temporarily (probably need to be reverted later)
Xinchen Hui [Sun, 29 Jun 2014 07:45:08 +0000 (15:45 +0800)]
Fixed segfault temporarily (probably need to be reverted later)

10 years agoFixed object properties init
Xinchen Hui [Sun, 29 Jun 2014 07:39:45 +0000 (15:39 +0800)]
Fixed object properties init

10 years agoFixed temporarily un-expected object re-init
Xinchen Hui [Sun, 29 Jun 2014 07:24:00 +0000 (15:24 +0800)]
Fixed temporarily  un-expected object re-init

10 years agoFixed segfault, segfault and segfault
Xinchen Hui [Sat, 28 Jun 2014 16:29:07 +0000 (00:29 +0800)]
Fixed segfault, segfault and segfault

10 years agoFixed get_debug_info
Xinchen Hui [Sat, 28 Jun 2014 15:30:46 +0000 (23:30 +0800)]
Fixed get_debug_info

10 years agoIntl's codes are really need more careful :<
Xinchen Hui [Sat, 28 Jun 2014 13:14:50 +0000 (21:14 +0800)]
Intl's codes are really need more careful :<

10 years agoFixed refernce handling
Xinchen Hui [Sat, 28 Jun 2014 13:09:07 +0000 (21:09 +0800)]
Fixed refernce handling

10 years agoFixed initialize of zval
Xinchen Hui [Sat, 28 Jun 2014 13:05:20 +0000 (21:05 +0800)]
Fixed initialize of zval

10 years agoFixed Calendar_objects_free
Xinchen Hui [Sat, 28 Jun 2014 12:58:50 +0000 (20:58 +0800)]
Fixed Calendar_objects_free

10 years agoFixed add_ref
Xinchen Hui [Sat, 28 Jun 2014 12:53:32 +0000 (20:53 +0800)]
Fixed add_ref

10 years agoFixed segfaults
Xinchen Hui [Sat, 28 Jun 2014 12:52:41 +0000 (20:52 +0800)]
Fixed segfaults

10 years agoFixed segfault while starting up
Xinchen Hui [Sat, 28 Jun 2014 12:14:12 +0000 (20:14 +0800)]
Fixed segfault while starting up

10 years agoRefactoring ext/intl (only compilerable now, far to finish :<)
Xinchen Hui [Sat, 28 Jun 2014 04:20:35 +0000 (12:20 +0800)]
Refactoring ext/intl (only compilerable now, far to finish :<)

10 years agoC++ doesn't allow implicitly convert void * to other pointer type
Xinchen Hui [Sat, 28 Jun 2014 03:19:38 +0000 (11:19 +0800)]
C++ doesn't allow implicitly convert void * to other pointer type

10 years agoSuppress warning
Xinchen Hui [Fri, 27 Jun 2014 16:09:26 +0000 (00:09 +0800)]
Suppress warning

10 years agoMerge branch 'phpng' of git.php.net:php-src into phpng
Xinchen Hui [Fri, 27 Jun 2014 16:03:26 +0000 (00:03 +0800)]
Merge branch 'phpng' of git.php.net:php-src into phpng

10 years agoRefactoring ext/intl (incompleted)
Xinchen Hui [Fri, 27 Jun 2014 16:02:50 +0000 (00:02 +0800)]
Refactoring ext/intl (incompleted)

10 years agoFixed build with libmysql
Xinchen Hui [Fri, 27 Jun 2014 15:58:55 +0000 (23:58 +0800)]
Fixed build with libmysql

10 years agoC++ compiler doesn't allow cast a void * to other pointer type
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

10 years agoReverted 387c491559f1507685740bf613070d27bce59e4d (it broke ext/standard/tests/file...
Dmitry Stogov [Thu, 26 Jun 2014 20:40:52 +0000 (00:40 +0400)]
Reverted 387c491559f1507685740bf613070d27bce59e4d (it broke ext/standard/tests/file/bug44607.phpt)

10 years agoop2 is null terminated string
Xinchen Hui [Thu, 26 Jun 2014 14:13:24 +0000 (22:13 +0800)]
op2 is null terminated string

10 years agoIS_OBJECT and IS_RESOURCE is obviously exclusive
Xinchen Hui [Thu, 26 Jun 2014 10:29:25 +0000 (18:29 +0800)]
IS_OBJECT and IS_RESOURCE is obviously exclusive

10 years agoNo need to initialize it
Xinchen Hui [Thu, 26 Jun 2014 10:10:18 +0000 (18:10 +0800)]
No need to initialize it

10 years agoMore optimizations
Xinchen Hui [Thu, 26 Jun 2014 10:09:04 +0000 (18:09 +0800)]
More optimizations

10 years agoLet's assume the name is already lowercased
Xinchen Hui [Thu, 26 Jun 2014 09:56:55 +0000 (17:56 +0800)]
Let's assume the name is already lowercased

10 years agoSave some strlen
Xinchen Hui [Thu, 26 Jun 2014 08:11:24 +0000 (16:11 +0800)]
Save some strlen

10 years agoUse ZEND_HANDLE_NUMERIC
Xinchen Hui [Wed, 25 Jun 2014 08:34:53 +0000 (16:34 +0800)]
Use ZEND_HANDLE_NUMERIC

10 years agoFixed stack usage
Xinchen Hui [Wed, 25 Jun 2014 04:33:35 +0000 (12:33 +0800)]
Fixed stack usage

10 years agoRemove temp file committed by accident
Xinchen Hui [Tue, 24 Jun 2014 16:52:05 +0000 (00:52 +0800)]
Remove temp file committed by accident

10 years agoDon't use zend_string for other fields (only name here is enough)
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)

10 years agoFixed _zend_get_parameters_array
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)

10 years agoFixed use of uninitialized value
Xinchen Hui [Mon, 23 Jun 2014 16:03:02 +0000 (00:03 +0800)]
Fixed use of uninitialized value

10 years agoCleanup (refactoring is finish)
Xinchen Hui [Mon, 23 Jun 2014 15:01:35 +0000 (23:01 +0800)]
Cleanup (refactoring is finish)

10 years agoWe don't need extra 1 byte anymore
Xinchen Hui [Mon, 23 Jun 2014 14:58:09 +0000 (22:58 +0800)]
We don't need extra 1 byte anymore

10 years agoFixed string destruction (ext/mysql/tests/mysql_list_fields.phpt was failed)
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)

10 years agoFixed refcounting bug
Dmitry Stogov [Mon, 23 Jun 2014 13:02:22 +0000 (17:02 +0400)]
Fixed refcounting bug

10 years agoFixed string deallocation and code cleanup
Dmitry Stogov [Mon, 23 Jun 2014 13:01:59 +0000 (17:01 +0400)]
Fixed string deallocation and code cleanup

10 years agoRespect the origin behavior (fix one test: ext/pdo_mysql/tests/bug_33689.phpt)
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)

10 years agoUse zend_string in mysqlnd
Xinchen Hui [Mon, 23 Jun 2014 11:12:15 +0000 (19:12 +0800)]
Use zend_string in mysqlnd

10 years agotypo
Xinchen Hui [Mon, 23 Jun 2014 09:10:25 +0000 (17:10 +0800)]
typo

10 years agoFixed segfault (we need to close it for it has referenced by somewhere)
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)

10 years agoFixed the trick....
Xinchen Hui [Mon, 23 Jun 2014 08:29:48 +0000 (16:29 +0800)]
Fixed the trick....

10 years agoFixed compiler warning
Xinchen Hui [Mon, 23 Jun 2014 07:48:19 +0000 (15:48 +0800)]
Fixed compiler warning

10 years agoActually, I don't know how it works. (maybe I should re-start again :<)
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 :<)

10 years agoCode cleanup
Dmitry Stogov [Fri, 20 Jun 2014 15:40:03 +0000 (19:40 +0400)]
Code cleanup

10 years agoFixed compilation warnings
Dmitry Stogov [Fri, 20 Jun 2014 11:04:38 +0000 (15:04 +0400)]
Fixed compilation warnings

10 years agofixed memory leak
Dmitry Stogov [Fri, 20 Jun 2014 11:04:25 +0000 (15:04 +0400)]
fixed memory leak

10 years agoMerge branch 'master' into phpng
Dmitry Stogov [Fri, 20 Jun 2014 10:02:15 +0000 (14:02 +0400)]
Merge branch 'master' into phpng

* master:
  Fixed MarinaDB support

10 years agoMerge branch 'PHP-5.6'
Dmitry Stogov [Fri, 20 Jun 2014 10:01:22 +0000 (14:01 +0400)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fixed MarinaDB support

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
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

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
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

10 years agoFixed MarinaDB support
Dmitry Stogov [Fri, 20 Jun 2014 09:56:32 +0000 (13:56 +0400)]
Fixed MarinaDB support

10 years agoHide warning message after fatal errors
Dmitry Stogov [Fri, 20 Jun 2014 09:31:43 +0000 (13:31 +0400)]
Hide warning message after fatal errors

10 years agoCheck if socket is still alive
Dmitry Stogov [Fri, 20 Jun 2014 09:31:23 +0000 (13:31 +0400)]
Check if socket is still alive

10 years agoMerge branch 'master' into phpng
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

10 years agoFixed compilation warning
Dmitry Stogov [Fri, 20 Jun 2014 06:32:05 +0000 (10:32 +0400)]
Fixed compilation warning

10 years agoFixed compilation
Dmitry Stogov [Fri, 20 Jun 2014 06:27:24 +0000 (10:27 +0400)]
Fixed compilation

10 years agoFixed memory leak
Xinchen Hui [Fri, 20 Jun 2014 05:27:56 +0000 (13:27 +0800)]
Fixed memory leak

10 years agoFixed bugs in binding result
Xinchen Hui [Fri, 20 Jun 2014 05:08:40 +0000 (13:08 +0800)]
Fixed bugs in binding result

10 years agoMerge branch 'PHP-5.6'
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

10 years agoskip 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

10 years agoFixed PDO_PARAM_ZVAL
Xinchen Hui [Fri, 20 Jun 2014 03:40:53 +0000 (11:40 +0800)]
Fixed PDO_PARAM_ZVAL

10 years agoFixed pdo_mysql build with mysqlnd
Xinchen Hui [Thu, 19 Jun 2014 15:00:45 +0000 (23:00 +0800)]
Fixed pdo_mysql build with mysqlnd

10 years agoRefcount may have different meaning in PHP NG
Xinchen Hui [Thu, 19 Jun 2014 14:36:48 +0000 (22:36 +0800)]
Refcount may have different meaning in PHP NG

10 years agoFixed mysqli_get_links_stats
Xinchen Hui [Thu, 19 Jun 2014 14:30:15 +0000 (22:30 +0800)]
Fixed mysqli_get_links_stats

10 years agoFixed paramters binding
Xinchen Hui [Thu, 19 Jun 2014 14:28:43 +0000 (22:28 +0800)]
Fixed paramters binding

10 years agoFixed hash key in persistent hash
Xinchen Hui [Thu, 19 Jun 2014 08:24:24 +0000 (16:24 +0800)]
Fixed hash key in persistent hash

10 years agoFixed releasing of hash_key
Xinchen Hui [Thu, 19 Jun 2014 08:20:21 +0000 (16:20 +0800)]
Fixed releasing of hash_key

10 years agoFixed stat fields name
Xinchen Hui [Thu, 19 Jun 2014 08:16:41 +0000 (16:16 +0800)]
Fixed stat fields name

10 years agoFixed reference handling of bind_result
Xinchen Hui [Thu, 19 Jun 2014 08:08:45 +0000 (16:08 +0800)]
Fixed reference handling of bind_result

10 years agoFixed invalid read
Xinchen Hui [Thu, 19 Jun 2014 07:49:56 +0000 (15:49 +0800)]
Fixed invalid read

10 years agoFixed segfault
Xinchen Hui [Thu, 19 Jun 2014 06:43:14 +0000 (14:43 +0800)]
Fixed segfault

10 years agoFixed various bugs
Xinchen Hui [Thu, 19 Jun 2014 06:24:49 +0000 (14:24 +0800)]
Fixed various bugs

10 years agoFixed MySQLi built with mysqlnd
Xinchen Hui [Thu, 19 Jun 2014 03:10:03 +0000 (11:10 +0800)]
Fixed MySQLi built with mysqlnd

10 years agounused variables
Xinchen Hui [Thu, 19 Jun 2014 02:46:23 +0000 (10:46 +0800)]
unused variables

10 years agoMerge branch 'PHP-5.6'
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

10 years agoadd missing entry to NEWS
Ferenc Kovacs [Thu, 19 Jun 2014 00:29:27 +0000 (02:29 +0200)]
add missing entry to NEWS

10 years agoMerge branch 'PHP-5.6'
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

10 years agoadd missing entry to NEWS
Ferenc Kovacs [Thu, 19 Jun 2014 00:18:26 +0000 (02:18 +0200)]
add missing entry to NEWS

10 years agoMerge branch 'PHP-5.6'
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

10 years agoadd 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

10 years agoMerge branch 'PHP-5.6'
Andrey Hristov [Wed, 18 Jun 2014 18:54:26 +0000 (21:54 +0300)]
Merge branch 'PHP-5.6'

Conflicts:
NEWS

10 years agoAdd support for gb18030/MySQL 5.7
Andrey Hristov [Wed, 18 Jun 2014 18:53:34 +0000 (21:53 +0300)]
Add support for gb18030/MySQL 5.7

10 years agoMerge branch 'phpng' of git.php.net:php-src into phpng
Xinchen Hui [Wed, 18 Jun 2014 15:37:47 +0000 (23:37 +0800)]
Merge branch 'phpng' of git.php.net:php-src into phpng

10 years agoFixed various bugs (ext/mysql with mysqlnd tests pass)
Xinchen Hui [Wed, 18 Jun 2014 15:13:30 +0000 (23:13 +0800)]
Fixed various bugs (ext/mysql with mysqlnd tests pass)

10 years agoMerge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
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