summaryrefslogtreecommitdiff
path: root/main/php_output.h
Commit message (Collapse)AuthorAgeFilesLines
* Make sure output start filename is not freed earlyNikita Popov2020-10-161-1/+2
| | | | | | | | As filenames are no longer interned, we need to keep a reference to the zend_string to make sure it isn't freed. To avoid a nominal source compatibility break, create a new member in the globals.
* Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-251-2/+0
| | | | Closes GH-4732.
* Remove local variablesPeter Kokot2019-02-031-9/+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.
* Remove yearly range from copyright noticeZeev Suraski2019-01-301-1/+1
|
* Remove unused Git attributes identPeter Kokot2018-07-251-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.
* year++Xinchen Hui2018-01-021-1/+1
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|
* further normalizations, uint vs uint32_tAnatol Belski2016-11-261-2/+2
| | | | | | fix merge mistake yet one more replacement run
* Fix PUTC warningNikita Popov2016-08-071-2/+2
| | | | | Change the macro to not provide a useless return value using a comma expression, which generates warnings.
* Fix bug #71575 removing extra semicolons outside macrosJames Titcumb2016-03-031-1/+1
|
* Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| |
| * bump yearXinchen Hui2015-01-151-1/+1
| |
* | Removed dead codeJulien Pauli2015-08-171-3/+0
| |
* | Renamed struct memberJulien Pauli2015-08-171-1/+1
| | | | | | | | | | <resolv.h> has a #define for _res which makes compilation fail if included before php_output.h
* | fix warningsMichael Wallner2015-01-301-2/+2
| |
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | trailing whitespace removalStanislav Malyshev2015-01-101-2/+2
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-63/+63
| |
* | Merge remote-tracking branch 'origin/master' into native-tlsAnatol Belski2014-11-181-3/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/master: (398 commits) NEWS add test for bug #68381 Fixed bug #68381 Set FPM log level earlier during init proper dllexport move to size_t where zend_string is used internally fix some datatype mismatches return after the warning, to fix uninitialized salt usage fix datatype mismatches add missing type specifier fix datatype mismatches fix unsigned check "extern" shouldn't be used for definitions joined identical conditional blocks simplify fpm tests SEND_VAR_NO_REF optimization Add test for bug #68442 Add various tests for FPM - covering recent bugs (68420, 68421, 68423, 68428) - for UDS - for ping and status URI - for multi pool and multi mode Include small MIT FastCGI client library from https://github.com/adoy/PHP-FastCGI-Client Get rid of zend_free_op structure (use zval* instead). Get rid of useless TSRMLS arguments. Add new FPM test for IPv4/IPv6 ... Conflicts: win32/build/config.w32
| * \ Merge branch 'PHP-5.6'Anatol Belski2014-10-301-1/+1
| |\ \ | | |/ | | | | | | | | | * PHP-5.6: add DLL export to the output globals
| | * add DLL export to the output globalsAnatol Belski2014-10-301-1/+1
| | |
| * | Merge branch 'PHP-5.6'Xinchen Hui2014-10-301-5/+1
| |\ \ | | |/
| | * Use macroXinchen Hui2014-10-301-5/+1
| | |
| * | Merge branch 'PHP-5.6'Xinchen Hui2014-10-301-1/+1
| |\ \ | | |/
| | * Fixed build.... (shouldn't it be zend_output_globals?)Xinchen Hui2014-10-301-1/+1
| | |
| * | Merge branch 'PHP-5.6'Anatol Belski2014-10-291-0/+6
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: fix output globals importing export output globals use portable strndup implementation unix sockets aren't available on windows dll export APIs needed by phpdbg fix sapi/phpdbg/config.w32 Don't treat warnings as failures in the junit output
| | * export output globalsAnatol Belski2014-10-291-0/+6
| | | | | | | | | | | | needed by phpdbg
| * | fix datatype mismatchesAnatol Belski2014-10-271-3/+3
| | |
* | | bring back all the TSRMLS_FETCH() stuffAnatol Belski2014-10-151-0/+3
| | | | | | | | | | | | for better comparability with the mainstream
* | | force more static tsrmls cache usageAnatol Belski2014-10-071-1/+1
| | |
* | | some cleanups for TSRMLS_FETCH and direct tsrm_ls usage in mainAnatol Belski2014-09-261-5/+0
| | |
* | | reworked the patch, less new stuff but workyAnatol Belski2014-09-251-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0/+1
|/ /
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | reduce the struct size by 8 byte on x64Anatol Belski2014-09-121-1/+1
| |
* | cleanupDmitry Stogov2014-08-131-2/+1
| |
* | Fixed invalid pointer usage (tests/output/ob_start_callbacks.phpt)Xinchen Hui2014-03-071-1/+1
| |
* | Use better data structures (incomplete)Dmitry Stogov2014-02-101-1/+1
|/
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* fix bug #60761 zlib.output_compression fails on refreshMichael Wallner2012-05-151-1/+2
|
* fix crash with display_startup_errors=1Michael Wallner2012-01-251-0/+2
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* follow naming conventionMichael Wallner2011-12-301-1/+1
|
* Added an API call to return active output handlerDmitry Stogov2011-12-301-0/+1
|
* Fixed ZE specific compile warnings (Bug #55629)Dmitry Stogov2011-09-131-2/+2
|
* gcc barks about these, so clean itAndrey Hristov2011-01-141-3/+3
|
* - Year++Felipe Pena2011-01-011-1/+1
|
* Preallocate zend_hash instead of allocation/deallocation it on each requestDmitry Stogov2010-08-271-1/+1
|