summaryrefslogtreecommitdiff
path: root/main/php.h
Commit message (Collapse)AuthorAgeFilesLines
...
* | trailing whitespace removalStanislav Malyshev2015-01-101-1/+1
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-14/+14
| |
* | 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
| |
* | Revert "remove a few gcc format attributes from some printf-like functions"Nikita Popov2014-09-031-4/+10
| | | | | | | | This reverts commit 25f5ba94aca1e89ee5f0c66513e58826afa3b853.
* | remove a few gcc format attributes from some printf-like functionsNuno Lopes2014-08-311-10/+4
| | | | | | | | Since now PHP's printf-like functions have many custom specifiers, the amount of false-positives wasnt worth it
* | fixed several long vs zend_long castsAnatol Belski2014-08-261-1/+1
| |
* | master renames phase 3Anatol Belski2014-08-251-11/+2
| |
* | master renames phase 1Anatol Belski2014-08-251-3/+3
| |
* | added php_off_t aliasAnatol Belski2014-08-191-0/+1
| |
* | first shot on merging the core fro the int64 branchAnatol Belski2014-08-161-2/+10
| |
* | Merge branch 'PHP-5.6'Yasuo Ohgaki2014-02-131-0/+1
|\ \ | |/ | | | | | | * PHP-5.6: Implement RFC https://wiki.php.net/rfc/default_encoding
| * Implement RFC https://wiki.php.net/rfc/default_encodingYasuo Ohgaki2014-02-131-0/+1
| |
* | Merge branch 'PHP-5.6'Xinchen Hui2014-01-031-1/+1
|\ \ | |/
| * Bump yearXinchen Hui2014-01-031-1/+1
| |
| * bump API versionsFerenc Kovacs2013-11-061-1/+1
| |
* | Fixed ZTS build. Needed to bump API version number.Bob Weinand2013-12-181-1/+1
| |
* | bump API versionsFerenc Kovacs2013-11-061-1/+1
|/
* initial move on renaming files and fixing includesAnatol Belski2013-10-171-1/+1
|
* unify stdint type usageMichael Wallner2013-08-061-0/+2
| | | | if you need C99 stdint types, just include "php_stdint.h"
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* Bump API versionsDavid Soria Parra2012-11-131-1/+1
|
* Fix bug 61193Rasmus Lerdorf2012-02-271-8/+3
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* - Added new macro to be used in the end of zend_function_entry declaration ↵Felipe Pena2011-07-251-0/+1
| | | | (Gwynne)
* - Added a new PHPAPI function to return module_initialized:Derick Rethans2011-06-241-0/+1
| | | | | php_get_module_initialized().
* Add php_ignore_value() macro to suppress unused return value warningsRasmus Lerdorf2011-05-161-0/+5
| | | | | | from gcc. There are times when we really don't care about the return value and this will cleanly tell gcc.
* - Year++Felipe Pena2011-01-011-1/+1
|
* - add PHP_INSTALL_HEADERS to all parts (core&exts) exposing headers, ↵Pierre Joye2010-12-111-0/+4
| | | | generate the install-headers cmd
* Added TSRMLS macros into php_get_current_user()Kalle Sommer Nielsen2010-09-231-1/+1
|
* * implement new output API, fixing some bugs and implementing some feature Michael Wallner2010-05-311-14/+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-2/+1
| | | | | | | * 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
* Bump PHP_API_VERSIONKalle Sommer Nielsen2010-04-151-1/+1
|
* Remove main/php3_compat.h, for that a few references to `function_entry` haveJohannes Schlüter2010-03-301-1/+0
| | | | | to be replaced by `zend_function_entry`.
* - Reverted r296062 and r296065Jani Taskinen2010-03-121-1/+14
|
* MFH: Improved / fixed output buffering (Michael Wallner)Jani Taskinen2010-03-111-14/+1
|
* - #50854, fix build on non windowsPierre Joye2010-01-271-1/+2
|
* - [DOC] #45986, bad file descriptor warning when rename is used with invalid ↵Pierre Joye2010-01-261-0/+2
| | | | path, add php_win32_docref2_from_error to display system error for non posix api
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* Bump version to 5.3.0 and API Nos. upJohannes Schlüter2009-06-261-1/+1
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFH Better fix for va_copy since some architectures like to do a deep copy.Scott MacVicar2008-11-221-0/+7
|
* - MFH Cleanup exports and allow to overwrite ext registrationMarcus Boerger2008-08-221-5/+3
|
* MFH:Kalle Sommer Nielsen2008-08-131-6/+0
| | | | | | * Remove NTDDI_VERSION declaring and use the one in config.w32.h * Remove another _WIN32_WINNT macro redef in win32/time.c
* - MFH error handling, now with save, replace, restoreMarcus Boerger2008-08-081-1/+4
|
* - MFH: Sorry for the compiler warningMarcus Boerger2008-08-081-1/+1
|
* - MFH store error handling mode on stack when executing internalMarcus Boerger2008-08-081-1/+1
| | | | | or overloaded functions and methods. [...]
* MFHKalle Sommer Nielsen2008-06-241-0/+6
|
* MFH: User error handlers no longer catch supressed errorsEtienne Kneuss2008-03-081-6/+1
|