Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | trailing whitespace removal | Stanislav Malyshev | 2015-01-10 | 1 | -1/+1 | |
| | | ||||||
* | | first shot remove TSRMLS_* things | Anatol Belski | 2014-12-13 | 1 | -14/+14 | |
| | | ||||||
* | | reworked the patch, less new stuff but worky | Anatol Belski | 2014-09-25 | 1 | -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 patch | krakjoe | 2014-09-20 | 1 | -1/+1 | |
| | | ||||||
* | | s/PHP 5/PHP 7/ | Johannes Schlüter | 2014-09-19 | 1 | -1/+1 | |
| | | ||||||
* | | Revert "remove a few gcc format attributes from some printf-like functions" | Nikita Popov | 2014-09-03 | 1 | -4/+10 | |
| | | | | | | | | This reverts commit 25f5ba94aca1e89ee5f0c66513e58826afa3b853. | |||||
* | | remove a few gcc format attributes from some printf-like functions | Nuno Lopes | 2014-08-31 | 1 | -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 casts | Anatol Belski | 2014-08-26 | 1 | -1/+1 | |
| | | ||||||
* | | master renames phase 3 | Anatol Belski | 2014-08-25 | 1 | -11/+2 | |
| | | ||||||
* | | master renames phase 1 | Anatol Belski | 2014-08-25 | 1 | -3/+3 | |
| | | ||||||
* | | added php_off_t alias | Anatol Belski | 2014-08-19 | 1 | -0/+1 | |
| | | ||||||
* | | first shot on merging the core fro the int64 branch | Anatol Belski | 2014-08-16 | 1 | -2/+10 | |
| | | ||||||
* | | Merge branch 'PHP-5.6' | Yasuo Ohgaki | 2014-02-13 | 1 | -0/+1 | |
|\ \ | |/ | | | | | | | * PHP-5.6: Implement RFC https://wiki.php.net/rfc/default_encoding | |||||
| * | Implement RFC https://wiki.php.net/rfc/default_encoding | Yasuo Ohgaki | 2014-02-13 | 1 | -0/+1 | |
| | | ||||||
* | | Merge branch 'PHP-5.6' | Xinchen Hui | 2014-01-03 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Bump year | Xinchen Hui | 2014-01-03 | 1 | -1/+1 | |
| | | ||||||
| * | bump API versions | Ferenc Kovacs | 2013-11-06 | 1 | -1/+1 | |
| | | ||||||
* | | Fixed ZTS build. Needed to bump API version number. | Bob Weinand | 2013-12-18 | 1 | -1/+1 | |
| | | ||||||
* | | bump API versions | Ferenc Kovacs | 2013-11-06 | 1 | -1/+1 | |
|/ | ||||||
* | initial move on renaming files and fixing includes | Anatol Belski | 2013-10-17 | 1 | -1/+1 | |
| | ||||||
* | unify stdint type usage | Michael Wallner | 2013-08-06 | 1 | -0/+2 | |
| | | | | if you need C99 stdint types, just include "php_stdint.h" | |||||
* | Happy New Year | Xinchen Hui | 2013-01-01 | 1 | -1/+1 | |
| | ||||||
* | Bump API versions | David Soria Parra | 2012-11-13 | 1 | -1/+1 | |
| | ||||||
* | Fix bug 61193 | Rasmus Lerdorf | 2012-02-27 | 1 | -8/+3 | |
| | ||||||
* | - Year++ | Felipe Pena | 2012-01-01 | 1 | -1/+1 | |
| | ||||||
* | - Added new macro to be used in the end of zend_function_entry declaration ↵ | Felipe Pena | 2011-07-25 | 1 | -0/+1 | |
| | | | | (Gwynne) | |||||
* | - Added a new PHPAPI function to return module_initialized: | Derick Rethans | 2011-06-24 | 1 | -0/+1 | |
| | | | | | php_get_module_initialized(). | |||||
* | Add php_ignore_value() macro to suppress unused return value warnings | Rasmus Lerdorf | 2011-05-16 | 1 | -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 Pena | 2011-01-01 | 1 | -1/+1 | |
| | ||||||
* | - add PHP_INSTALL_HEADERS to all parts (core&exts) exposing headers, ↵ | Pierre Joye | 2010-12-11 | 1 | -0/+4 | |
| | | | | generate the install-headers cmd | |||||
* | Added TSRMLS macros into php_get_current_user() | Kalle Sommer Nielsen | 2010-09-23 | 1 | -1/+1 | |
| | ||||||
* | * implement new output API, fixing some bugs and implementing some feature | Michael Wallner | 2010-05-31 | 1 | -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_mode | Kalle Sommer Nielsen | 2010-04-26 | 1 | -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_VERSION | Kalle Sommer Nielsen | 2010-04-15 | 1 | -1/+1 | |
| | ||||||
* | Remove main/php3_compat.h, for that a few references to `function_entry` have | Johannes Schlüter | 2010-03-30 | 1 | -1/+0 | |
| | | | | | to be replaced by `zend_function_entry`. | |||||
* | - Reverted r296062 and r296065 | Jani Taskinen | 2010-03-12 | 1 | -1/+14 | |
| | ||||||
* | MFH: Improved / fixed output buffering (Michael Wallner) | Jani Taskinen | 2010-03-11 | 1 | -14/+1 | |
| | ||||||
* | - #50854, fix build on non windows | Pierre Joye | 2010-01-27 | 1 | -1/+2 | |
| | ||||||
* | - [DOC] #45986, bad file descriptor warning when rename is used with invalid ↵ | Pierre Joye | 2010-01-26 | 1 | -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 **/*.php | Sebastian Bergmann | 2010-01-03 | 1 | -1/+1 | |
| | ||||||
* | Bump version to 5.3.0 and API Nos. up | Johannes Schlüter | 2009-06-26 | 1 | -1/+1 | |
| | ||||||
* | MFH: Bump copyright year, 3 of 3. | Sebastian Bergmann | 2008-12-31 | 1 | -1/+1 | |
| | ||||||
* | MFH Better fix for va_copy since some architectures like to do a deep copy. | Scott MacVicar | 2008-11-22 | 1 | -0/+7 | |
| | ||||||
* | - MFH Cleanup exports and allow to overwrite ext registration | Marcus Boerger | 2008-08-22 | 1 | -5/+3 | |
| | ||||||
* | MFH: | Kalle Sommer Nielsen | 2008-08-13 | 1 | -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, restore | Marcus Boerger | 2008-08-08 | 1 | -1/+4 | |
| | ||||||
* | - MFH: Sorry for the compiler warning | Marcus Boerger | 2008-08-08 | 1 | -1/+1 | |
| | ||||||
* | - MFH store error handling mode on stack when executing internal | Marcus Boerger | 2008-08-08 | 1 | -1/+1 | |
| | | | | | or overloaded functions and methods. [...] | |||||
* | MFH | Kalle Sommer Nielsen | 2008-06-24 | 1 | -0/+6 | |
| | ||||||
* | MFH: User error handlers no longer catch supressed errors | Etienne Kneuss | 2008-03-08 | 1 | -6/+1 | |
| |