]> granicus.if.org Git - php/log
php
10 years agoFixed cleanup of incompleytely passed parameters
Dmitry Stogov [Mon, 30 Jun 2014 11:41:16 +0000 (15:41 +0400)]
Fixed cleanup of incompleytely passed parameters

10 years agoProhibited parameter redefinition
Dmitry Stogov [Mon, 30 Jun 2014 11:40:28 +0000 (15:40 +0400)]
Prohibited parameter redefinition

10 years agoFixed support for extra arguments in conjunction with variadiv argument.
Dmitry Stogov [Mon, 30 Jun 2014 10:17:17 +0000 (14:17 +0400)]
Fixed support for extra arguments in conjunction with variadiv argument.
Use compile time flags to check if we call constructor and result of ZEND_NEW is used or not.

10 years agoMerge branch 'phpng' into call-frame
Dmitry Stogov [Mon, 30 Jun 2014 06:01:16 +0000 (10:01 +0400)]
Merge branch 'phpng' into call-frame

* phpng: (26 commits)
  Fixed reference handling in intltz_get_canonical_id
  Fixed reference handling in intltz_get_offset
  Fixed segfault in intlgregcal_create_instance
  Fixed segfault in resourcebundle
  Fixed iterators
  Fixed test
  Fixed memory leak
  Fixed retval with zend_call_method
  Fixed collator_sort
  Fixed test
  Fixed memory leaks
  Fixed segfault
  Fixed segfault temporarily (probably need to be reverted later)
  Fixed object properties init
  Fixed temporarily  un-expected object re-init
  Fixed segfault, segfault and segfault
  Fixed get_debug_info
  Intl's codes are really need more careful :<
  Fixed refernce handling
  Fixed initialize of zval
  ...

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 agoMerge branch 'phpng' into call-frame
Dmitry Stogov [Fri, 27 Jun 2014 17:52:46 +0000 (21:52 +0400)]
Merge branch 'phpng' into call-frame

* phpng:
  Suppress warning
  Refactoring ext/intl (incompleted)
  Fixed build with libmysql
  C++ compiler doesn't allow cast a void * to other pointer type

Conflicts:
Zend/zend_execute.h

10 years agoFixed uninitialized variables
Dmitry Stogov [Fri, 27 Jun 2014 17:13:05 +0000 (21:13 +0400)]
Fixed uninitialized variables

10 years agoOptimization
Dmitry Stogov [Fri, 27 Jun 2014 16:22:17 +0000 (20:22 +0400)]
Optimization

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 agoChanged zend_execute_data layout to reduce memory overhead
Dmitry Stogov [Fri, 27 Jun 2014 12:24:29 +0000 (16:24 +0400)]
Changed zend_execute_data layout to reduce memory overhead

10 years agoHelp C compilet to do the better job optimizing target code
Dmitry Stogov [Fri, 27 Jun 2014 11:48:25 +0000 (15:48 +0400)]
Help C compilet to do the better job optimizing target code

10 years agoUse fast comparison for (func->type == ZEND_USER_FUNCTION || func->type == ZEND_EVAL_...
Dmitry Stogov [Fri, 27 Jun 2014 09:02:49 +0000 (13:02 +0400)]
Use fast comparison for (func->type == ZEND_USER_FUNCTION || func->type == ZEND_EVAL_CODE)

10 years agoKeep extra args in the same VM stack segment (after all CV and TMP vars)
Dmitry Stogov [Fri, 27 Jun 2014 08:25:36 +0000 (12:25 +0400)]
Keep extra args in the same VM stack segment (after all CV and TMP vars)

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 agoMerge branch 'phpng' into call-frame
Dmitry Stogov [Thu, 26 Jun 2014 21:28:58 +0000 (01:28 +0400)]
Merge branch 'phpng' into call-frame

* phpng:
  Reverted 387c491559f1507685740bf613070d27bce59e4d (it broke ext/standard/tests/file/bug44607.phpt)
  op2 is null terminated string
  IS_OBJECT and IS_RESOURCE is obviously exclusive
  No need to initialize it
  More optimizations
  Let's assume the name is already lowercased
  Save some strlen
  Use ZEND_HANDLE_NUMERIC
  Fixed stack usage

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 agoRefactoring: merge call_frame and end_execute_data into single data structure. Keep...
Dmitry Stogov [Thu, 26 Jun 2014 19:51:14 +0000 (23:51 +0400)]
Refactoring: merge call_frame and end_execute_data into single data structure. Keep only single copy of each argument on VM stack (previously ZE kept two copies of each arguments for user functions)

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 agoMerge branch 'phpng' into call-frame
Dmitry Stogov [Wed, 25 Jun 2014 07:12:32 +0000 (11:12 +0400)]
Merge branch 'phpng' into call-frame

* phpng:
  Remove temp file committed by accident
  Don't use zend_string for other fields (only name here is enough)
  Fixed _zend_get_parameters_array
  Fixed use of uninitialized value
  Cleanup (refactoring is finish)
  We don't need extra 1 byte anymore

Conflicts:
Zend/zend_API.c

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 agoRefactoring: use call_frames instead of call_slots
Dmitry Stogov [Mon, 23 Jun 2014 22:17:16 +0000 (02:17 +0400)]
Refactoring: use call_frames instead of call_slots

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