]>
granicus.if.org Git - php/log
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)
Dmitry Stogov [Tue, 1 Apr 2014 07:04:12 +0000 (11:04 +0400)]
Fixed optimizer
Dmitry Stogov [Mon, 31 Mar 2014 21:53:33 +0000 (01:53 +0400)]
Fixed optimizer (incomplete)
Dmitry Stogov [Mon, 31 Mar 2014 20:50:25 +0000 (00:50 +0400)]
Fixed interned strings support
Dmitry Stogov [Mon, 31 Mar 2014 19:38:37 +0000 (23:38 +0400)]
fixes
Dmitry Stogov [Mon, 31 Mar 2014 14:13:16 +0000 (18:13 +0400)]
Optimizer related fixes (incomplete)
Dmitry Stogov [Mon, 31 Mar 2014 12:09:45 +0000 (16:09 +0400)]
fixed craches at request shutdown and memory leaks
Dmitry Stogov [Mon, 31 Mar 2014 09:11:58 +0000 (13:11 +0400)]
Make opcache work (incomplete - optimizer doesn't work yet; crashes on request shutdown)
Xinchen Hui [Sun, 30 Mar 2014 09:53:17 +0000 (17:53 +0800)]
Fixed null pointer dereference
Xinchen Hui [Sun, 30 Mar 2014 09:50:42 +0000 (17:50 +0800)]
Fixed smart_str_setl
Xinchen Hui [Sat, 29 Mar 2014 12:17:59 +0000 (20:17 +0800)]
Fixed retval for ps_call_handler
Xinchen Hui [Sat, 29 Mar 2014 09:40:34 +0000 (17:40 +0800)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Xinchen Hui [Sat, 29 Mar 2014 09:39:26 +0000 (17:39 +0800)]
Refactor session (incompleted)
Dmitry Stogov [Fri, 28 Mar 2014 19:34:49 +0000 (23:34 +0400)]
ext/opcache refactoring (incomplete)
Xinchen Hui [Fri, 28 Mar 2014 10:46:25 +0000 (18:46 +0800)]
Refactor session (incompleted)
Dmitry Stogov [Thu, 27 Mar 2014 22:11:22 +0000 (02:11 +0400)]
Refactored data structures to keep zend_object* instead of a whole zval in some places
Dmitry Stogov [Thu, 27 Mar 2014 14:14:57 +0000 (18:14 +0400)]
Fixed support for references & cleanup
Dmitry Stogov [Thu, 27 Mar 2014 14:14:42 +0000 (18:14 +0400)]
cleanup
Dmitry Stogov [Thu, 27 Mar 2014 12:43:40 +0000 (16:43 +0400)]
Fixed memory leak
Dmitry Stogov [Thu, 27 Mar 2014 12:00:25 +0000 (16:00 +0400)]
Use CV variable offset instead of CV variable number
Dmitry Stogov [Thu, 27 Mar 2014 10:55:52 +0000 (14:55 +0400)]
Cleanup
Dmitry Stogov [Thu, 27 Mar 2014 09:39:09 +0000 (13:39 +0400)]
Use ZVAL_DEREF() macro
Dmitry Stogov [Thu, 27 Mar 2014 07:50:45 +0000 (11:50 +0400)]
Replaced (Z_TYPE(x) == IS_REFERENCE) with (Z_ISREF(x))
Dmitry Stogov [Thu, 27 Mar 2014 07:40:59 +0000 (11:40 +0400)]
Typo
Dmitry Stogov [Thu, 27 Mar 2014 07:19:34 +0000 (11:19 +0400)]
Inlined "slow" CV lookup code (now it's cheap)
Removed expectations for undefined CV acess for BP_VAR_W and BP_VAR_IS modes
Dmitry Stogov [Wed, 26 Mar 2014 20:05:06 +0000 (00:05 +0400)]
Fixed support for references
Dmitry Stogov [Wed, 26 Mar 2014 20:04:50 +0000 (00:04 +0400)]
Fixed symbol table detaching
Dmitry Stogov [Wed, 26 Mar 2014 18:52:28 +0000 (22:52 +0400)]
Fixed extract() support IS_INDIRECT
Dmitry Stogov [Wed, 26 Mar 2014 18:06:44 +0000 (22:06 +0400)]
fixed support for references
Xinchen Hui [Wed, 26 Mar 2014 15:25:26 +0000 (23:25 +0800)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Xinchen Hui [Wed, 26 Mar 2014 15:23:54 +0000 (23:23 +0800)]
Refactor session (incompleted)
Dmitry Stogov [Wed, 26 Mar 2014 14:07:31 +0000 (18:07 +0400)]
Refactored IS_INDIRECT usage for CV and object properties to support HashTable resizing
Dmitry Stogov [Tue, 25 Mar 2014 20:01:33 +0000 (00:01 +0400)]
Fixed test (scalar values don't have reference counters...)
Xinchen Hui [Mon, 24 Mar 2014 09:14:29 +0000 (17:14 +0800)]
Fixed segfault due to incompleted refactoring
Xinchen Hui [Mon, 24 Mar 2014 06:31:03 +0000 (14:31 +0800)]
It's a tradition return NULL on error of args parsing
Xinchen Hui [Mon, 24 Mar 2014 06:06:35 +0000 (14:06 +0800)]
Fixed smart_str0 for empty str(more friendly for user?)
Xinchen Hui [Mon, 24 Mar 2014 05:57:59 +0000 (13:57 +0800)]
Fixed memleak temporary
Xinchen Hui [Mon, 24 Mar 2014 05:56:27 +0000 (13:56 +0800)]
Fixed encoding list building while array arg
Xinchen Hui [Mon, 24 Mar 2014 05:45:18 +0000 (13:45 +0800)]
Fixed tests (mysqlnd only)
Xinchen Hui [Mon, 24 Mar 2014 04:37:05 +0000 (12:37 +0800)]
Refactor mbstring (incompleted)
Xinchen Hui [Sun, 23 Mar 2014 15:38:32 +0000 (23:38 +0800)]
Refactor mbstring (incompleted)
Xinchen Hui [Sun, 23 Mar 2014 11:45:48 +0000 (19:45 +0800)]
Refactor mbstring (incompleted)
Xinchen Hui [Sun, 23 Mar 2014 03:30:09 +0000 (11:30 +0800)]
Refactor ext/mysql
Dmitry Stogov [Fri, 21 Mar 2014 22:40:41 +0000 (02:40 +0400)]
Fixed wrong assignment
Dmitry Stogov [Fri, 21 Mar 2014 21:13:15 +0000 (01:13 +0400)]
Fixed refcounting
Dmitry Stogov [Fri, 21 Mar 2014 20:00:20 +0000 (00:00 +0400)]
Fixed refcounting
Dmitry Stogov [Fri, 21 Mar 2014 17:48:38 +0000 (21:48 +0400)]
Cleanup
Dmitry Stogov [Fri, 21 Mar 2014 17:36:46 +0000 (21:36 +0400)]
don't mark zvals as rotts if they are already processed by GC
Dmitry Stogov [Fri, 21 Mar 2014 17:35:47 +0000 (21:35 +0400)]
cosure->debug_info is not a subject for GC
Dmitry Stogov [Fri, 21 Mar 2014 17:34:15 +0000 (21:34 +0400)]
Fixed reference counting
Dmitry Stogov [Fri, 21 Mar 2014 12:37:53 +0000 (16:37 +0400)]
Typo
Dmitry Stogov [Fri, 21 Mar 2014 11:43:53 +0000 (15:43 +0400)]
Fixed CV IS_INDIRECT support
Dmitry Stogov [Fri, 21 Mar 2014 11:33:08 +0000 (15:33 +0400)]
Fixed refcounting
Dmitry Stogov [Fri, 21 Mar 2014 11:32:02 +0000 (15:32 +0400)]
don't keep useless objects till the end of the script (destroy them immediately)
Dmitry Stogov [Fri, 21 Mar 2014 09:51:18 +0000 (13:51 +0400)]
Fixed static data cleanup
Dmitry Stogov [Fri, 21 Mar 2014 08:07:27 +0000 (12:07 +0400)]
Fixed refcounting
Dmitry Stogov [Fri, 21 Mar 2014 07:33:20 +0000 (11:33 +0400)]
Fixed refcounting