summaryrefslogtreecommitdiff
path: root/main/php_output.h
Commit message (Collapse)AuthorAgeFilesLines
* Added ob_get_status() to get array of buffers and it's status.Yasuo Ohgaki2002-03-011-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | (DO NOT document this function yet) Fixed crash bug with ob_end_*() function. ob_end_*() will not delete buffers that may not be deleted. php_start_ob_buffer() and php_ob_set_internal_handler() takes parameter for if the buffer created may be deleted or not. Added 3rd parameter "bool erase" to ob_start(). If FALSE, buffer may not be deleted until script finshes. Changed ob_*() function that have void return type to bool. All ob_*() functions return TRUE for success, FALSE for failure. @ - Added ob_get_status() to get array of buffers and it's status. (Yasuo) @ - Fixed crash bug with ob_end_*() function. ob_end_*() will not delete @ buffers that may not be deleted. (Yasuo) @ - Added 3rd parameter "bool erase" to ob_start(). If FALSE, buffer may not be @ deleted until script finshes. (Yasuo) @ - Changed ob_*() function that have void return type to bool. All ob_*() @ functions return TRUE for success, FALSE for failure. (Yasuo)
* Maintain headers.Sebastian Bergmann2002-02-281-1/+1
|
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* Remove redundant includeZeev Suraski2001-12-051-2/+0
|
* - Added ob_get_level, which returns the nesting level of the output bufferingDerick Rethans2001-12-031-0/+1
| | | | | | | mechanism. (patch by Yasuo Ohgaki <yasuo_ohgaki@yahoo.com>) @- Added ob_get_level, which returns the nesting level of the output buffering @ mechanism. (Yasuo, Derick)
* - Added ob_flush and ob_clean functions, which do not end the buffer likeDerick Rethans2001-11-301-0/+2
| | | | | | | ob_end_flush and ob_end_clean do. @- Added ob_flush and ob_clean functions, which flush and clean an @ output buffer without destroying the buffer. (Derick)
* more tsrm cleanup -- output.c is not doing any fetches anymoreSascha Schumann2001-08-051-2/+2
|
* more tsrm cleanupSascha Schumann2001-08-051-16/+16
|
* Redesigned thread safety mechanism - nua nuaZeev Suraski2001-07-281-7/+1
|
* Avoid getting bailouts on text output during shutdown. Text output is nowZeev Suraski2001-07-201-2/+4
| | | | | | | | 'officially' disabled during shutdown (this doesn't change the Apache module behavior, but may change behavior of other server modules, in which it was possible to emit output during shutdown; I think it's a good step towards consistency, though)
* Fix a major thread safety bug in the output mechanismZeev Suraski2001-07-021-0/+1
| | | | | @- Fixed a major memory corruption bug in the thread safe version (Zeev)
* - Fix problem of output initializationAndi Gutmans2001-05-231-2/+0
|
* - Start nuking not needed GINITAndi Gutmans2001-05-221-1/+1
|
* More internal output buffering fixesZeev Suraski2001-03-061-1/+1
|
* Fix internal output bufferingZeev Suraski2001-03-061-1/+1
|
* Initial work on internal output handlers - should be much quickerZeev Suraski2001-03-061-1/+7
|
* Fix non-thread safe modeZeev Suraski2001-03-041-0/+1
|
* Improve chunked output buffering - the output handler now knows at which ↵Zeev Suraski2001-03-041-2/+6
| | | | stage it is
* Fix chunked output buffering supportZeev Suraski2001-02-271-2/+2
|
* - Fix copyright notices with 2001Andi Gutmans2001-02-261-1/+1
|
* Very initial work on chunked output buffering. It's really unoptimized atZeev Suraski2000-11-231-1/+2
| | | | | | this time, and it can crash under some circumstances, but that's the concept...
* @- Added support for an optional output handler function for outputZeev Suraski2000-09-021-1/+3
| | | | | | @ buffering. This enables transparent rendering of XML through XSL, @ transparent compression, etc. (Zeev)
* @Added ob_get_length function (Stig)Stig Bakken2000-08-251-0/+2
| | | | | Added ob_get_length() function (returns size of buffer)
* Made ob_start() and friends reentrant. It's now possible to implement thisZeev Suraski2000-07-291-7/+14
| | | | | | | | | | | | | | long-requested functionality, now that output buffering is re-entrant: function eval_ret($code) { ob_start(); eval($code); $retval = ob_get_contents(); ob_end_clean(); return $retval; }
* Changed lots of PHP 3 licence headers to PHP 4, mainly in .h files.David Croft2000-07-241-0/+1
| | | | | | | | | Added a few RCS $Id$ tags. # Note: I have avoided changing any .h files if the corresponding .c file # had not already been changed as I am not sure if there are any legal # issues here. So some extensions still have PHP 3 headers.
* Rename macros which begin with underscore to appropiate macros. The generalSascha Schumann2000-07-031-3/+3
| | | | | | | rule is: macro_name=`echo $filename|tr a-z A-Z|sed 's/\./_/'`
* - Make the output globals accessible from the outside worldZeev Suraski2000-06-241-0/+28
| | | | | - Fix Win32 compilation
* Update the license with the new clause 6Zeev Suraski2000-05-181-2/+2
|
* fix some protosThies C. Arntzen2000-03-191-4/+4
|
* @Cleaned up extension namespace (Stig)Stig Bakken2000-03-061-2/+7
| | | | | | Cleaned up extension namespace, and changed ext/standard into one single extension.
* the pipe is breaking all the timeZeev Suraski2000-02-191-2/+2
|
* Use the new state functionsZeev Suraski2000-02-041-1/+2
| | | | | | | @- If header information is sent after output has already been sent, the warning @ message will now state the filename and line number at which the first output @ was made (Zeev)
* - Added flush() support to SAPIZeev Suraski2000-01-131-0/+4
| | | | | | | | - Got rid of the old flush() implemenetation in favour of the new one - Added implicit_flush() support to the output buffering layer. @- Added implicit_flush() to control whether flush() should be called @ implicitly after any output (Zeev)
* Happy Y2K patch! Happy new year (or the new millennium, depending on whetherSascha Schumann2000-01-011-1/+1
| | | | | you start counting at 0 or 1).
* @Fix some warnings when compiling in maintainer-mode (Stig)Stig Bakken1999-12-011-2/+2
| | | | | | | | | | @Made mysql and gd work as shared extensions again (Stig) - Fixed some warnings in maintainer-mode. - Made mysql and gd work as shared extensions again by defining COMPILE_DL if PIC is defined. # We need a better solution for building .so extensions than this # PIC/COMPILE_DL hack!
* moved output.c into ext/standart and made it thread-safe.Thies C. Arntzen1999-10-271-0/+34
moved output-buffering related functions from basic_functions to output.c Win32 project need to be updated to reflect new position. # i'm not really happy with this solution, but it seemed the easiest one! # the whole output code is a bit hard to understand... @- Output-Buffering system is now Thread-Safe. (Thies)