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