summaryrefslogtreecommitdiff
path: root/Zend/zend_list.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix stream leak in phar cache_listNikita Popov2019-06-251-1/+1
|
* Remove local variablesPeter Kokot2019-02-031-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file.
* Adios, yearly copyright rangesZeev Suraski2019-01-301-1/+1
|
* Replace zend_hash_apply... with ZEND_HASH_FOREACH...Dmitry Stogov2018-12-191-12/+7
|
* Clean up unnecessary ternary expressions and simplify some returnsGabriel Caruso2018-12-031-5/+2
| | | | | | | - Simplify conditions - Use ZEND_HASH_APPLY_* instead of hard-coded booleans - Use ZEND_NORMALIZE_BOOL - Drop sign in favor of ZEND_NORMALIZE_BOOL
* Update email addresses. We're still @Zend, but future proofing it...Zeev Suraski2018-11-011-2/+2
|
* 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.
* Removed "dead" code (zend_hash_update() never fails)Dmitry Stogov2018-06-011-4/+0
|
* Use zend_string_release_ex() instread of zend_string_release() in places, ↵Dmitry Stogov2018-05-281-1/+1
| | | | where we sure about string persistence.
* year++Xinchen Hui2018-01-021-1/+1
|
* Use fastcall calling convention for objects and resources APIDmitry Stogov2017-12-141-4/+4
|
* Fixed memory leaksDmitry Stogov2017-11-021-4/+1
|
* Persistent resources are "thread-local".Dmitry Stogov2017-11-011-0/+30
| | | | Register persistent resources through new functions zend_register_persistent_resource()/zend_register_persistent_resource_ex().
* 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
|
* bump year which is missed in rev 49493a2Xinchen Hui2016-01-021-1/+1
|
* Fix refcount reaching 2^32 - 1 for resourcesBob Weinand2015-10-251-1/+1
| | | | Happens e.g. in proc_close() when nothing is referencing the file handles, e.g. they have refcount 0 when passed to zend_list_close() and then zend_list_delete() which decrements it to (uint32_t) -1
* One less comparisonRasmus Lerdorf2015-07-131-5/+7
|
* Fix potential segfaultRasmus Lerdorf2015-07-131-2/+2
|
* Fixed bug #69485 (Double free on zend_list_dtor).Xinchen Hui2015-04-201-6/+8
|
* found type is unnecessaryXinchen Hui2015-02-021-9/+3
|
* Cleanup resource handling APIsXinchen Hui2015-02-021-51/+71
|
* bump yearXinchen Hui2015-01-151-1/+1
|
* trailing whitespace removalStanislav Malyshev2015-01-101-9/+9
|
* cleanup redundand macrosAnatol Belski2014-12-311-3/+3
|
* first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-37/+35
|
* bring back all the TSRMLS_FETCH() stuffAnatol Belski2014-10-151-0/+3
| | | | for better comparability with the mainstream
* cleanup TSRMLS_FETCHAnatol Belski2014-09-261-3/+0
|
* Use efree_size() instead of efree() where posibleDmitry Stogov2014-08-271-1/+1
|
* Use new zend_hash APIDmitry Stogov2014-05-271-1/+1
|
* Don't use cast (compiler friendly)Xinchen Hui2014-05-261-5/+7
|
* Fixed apply_func_arg_t, and it's better not using cast (compiler friendly)Xinchen Hui2014-05-251-2/+2
|
* Removed support for old-style resource destructors (only ext/soap used it)Dmitry Stogov2014-05-151-49/+4
|
* Fixed resource destructionDmitry Stogov2014-05-081-1/+9
|
* Split IS_BOOL into IS_FALSE and IS_TRUEDmitry Stogov2014-04-301-0/+3
|
* Fixed compilation warningsDmitry Stogov2014-04-221-2/+0
|
* Combine HashTable.flags and HashTable.nApplyCount into single 32-bit wordDmitry Stogov2014-04-211-10/+6
|
* Use ZEND_FETCH_FOREACH_* macros to iterate over HashTables instead of ↵Dmitry Stogov2014-04-181-5/+2
| | | | zend_hash_move_forward() and family.
* fixed persistent reaource destructionDmitry Stogov2014-04-111-3/+21
|
* Introduced API to close all resources at onceDmitry Stogov2014-04-111-58/+49
|
* Changed data layout to allow more efficient operationsDmitry Stogov2014-04-021-2/+2
|
* Refactor ext/mysqlXinchen Hui2014-03-231-1/+1
|
* Resource closing without destructionDmitry Stogov2014-02-271-18/+52
|
* Fixed SegfaultXinchen Hui2014-02-171-4/+4
|
* Use better data structures (incomplete)Dmitry Stogov2014-02-171-3/+10
|
* Use better data structures (incomplete)Dmitry Stogov2014-02-101-127/+76
|
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* - Year++Felipe Pena2012-01-011-1/+1
|