]> granicus.if.org Git - php/log
php
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

11 years agoFixed refcounting
Dmitry Stogov [Thu, 6 Mar 2014 21:33:33 +0000 (01:33 +0400)]
Fixed refcounting

11 years agoFixed test
Dmitry Stogov [Thu, 6 Mar 2014 21:00:26 +0000 (01:00 +0400)]
Fixed test

11 years agoFixed dynamic properties cloning
Dmitry Stogov [Thu, 6 Mar 2014 20:50:02 +0000 (00:50 +0400)]
Fixed dynamic properties cloning

11 years agoFixed memory leak
Dmitry Stogov [Thu, 6 Mar 2014 20:26:21 +0000 (00:26 +0400)]
Fixed memory leak

11 years agoAdded check
Dmitry Stogov [Thu, 6 Mar 2014 18:07:28 +0000 (22:07 +0400)]
Added check

11 years agoFixed IS_REFERENCE handling in preg_match
Xinchen Hui [Thu, 6 Mar 2014 15:39:34 +0000 (23:39 +0800)]
Fixed IS_REFERENCE handling in preg_match

11 years agoSecond argument of call_user_method is ref
Xinchen Hui [Thu, 6 Mar 2014 15:31:23 +0000 (23:31 +0800)]
Second argument of call_user_method is ref

11 years agoHave no idea why I changed it to 0 in 70ddc853
Xinchen Hui [Thu, 6 Mar 2014 15:28:31 +0000 (23:28 +0800)]
Have no idea why I changed it to 0 in 70ddc853

11 years agoFixed refcounted on INTERNED string
Xinchen Hui [Thu, 6 Mar 2014 15:18:48 +0000 (23:18 +0800)]
Fixed refcounted on INTERNED string

11 years agoTo be consistent with old PHP in is_callable(do we really need it?)
Xinchen Hui [Thu, 6 Mar 2014 15:16:06 +0000 (23:16 +0800)]
To be consistent with old PHP in is_callable(do we really need it?)

11 years agoFixed ArrayAccess behavior
Dmitry Stogov [Thu, 6 Mar 2014 13:59:17 +0000 (17:59 +0400)]
Fixed ArrayAccess behavior

11 years agoFixed possible HashTable modification in its destructor
Dmitry Stogov [Thu, 6 Mar 2014 12:53:13 +0000 (16:53 +0400)]
Fixed possible HashTable modification in its destructor

11 years agoFixed uninitialized value
Dmitry Stogov [Thu, 6 Mar 2014 12:09:00 +0000 (16:09 +0400)]
Fixed uninitialized value

11 years agoFixed string offset handling
Dmitry Stogov [Thu, 6 Mar 2014 12:00:38 +0000 (16:00 +0400)]
Fixed string offset handling

11 years agoFixed wrong fix for tmpbuf
Xinchen Hui [Thu, 6 Mar 2014 11:22:59 +0000 (19:22 +0800)]
Fixed wrong fix for tmpbuf

11 years agoFixed IS_REFERENCE handling
Xinchen Hui [Thu, 6 Mar 2014 11:07:59 +0000 (19:07 +0800)]
Fixed IS_REFERENCE handling

11 years agoFixed wrong merges
Xinchen Hui [Thu, 6 Mar 2014 11:06:05 +0000 (19:06 +0800)]
Fixed wrong merges

