]>
granicus.if.org Git - php/log
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
Dmitry Stogov [Fri, 4 Apr 2014 22:14:17 +0000 (02:14 +0400)]
Avoid double zval copying in ZEND_SEND_VAL and zend_send_by_var_helper
Dmitry Stogov [Fri, 4 Apr 2014 21:56:51 +0000 (01:56 +0400)]
Optimized ZEND_FETCH_DIM_*
Dmitry Stogov [Fri, 4 Apr 2014 15:01:53 +0000 (19:01 +0400)]
Refactored IS_INDIRECT IS_VAR passing between opcodes to avoid reference counting
Dmitry Stogov [Fri, 4 Apr 2014 11:22:41 +0000 (15:22 +0400)]
Tergets of ASSIGN and ASSIGN_REF don't have to be initialized
Dmitry Stogov [Fri, 4 Apr 2014 10:36:34 +0000 (14:36 +0400)]
Optimized RECV_* opcodes
Dmitry Stogov [Thu, 3 Apr 2014 23:55:27 +0000 (03:55 +0400)]
Constant duplication optimization
Argument receiving optimization
Dmitry Stogov [Thu, 3 Apr 2014 22:52:53 +0000 (02:52 +0400)]
Various VM optimizations
Dmitry Stogov [Thu, 3 Apr 2014 12:53:30 +0000 (16:53 +0400)]
ASSIGN_REF optimization
Dmitry Stogov [Thu, 3 Apr 2014 11:26:23 +0000 (15:26 +0400)]
Refactored ZVAL flags usage to simplify various checks (e.g. Z_REFCOUNTED(), candidate for GC, etc)
Dmitry Stogov [Wed, 2 Apr 2014 10:34:44 +0000 (14:34 +0400)]
Changed data layout to allow more efficient operations
Dmitry Stogov [Wed, 2 Apr 2014 08:09:05 +0000 (12:09 +0400)]
Fixed 0 index handling
Dmitry Stogov [Tue, 1 Apr 2014 21:56:16 +0000 (01:56 +0400)]
Avoid unnecessary zval separations
Dmitry Stogov [Tue, 1 Apr 2014 20:48:26 +0000 (00:48 +0400)]
Use "fast" comparison function
Dmitry Stogov [Tue, 1 Apr 2014 19:56:45 +0000 (23:56 +0400)]
Avoid useless memset()
Dmitry Stogov [Tue, 1 Apr 2014 19:44:42 +0000 (23:44 +0400)]
Avoid unnecessary zval separations
Dmitry Stogov [Tue, 1 Apr 2014 19:27:51 +0000 (23:27 +0400)]
Avoid unnecessry reallocations
Dmitry Stogov [Tue, 1 Apr 2014 18:36:17 +0000 (22:36 +0400)]
Avoid unnecessry reallocations
Dmitry Stogov [Tue, 1 Apr 2014 17:19:44 +0000 (21:19 +0400)]
Avoid unnecessry reallocation
Dmitry Stogov [Tue, 1 Apr 2014 14:06:50 +0000 (18:06 +0400)]
Use interned strings for one character strings
Dmitry Stogov [Tue, 1 Apr 2014 13:10:15 +0000 (17:10 +0400)]
Use STR_COPY() instead of STR_DUP() where possible
Dmitry Stogov [Tue, 1 Apr 2014 12:31:03 +0000 (16:31 +0400)]
STR_DUP() doesn't duplicate interned strings anymore. In case new string is required STR_INIT() or STR_ALLOC() should be used.
Dmitry Stogov [Tue, 1 Apr 2014 12:30:13 +0000 (16:30 +0400)]
Store constant flags
Dmitry Stogov [Tue, 1 Apr 2014 10:42:04 +0000 (14:42 +0400)]
Fixed parameter passing
Dmitry Stogov [Tue, 1 Apr 2014 10:35:34 +0000 (14:35 +0400)]
In case the string can't be interned it must not be released
Dmitry Stogov [Tue, 1 Apr 2014 10:20:10 +0000 (14:20 +0400)]
Exclude interned flags from constant flags
Dmitry Stogov [Tue, 1 Apr 2014 10:19:43 +0000 (14:19 +0400)]
Added check for interned strings
Dmitry Stogov [Tue, 1 Apr 2014 09:57:23 +0000 (13:57 +0400)]
Fixed char*/zend_string* mess
Dmitry Stogov [Tue, 1 Apr 2014 09:04:33 +0000 (13:04 +0400)]
Fixed script size calculation
Dmitry Stogov [Tue, 1 Apr 2014 08:20:16 +0000 (12:20 +0400)]
Keep constnat flags
Dmitry Stogov [Tue, 1 Apr 2014 07:44:11 +0000 (11:44 +0400)]
Fixed support for arg_info and type hinfing (TODO: names should be interned)
Dmitry Stogov [Tue, 1 Apr 2014 07:29:22 +0000 (11:29 +0400)]
function_name might be shared across few op_arrays (inherited methods)