Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove unused Git attributes ident | Peter Kokot | 2018-07-25 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore. | ||||
* | API cleanup. | Dmitry Stogov | 2018-07-23 | 1 | -40/+25 |
| | | | | | Removed useless filename and lineno arguments, used in DEBUG build. The patch doesn't break source compatibility of public API (only binary compatibility). | ||||
* | rename ref_dtor_func to rc_dtor_func | Xinchen Hui | 2018-07-06 | 1 | -17/+17 |
| | |||||
* | Rename zval_dtor_func and ref_dotr_func | Xinchen Hui | 2018-07-06 | 1 | -17/+17 |
| | |||||
* | Revert "Rename _zval_dtor_func to _ref_dtor_func" | Xinchen Hui | 2018-07-06 | 1 | -17/+17 |
| | | | | This reverts commit a362ae6b12419369c5cbdbb4e924915f9b196ef6. | ||||
* | Rename _zval_dtor_func to _ref_dtor_func | Xinchen Hui | 2018-07-06 | 1 | -17/+17 |
| | |||||
* | API cleanup. Removed unused functions (kept compatibility macros). | Dmitry Stogov | 2018-07-04 | 1 | -81/+19 |
| | |||||
* | Use zend_string_release_ex() instread of zend_string_release() in places, ↵ | Dmitry Stogov | 2018-05-28 | 1 | -2/+3 |
| | | | | where we sure about string persistence. | ||||
* | Added missing debug arguments | Dmitry Stogov | 2018-05-28 | 1 | -2/+2 |
| | |||||
* | Put ZEND_FASTCALL into the proper place. | Dmitry Stogov | 2018-01-16 | 1 | -1/+1 |
| | |||||
* | Optimize zval_dtor_func() | Dmitry Stogov | 2018-01-16 | 1 | -40/+71 |
| | |||||
* | year++ | Xinchen Hui | 2018-01-02 | 1 | -1/+1 |
| | |||||
* | Improved branch prediction and code locality | Dmitry Stogov | 2017-12-14 | 1 | -1/+1 |
| | |||||
* | Added assertion | Dmitry Stogov | 2017-12-07 | 1 | -0/+1 |
| | |||||
* | Removed workaraouns for inconsistent zvals (REFCOUNTED+INTERNED). They ↵ | Dmitry Stogov | 2017-11-03 | 1 | -4/+0 |
| | | | | should be fixed now. | ||||
* | Reverted incomplete fix and too strict asserts. | Dmitry Stogov | 2017-11-01 | 1 | -0/+4 |
| | |||||
* | Change checks that should be always true into ZEND_ASSERT() (some edge cases ↵ | Dmitry Stogov | 2017-10-31 | 1 | -1/+3 |
| | | | | may be trapped here). | ||||
* | AST don't have to be COPYABLE anymore. | Dmitry Stogov | 2017-10-10 | 1 | -2/+0 |
| | |||||
* | Always use IS_CONSTANT_AST (IS_CONSTANT is removed). | Dmitry Stogov | 2017-10-10 | 1 | -7/+1 |
| | |||||
* | Changed zend_ast_ref structure to use only one allocation, removing ↵ | Dmitry Stogov | 2017-10-09 | 1 | -4/+3 |
| | | | | dichotomy between heap/arena ASTs. | ||||
* | Merge branch 'PHP-7.0' into PHP-7.1 | Dmitry Stogov | 2017-09-13 | 1 | -2/+4 |
|\ | | | | | | | | | * PHP-7.0: Properly update string type flags | ||||
| * | Properly update string type flags | Dmitry Stogov | 2017-09-13 | 1 | -2/+4 |
| | | |||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Dmitry Stogov | 2017-09-13 | 1 | -7/+0 |
|\ \ | |/ | | | | | | | * PHP-7.0: Revert "Properly update string type flags" | ||||
| * | Revert "Properly update string type flags" | Dmitry Stogov | 2017-09-13 | 1 | -7/+0 |
| | | | | | | | | This reverts commit 99b1a62d559f993ed02c50e6a4298c4bd2dcd33c. | ||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Dmitry Stogov | 2017-09-12 | 1 | -0/+7 |
|\ \ | |/ | | | | | | | * PHP-7.0: Properly update string type flags | ||||
| * | Properly update string type flags | Dmitry Stogov | 2017-09-12 | 1 | -0/+7 |
| | | |||||
| * | Update copyright headers to 2017 | Sammy Kaye Powers | 2017-01-04 | 1 | -1/+1 |
| | | |||||
| * | Make zval_ptr_dtor / _zval_dtor_func more robust | Nikita Popov | 2016-09-17 | 1 | -11/+10 |
| | | | | | | | | | | | | | | | | | | | | In particular, allow arrays with refcount>1, like we already allow for all other types. _zval_dtor_func is now the same as _zval_dtor_func_for_ptr with an extra refcount decrement check at the start. At this point we might as well drop it... Cherry-pick of ded69ee6e6039d56ee7b65b1a578ed1e3d1859da from PHP-7.1. | ||||
* | | Update copyright headers to 2017 | Sammy Kaye Powers | 2017-01-04 | 1 | -1/+1 |
| | | |||||
* | | Reimplemented Bob's commit bac6fdb0c52c924e726c5a78de8858bf27b6586b without ↵ | Dmitry Stogov | 2016-05-06 | 1 | -52/+0 |
| | | | | | | | | insignificant renaming and white-space changes | ||||
* | | Revert "Refactor zval cleanup into single function" | Dmitry Stogov | 2016-05-06 | 1 | -24/+76 |
| | | | | | | | | This reverts commit bac6fdb0c52c924e726c5a78de8858bf27b6586b. | ||||
* | | Refactor zval cleanup into single function | Bob Weinand | 2016-05-05 | 1 | -76/+24 |
| | | | | | | | | Also use zval_ptr_dtor_nogc() everywhere in Zend in favor of zval_dtor() | ||||
* | | Reset IMMUTABLE flag when copy_ctor'ing AST | Nikita Popov | 2016-04-29 | 1 | -6/+2 |
| | | |||||
* | | Make zval_ptr_dtor / _zval_dtor_func more robust | Nikita Popov | 2016-04-22 | 1 | -11/+10 |
| | | | | | | | | | | | | | | In particular, allow arrays with refcount>1, like we already allow for all other types. _zval_dtor_func is now the same as _zval_dtor_func_for_ptr with an extra refcount decrement check at the start. At this point we might as well drop it... | ||||
* | | Merge branch 'PHP-7.0' | Xinchen Hui | 2016-01-02 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | bump year which is missed in rev 49493a2 | Xinchen Hui | 2016-01-02 | 1 | -1/+1 |
| | | |||||
* | | Introduce BIND_LEXICAL | Nikita Popov | 2015-12-29 | 1 | -53/+0 |
|/ | | | | | | | | | | | This opcodes inserts a local CV into the closure static variable table. This replaces the previous mechanism of having static variables marked as LEXICAL, which perform a symtable lookup during copying. This means a) functions which contain closures no longer have to rebuild their symtable (better performance) and b) we can now track used variables in SSA. | ||||
* | Add myself into list of authors of the most refactored files. | Dmitry Stogov | 2015-08-31 | 1 | -0/+1 |
| | |||||
* | Fixed bug #69521 (Segfault in gc_collect_cycles()). | Xinchen Hui | 2015-07-02 | 1 | -8/+0 |
| | |||||
* | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵ | Dmitry Stogov | 2015-06-30 | 1 | -2/+2 |
| | | | | semantick changes). | ||||
* | Added GC checks and improvements | Dmitry Stogov | 2015-04-17 | 1 | -2/+2 |
| | |||||
* | Use zend_error_noreturn() for fatal errors | Dmitry Stogov | 2015-04-01 | 1 | -2/+2 |
| | |||||
* | Use fastcall calling convention for most critical ZE subsystems. | Dmitry Stogov | 2015-03-13 | 1 | -9/+3 |
| | |||||
* | Removed deprecated paths. Changed "switch" into series of "if". | Dmitry Stogov | 2015-03-03 | 1 | -23/+13 |
| | |||||
* | Make zend_array_destroy() to free the corresponding zend_array | Dmitry Stogov | 2015-02-24 | 1 | -2/+0 |
| | |||||
* | Merged zend_array and HashTable into the single data structure. | Dmitry Stogov | 2015-02-13 | 1 | -28/+16 |
| | | | | | Now each HashTable is also zend_array, so it's refcounted and may be a subject for Copy on Write zend_array_dup() was changed to allocate and return HashTable, instead of taking preallocated HashTable as argument. | ||||
* | Fix resource leak when casting to string | Nikita Popov | 2015-01-24 | 1 | -0/+2 |
| | |||||
* | bump year | Xinchen Hui | 2015-01-15 | 1 | -1/+1 |
| | |||||
* | trailing whitespace removal | Stanislav Malyshev | 2015-01-10 | 1 | -15/+15 |
| | |||||
* | Fix uses of zval_add_ref and add comment on usage | Nikita Popov | 2015-01-05 | 1 | -2/+4 |
| | | | | | | | | zval_add_ref should be used as a copy ctor, after the value was already copied. In particular when used with hash insertions, it should be applied to the return value of the insert function. |