summaryrefslogtreecommitdiff
path: root/ext/spl/php_spl.h
Commit message (Collapse)AuthorAgeFilesLines
* cleanup mod version macros and mod defs, round xAnatol Belski2015-03-231-0/+2
|
* bump yearXinchen Hui2015-01-151-1/+1
|
* first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-1/+1
|
* made ext/date and ext/spl use static tsrm ls cacheAnatol Belski2014-10-151-1/+1
|
* reworked the patch, less new stuff but workyAnatol Belski2014-09-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TLS is already used in TSRM, the way exporting the tsrm cache through a thread local variable is not portable. Additionally, the current patch suffers from bugs which are hard to find, but prevent it to be worky with apache. What is done here is mainly uses the idea from the RFC patch, but - __thread variable is removed - offset math and declarations are removed - extra macros and definitions are removed What is done merely is - use an inline function to access the tsrm cache. The function uses the portable tsrm_tls_get macro which is cheap - all the TSRM_* macros are set to placebo. Thus this opens the way remove them later Except that, the logic is old. TSRMLS_FETCH will have to be done once per thread, then tsrm_get_ls_cache() can be used. Things seeming to be worky are cli, cli server and apache. I also tried to enable bz2 shared and it has worked out of the box. The change is yet minimal diffing to the current master bus is a worky start, IMHO. Though will have to recheck the other previously done SAPIs - embed and cgi. The offsets can be added to the tsrm_resource_type struct, then it'll not be needed to declare them in the userspace. Even the "done" member type can be changed to int16 or smaller, then adding the offset as int16 will not change the struct size. As well on the todo might be removing the hashed storage, thread_id != thread_id and linked list logic in favour of the explicit TLS operations.
* update SPL extension for native-tls branchkrakjoe2014-09-201-1/+1
|
* s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
|
* reduce struct size by 8 byte on 64 bitAnatol Belski2014-09-131-1/+1
|
* Avoid reallocation and copyingDmitry Stogov2014-08-211-1/+1
|
* Use better data structures (incomplete)Xinchen Hui2014-02-111-3/+2
|
* Bump yearXinchen Hui2014-01-031-1/+1
|
* unify stdint type usageMichael Wallner2013-08-061-5/+0
| | | | if you need C99 stdint types, just include "php_stdint.h"
* 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
| |
* | - Reverted changes that required constructor overrides to invoke the parentGustavo André dos Santos Lopes2011-10-291-11/+7
| | | | | | | | | | | | constructor in several SPL classes and applied 5.3 fixes instead. Related bugs: #54384, #55175 and #55300
* | Added missing class_uses(..) function to SPL to mirror class_implements(..).Stefan Marr2011-07-231-0/+1
| | | | | | | | | | # Was pointed out as missing in bug #55266.
* | - Fixed bug #54384: Several SPL classes crash when parent constructor isGustavo André dos Santos Lopes2011-03-271-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | not called. #Merge to 5.3 pending (slight BC break on AppendIterator, as it's no #longer possible to defer the call to the parent constructor until #after the constructor is performed). #Bugs fixed in an atypical way for SPL. The parent constructor call #check is performed at construction time by using a wrapper constructor #instead of a check on the beginning of each instance method. #Perhaps this should be uniformized in trunk; this method was mainly #applied only to the ones crashing, except a few iterators (at least #AppendIterator and RecursiveIteratorIterator).
* | - Year++Felipe Pena2011-01-011-1/+1
|/
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* MFH: Fix build problem (Kalle)Johannes Schlüter2009-06-231-1/+3
|
* - fix buildPierre Joye2009-01-271-0/+3
|
* MFH: Improve spl_object_hash()Etienne Kneuss2009-01-261-0/+3
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* Improved PHP binary size and startup speed with GCC4 visibility control (Nuno)Dmitry Stogov2008-01-301-8/+10
|
* - MFH revert over constfyingMarcus Boerger2008-01-271-1/+1
|
* more const kewywordingNuno Lopes2008-01-251-1/+1
| | | | | remove spl_functions_none var (wast used anywhere
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* - MFH from HEAD:Jani Taskinen2007-11-021-0/+2
| | | | | | | | | | | | . Folding tags . Parameter parsing . SPL debug info . array function improvements (not all yet) . Improvements to function calling with call_user_* functions . Improvements to debugging info in var_dump/print_r # I propably forgot already something but this all was pretty close tied # to each other so it wasn't possible to do it in parts.
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* - MFH Store length of autoload file extsMarcus Boerger2006-11-041-0/+1
|
* - MFH: SynchMarcus Boerger2006-11-031-0/+1
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* - Add new functionsMarcus Boerger2005-03-021-1/+2
|
* Update copyrightMarcus Boerger2004-01-081-1/+1
|
* fix API exportsWez Furlong2003-12-231-0/+12
|
* make it build under win32Wez Furlong2003-12-061-0/+1
|
* CleanupMarcus Boerger2003-11-261-29/+0
|
* Major update:Marcus Boerger2003-11-091-12/+0
| | | | | | | | | | - Remove all overloading hooks -> array_read/array_access must be rewritten - Remove all basic iterators - Remove all 'spl_' prefixing exposed to user level - Add RecursiveIterator, RecursiveIteratorIterator - Add DirectoryIterator, DirectoryTreeIterator - Add some examples
* - Unset support for spl_array_access by method set($index)Marcus Boerger2003-08-041-0/+1
| | | | | - Parameter names for array interface methods
* Add class spl_array which is an array wrapperMarcus Boerger2003-07-191-0/+1
|
* Add directory iterator classMarcus Boerger2003-07-161-0/+2
|
* Update and remove parts no longer possibleMarcus Boerger2003-07-161-6/+1
|
* - Remove namespace leftoversMarcus Boerger2003-06-171-1/+0
| | | | | | - Convert some static inline functions to macros - Faster was of function call parameter stack building
* License updateMarcus Boerger2003-06-121-5/+5
|
* WS and removing unecessary thingsMarcus Boerger2003-06-111-1/+0
|