summaryrefslogtreecommitdiff
path: root/Zend/zend_iterators.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused Git attributes identPeter Kokot2018-07-251-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.
* Keep initialized object_handlers structures in read-only memory.Dmitry Stogov2018-03-141-1/+1
|
* year++Xinchen Hui2018-01-021-1/+1
|
* Encapsulate reference-counting primitives.Dmitry Stogov2017-10-271-1/+1
| | | | | | Prohibit direct update of GC_REFCOUNT(), GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF() shoukf be instead. Added mactros to validate reference-counting (disabled for now). These macros are going to be used to eliminate race-condintions during reference-counting on data shared between threads.
* further sync for vim mode linesAnatol Belski2017-07-041-0/+2
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|
* Replaced wrong check with proper ZEND_ASSERT()Dmitry Stogov2016-06-081-2/+2
|
* bump year which is missed in rev 49493a2Xinchen Hui2016-01-021-1/+1
|
* Get rid of implicit type casting in GC_*() macros in Zend/zend_types.h.Dmitry Stogov2015-08-131-1/+1
| | | | | | This prevented compilation warnings and disclosed few incorrect usages in Zend/zend_vm_def.h and ext/dom/xpath.c. Now explicit type casting may be required on call site. This may break some C extension code, but it shoulfn't be a problem to add explicit casting.
* bump yearXinchen Hui2015-01-151-1/+1
|
* trailing whitespace removalStanislav Malyshev2015-01-101-1/+1
|
* first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-11/+11
|
* Fixed compilation warningsDmitry Stogov2014-12-121-1/+6
|
* Remove Z_OBJ_CLASS_NAME_PNikita Popov2014-10-091-1/+0
| | | | | Doesn't make much sense anymore, now that get_class_entry is gone.
* Optimized FE_RESET and FE_FETCHDmitry Stogov2014-09-161-21/+5
|
* dtor handler must be setDmitry Stogov2014-08-211-2/+7
|
* Cleanup (1-st round)Dmitry Stogov2014-04-151-2/+0
|
* Fix ZTS buildNikita Popov2014-04-091-1/+1
| | | | | This only makes it compile, it doesn't actually work, presumably because interned strings are assumed in some places.
* Fixed destruction of objects and iterators on unclean request shutdown and ↵Dmitry Stogov2014-04-091-0/+1
| | | | | | 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.
* Changed data layout to allow more efficient operationsDmitry Stogov2014-04-021-1/+1
|
* Add zend_iterator_dtorXinchen Hui2014-02-281-0/+9
|
* Fixed iterators API. zend_iterator_init() has to be used in each ↵Dmitry Stogov2014-02-261-4/+3
| | | | get_iterator() callback.
* Generator related fixesDmitry Stogov2014-02-261-1/+3
|
* Use better data structures (incomplete)Dmitry Stogov2014-02-121-14/+7
|
* Use better data structures (incomplete)Dmitry Stogov2014-02-101-4/+8
|
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2012-10-091-0/+0
|\
| * Fixed bug #63236 (Executable permission on various source files)Xinchen Hui2012-10-091-0/+0
| |
| * - Year++Felipe Pena2012-01-011-1/+1
| |
| * - Year++Felipe Pena2011-01-011-1/+1
| |
* | - Year++Felipe Pena2012-01-011-1/+1
| |
* | Fixed ZE specific compile warnings (Bug #55629)Dmitry Stogov2011-09-131-3/+1
| |
* | - Year++Felipe Pena2011-01-011-1/+1
| |
* | - Back the free() call for __iterator_wrapper to free the ce->name, as it is ↵Felipe Pena2010-08-081-0/+4
| | | | | | | | a fake class
* | Use interned strings for class namesDmitry Stogov2010-08-051-2/+0
| |
* | Added a number of small performance tweaks and optimizationsDmitry Stogov2010-04-201-2/+2
|/ | | | | | | . ZEND_RECV now always has IS_CV as its result . ZEND_CATCH now has to be used only with constant class names . ZEND_FETCH_DIM_? may fetch array and dimension operans in a different order
* sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-051-1/+1
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* - MFH as discussedMarcus Boerger2006-05-091-6/+5
| | | | | | | | | | | | | | | | | | | | | . zend_exception_get_default() -> zend_exception_get_default(TSRMLS_D) . zend_get_error_exception() -> zend_get_error_exception(TSRMLS_D) . added E_RECOVERABLE_ERROR . added ZEND_TOSTRING_FUNC_NAME . added __tostring function cache to zend_class_entry . added ZEND_NAMED_ME . modified ZEND_ME_MAPPING to support method flags . added ZEND_MN . method entries now use prefix "zim_" instead of "zif_" . drop EG(ze1_compatibility_mode) . changed cast handler, now without (int should_free): typedef int (*zend_object_cast_t)(zval *readobj, zval *retval, int type TSRMLS_DC); . changed get_iterator, now receives whether value is by ref: zend_object_iterator *(*get_iterator)(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC); . added zend_objects_store_add_ref_by_handle . added zend_objects_store_del_ref_by_handle . convert_to_explicit_type(pzv, type)
* - Update copyright notices to 2006Andi Gutmans2006-01-041-1/+1
|
* Bump up the yearfoobar2005-08-031-1/+1
|
* Add count_elements handler for overloaded objects.Wez Furlong2004-05-041-1/+2
|
* dtor's may not be called from free_storage handlersMarcus Boerger2004-02-141-2/+2
|
* Fix warningsMarcus Boerger2004-02-041-1/+1
|
* Change destructor implementation (details will follow on internals@)Zeev Suraski2004-02-041-2/+2
|
* Respect proeprty visibility in foreachMarcus Boerger2004-01-251-5/+9
|
* - Happy new year and PHP 5 for rest of the files too..foobar2004-01-081-1/+1
| | | | | # Should the LICENSE and Zend/LICENSE dates be updated too?