]> granicus.if.org Git - php/log
php
11 years agoMerge branch 'refactoring2' of github.com:zend-dev/php into refactoring2
Dmitry Stogov [Mon, 24 Feb 2014 08:30:21 +0000 (12:30 +0400)]
Merge branch 'refactoring2' of github.com:zend-dev/php into refactoring2

11 years agoZEND_CATCH support for IS_INDIRECT
Dmitry Stogov [Mon, 24 Feb 2014 08:29:35 +0000 (12:29 +0400)]
ZEND_CATCH support for IS_INDIRECT

11 years agoMerge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Xinchen Hui [Mon, 24 Feb 2014 08:15:43 +0000 (16:15 +0800)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2

11 years agoASSIGN_REF related fixes
Dmitry Stogov [Mon, 24 Feb 2014 08:15:11 +0000 (12:15 +0400)]
ASSIGN_REF related fixes

11 years agoFixed memory leak in ext/standard/tests/strings/bug24098.phpt
Xinchen Hui [Mon, 24 Feb 2014 08:14:46 +0000 (16:14 +0800)]
Fixed memory leak in ext/standard/tests/strings/bug24098.phpt

11 years agoFixed NULL pointer dereference in php_url_encode_hash_ex
Xinchen Hui [Mon, 24 Feb 2014 08:07:02 +0000 (16:07 +0800)]
Fixed NULL pointer dereference in php_url_encode_hash_ex

11 years agoFixed memory leak in substr_replace
Xinchen Hui [Mon, 24 Feb 2014 07:58:38 +0000 (15:58 +0800)]
Fixed memory leak in substr_replace

11 years agoFixed zend_rebuild_symbol_table() using IS_INDIRECT
Dmitry Stogov [Mon, 24 Feb 2014 07:31:46 +0000 (11:31 +0400)]
Fixed zend_rebuild_symbol_table() using IS_INDIRECT

11 years agoFixed ++/-- of references
Dmitry Stogov [Mon, 24 Feb 2014 07:23:25 +0000 (11:23 +0400)]
Fixed ++/-- of references

11 years agoNow we always ZVAL_DUP args[argnum] now (in ed8691b2)
Xinchen Hui [Mon, 24 Feb 2014 07:10:16 +0000 (15:10 +0800)]
Now we always ZVAL_DUP args[argnum] now (in ed8691b2)

11 years agoRevert "Fixed segfault in ext/standard/tests/strings/bug24208.php"
Xinchen Hui [Mon, 24 Feb 2014 07:04:05 +0000 (15:04 +0800)]
Revert "Fixed segfault in ext/standard/tests/strings/bug24208.php"

This reverts commit b1fb93b4822b68f7ef1e8f59bc1b3d7630212715.

11 years agoFixed several memory leaks
Xinchen Hui [Mon, 24 Feb 2014 07:03:35 +0000 (15:03 +0800)]
Fixed several memory leaks

11 years agoRefactor php_addslashes using zend_string
Xinchen Hui [Mon, 24 Feb 2014 04:07:09 +0000 (12:07 +0800)]
Refactor php_addslashes using zend_string

11 years agoFixed segfault in ext/standard/tests/strings/fprintf_variation_001.php
Xinchen Hui [Sun, 23 Feb 2014 14:33:10 +0000 (22:33 +0800)]
Fixed segfault in ext/standard/tests/strings/fprintf_variation_001.php

11 years agoFixed segfault in ext/standard/tests/strings/bug49785.phpt
Xinchen Hui [Sun, 23 Feb 2014 13:53:48 +0000 (21:53 +0800)]
Fixed segfault in ext/standard/tests/strings/bug49785.phpt

11 years agoFixed the memroy leak first (refactor it later)
Xinchen Hui [Sun, 23 Feb 2014 13:43:59 +0000 (21:43 +0800)]
Fixed the memroy leak first (refactor it later)

11 years agoMissing handling of IS_REF in ext/standard/tests/strings/bug47842.php
Xinchen Hui [Sun, 23 Feb 2014 11:36:38 +0000 (19:36 +0800)]
Missing handling of IS_REF in ext/standard/tests/strings/bug47842.php

11 years agoRefactor php_str_to_str returning zend_string
Xinchen Hui [Sun, 23 Feb 2014 11:25:26 +0000 (19:25 +0800)]
Refactor php_str_to_str returning zend_string

11 years agoFixed wrong zend_string usage in ext/standard/tests/strings/bug47443.php
Xinchen Hui [Sun, 23 Feb 2014 11:04:40 +0000 (19:04 +0800)]
Fixed wrong zend_string usage in ext/standard/tests/strings/bug47443.php

11 years agoFixed inproper IS_REF handling in ext/standard/tests/strings/bug27295.phpt
Xinchen Hui [Sun, 23 Feb 2014 10:48:15 +0000 (18:48 +0800)]
Fixed inproper IS_REF handling in ext/standard/tests/strings/bug27295.phpt

11 years agoFixed memory leak ext/standard/tests/strings/bug21453.phpt
Xinchen Hui [Sun, 23 Feb 2014 10:28:00 +0000 (18:28 +0800)]
Fixed memory leak ext/standard/tests/strings/bug21453.phpt

11 years agoFixed test ext/standard/tests/strings/bug26817.php
Xinchen Hui [Sun, 23 Feb 2014 10:22:53 +0000 (18:22 +0800)]
Fixed test ext/standard/tests/strings/bug26817.php

11 years agoFixed memory leak in ext/standard/tests/strings/bug20927.phpt
Xinchen Hui [Sun, 23 Feb 2014 10:17:39 +0000 (18:17 +0800)]
Fixed memory leak in ext/standard/tests/strings/bug20927.phpt

11 years agoRefactor basename using zend_string
Xinchen Hui [Sun, 23 Feb 2014 10:08:35 +0000 (18:08 +0800)]
Refactor basename using zend_string

11 years agoRefactor php_addcslashes using zend_string
Xinchen Hui [Sat, 22 Feb 2014 12:51:26 +0000 (20:51 +0800)]
Refactor php_addcslashes using zend_string

11 years agoFixed memory leak in ext/standard/tests/strings/005.php
Xinchen Hui [Sat, 22 Feb 2014 12:36:12 +0000 (20:36 +0800)]
Fixed memory leak in ext/standard/tests/strings/005.php

11 years agoFixed segfault in ext/standard/tests/strings/bug24208.php
Xinchen Hui [Sat, 22 Feb 2014 12:19:12 +0000 (20:19 +0800)]
Fixed segfault in ext/standard/tests/strings/bug24208.php

it still ugly,, maybe we should make EG(active_symbol_table) a zend_array?

11 years agoNo refcounted type
Xinchen Hui [Sat, 22 Feb 2014 12:05:04 +0000 (20:05 +0800)]
No refcounted type

11 years agoFixed error messages
Dmitry Stogov [Fri, 21 Feb 2014 20:41:06 +0000 (00:41 +0400)]
Fixed error messages

11 years agoFixed char/zend_string mesh
Dmitry Stogov [Fri, 21 Feb 2014 20:31:39 +0000 (00:31 +0400)]
Fixed char/zend_string mesh

11 years agoFixed constant name construction
Dmitry Stogov [Fri, 21 Feb 2014 20:20:57 +0000 (00:20 +0400)]
Fixed constant name construction

11 years agoFixed improper deallocation
Dmitry Stogov [Fri, 21 Feb 2014 20:20:36 +0000 (00:20 +0400)]
Fixed improper deallocation

11 years agoUse better data structures (incomplete)
Dmitry Stogov [Fri, 21 Feb 2014 19:51:08 +0000 (23:51 +0400)]
Use better data structures (incomplete)

11 years agoUse better data structures (incomplete)
Dmitry Stogov [Fri, 21 Feb 2014 18:59:51 +0000 (22:59 +0400)]
Use better data structures (incomplete)

11 years agoFixed error messages
Dmitry Stogov [Fri, 21 Feb 2014 16:53:09 +0000 (20:53 +0400)]
Fixed error messages

11 years agoFixed error messages
Dmitry Stogov [Fri, 21 Feb 2014 16:44:26 +0000 (20:44 +0400)]
Fixed error messages

11 years agoFixed assertions
Dmitry Stogov [Fri, 21 Feb 2014 16:35:40 +0000 (20:35 +0400)]
Fixed assertions

11 years agoFix Z_COUNTED() -> Z_REFCOUNTED()
Dmitry Stogov [Fri, 21 Feb 2014 15:19:52 +0000 (19:19 +0400)]
Fix Z_COUNTED() -> Z_REFCOUNTED()

11 years agoFixed get_object_vars()
Dmitry Stogov [Fri, 21 Feb 2014 15:19:44 +0000 (19:19 +0400)]
Fixed get_object_vars()

11 years agoMerge branch 'refactoring2' of github.com:zend-dev/php into refactoring2
Dmitry Stogov [Fri, 21 Feb 2014 15:05:15 +0000 (19:05 +0400)]
Merge branch 'refactoring2' of github.com:zend-dev/php into refactoring2

11 years agoRevert "Use zend_string for arg_info to fixed segfault in Zend/tests/argument_restric...
Xinchen Hui [Fri, 21 Feb 2014 15:02:24 +0000 (23:02 +0800)]
Revert "Use zend_string for arg_info to fixed segfault in Zend/tests/argument_restriction_003.phpt"

This reverts commit b96318105b8a908ec3cb294b8133e36d1b8cba7a.

11 years agoMerge branch 'refactoring2' of github.com:zend-dev/php into refactoring2
Dmitry Stogov [Fri, 21 Feb 2014 14:55:26 +0000 (18:55 +0400)]
Merge branch 'refactoring2' of github.com:zend-dev/php into refactoring2

11 years agoFixed compound name resolution
Dmitry Stogov [Fri, 21 Feb 2014 14:55:04 +0000 (18:55 +0400)]
Fixed compound name resolution

11 years agoMerge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Xinchen Hui [Fri, 21 Feb 2014 14:41:48 +0000 (22:41 +0800)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2

Conflicts:
Zend/zend_language_scanner.c
Zend/zend_language_scanner.l

11 years agoFixed missed REFCOUNTED checking
Xinchen Hui [Fri, 21 Feb 2014 14:39:27 +0000 (22:39 +0800)]
Fixed missed REFCOUNTED checking

11 years agoUse zend_string for arg_info to fixed segfault in Zend/tests/argument_restriction_003...
Xinchen Hui [Fri, 21 Feb 2014 14:34:30 +0000 (22:34 +0800)]
Use zend_string for arg_info to fixed segfault in Zend/tests/argument_restriction_003.phpt

11 years agoFixed error messages
Dmitry Stogov [Fri, 21 Feb 2014 14:23:56 +0000 (18:23 +0400)]
Fixed error messages

11 years agoFixed class_alias()
Dmitry Stogov [Fri, 21 Feb 2014 14:19:46 +0000 (18:19 +0400)]
Fixed class_alias()

11 years agoFix non-zero terminated strings
Dmitry Stogov [Fri, 21 Feb 2014 14:14:47 +0000 (18:14 +0400)]
Fix non-zero terminated strings

11 years agoFixed __METHOD__ handling
Dmitry Stogov [Fri, 21 Feb 2014 13:52:43 +0000 (17:52 +0400)]
Fixed __METHOD__ handling

11 years agoFixed test tests/classes/__call_007.php
Xinchen Hui [Fri, 21 Feb 2014 13:39:02 +0000 (21:39 +0800)]
Fixed test tests/classes/__call_007.php

11 years agoFixed array_unshift()
Dmitry Stogov [Fri, 21 Feb 2014 13:38:12 +0000 (17:38 +0400)]
Fixed array_unshift()

11 years agoFixed error messages
Dmitry Stogov [Fri, 21 Feb 2014 13:35:19 +0000 (17:35 +0400)]
Fixed error messages

11 years agoFixed error messages
Dmitry Stogov [Fri, 21 Feb 2014 13:27:53 +0000 (17:27 +0400)]
Fixed error messages

11 years agoFixed include_once() handling
Dmitry Stogov [Fri, 21 Feb 2014 13:23:13 +0000 (17:23 +0400)]
Fixed include_once() handling

11 years agoAll zend_parse_parameters("Z") has to be replaced with zend_parse_parameters("z")
Dmitry Stogov [Fri, 21 Feb 2014 13:22:02 +0000 (17:22 +0400)]
All zend_parse_parameters("Z") has to be replaced with zend_parse_parameters("z")

11 years agoFixed segfault due to invalid write
Xinchen Hui [Fri, 21 Feb 2014 13:20:50 +0000 (21:20 +0800)]
Fixed segfault due to invalid write

11 years agoFixed segfault due to missing REFCOUNTED check
Xinchen Hui [Fri, 21 Feb 2014 13:12:12 +0000 (21:12 +0800)]
Fixed segfault due to missing REFCOUNTED check

11 years agoMerge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Xinchen Hui [Fri, 21 Feb 2014 13:02:12 +0000 (21:02 +0800)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2

11 years agoFixed exception constructor
Dmitry Stogov [Fri, 21 Feb 2014 12:14:42 +0000 (16:14 +0400)]
Fixed exception constructor

11 years agoFixed tests/run-test/test009.phpt
Dmitry Stogov [Fri, 21 Feb 2014 11:48:56 +0000 (15:48 +0400)]
Fixed tests/run-test/test009.phpt

11 years agoWrong string destruction
Dmitry Stogov [Fri, 21 Feb 2014 11:26:41 +0000 (15:26 +0400)]
Wrong string destruction

11 years agoFixed segfault in ext/standard/tests/strings/addslashes_variation1.php
Xinchen Hui [Fri, 21 Feb 2014 08:56:23 +0000 (16:56 +0800)]
Fixed segfault in ext/standard/tests/strings/addslashes_variation1.php

11 years agoFixed segfault in ext/standard/tests/strings/add-and-stripslashes.phpt
Xinchen Hui [Fri, 21 Feb 2014 08:39:59 +0000 (16:39 +0800)]
Fixed segfault in ext/standard/tests/strings/add-and-stripslashes.phpt

11 years agoFixed segfault in file_get_contents
Xinchen Hui [Fri, 21 Feb 2014 08:32:46 +0000 (16:32 +0800)]
Fixed segfault in file_get_contents

11 years agoUpdate .gdbinit
Xinchen Hui [Thu, 20 Feb 2014 10:30:06 +0000 (18:30 +0800)]
Update .gdbinit

11 years agoFixed segfault in Zend/tests/008.phpt
Xinchen Hui [Thu, 20 Feb 2014 08:21:41 +0000 (16:21 +0800)]
Fixed segfault in Zend/tests/008.phpt

11 years agoFixed segfault (Zend/tests/026.phpt now pass)
Xinchen Hui [Thu, 20 Feb 2014 07:39:46 +0000 (15:39 +0800)]
Fixed segfault (Zend/tests/026.phpt now pass)

11 years agoUse better data structures (incomplete)
Dmitry Stogov [Wed, 19 Feb 2014 12:50:09 +0000 (16:50 +0400)]
Use better data structures (incomplete)

11 years agoMerge branch 'refactoring2' of github.com:zend-dev/php into refactoring2
Dmitry Stogov [Wed, 19 Feb 2014 11:34:46 +0000 (15:34 +0400)]
Merge branch 'refactoring2' of github.com:zend-dev/php into refactoring2

11 years agoUse better data structures (incomplete)
Dmitry Stogov [Wed, 19 Feb 2014 11:34:32 +0000 (15:34 +0400)]
Use better data structures (incomplete)

11 years agoFixed possible NULL pointer dereference
Xinchen Hui [Wed, 19 Feb 2014 11:33:10 +0000 (19:33 +0800)]
Fixed possible NULL pointer dereference

11 years agozend_hash_del didn't check the PACKED flag
Xinchen Hui [Wed, 19 Feb 2014 11:26:43 +0000 (19:26 +0800)]
zend_hash_del didn't check the PACKED flag

11 years agoFixed segfault in 017.phpt(a memory leak is reported now)
Xinchen Hui [Wed, 19 Feb 2014 11:03:03 +0000 (19:03 +0800)]
Fixed segfault in 017.phpt(a memory leak is reported now)

11 years agoFixed segfault
Xinchen Hui [Wed, 19 Feb 2014 10:49:00 +0000 (18:49 +0800)]
Fixed segfault

11 years agoMerge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Xinchen Hui [Wed, 19 Feb 2014 10:42:22 +0000 (18:42 +0800)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2

11 years agoFixed memory leak (forgot to release the zval)
Xinchen Hui [Wed, 19 Feb 2014 10:41:50 +0000 (18:41 +0800)]
Fixed memory leak (forgot to release the zval)

11 years agoMerge branch 'refactoring2' of github.com:zend-dev/php into refactoring2
Dmitry Stogov [Wed, 19 Feb 2014 10:36:05 +0000 (14:36 +0400)]
Merge branch 'refactoring2' of github.com:zend-dev/php into refactoring2

11 years agoUse better data structures (incomplete)
Dmitry Stogov [Wed, 19 Feb 2014 10:35:28 +0000 (14:35 +0400)]
Use better data structures (incomplete)

11 years agoFixed segfault in BEGIN/END SILENT
Xinchen Hui [Wed, 19 Feb 2014 10:34:27 +0000 (18:34 +0800)]
Fixed segfault in BEGIN/END SILENT

11 years agoUse better data structures (incomplete)
Xinchen Hui [Wed, 19 Feb 2014 09:58:39 +0000 (17:58 +0800)]
Use better data structures (incomplete)

11 years agoUse better data structures (incomplete)
Dmitry Stogov [Wed, 19 Feb 2014 08:03:01 +0000 (12:03 +0400)]
Use better data structures (incomplete)

11 years agoUse zend_string avoid mem wasting
Xinchen Hui [Wed, 19 Feb 2014 04:13:43 +0000 (12:13 +0800)]
Use zend_string avoid mem wasting

11 years agoUse better data structures (incomplete)
Dmitry Stogov [Tue, 18 Feb 2014 21:12:05 +0000 (01:12 +0400)]
Use better data structures (incomplete)

11 years agoFixed object destruction
Dmitry Stogov [Tue, 18 Feb 2014 18:35:54 +0000 (22:35 +0400)]
Fixed object destruction

11 years agoUse better data structures (incomplete)
Dmitry Stogov [Tue, 18 Feb 2014 14:10:54 +0000 (18:10 +0400)]
Use better data structures (incomplete)

11 years agoUse better data structures (incomplete)
Dmitry Stogov [Tue, 18 Feb 2014 13:31:27 +0000 (17:31 +0400)]
Use better data structures (incomplete)

11 years agoFixed memory leak
Dmitry Stogov [Tue, 18 Feb 2014 13:11:57 +0000 (17:11 +0400)]
Fixed memory leak

11 years agoUse better data structures (incomplete)
Dmitry Stogov [Tue, 18 Feb 2014 12:44:01 +0000 (16:44 +0400)]
Use better data structures (incomplete)

11 years agoMerge branch 'refactoring2' of github.com:zend-dev/php into refactoring2
Dmitry Stogov [Tue, 18 Feb 2014 12:28:26 +0000 (16:28 +0400)]
Merge branch 'refactoring2' of github.com:zend-dev/php into refactoring2

11 years agoUse better data structures (incomplete; able to run bench.php)
Dmitry Stogov [Tue, 18 Feb 2014 12:27:38 +0000 (16:27 +0400)]
Use better data structures (incomplete; able to run bench.php)

11 years agoRefacting smart_str
Xinchen Hui [Tue, 18 Feb 2014 09:42:46 +0000 (17:42 +0800)]
Refacting smart_str

11 years agoUse better data structures (incomplete)
Dmitry Stogov [Tue, 18 Feb 2014 07:44:58 +0000 (11:44 +0400)]
Use better data structures (incomplete)

11 years agoUse better data structures (incomplete)
Dmitry Stogov [Mon, 17 Feb 2014 21:41:23 +0000 (01:41 +0400)]
Use better data structures (incomplete)

11 years agoemalloced interned strings have to be deallocated before memory manager shutdown
Dmitry Stogov [Mon, 17 Feb 2014 18:30:35 +0000 (22:30 +0400)]
emalloced interned strings have to be deallocated before memory manager shutdown

11 years agoIt should be fixed later in some better way (added ??? marks)
Dmitry Stogov [Mon, 17 Feb 2014 18:17:16 +0000 (22:17 +0400)]
It should be fixed later in some better way (added ??? marks)

11 years agoFixed Memory leak
Xinchen Hui [Mon, 17 Feb 2014 14:59:44 +0000 (22:59 +0800)]
Fixed Memory leak

11 years agoFixed Segfault
Xinchen Hui [Mon, 17 Feb 2014 14:47:52 +0000 (22:47 +0800)]
Fixed Segfault

11 years agoUse better data structures (incomplete)
Dmitry Stogov [Mon, 17 Feb 2014 13:59:18 +0000 (17:59 +0400)]
Use better data structures (incomplete)

11 years agoMerge branch 'refactoring2' of github.com:zend-dev/php into refactoring2
Dmitry Stogov [Mon, 17 Feb 2014 07:50:44 +0000 (11:50 +0400)]
Merge branch 'refactoring2' of github.com:zend-dev/php into refactoring2