]> granicus.if.org Git - php/log
php
11 years agoFixed tests (scalar don't have reference counter, other values may get different...
Dmitry Stogov [Mon, 17 Mar 2014 21:16:12 +0000 (01:16 +0400)]
Fixed tests (scalar don't have reference counter, other values may get different counter values)

11 years agoFixed get_browser()
Dmitry Stogov [Mon, 17 Mar 2014 20:55:25 +0000 (00:55 +0400)]
Fixed get_browser()

11 years agoFixed stream notifier
Dmitry Stogov [Mon, 17 Mar 2014 20:08:50 +0000 (00:08 +0400)]
Fixed stream notifier

11 years agoRefactored EG(active_symbol_table) to be zend_array* instead of HashTable*
Dmitry Stogov [Mon, 17 Mar 2014 19:15:22 +0000 (23:15 +0400)]
Refactored EG(active_symbol_table) to be zend_array* instead of HashTable*

11 years agoFixed string length
Dmitry Stogov [Mon, 17 Mar 2014 17:38:48 +0000 (21:38 +0400)]
Fixed string length

11 years agoFixed COUNT_RECURSIVE reference handling
Xinchen Hui [Mon, 17 Mar 2014 14:04:54 +0000 (22:04 +0800)]
Fixed COUNT_RECURSIVE reference handling

11 years agoFixed test (the expected output and master behavior are wrong)
Dmitry Stogov [Mon, 17 Mar 2014 13:55:51 +0000 (17:55 +0400)]
Fixed test (the expected output and master behavior are wrong)

11 years agoFixed ext/ereg problems
Dmitry Stogov [Mon, 17 Mar 2014 13:38:15 +0000 (17:38 +0400)]
Fixed ext/ereg problems

11 years agoFixed serialize/unserialize problems
Dmitry Stogov [Mon, 17 Mar 2014 13:23:27 +0000 (17:23 +0400)]
Fixed serialize/unserialize problems

11 years agoFixed function name comparation
Xinchen Hui [Mon, 17 Mar 2014 04:32:42 +0000 (12:32 +0800)]
Fixed function name comparation

11 years agoFixed add_ref asseration fail
Xinchen Hui [Mon, 17 Mar 2014 04:16:46 +0000 (12:16 +0800)]
Fixed add_ref asseration fail

11 years agoRefactor reflection_object to fix bug after default_properties changed
Xinchen Hui [Mon, 17 Mar 2014 04:15:22 +0000 (12:15 +0800)]
Refactor reflection_object to fix bug after default_properties changed

11 years agoFixed NULL pointer dereference
Xinchen Hui [Mon, 17 Mar 2014 04:05:52 +0000 (12:05 +0800)]
Fixed NULL pointer dereference

11 years agoForgot fix similar issue in spl_recursive_it_get_method
Xinchen Hui [Sun, 16 Mar 2014 15:04:07 +0000 (23:04 +0800)]
Forgot fix similar issue in spl_recursive_it_get_method

11 years agoFixed spl_dual_it_get_method
Xinchen Hui [Sun, 16 Mar 2014 15:02:14 +0000 (23:02 +0800)]
Fixed spl_dual_it_get_method

11 years agoFixed segfault (invalid free handling)
Xinchen Hui [Sun, 16 Mar 2014 14:05:38 +0000 (22:05 +0800)]
Fixed segfault (invalid free handling)

11 years agoFixed memory leak while cloning (All tests passes now in ext/date)
Xinchen Hui [Sun, 16 Mar 2014 10:09:27 +0000 (18:09 +0800)]
Fixed memory leak while cloning (All tests passes now in ext/date)

11 years agoFixed tests, reflection doesn't return reference anymore
Xinchen Hui [Sun, 16 Mar 2014 10:09:06 +0000 (18:09 +0800)]
Fixed tests, reflection doesn't return reference anymore

11 years agoRefactor date to fixed bug after default_properties changed
Xinchen Hui [Sun, 16 Mar 2014 09:14:31 +0000 (17:14 +0800)]
Refactor date to fixed bug after default_properties changed

11 years agoFixed wrong md5 str length
Xinchen Hui [Sun, 16 Mar 2014 07:52:50 +0000 (15:52 +0800)]
Fixed wrong md5 str length

11 years agoReflection doesn't return ref anymore
Xinchen Hui [Sun, 16 Mar 2014 07:47:08 +0000 (15:47 +0800)]
Reflection doesn't return ref anymore

11 years agoFixed string handling in ext/spl/tests/recursive_tree_iterator_001.phpt
Xinchen Hui [Sun, 16 Mar 2014 07:45:45 +0000 (15:45 +0800)]
Fixed string handling in ext/spl/tests/recursive_tree_iterator_001.phpt

11 years agoFixed reference handling in pcre_grep
Xinchen Hui [Sun, 16 Mar 2014 07:40:35 +0000 (15:40 +0800)]
Fixed reference handling in pcre_grep

11 years agoFixed reference arg hanlding in pcre_replace
Xinchen Hui [Sun, 16 Mar 2014 00:45:43 +0000 (08:45 +0800)]
Fixed reference arg hanlding in pcre_replace

11 years agoRefactor php_pcre_replace to return zend_string
Xinchen Hui [Sun, 16 Mar 2014 00:44:07 +0000 (08:44 +0800)]
Refactor php_pcre_replace to return zend_string

11 years agoShould not release container before dup
Xinchen Hui [Sat, 15 Mar 2014 14:43:40 +0000 (22:43 +0800)]
Should not release container before dup

11 years agoIS_UNDEF should never goes to user script land
Xinchen Hui [Sat, 15 Mar 2014 14:37:27 +0000 (22:37 +0800)]
IS_UNDEF should never goes to user script land

11 years agoFixed typo
Xinchen Hui [Sat, 15 Mar 2014 14:23:09 +0000 (22:23 +0800)]
Fixed typo

11 years agoFixed bug codes in SplFileInfo::getExtension
Xinchen Hui [Sat, 15 Mar 2014 14:17:55 +0000 (22:17 +0800)]
Fixed bug codes in SplFileInfo::getExtension

11 years agoFixed refcounted
Xinchen Hui [Sat, 15 Mar 2014 14:13:55 +0000 (22:13 +0800)]
Fixed refcounted

11 years agoRefactor Spl_Directory to fixed bug after default_properties changed
Xinchen Hui [Sat, 15 Mar 2014 14:07:40 +0000 (22:07 +0800)]
Refactor Spl_Directory to fixed bug after default_properties changed

11 years agoFixed several bugs in spl_autoload
Xinchen Hui [Sat, 15 Mar 2014 11:34:07 +0000 (19:34 +0800)]
Fixed several bugs in spl_autoload

11 years agoFixed memory leak while add_mem faile
Xinchen Hui [Sat, 15 Mar 2014 11:33:36 +0000 (19:33 +0800)]
Fixed memory leak while add_mem faile

11 years agoFixed refcount asseration
Xinchen Hui [Sat, 15 Mar 2014 11:16:07 +0000 (19:16 +0800)]
Fixed refcount asseration

11 years agoRefactor Spl_Heap to fixed bug after default_properties change
Xinchen Hui [Sat, 15 Mar 2014 11:14:11 +0000 (19:14 +0800)]
Refactor Spl_Heap to fixed bug after default_properties change

11 years agoRefactor Spl_Iterators to fixed default_properties change
Xinchen Hui [Sat, 15 Mar 2014 08:33:31 +0000 (16:33 +0800)]
Refactor Spl_Iterators to fixed default_properties change

11 years agoRefactored Spl_Dllist to fixed zend_object->default_properties change
Xinchen Hui [Sat, 15 Mar 2014 06:44:50 +0000 (14:44 +0800)]
Refactored Spl_Dllist to fixed zend_object->default_properties change

11 years agoRefactored Spl_Arrary to fixed zend_object->default_properties change
Xinchen Hui [Sat, 15 Mar 2014 06:32:32 +0000 (14:32 +0800)]
Refactored Spl_Arrary to fixed zend_object->default_properties change

11 years agoFixed fixed_array returning initializing
Xinchen Hui [Sat, 15 Mar 2014 05:20:23 +0000 (13:20 +0800)]
Fixed fixed_array returning initializing

11 years agoFixed fixedarray iterator fetching
Xinchen Hui [Sat, 15 Mar 2014 05:18:32 +0000 (13:18 +0800)]
Fixed fixedarray iterator fetching

11 years agoFixed fixed_array fetching
Xinchen Hui [Sat, 15 Mar 2014 05:12:55 +0000 (13:12 +0800)]
Fixed fixed_array fetching

11 years agoFixed various CLI problems
Dmitry Stogov [Fri, 14 Mar 2014 14:00:42 +0000 (18:00 +0400)]
Fixed various CLI problems

11 years agoFixed refcounting
Dmitry Stogov [Fri, 14 Mar 2014 11:54:49 +0000 (15:54 +0400)]
Fixed refcounting

11 years agoDon't include trailing zero into hash caclculation
Dmitry Stogov [Fri, 14 Mar 2014 11:35:57 +0000 (15:35 +0400)]
Don't include trailing zero into hash caclculation

11 years agoFixed reference support
Dmitry Stogov [Fri, 14 Mar 2014 08:50:20 +0000 (12:50 +0400)]
Fixed reference support

11 years agoFixed support for references
Dmitry Stogov [Fri, 14 Mar 2014 08:14:59 +0000 (12:14 +0400)]
Fixed support for references

11 years agoFixed support for references
Dmitry Stogov [Thu, 13 Mar 2014 19:23:20 +0000 (23:23 +0400)]
Fixed support for references

11 years agoFixed test (scalars don;t have reference counter any more)
Dmitry Stogov [Thu, 13 Mar 2014 19:04:30 +0000 (23:04 +0400)]
Fixed test (scalars don;t have reference counter any more)

11 years agoFixed support for references
Dmitry Stogov [Thu, 13 Mar 2014 18:56:18 +0000 (22:56 +0400)]
Fixed support for references

11 years agoREFERENCE is always REFCOUNTED
Dmitry Stogov [Thu, 13 Mar 2014 18:07:37 +0000 (22:07 +0400)]
REFERENCE is always REFCOUNTED

11 years agoFixed reference conversion
Dmitry Stogov [Thu, 13 Mar 2014 18:07:14 +0000 (22:07 +0400)]
Fixed reference conversion

11 years agoFixed reference support
Dmitry Stogov [Thu, 13 Mar 2014 13:59:50 +0000 (17:59 +0400)]
Fixed reference support

11 years agoFixed foreach (now we store HashPointer in additional IS_TMP_VAR slot(s))
Dmitry Stogov [Thu, 13 Mar 2014 13:01:28 +0000 (17:01 +0400)]
Fixed foreach (now we store HashPointer in additional IS_TMP_VAR slot(s))

11 years agoFixed autoconversion from reference to ordinal value
Dmitry Stogov [Thu, 13 Mar 2014 10:24:08 +0000 (14:24 +0400)]
Fixed autoconversion from reference to ordinal value

11 years agoFixed test
Dmitry Stogov [Thu, 13 Mar 2014 08:42:24 +0000 (12:42 +0400)]
Fixed test

11 years agoFixed IS_INDIRECT handling when assign array element by reference.
Dmitry Stogov [Wed, 12 Mar 2014 20:30:53 +0000 (00:30 +0400)]
Fixed IS_INDIRECT handling when assign array element by reference.
This might cause passing invalid pointer if the array could be resized before IS_INDIRECT usage.
Now we use IS_REFERENCE instead of IS_INDIRECT.
The following test crashed before:
<?php $a = array(0,1,2,3,4,5,6,7); $a[8] = &$a[7]; ?>

11 years agoFixed reference afto conversion
Dmitry Stogov [Wed, 12 Mar 2014 08:07:03 +0000 (12:07 +0400)]
Fixed reference afto conversion

11 years agoFixed passing arguments by reference from internal functions
Dmitry Stogov [Tue, 11 Mar 2014 18:33:28 +0000 (22:33 +0400)]
Fixed passing arguments by reference from internal functions

11 years agoFixed reference handling
Dmitry Stogov [Tue, 11 Mar 2014 10:49:25 +0000 (14:49 +0400)]
Fixed reference handling

11 years agoReverted wrong fix
Dmitry Stogov [Tue, 11 Mar 2014 07:34:23 +0000 (11:34 +0400)]
Reverted wrong fix

11 years agoReview ended
Xinchen Hui [Tue, 11 Mar 2014 06:23:14 +0000 (14:23 +0800)]
Review ended

Revert "An demo(for review) to show how to fix the problem(symbol table resize)"

This reverts commit 60c354510b6731ec8348af9c5e230a4859c7c383.

11 years agoAn demo(for review) to show how to fix the problem(symbol table resize)
Xinchen Hui [Mon, 10 Mar 2014 08:25:05 +0000 (16:25 +0800)]
An demo(for review) to show how to fix the problem(symbol table resize)

11 years agoRevert "An demo(for review) to show how to fix the problem we meet"
Xinchen Hui [Mon, 10 Mar 2014 08:24:35 +0000 (16:24 +0800)]
Revert "An demo(for review) to show how to fix the problem we meet"

This reverts commit 4aeae157062f69deb36e16f13ff0ddff62fd487c.

11 years agoAn demo(for review) to show how to fix the problem we meet
Xinchen Hui [Mon, 10 Mar 2014 03:29:28 +0000 (11:29 +0800)]
An demo(for review) to show how to fix the problem we meet

11 years agoFixed warning mesg
Xinchen Hui [Mon, 10 Mar 2014 02:49:53 +0000 (10:49 +0800)]
Fixed warning mesg

11 years agoAll tests passed in ext/standard/tests/dir now
Xinchen Hui [Sun, 9 Mar 2014 12:10:02 +0000 (20:10 +0800)]
All tests passed in ext/standard/tests/dir now

11 years agoUse list_close here (by ext/standard/tests/dir/closedir_basic.phpt)
Xinchen Hui [Sun, 9 Mar 2014 12:08:06 +0000 (20:08 +0800)]
Use list_close here (by ext/standard/tests/dir/closedir_basic.phpt)

11 years agoIS_REFERENCE is unfrequent
Xinchen Hui [Sun, 9 Mar 2014 12:03:24 +0000 (20:03 +0800)]
IS_REFERENCE is unfrequent

11 years agoUse list_close here to fix ext/standard/tests/file/popen_pclose_basic.phpt
Xinchen Hui [Sun, 9 Mar 2014 11:56:27 +0000 (19:56 +0800)]
Use list_close here to fix ext/standard/tests/file/popen_pclose_basic.phpt

11 years agoFixed ref hanlding in ADD_ARRAY_ELEMENT (by ext/standard/tests/array/bug30074.phpt)
Xinchen Hui [Sun, 9 Mar 2014 11:42:08 +0000 (19:42 +0800)]
Fixed ref hanlding in ADD_ARRAY_ELEMENT (by ext/standard/tests/array/bug30074.phpt)

11 years agoFixed wrong addref usage in extract
Xinchen Hui [Sun, 9 Mar 2014 03:53:06 +0000 (11:53 +0800)]
Fixed wrong addref usage in extract

11 years agoFixed memleak while sending IS_REFERENCE
Xinchen Hui [Sun, 9 Mar 2014 03:43:47 +0000 (11:43 +0800)]
Fixed memleak while sending IS_REFERENCE

11 years agoFixed parse_ini_file
Xinchen Hui [Sun, 9 Mar 2014 03:35:20 +0000 (11:35 +0800)]
Fixed parse_ini_file

11 years agoFixed double free in parse_ini_string
Xinchen Hui [Sun, 9 Mar 2014 03:06:06 +0000 (11:06 +0800)]
Fixed double free in parse_ini_string

11 years agoFixing SplFixedArray (this probably will be revert, just show what the problem is)
Xinchen Hui [Sat, 8 Mar 2014 10:39:23 +0000 (18:39 +0800)]
Fixing SplFixedArray (this probably will be revert, just show what the problem is)

11 years agoRefactor SplObjectStorage make it works
Xinchen Hui [Sat, 8 Mar 2014 05:42:36 +0000 (13:42 +0800)]
Refactor SplObjectStorage make it works

11 years agoFixed assignment to reference
Dmitry Stogov [Fri, 7 Mar 2014 20:02:12 +0000 (00:02 +0400)]
Fixed assignment to reference

11 years agoImprove codes
Xinchen Hui [Fri, 7 Mar 2014 14:33:36 +0000 (22:33 +0800)]
Improve codes

11 years agoFixed char*/zend_string* inconsistency
Dmitry Stogov [Fri, 7 Mar 2014 14:23:57 +0000 (18:23 +0400)]
Fixed char*/zend_string* inconsistency

11 years agoTemporary fix memory leaks
Dmitry Stogov [Fri, 7 Mar 2014 13:21:29 +0000 (17:21 +0400)]
Temporary fix memory leaks

11 years agoFixed refcounting
Dmitry Stogov [Fri, 7 Mar 2014 13:17:35 +0000 (17:17 +0400)]
Fixed refcounting

11 years agoTemporary fix memory leaks
Dmitry Stogov [Fri, 7 Mar 2014 13:14:16 +0000 (17:14 +0400)]
Temporary fix memory leaks

11 years agoTemporary fix memory leaks
Dmitry Stogov [Fri, 7 Mar 2014 13:09:45 +0000 (17:09 +0400)]
Temporary fix memory leaks

11 years agoFixed string length
Dmitry Stogov [Fri, 7 Mar 2014 13:06:13 +0000 (17:06 +0400)]
Fixed string length

11 years agoFixed pass by reference special cases
Dmitry Stogov [Fri, 7 Mar 2014 12:45:32 +0000 (16:45 +0400)]
Fixed pass by reference special cases

11 years agoFixed refcounting
Dmitry Stogov [Fri, 7 Mar 2014 11:58:09 +0000 (15:58 +0400)]
Fixed refcounting

11 years agoFixed bug codes in stream_resolve_include_path....
Xinchen Hui [Fri, 7 Mar 2014 10:01:02 +0000 (18:01 +0800)]
Fixed bug codes in stream_resolve_include_path....

11 years agoFixed memory leak (double array_init)
Xinchen Hui [Fri, 7 Mar 2014 09:48:54 +0000 (17:48 +0800)]
Fixed memory leak (double array_init)

11 years agoForgot to remove unused codes
Xinchen Hui [Fri, 7 Mar 2014 09:41:02 +0000 (17:41 +0800)]
Forgot to remove unused codes

11 years agoRefactor reference handling
Xinchen Hui [Fri, 7 Mar 2014 09:08:14 +0000 (17:08 +0800)]
Refactor reference handling

11 years agoMerge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Xinchen Hui [Fri, 7 Mar 2014 08:51:55 +0000 (16:51 +0800)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2

11 years agoFixed invalid pointer usage (tests/output/ob_start_callbacks.phpt)
Xinchen Hui [Fri, 7 Mar 2014 08:49:01 +0000 (16:49 +0800)]
Fixed invalid pointer usage (tests/output/ob_start_callbacks.phpt)

11 years agoFixed return by reference
Dmitry Stogov [Fri, 7 Mar 2014 08:25:55 +0000 (12:25 +0400)]
Fixed return by reference

11 years agoFixed support for references
Dmitry Stogov [Fri, 7 Mar 2014 07:32:07 +0000 (11:32 +0400)]
Fixed support for references

11 years agoFixed asseration failed in ob_get_status
Xinchen Hui [Fri, 7 Mar 2014 07:12:33 +0000 (15:12 +0800)]
Fixed asseration failed in ob_get_status

11 years agoFixed numeric string handling length
Xinchen Hui [Fri, 7 Mar 2014 06:35:14 +0000 (14:35 +0800)]
Fixed numeric string handling length

11 years agoFixed IS_REFERENCE handling in sort()
Xinchen Hui [Fri, 7 Mar 2014 05:51:39 +0000 (13:51 +0800)]
Fixed IS_REFERENCE handling in sort()

11 years agoIS_REFERENCE is unfrequent
Xinchen Hui [Fri, 7 Mar 2014 05:48:28 +0000 (13:48 +0800)]
IS_REFERENCE is unfrequent

11 years agoFixed guard support in magic method __set()
Dmitry Stogov [Thu, 6 Mar 2014 22:03:25 +0000 (02:03 +0400)]
Fixed guard support in magic method __set()

11 years agoFixed __FILE__ and __METHOD__ constants
Dmitry Stogov [Thu, 6 Mar 2014 21:34:03 +0000 (01:34 +0400)]
Fixed __FILE__ and __METHOD__ constants