summaryrefslogtreecommitdiff
path: root/sapi/apache_hooks/php_apache.c
Commit message (Collapse)AuthorAgeFilesLines
* removed sapi/apache_hooksAnatol Belski2015-02-101-1970/+0
|
* bump yearXinchen Hui2015-01-151-1/+1
|
* Drop duplicate arg from hash_get_current_key_exNikita Popov2014-12-261-1/+1
|
* first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-39/+39
|
* 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.
* native tls initial patchkrakjoe2014-09-201-1/+1
|
* s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
|
* Cleanup (1-st round)Dmitry Stogov2014-04-151-14/+14
|
* Use better data structures (incomplete)Dmitry Stogov2014-02-101-1/+1
|
* Merge branch 'PHP-5.6'Xinchen Hui2014-01-031-1/+1
|\
| * Bump yearXinchen Hui2014-01-031-1/+1
| |
* | We might as well re-use the TSRMLS parameters here as they are available in ↵Kalle Sommer Nielsen2013-12-181-7/+5
|/ | | | PHP_FUNCTION anyway to save a TSRMLS_FETCH() call
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* - Added missing PHP_FE_END/ZEND_FE_ENDFelipe Pena2011-08-061-1/+1
|
* - Year++Felipe Pena2011-01-011-1/+1
|
* * implement new output API, fixing some bugs and implementing some feature Michael Wallner2010-05-311-1/+1
| | | | | | | | | | | requests--let's see what I can dig out of the bugtracker for NEWS-- and while crossing the road: * implemented new zlib API * fixed up ext/tidy (what was "s&" in zend_parse_parameters() supposed to do?) Thanks to Jani and Felipe for pioneering.
* Removed safe_modeKalle Sommer Nielsen2010-04-261-11/+10
| | | | | | | * Removed ini options, safe_mode* * Removed --enable-safe-mode --with-exec-dir configure options on Unix * Updated extensions, SAPI's and core * php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
* Remove a couple TSRMLS_FETCH() calls around ext/main/sapiKalle Sommer Nielsen2010-04-131-1/+2
|
* - Reverted r296062 and r296065Jani Taskinen2010-03-121-229/+266
|
* MFH: Improved / fixed output buffering (Michael Wallner)Jani Taskinen2010-03-111-266/+229
|
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* - fix buildPierre Joye2009-03-161-1/+1
|
* - revert last commit (tree was not updated)Pierre Joye2009-03-161-7/+5
|
* - fix vc6 buildPierre Joye2009-03-161-5/+7
|
* Adjust previous fix to avoid compiler warningsIlia Alshanetsky2009-03-071-6/+5
|
* Improved parameter handlingIlia Alshanetsky2009-03-071-8/+3
|
* - MFH: fix build (use the same arginfo than the aliased func)Pierre Joye2009-02-021-1/+1
|
* MFH:Felipe Pena2009-01-301-56/+75
| | | | | | | - WS, CS - Added missing param. checking - Fixed type for 'l'
* Improved parameter parsingIlia Alshanetsky2009-01-271-11/+5
|
* MFB: Improved parameter handlingIlia Alshanetsky2009-01-051-4/+3
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* new parameter-parsing apiAlexey Zakhlestin2008-11-181-170/+145
|
* - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macroFelipe Pena2008-11-171-10/+0
|
* - Revert ZEND_BEGIN_ARG_INFO changeFelipe Pena2008-11-021-0/+10
|
* - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macroFelipe Pena2008-10-241-10/+0
|
* - Added arginfoFelipe Pena2008-07-201-10/+56
|
* MFH: New way for check void parametersFelipe Pena2008-03-101-24/+24
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)Dmitry Stogov2007-09-271-2/+2
|
* - Avoid sprintf, even when checked copy'n'paste or changes lead to errorsMarcus Boerger2007-02-241-4/+4
|
* use snprintfStanislav Malyshev2007-02-231-2/+2
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* MFHAntony Dovgal2006-12-281-2/+2
|
* more int->zend_bool conversionsNuno Lopes2006-09-061-1/+2
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* MFH: nuke php3 legacyfoobar2005-12-061-2/+2
|
* MFH: nuke php3 legacyfoobar2005-12-061-4/+4
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* - Fix another generated header includefoobar2005-01-141-1/+1
|