11 years agoMerge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Xinchen Hui [Thu, 6 Mar 2014 11:03:22 +0000 (19:03 +0800)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2

Conflicts:
ext/standard/formatted_print.c

11 years agoFixed memory leak in ext/standard/tests/strings/str_word_count.php
Xinchen Hui [Thu, 6 Mar 2014 11:00:51 +0000 (19:00 +0800)]
Fixed memory leak in ext/standard/tests/strings/str_word_count.php

11 years agoFixed memory leak in ext/standard/tests/time/strptime_parts.php
Xinchen Hui [Thu, 6 Mar 2014 10:51:20 +0000 (18:51 +0800)]
Fixed memory leak in ext/standard/tests/time/strptime_parts.php

11 years agoFixed memory leak in vfprintf
Xinchen Hui [Thu, 6 Mar 2014 10:47:43 +0000 (18:47 +0800)]
Fixed memory leak in vfprintf

11 years agoFixed memory leak
Dmitry Stogov [Thu, 6 Mar 2014 10:42:16 +0000 (14:42 +0400)]
Fixed memory leak

11 years agoFixed memory leak in getimagesize
Xinchen Hui [Thu, 6 Mar 2014 10:30:32 +0000 (18:30 +0800)]
Fixed memory leak in getimagesize

11 years agoFixed memory leaks
Dmitry Stogov [Thu, 6 Mar 2014 10:29:36 +0000 (14:29 +0400)]
Fixed memory leaks

11 years agoIS_REFERENCE is unfrequent
Xinchen Hui [Thu, 6 Mar 2014 10:23:16 +0000 (18:23 +0800)]
IS_REFERENCE is unfrequent

11 years agoMerge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Xinchen Hui [Thu, 6 Mar 2014 10:07:42 +0000 (18:07 +0800)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2

11 years agoFixed memory leak in vsprintf
Xinchen Hui [Thu, 6 Mar 2014 10:06:41 +0000 (18:06 +0800)]
Fixed memory leak in vsprintf

11 years agoFixed IS_REFERENCE support
Dmitry Stogov [Thu, 6 Mar 2014 09:59:15 +0000 (13:59 +0400)]
Fixed IS_REFERENCE support

11 years agoMerge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Xinchen Hui [Thu, 6 Mar 2014 09:39:00 +0000 (17:39 +0800)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2

11 years agoMerge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Xinchen Hui [Thu, 6 Mar 2014 09:33:22 +0000 (17:33 +0800)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2

11 years agoInternal functions may return (e.g. on wrong arguments) keeping the original return_v...
Dmitry Stogov [Thu, 6 Mar 2014 09:32:43 +0000 (13:32 +0400)]
Internal functions may return (e.g. on wrong arguments) keeping the original return_value. So we have to initialize return_value as IS_NULL.

11 years agoFixed refcounting
Dmitry Stogov [Thu, 6 Mar 2014 09:32:26 +0000 (13:32 +0400)]
Fixed refcounting

11 years agoFixed ArrayAccess handling
Dmitry Stogov [Thu, 6 Mar 2014 09:11:23 +0000 (13:11 +0400)]
Fixed ArrayAccess handling

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

11 years agoIS_REFERENCE with refcount==1 should be handled as ordinal value
Dmitry Stogov [Thu, 6 Mar 2014 08:37:46 +0000 (12:37 +0400)]
IS_REFERENCE with refcount==1 should be handled as ordinal value

11 years agoMerge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Xinchen Hui [Thu, 6 Mar 2014 06:17:49 +0000 (14:17 +0800)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2

11 years agoFixed passing reference by value in call_user_func()
Dmitry Stogov [Wed, 5 Mar 2014 21:04:28 +0000 (01:04 +0400)]
Fixed passing reference by value in call_user_func()

11 years agoFixed Generator::throw()
Dmitry Stogov [Wed, 5 Mar 2014 20:45:53 +0000 (00:45 +0400)]
Fixed Generator::throw()

11 years agoFixed support for undefined constants in RECV_INIT
Dmitry Stogov [Wed, 5 Mar 2014 20:15:56 +0000 (00:15 +0400)]
Fixed support for undefined constants in RECV_INIT

11 years agoFixed "foreach ($reference as $val)"
Dmitry Stogov [Wed, 5 Mar 2014 19:22:50 +0000 (23:22 +0400)]
Fixed "foreach ($reference as $val)"

11 years agoFixed zend_is_true to support IS_REFERENCE
Xinchen Hui [Wed, 5 Mar 2014 14:31:02 +0000 (22:31 +0800)]
Fixed zend_is_true to support IS_REFERENCE

11 years agoInvalid free of args("+")
Xinchen Hui [Wed, 5 Mar 2014 14:19:02 +0000 (22:19 +0800)]
Invalid free of args("+")

11 years agoFixed hidden property handling
Dmitry Stogov [Wed, 5 Mar 2014 13:57:21 +0000 (17:57 +0400)]
Fixed hidden property handling

11 years agoIt's not possible to create reference to string-offset
Dmitry Stogov [Wed, 5 Mar 2014 13:32:23 +0000 (17:32 +0400)]
It's not possible to create reference to string-offset

11 years agoFixed array_nultisort() to support IS_REFERENCE
Dmitry Stogov [Wed, 5 Mar 2014 13:23:40 +0000 (17:23 +0400)]
Fixed array_nultisort() to support IS_REFERENCE

11 years agoFixed by reference parameter passing from internal functions
Dmitry Stogov [Wed, 5 Mar 2014 12:17:00 +0000 (16:17 +0400)]
Fixed by reference parameter passing from internal functions