]>
granicus.if.org Git - php/log
Xinchen Hui [Tue, 22 Apr 2014 11:10:19 +0000 (19:10 +0800)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Xinchen Hui [Tue, 22 Apr 2014 11:08:58 +0000 (19:08 +0800)]
Fixed segfault cause EG(This) is modified
Dmitry Stogov [Tue, 22 Apr 2014 10:38:00 +0000 (14:38 +0400)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Xinchen Hui [Tue, 22 Apr 2014 10:29:56 +0000 (18:29 +0800)]
USE ZEND_HASH_FOREACH_* macros
Xinchen Hui [Tue, 22 Apr 2014 10:23:47 +0000 (18:23 +0800)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Xinchen Hui [Tue, 22 Apr 2014 10:23:03 +0000 (18:23 +0800)]
Refactor PDO (only compilable now)
Dmitry Stogov [Tue, 22 Apr 2014 09:11:07 +0000 (13:11 +0400)]
Fixed typo
Dmitry Stogov [Tue, 22 Apr 2014 09:10:53 +0000 (13:10 +0400)]
Optimized ZEND_SEND_REF
Dmitry Stogov [Tue, 22 Apr 2014 08:33:00 +0000 (12:33 +0400)]
ZEND_SEND_* optimization
Dmitry Stogov [Tue, 22 Apr 2014 06:11:41 +0000 (10:11 +0400)]
Cache knowledge about missing property_info
Xinchen Hui [Tue, 22 Apr 2014 03:59:53 +0000 (11:59 +0800)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Dmitry Stogov [Mon, 21 Apr 2014 22:34:34 +0000 (02:34 +0400)]
Use shorter call chain
Dmitry Stogov [Mon, 21 Apr 2014 22:03:10 +0000 (02:03 +0400)]
Use fast comparison function
Dmitry Stogov [Mon, 21 Apr 2014 21:41:40 +0000 (01:41 +0400)]
Chiper __autoload() function caching
Dmitry Stogov [Mon, 21 Apr 2014 21:41:09 +0000 (01:41 +0400)]
Avoid string duplication
Dmitry Stogov [Mon, 21 Apr 2014 20:32:29 +0000 (00:32 +0400)]
zend_isset_isempty_dim_prop_obj_handler() split into separate handlers. (Actually, it shared near nothing)
Dmitry Stogov [Mon, 21 Apr 2014 19:32:36 +0000 (23:32 +0400)]
Reverted chunk committed by mistake
Dmitry Stogov [Mon, 21 Apr 2014 19:30:19 +0000 (23:30 +0400)]
Handle references in "slow path"
Dmitry Stogov [Mon, 21 Apr 2014 18:36:01 +0000 (22:36 +0400)]
Convert zval_get_string() into "fast path" macro and "slow path" function
Dmitry Stogov [Mon, 21 Apr 2014 17:39:15 +0000 (21:39 +0400)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Dmitry Stogov [Mon, 21 Apr 2014 17:38:44 +0000 (21:38 +0400)]
Fast path for pre/post inc/dec
Nikita Popov [Mon, 21 Apr 2014 15:51:15 +0000 (17:51 +0200)]
Use zval_get_string in a few more places
Nikita Popov [Mon, 21 Apr 2014 15:12:10 +0000 (17:12 +0200)]
Use zval_get_string in print_zval and propagate TSRMLS
Nikita Popov [Mon, 21 Apr 2014 15:10:35 +0000 (17:10 +0200)]
Bring zval_get_string implement in line with make_printable_zval
As make_printable_zval is the "main" string cast, match that one.
Dmitry Stogov [Mon, 21 Apr 2014 14:25:34 +0000 (18:25 +0400)]
Combine HashTable.flags and HashTable.nApplyCount into single 32-bit word
Dmitry Stogov [Mon, 21 Apr 2014 12:34:40 +0000 (16:34 +0400)]
Cleanup
Dmitry Stogov [Mon, 21 Apr 2014 11:18:19 +0000 (15:18 +0400)]
Use alloca() for temporary allocation
Dmitry Stogov [Mon, 21 Apr 2014 11:18:05 +0000 (15:18 +0400)]
Inline simple function
Dmitry Stogov [Mon, 21 Apr 2014 11:17:48 +0000 (15:17 +0400)]
Removed duplicate code
Dmitry Stogov [Mon, 21 Apr 2014 10:20:05 +0000 (14:20 +0400)]
Use ZEND_HASH_FOREACH_* macros
Dmitry Stogov [Mon, 21 Apr 2014 09:55:25 +0000 (13:55 +0400)]
Use ZEND_HASH_FOEACH_* instead of zend_hash_apply_*
Dmitry Stogov [Mon, 21 Apr 2014 09:19:52 +0000 (13:19 +0400)]
Avoid useles copy ctor
Xinchen Hui [Mon, 21 Apr 2014 06:14:00 +0000 (14:14 +0800)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Dmitry Stogov [Fri, 18 Apr 2014 20:08:14 +0000 (00:08 +0400)]
More ZEND_HASH_FOREACH_* related changes
Dmitry Stogov [Fri, 18 Apr 2014 17:49:07 +0000 (21:49 +0400)]
ZEND_HASH_FOREACH_* usage
Dmitry Stogov [Fri, 18 Apr 2014 15:20:39 +0000 (19:20 +0400)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Nikita Popov [Fri, 18 Apr 2014 15:19:46 +0000 (17:19 +0200)]
Revert "Fix include/eval with custom zend_execute"
This reverts commit
ead8a6636d5f3fc01397addfcbd87b56e79f5b89 .
Nikita Popov [Fri, 18 Apr 2014 15:19:31 +0000 (17:19 +0200)]
Revert "Fix zend_eval_string (and as such assert + dom tests)"
This reverts commit
64cc5a72e2695962676c6fe4a96779d554d4ab24 .
Dmitry Stogov [Fri, 18 Apr 2014 15:18:11 +0000 (19:18 +0400)]
Use ZEND_FETCH_FOREACH_* macros to iterate over HashTables instead of zend_hash_move_forward() and family.
Nikita Popov [Fri, 18 Apr 2014 12:35:59 +0000 (14:35 +0200)]
Fix zend_eval_string (and as such assert + dom tests)
Nikita Popov [Fri, 18 Apr 2014 11:44:19 +0000 (13:44 +0200)]
Fix include/eval with custom zend_execute
Dmitry Stogov [Fri, 18 Apr 2014 09:46:36 +0000 (13:46 +0400)]
Optimized zend_leave_helper()
Nikita Popov [Thu, 17 Apr 2014 22:09:41 +0000 (00:09 +0200)]
Fix libxml external entity loading
Nikita Popov [Thu, 17 Apr 2014 22:03:38 +0000 (00:03 +0200)]
Move libxml_destroy_fci to RSHUTDOWN
If this is only done in post shutdown and the function name is
an object (e.g. closure), the object will already be freed during
zend_deactivate.
I left the rest of the shutdown procedure in post shutdown, as it
presumably has a reason to be there...
Nikita Popov [Thu, 17 Apr 2014 21:29:35 +0000 (23:29 +0200)]
Fix libxml/sxe/dom node import/export
Also fix sxe zts.
Dmitry Stogov [Thu, 17 Apr 2014 17:15:02 +0000 (21:15 +0400)]
Optimize CASE(TRUE, X) into BOOL(X) (this pattern affects wordpress)
Dmitry Stogov [Thu, 17 Apr 2014 13:21:59 +0000 (17:21 +0400)]
Fixed support for references
Dmitry Stogov [Thu, 17 Apr 2014 12:36:04 +0000 (16:36 +0400)]
Cache op_array->run_time_cache in zend_execute_data for faster access
Dmitry Stogov [Thu, 17 Apr 2014 12:10:16 +0000 (16:10 +0400)]
Use local variables instead of opline operands to access cache_slots
Dmitry Stogov [Thu, 17 Apr 2014 11:40:45 +0000 (15:40 +0400)]
Moved zend_literal->cache_slot right into zval.
It should be accessed using Z_CACHE_SLOT() macro.
zend_literal structure is removed.
API functions that accepted pointer to zend_literal now accept pointer to zval or cache_slot directly.
Calls of such functiond that now accept cache_slot need to be changed to pass -1 instead of NULL.
Dmitry Stogov [Thu, 17 Apr 2014 07:12:47 +0000 (11:12 +0400)]
Fixed ZEND_CAST related optimizations (now it returns IS_VAR instead of IS_TMP_VAR)
Dmitry Stogov [Wed, 16 Apr 2014 22:12:52 +0000 (02:12 +0400)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Dmitry Stogov [Wed, 16 Apr 2014 22:12:06 +0000 (02:12 +0400)]
Fixed support for unspecialized and GOTO and SWITCH executor
Nikita Popov [Wed, 16 Apr 2014 20:39:01 +0000 (22:39 +0200)]
Don't copy in ZEND_CAST if type is already correct
Dmitry Stogov [Wed, 16 Apr 2014 18:42:37 +0000 (22:42 +0400)]
Prevented modification of original name
Dmitry Stogov [Wed, 16 Apr 2014 18:42:15 +0000 (22:42 +0400)]
Prevented modification of interned string
Dmitry Stogov [Wed, 16 Apr 2014 18:41:07 +0000 (22:41 +0400)]
op_array->function_name, op_array->doc_comments and op_array->filename may be kept in opcache SHM
Dmitry Stogov [Wed, 16 Apr 2014 18:39:23 +0000 (22:39 +0400)]
op_array->filename and op_array->filename may be kept in opcache SHM
Dmitry Stogov [Wed, 16 Apr 2014 17:31:32 +0000 (21:31 +0400)]
Prevented modification of constant arguments
Dmitry Stogov [Wed, 16 Apr 2014 17:01:11 +0000 (21:01 +0400)]
Prevented unintended SHM modification
Dmitry Stogov [Wed, 16 Apr 2014 16:59:02 +0000 (20:59 +0400)]
Prevented modification of interned string
Nikita Popov [Wed, 16 Apr 2014 15:12:22 +0000 (17:12 +0200)]
Finish DOM port
All tests pass now
Nikita Popov [Wed, 16 Apr 2014 14:57:05 +0000 (16:57 +0200)]
Fix remaining XPath issue
Nikita Popov [Wed, 16 Apr 2014 13:52:59 +0000 (15:52 +0200)]
Mostly fix Dom XPath
Xinchen Hui [Wed, 16 Apr 2014 14:33:22 +0000 (22:33 +0800)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Dmitry Stogov [Wed, 16 Apr 2014 14:06:03 +0000 (18:06 +0400)]
Fixed reference counting
Dmitry Stogov [Wed, 16 Apr 2014 13:06:25 +0000 (17:06 +0400)]
Fixed reference counting
Dmitry Stogov [Wed, 16 Apr 2014 12:35:41 +0000 (16:35 +0400)]
Fixed typo
Dmitry Stogov [Wed, 16 Apr 2014 12:28:27 +0000 (16:28 +0400)]
Set reference values of reference counters of not-interned strings when they are restored from SHM
Dmitry Stogov [Wed, 16 Apr 2014 12:28:11 +0000 (16:28 +0400)]
Fixed reference counting
Dmitry Stogov [Wed, 16 Apr 2014 10:15:24 +0000 (14:15 +0400)]
Fixed reference counting
Xinchen Hui [Wed, 16 Apr 2014 10:08:08 +0000 (18:08 +0800)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Dmitry Stogov [Wed, 16 Apr 2014 09:59:49 +0000 (13:59 +0400)]
Fixed memory leaks
Dmitry Stogov [Wed, 16 Apr 2014 09:36:38 +0000 (13:36 +0400)]
Fixed non-interned strings refcounting
Xinchen Hui [Wed, 16 Apr 2014 09:28:11 +0000 (17:28 +0800)]
Refactor PDO (incompleted)
Dmitry Stogov [Wed, 16 Apr 2014 08:33:25 +0000 (12:33 +0400)]
Fixed reference counting
Dmitry Stogov [Wed, 16 Apr 2014 08:28:20 +0000 (12:28 +0400)]
Removed invalid STR_RELEASE()
Dmitry Stogov [Wed, 16 Apr 2014 08:08:16 +0000 (12:08 +0400)]
Fixed reference support
Dmitry Stogov [Wed, 16 Apr 2014 08:07:58 +0000 (12:07 +0400)]
Fixed refcounting
Dmitry Stogov [Wed, 16 Apr 2014 08:07:21 +0000 (12:07 +0400)]
Fixed zend_string/char mess
Dmitry Stogov [Tue, 15 Apr 2014 21:46:07 +0000 (01:46 +0400)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Dmitry Stogov [Tue, 15 Apr 2014 21:45:40 +0000 (01:45 +0400)]
Cleanup
Nikita Popov [Tue, 15 Apr 2014 19:14:40 +0000 (21:14 +0200)]
Make DOM mostly work
Dmitry Stogov [Tue, 15 Apr 2014 18:44:21 +0000 (22:44 +0400)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Dmitry Stogov [Tue, 15 Apr 2014 18:43:18 +0000 (22:43 +0400)]
Reduced memory realocations
Nikita Popov [Tue, 15 Apr 2014 18:30:41 +0000 (20:30 +0200)]
Make DOM compile
Just make it compile, not work yet...
Nikita Popov [Tue, 15 Apr 2014 16:33:38 +0000 (18:33 +0200)]
Add functions for extracting long/double/string from zval
These function get the long / double / string value of a zval with
usual cast semantics, but without actually modifying the zval.
Didn't go on a killing spree for convert_to_* yet...
Nikita Popov [Tue, 15 Apr 2014 15:41:13 +0000 (17:41 +0200)]
Start working on dom extension
Nowhere near compiling yet...
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