Commit Graph

228 Commits

Author SHA1 Message Date
Jani Taskinen
3df44e26b1 - Cleanup 2009-08-03 18:09:19 +00:00
Jani Taskinen
bad4f893f7 - Fix output compression 2009-08-03 18:08:46 +00:00
Jani Taskinen
9ae81ff0c0 - Add note about missing break 2009-05-26 08:02:31 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Felipe Pena
43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Felipe Pena
7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
Arnaud Le Blanc
67a7949c80 Avoid leaks when zlib streams can not be closed properly. 2008-08-02 02:36:14 +00:00
Felipe Pena
4b50d12a48 - MFB: Added arginfo (functions) 2008-07-03 12:21:25 +00:00
Felipe Pena
2818d4fc51 New way for check void parameters 2008-03-04 23:39:15 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Michael Wallner
f81c0d4e44 - fixed bug #40325 (Vary: header missing in gzip output handlers); no MFH
[DOC] since PHP 6 a Vary header will be sent without regards to whether
        the negotiation was successful or not and unless the complete
        output buffer gets discarded
2007-04-18 19:39:12 +00:00
Michael Wallner
cd2554343b - add note about the past for the future, see http://bugs.php.net/?id=40310&edit=1 2007-02-02 17:11:10 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Michael Wallner
d10aa39ce4 - fix protos 2006-11-16 13:36:03 +00:00
Dmitry Stogov
128548a5c0 Disabled autoconversion of hash keys (from string to unicode) for PHP arrays 2006-09-19 10:38:31 +00:00
Michael Wallner
97db4007db - fix issues with ob_start("ob_gzhandler")
- add tests
2006-09-04 10:31:11 +00:00
Michael Wallner
df26ea87bd - output handler alias ctor should know about chunk_size and flags 2006-08-31 13:51:35 +00:00
Michael Wallner
5de701d544 - good bye ob_gzhandler
- ego promo
2006-08-30 22:35:57 +00:00
Michael Wallner
b35de68c73 - allow (de)activation with ini_set() 2006-08-30 14:42:26 +00:00
Michael Wallner
d62b3a9d00 - avoid a loop around deflate() by using Z_SYNC_FLUSH for standard write 2006-08-30 12:07:04 +00:00
Michael Wallner
81b421f736 - implement new output API
- ported deflate/inflate code
- require zlib >= 1.2.0.4
- add gzdecode()

# if we want the filter code to benefit from zlib 1.2 the
# "streamable" API would have to be ported, too
2006-08-30 07:42:02 +00:00
Nuno Lopes
0e29c9a870 upgrade the rest of the functions to Unicode (except ob_gzhandler, that I leave for Mike).
also update tests to force binary data to be passed
2006-07-27 16:31:07 +00:00
Nuno Lopes
ae95b257f8 convert void* to zstr when using the 't' parameter type 2006-07-27 15:53:47 +00:00
Nuno Lopes
67793e71c0 change char* to void* when using the 't' parameter (as noted by Andrei) 2006-07-08 21:54:49 +00:00
Nuno Lopes
6cfeae5782 upgrade a couple of functions to Unicode 2006-07-07 23:30:30 +00:00
Antony Dovgal
dfc2fd651c zero-terminate strings produced with FORCE_DEFLATE 2006-06-26 23:22:45 +00:00
Antony Dovgal
ffac3d3c1b MFB: don't try to inflate empty strings 2006-06-26 22:53:42 +00:00
Dmitry Stogov
943960c324 Added automatic module globals management 2006-06-13 13:12:20 +00:00
Hannes Magnusson
53d262c04d Nuke unused var 2006-06-11 20:33:29 +00:00
Michael Wallner
231ad17475 - explicit usage of TS macros
# this could have been raised a lot earlier
2006-06-03 11:19:44 +00:00
Michael Wallner
be96a46e96 - fix encoding 2006-06-02 20:09:22 +00:00
Michael Wallner
4ce0141713 - new output control code
# scan README.NEW-OUTPUT-API to get a grasp
# tree has been tagged with BEFORE_NEW_OUTPUT_API
#
# TODO:
#  - improve existing output handlers
#  - move zlib.output_compression cruft from SAPI.c to zlib.c
#  - output_encoding handling was ambigious, resp. is undefined yet
#  - more tests
2006-06-02 19:51:43 +00:00
Frank M. Kromann
1c307a8a9e fix build. ZSTR() must be applied to the buf argument of php_stream macros 2006-04-29 14:38:35 +00:00
Ilia Alshanetsky
27e175eef0 So long safe_mode mode.
Also removed the magic_quotes configure option, no longer relevant since
the magic is gone :-).
2006-03-08 14:41:45 +00:00
Pierre Joye
bb1ec86f9d - remove magic_quotes_gpc, magic_quotes_runtime, magic_quotes_sybase
(calling ini_set('magic_....') returns 0|false
- get_magic_quotes_gpc, get_magic_quotes_runtime are kept but always return false
- set_magic_quotes_runtime raises an E_CORE_ERROR
2006-03-08 00:43:32 +00:00
Andi Gutmans
1efe984d08 - Get rid of using ENFORCE_SAFE_MODE. 2006-02-19 04:29:42 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar
a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
Michael Wallner
3fa81199ad - fix the fix 2005-10-25 15:35:22 +00:00
Michael Wallner
a31744ee55 - fix bug #34821 zlib encoders fail on widely varying binary data on windows 2005-10-25 15:13:55 +00:00
Ilia Alshanetsky
3ed0413de5 Resolved bug #34240.
# Thanks to xuefer at 21cn dot com for providing it.
2005-09-02 17:25:10 +00:00
Ilia Alshanetsky
c8dedc16a8 Fixed bug #34191 (ob_gzhandler does not enforce trailing \0). 2005-08-21 16:02:25 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Sara Golemon
5289adbe99 Add zlib stream filter support 2004-07-17 00:05:31 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Hartmut Holzgraefe
075e66cc08 signed/unsigned compiler warning fixes 2003-09-26 08:09:56 +00:00
Stefan Roehrich
6206837929 Code cleanup:
Fixed ob_gzhandler with register_long_arrays = On.
Unified compression_coding global var (removed ob_gzip_coding).
Switched to zend_parse_parameters().
Added some tests.
2003-09-06 15:31:35 +00:00