Commit Graph

363 Commits

Author SHA1 Message Date
Greg Beaver
d90aa1a587 fix test 2008-04-13 21:41:45 +00:00
Felipe Pena
2818d4fc51 New way for check void parameters 2008-03-04 23:39:15 +00:00
Greg Beaver
a52b2dee46 fix potential memleak due to destruction of filterparams zval 2008-02-12 23:27:46 +00:00
Jani Taskinen
ea66acd4d3 - Fix test (no files in "root" please) 2008-02-07 12:15:41 +00:00
Nuno Lopes
4c7aae558b force tests to be run in CGI mode 2008-01-14 10:00:25 +00:00
Greg Beaver
51603d0a48 wrong file version merged in fix for Bug #40189, here is the correct fix 2008-01-12 22:28:04 +00:00
Greg Beaver
27fa0688cc MFB: far better fix for bug #40189 2008-01-12 22:03:44 +00:00
Greg Beaver
368ba87ead fix faulty fix for Bug #40189, and provide real fix for the bug 2008-01-12 21:25:43 +00:00
Greg Beaver
38a9da1071 apply proper fix of bug #43793 to zlib.deflate (window+16 = gzip) 2008-01-09 08:12:15 +00:00
Greg Beaver
2345d26989 apply same fix of bug #43793 to zlib.deflate 2008-01-09 07:03:48 +00:00
Greg Beaver
7cda2c40a6 fix Bug #43793: zlib filter is unable to auto-detect gzip/zlib file headers 2008-01-09 06:42:56 +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
Nuno Lopes
db5f5d6bd7 MFB: change run-tests.php to add %a 2007-09-14 15:36:29 +00:00
Dmitry Stogov
742c04fc87 Fixed test 2007-06-18 10:52:04 +00:00
Dmitry Stogov
6b6da6a074 Fixed tests 2007-06-18 10:47:33 +00:00
Dmitry Stogov
4afe0a5f37 Fixed test 2007-06-18 10:01:42 +00:00
Dmitry Stogov
0ddb071abb Fixed bug #41304 (compress.zlib temp files left) 2007-05-08 12:08:41 +00:00
Edin Kadribasic
26edfde98b MFB: Sync with zlib 2007-04-29 17:47:56 +00:00
Dmitry Stogov
aea00baec2 Prevent double close() of the same file handle 2007-04-26 12:53:34 +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
Martin Kraemer
e46b1b3747 Typo 2007-03-14 09:49:58 +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
Antony Dovgal
f597e9676b fix #40189 (possible endless loop in zlib.inflate stream filter) 2007-01-25 12:21:24 +00:00
Nuno Lopes
22ad2f9538 MFB 2007-01-03 22:33:33 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Nuno Lopes
fc9b8ae1a3 MFB 2006-12-28 19:53:30 +00:00
Antony Dovgal
024d8f4376 cosmetic improvements 2006-12-05 23:03:42 +00:00
Michael Wallner
d10aa39ce4 - fix protos 2006-11-16 13:36:03 +00:00
Ilia Alshanetsky
c1af91befc MFB: Fixed compiler warnings 2006-10-16 15:42:23 +00:00
Hannes Magnusson
176b72284c Error message clean up
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +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
26a013eb08 - fix tests SKIPIF 2006-08-31 16:28:46 +00:00
Michael Wallner
d6c37b7bbc - add basic zlib.output_compression tests 2006-08-31 13:52:41 +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
aafd59eb91 - add php_zlib_output_encoding() decl 2006-08-30 12:26:38 +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
Antony Dovgal
53e7c8afde the error message is different on different OSes and zlib versions 2006-08-24 11:30:28 +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
98889cc198 add new tests 2006-06-26 23:41:51 +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