]>
granicus.if.org Git - php/log
Dmitry Stogov [Tue, 15 Apr 2014 18:43:18 +0000 (22:43 +0400)]
Reduced memory realocations
Dmitry Stogov [Tue, 15 Apr 2014 18:10:39 +0000 (22:10 +0400)]
Use zend_string* instead of char*
Dmitry Stogov [Tue, 15 Apr 2014 17:56:30 +0000 (21:56 +0400)]
Cleanup (2-nd round)
Dmitry Stogov [Tue, 15 Apr 2014 11:50:34 +0000 (15:50 +0400)]
Fixed memory leak
Dmitry Stogov [Tue, 15 Apr 2014 11:40:40 +0000 (15:40 +0400)]
Cleanup (1-st round)
Dmitry Stogov [Tue, 15 Apr 2014 07:13:23 +0000 (11:13 +0400)]
Fixed support for references
Xinchen Hui [Tue, 15 Apr 2014 06:38:38 +0000 (14:38 +0800)]
Fixed invaid write/read
Xinchen Hui [Tue, 15 Apr 2014 03:10:39 +0000 (11:10 +0800)]
Fixed return uninitialized_zval
Xinchen Hui [Tue, 15 Apr 2014 03:09:04 +0000 (11:09 +0800)]
Fixed Typo
Xinchen Hui [Tue, 15 Apr 2014 03:05:03 +0000 (11:05 +0800)]
Fixed zend_object_get_t in simpleXML
Dmitry Stogov [Mon, 14 Apr 2014 21:27:21 +0000 (01:27 +0400)]
Fixed test (support for MarinaDB)
Dmitry Stogov [Mon, 14 Apr 2014 21:16:09 +0000 (01:16 +0400)]
Fixed reference counting
Dmitry Stogov [Mon, 14 Apr 2014 20:21:41 +0000 (00:21 +0400)]
Fixed memory leak
Dmitry Stogov [Mon, 14 Apr 2014 19:53:25 +0000 (23:53 +0400)]
Fixed memory leak
Dmitry Stogov [Mon, 14 Apr 2014 19:01:02 +0000 (23:01 +0400)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Dmitry Stogov [Mon, 14 Apr 2014 18:43:33 +0000 (22:43 +0400)]
The test works out of the box
Dmitry Stogov [Mon, 14 Apr 2014 18:41:42 +0000 (22:41 +0400)]
Fixed nested GC calls (valgrind error in Zend/tests/gc_016.phpt)
Xinchen Hui [Mon, 14 Apr 2014 16:36:32 +0000 (00:36 +0800)]
Fixed SXE iterator(14 tests fail)
Xinchen Hui [Mon, 14 Apr 2014 16:10:59 +0000 (00:10 +0800)]
Fixed sxe object clone
Xinchen Hui [Mon, 14 Apr 2014 16:06:54 +0000 (00:06 +0800)]
Fixed double free
Xinchen Hui [Mon, 14 Apr 2014 15:40:21 +0000 (23:40 +0800)]
Fixed libxml handling default context
Xinchen Hui [Mon, 14 Apr 2014 11:27:55 +0000 (19:27 +0800)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Xinchen Hui [Mon, 14 Apr 2014 11:27:22 +0000 (19:27 +0800)]
Refactor simpleXML (compilable, but incompleted)
Dmitry Stogov [Mon, 14 Apr 2014 11:11:05 +0000 (15:11 +0400)]
Fixed passing arguments by reference into array_walk() callbacks.
Dmitry Stogov [Mon, 14 Apr 2014 09:24:43 +0000 (13:24 +0400)]
Fixed interface constants inheritance.
Now we use IS_REFERENCE for inhereted class constants.
I might miss some edje cases.
Nikita Popov [Sun, 13 Apr 2014 13:00:32 +0000 (15:00 +0200)]
Copy varname before unset
Otherwise we get issues when the varname variable coincides with
the variable that is deleted.
Dmitry Stogov [Fri, 11 Apr 2014 20:50:36 +0000 (00:50 +0400)]
Temporary fix for Zend/tests/bug46238.phpt
Dmitry Stogov [Fri, 11 Apr 2014 19:25:50 +0000 (23:25 +0400)]
Fixed test (now string data allocated together with zend_string structure)
Dmitry Stogov [Fri, 11 Apr 2014 19:04:47 +0000 (23:04 +0400)]
Fixed test (order of variables doesn't mater)
Nikita Popov [Fri, 11 Apr 2014 17:53:14 +0000 (19:53 +0200)]
Fix argument unpacking
Dmitry Stogov [Fri, 11 Apr 2014 14:16:03 +0000 (18:16 +0400)]
for some reason gcc -O2 compiled the previous code in unexpected way
Dmitry Stogov [Fri, 11 Apr 2014 14:15:53 +0000 (18:15 +0400)]
Fixed memory leak
Dmitry Stogov [Fri, 11 Apr 2014 12:48:38 +0000 (16:48 +0400)]
Fixed double free
Dmitry Stogov [Fri, 11 Apr 2014 11:29:37 +0000 (15:29 +0400)]
Fixed memory leaks
Dmitry Stogov [Fri, 11 Apr 2014 11:06:01 +0000 (15:06 +0400)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Dmitry Stogov [Fri, 11 Apr 2014 11:05:12 +0000 (15:05 +0400)]
Fixed support for references
Dmitry Stogov [Fri, 11 Apr 2014 10:47:53 +0000 (14:47 +0400)]
Fixed memory leaks
Dmitry Stogov [Fri, 11 Apr 2014 10:47:38 +0000 (14:47 +0400)]
fixed persistent reaource destruction
Xinchen Hui [Fri, 11 Apr 2014 10:08:11 +0000 (18:08 +0800)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Xinchen Hui [Fri, 11 Apr 2014 10:07:25 +0000 (18:07 +0800)]
Refactor libxml (incompleted)
Dmitry Stogov [Fri, 11 Apr 2014 09:44:23 +0000 (13:44 +0400)]
Fixed srialize()
Dmitry Stogov [Fri, 11 Apr 2014 09:17:59 +0000 (13:17 +0400)]
Fixed tests (added session_destroy() to avoid side effects on the following tests)
Dmitry Stogov [Fri, 11 Apr 2014 08:43:35 +0000 (12:43 +0400)]
Fixed tests (they might fail from time to time because of session GC)
Dmitry Stogov [Fri, 11 Apr 2014 08:43:22 +0000 (12:43 +0400)]
Fixed reference counting
Xinchen Hui [Fri, 11 Apr 2014 08:30:19 +0000 (16:30 +0800)]
No need anymore
Dmitry Stogov [Fri, 11 Apr 2014 07:15:31 +0000 (11:15 +0400)]
Fixed support for references
Xinchen Hui [Fri, 11 Apr 2014 04:54:42 +0000 (12:54 +0800)]
hmm, make it consistent
Xinchen Hui [Fri, 11 Apr 2014 04:53:35 +0000 (12:53 +0800)]
Fixed _php_mbstr_parse_mail_headers
Xinchen Hui [Fri, 11 Apr 2014 04:34:06 +0000 (12:34 +0800)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Dmitry Stogov [Thu, 10 Apr 2014 22:22:00 +0000 (02:22 +0400)]
Close all files and resources before before destroying object storage, because resources may point to objects. (THIS CHANGE MAY BE DANGEROUS)
Dmitry Stogov [Thu, 10 Apr 2014 22:21:06 +0000 (02:21 +0400)]
Introduced API to close all resources at once
Dmitry Stogov [Thu, 10 Apr 2014 19:36:16 +0000 (23:36 +0400)]
Fixed memory leak
Dmitry Stogov [Thu, 10 Apr 2014 19:07:00 +0000 (23:07 +0400)]
Fixed tests (added missing zend.multibyte=On)
Dmitry Stogov [Thu, 10 Apr 2014 18:44:39 +0000 (22:44 +0400)]
fixed serialize()
Dmitry Stogov [Thu, 10 Apr 2014 14:47:47 +0000 (18:47 +0400)]
Fixed suppor for multibyte encoding
Dmitry Stogov [Thu, 10 Apr 2014 14:08:39 +0000 (18:08 +0400)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Dmitry Stogov [Thu, 10 Apr 2014 14:08:11 +0000 (18:08 +0400)]
Fixed unserialize()
Nikita Popov [Thu, 10 Apr 2014 11:50:25 +0000 (13:50 +0200)]
Fix some ZTS issues and leaks
Nikita Popov [Thu, 10 Apr 2014 09:44:45 +0000 (11:44 +0200)]
Port tokenizer extension
Dmitry Stogov [Thu, 10 Apr 2014 08:29:14 +0000 (12:29 +0400)]
Compatibility fix for ext/session/tests/session_id_error3.phpt
Dmitry Stogov [Thu, 10 Apr 2014 08:14:11 +0000 (12:14 +0400)]
Fixed test (it requires ext/hash)
Dmitry Stogov [Thu, 10 Apr 2014 06:38:40 +0000 (10:38 +0400)]
Fixed access to uninitialized data
Xinchen Hui [Thu, 10 Apr 2014 03:57:34 +0000 (11:57 +0800)]
session_id is binary safe now
Dmitry Stogov [Wed, 9 Apr 2014 23:22:06 +0000 (03:22 +0400)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Nikita Popov [Wed, 9 Apr 2014 21:54:03 +0000 (23:54 +0200)]
IS_INTERNED is not always 0 in ZTS
The current implementation chooses to intern "" in ZTS. Either that
should be removed or IS_INTERNED needs to actually check the flag.
Dmitry Stogov [Wed, 9 Apr 2014 21:49:26 +0000 (01:49 +0400)]
var_push_dtor_no_addref() is useles (var_push_dtor() doesn't work properly as well)
Nikita Popov [Wed, 9 Apr 2014 21:00:49 +0000 (23:00 +0200)]
Fix copying of constants for ZTS
Just a quick hack, should probably add an internal_copy_ctor
function for this.
Nikita Popov [Wed, 9 Apr 2014 19:40:01 +0000 (21:40 +0200)]
Fix function copying in ZTS
Still doesn't entirely work :/
Nikita Popov [Wed, 9 Apr 2014 13:51:28 +0000 (15:51 +0200)]
Fix ZTS build
This only makes it compile, it doesn't actually work, presumably
because interned strings are assumed in some places.
Dmitry Stogov [Wed, 9 Apr 2014 21:08:52 +0000 (01:08 +0400)]
Temporary refcounting fix
Dmitry Stogov [Wed, 9 Apr 2014 20:22:13 +0000 (00:22 +0400)]
typo
Dmitry Stogov [Wed, 9 Apr 2014 19:49:58 +0000 (23:49 +0400)]
Fixed ext/spl/tests/iterator_035.phpt
Dmitry Stogov [Wed, 9 Apr 2014 18:31:40 +0000 (22:31 +0400)]
Fixed resource to integer conversion
Dmitry Stogov [Wed, 9 Apr 2014 18:23:22 +0000 (22:23 +0400)]
Fixed macro
Dmitry Stogov [Wed, 9 Apr 2014 14:11:18 +0000 (18:11 +0400)]
Fixed reference counting
Dmitry Stogov [Wed, 9 Apr 2014 13:55:40 +0000 (17:55 +0400)]
Removed useless code
Dmitry Stogov [Wed, 9 Apr 2014 13:08:52 +0000 (17:08 +0400)]
Fixed error reporting
Dmitry Stogov [Wed, 9 Apr 2014 13:02:13 +0000 (17:02 +0400)]
Fixed reference counting
Dmitry Stogov [Wed, 9 Apr 2014 12:48:03 +0000 (16:48 +0400)]
Fixed reference counting
Dmitry Stogov [Wed, 9 Apr 2014 11:26:45 +0000 (15:26 +0400)]
Fixed GC
Dmitry Stogov [Wed, 9 Apr 2014 11:05:22 +0000 (15:05 +0400)]
Fixed reference counting
Dmitry Stogov [Wed, 9 Apr 2014 10:25:35 +0000 (14:25 +0400)]
Fixed ArrayObject::sort() family
Dmitry Stogov [Wed, 9 Apr 2014 09:23:28 +0000 (13:23 +0400)]
Fixed support for IS_INDIRECT and IS_REFERENCE
Dmitry Stogov [Wed, 9 Apr 2014 08:16:21 +0000 (12:16 +0400)]
Use proper size
Dmitry Stogov [Wed, 9 Apr 2014 07:56:48 +0000 (11:56 +0400)]
Fixed NULL pointer dereferencing
Dmitry Stogov [Wed, 9 Apr 2014 07:39:39 +0000 (11:39 +0400)]
Fixed NULL pointer dereferencing
Dmitry Stogov [Wed, 9 Apr 2014 06:47:24 +0000 (10:47 +0400)]
Unset CV before calling zval_ptr_dtor(), because its destructor may bailout and stay CV value in inconsistet state
Dmitry Stogov [Wed, 9 Apr 2014 06:47:03 +0000 (10:47 +0400)]
Fixed generator destruction
Dmitry Stogov [Wed, 9 Apr 2014 05:43:42 +0000 (09:43 +0400)]
Fixed store of "shared" zend_strings
Dmitry Stogov [Tue, 8 Apr 2014 21:50:15 +0000 (01:50 +0400)]
Fixed destruction of objects and iterators on unclean request shutdown and GC (few cases are still unfixed).
Now we destroy objects it two steps. At first - object properties of all objects and only then the objects their selves.
Dmitry Stogov [Mon, 7 Apr 2014 22:25:49 +0000 (02:25 +0400)]
Optimized ASSIGN_OP
Dmitry Stogov [Mon, 7 Apr 2014 20:52:07 +0000 (00:52 +0400)]
IS_CONST can't be a reference
Dmitry Stogov [Mon, 7 Apr 2014 20:38:54 +0000 (00:38 +0400)]
Optimized ZEND_FETCH_R and family
Dmitry Stogov [Mon, 7 Apr 2014 19:14:17 +0000 (23:14 +0400)]
Refactored zend_hash_* iteration API zend_hash_fove_forward_ex(ht, pos) and family require second argument to be real pointer.
&(ht)->nInternalPointer should be passed instead of NULL.
zend_hash_update_current_key() may work only with internal pointer.
Dmitry Stogov [Mon, 7 Apr 2014 14:22:03 +0000 (18:22 +0400)]
Allocate HashTable->arData and HashTable->arHash at once
Dmitry Stogov [Mon, 7 Apr 2014 12:50:41 +0000 (16:50 +0400)]
Cleanup
Dmitry Stogov [Mon, 7 Apr 2014 10:56:34 +0000 (14:56 +0400)]
Optimized ISSET_ISEMPTY_DIM_OBJ
Dmitry Stogov [Mon, 7 Apr 2014 09:31:44 +0000 (13:31 +0400)]
"incremental" hash bucket initialization
Dmitry Stogov [Mon, 7 Apr 2014 08:14:44 +0000 (12:14 +0400)]
don't use memset() for array of zval initialization
Dmitry Stogov [Mon, 7 Apr 2014 06:57:58 +0000 (10:57 +0400)]
Use macros