Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix stream leak in phar cache_list | Nikita Popov | 2019-06-25 | 1 | -1/+1 |
| | |||||
* | Remove local variables | Peter Kokot | 2019-02-03 | 1 | -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 ranges | Zeev Suraski | 2019-01-30 | 1 | -1/+1 |
| | |||||
* | Replace zend_hash_apply... with ZEND_HASH_FOREACH... | Dmitry Stogov | 2018-12-19 | 1 | -12/+7 |
| | |||||
* | Clean up unnecessary ternary expressions and simplify some returns | Gabriel Caruso | 2018-12-03 | 1 | -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 Suraski | 2018-11-01 | 1 | -2/+2 |
| | |||||
* | 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. | ||||
* | Removed "dead" code (zend_hash_update() never fails) | Dmitry Stogov | 2018-06-01 | 1 | -4/+0 |
| | |||||
* | Use zend_string_release_ex() instread of zend_string_release() in places, ↵ | Dmitry Stogov | 2018-05-28 | 1 | -1/+1 |
| | | | | where we sure about string persistence. | ||||
* | year++ | Xinchen Hui | 2018-01-02 | 1 | -1/+1 |
| | |||||
* | Use fastcall calling convention for objects and resources API | Dmitry Stogov | 2017-12-14 | 1 | -4/+4 |
| | |||||
* | Fixed memory leaks | Dmitry Stogov | 2017-11-02 | 1 | -4/+1 |
| | |||||
* | Persistent resources are "thread-local". | Dmitry Stogov | 2017-11-01 | 1 | -0/+30 |
| | | | | Register persistent resources through new functions zend_register_persistent_resource()/zend_register_persistent_resource_ex(). | ||||
* | Encapsulate reference-counting primitives. | Dmitry Stogov | 2017-10-27 | 1 | -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 lines | Anatol Belski | 2017-07-04 | 1 | -0/+2 |
| | |||||
* | Update copyright headers to 2017 | Sammy Kaye Powers | 2017-01-02 | 1 | -1/+1 |
| | |||||
* | bump year which is missed in rev 49493a2 | Xinchen Hui | 2016-01-02 | 1 | -1/+1 |
| | |||||
* | Fix refcount reaching 2^32 - 1 for resources | Bob Weinand | 2015-10-25 | 1 | -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 comparison | Rasmus Lerdorf | 2015-07-13 | 1 | -5/+7 |
| | |||||
* | Fix potential segfault | Rasmus Lerdorf | 2015-07-13 | 1 | -2/+2 |
| | |||||
* | Fixed bug #69485 (Double free on zend_list_dtor). | Xinchen Hui | 2015-04-20 | 1 | -6/+8 |
| | |||||
* | found type is unnecessary | Xinchen Hui | 2015-02-02 | 1 | -9/+3 |
| | |||||
* | Cleanup resource handling APIs | Xinchen Hui | 2015-02-02 | 1 | -51/+71 |
| | |||||
* | bump year | Xinchen Hui | 2015-01-15 | 1 | -1/+1 |
| | |||||
* | trailing whitespace removal | Stanislav Malyshev | 2015-01-10 | 1 | -9/+9 |
| | |||||
* | cleanup redundand macros | Anatol Belski | 2014-12-31 | 1 | -3/+3 |
| | |||||
* | first shot remove TSRMLS_* things | Anatol Belski | 2014-12-13 | 1 | -37/+35 |
| | |||||
* | bring back all the TSRMLS_FETCH() stuff | Anatol Belski | 2014-10-15 | 1 | -0/+3 |
| | | | | for better comparability with the mainstream | ||||
* | cleanup TSRMLS_FETCH | Anatol Belski | 2014-09-26 | 1 | -3/+0 |
| | |||||
* | Use efree_size() instead of efree() where posible | Dmitry Stogov | 2014-08-27 | 1 | -1/+1 |
| | |||||
* | Use new zend_hash API | Dmitry Stogov | 2014-05-27 | 1 | -1/+1 |
| | |||||
* | Don't use cast (compiler friendly) | Xinchen Hui | 2014-05-26 | 1 | -5/+7 |
| | |||||
* | Fixed apply_func_arg_t, and it's better not using cast (compiler friendly) | Xinchen Hui | 2014-05-25 | 1 | -2/+2 |
| | |||||
* | Removed support for old-style resource destructors (only ext/soap used it) | Dmitry Stogov | 2014-05-15 | 1 | -49/+4 |
| | |||||
* | Fixed resource destruction | Dmitry Stogov | 2014-05-08 | 1 | -1/+9 |
| | |||||
* | Split IS_BOOL into IS_FALSE and IS_TRUE | Dmitry Stogov | 2014-04-30 | 1 | -0/+3 |
| | |||||
* | Fixed compilation warnings | Dmitry Stogov | 2014-04-22 | 1 | -2/+0 |
| | |||||
* | Combine HashTable.flags and HashTable.nApplyCount into single 32-bit word | Dmitry Stogov | 2014-04-21 | 1 | -10/+6 |
| | |||||
* | Use ZEND_FETCH_FOREACH_* macros to iterate over HashTables instead of ↵ | Dmitry Stogov | 2014-04-18 | 1 | -5/+2 |
| | | | | zend_hash_move_forward() and family. | ||||
* | fixed persistent reaource destruction | Dmitry Stogov | 2014-04-11 | 1 | -3/+21 |
| | |||||
* | Introduced API to close all resources at once | Dmitry Stogov | 2014-04-11 | 1 | -58/+49 |
| | |||||
* | Changed data layout to allow more efficient operations | Dmitry Stogov | 2014-04-02 | 1 | -2/+2 |
| | |||||
* | Refactor ext/mysql | Xinchen Hui | 2014-03-23 | 1 | -1/+1 |
| | |||||
* | Resource closing without destruction | Dmitry Stogov | 2014-02-27 | 1 | -18/+52 |
| | |||||
* | Fixed Segfault | Xinchen Hui | 2014-02-17 | 1 | -4/+4 |
| | |||||
* | Use better data structures (incomplete) | Dmitry Stogov | 2014-02-17 | 1 | -3/+10 |
| | |||||
* | Use better data structures (incomplete) | Dmitry Stogov | 2014-02-10 | 1 | -127/+76 |
| | |||||
* | Bump year | Xinchen Hui | 2014-01-03 | 1 | -1/+1 |
| | |||||
* | Happy New Year | Xinchen Hui | 2013-01-01 | 1 | -1/+1 |
| | |||||
* | - Year++ | Felipe Pena | 2012-01-01 | 1 | -1/+1 |
| |