1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 18:23:26 +02:00
Commit Graph

52 Commits

Author SHA1 Message Date
Pierre Joye 8e7f4358ca - force LF and fix... and blame me for not reading the code correctly, zlib tests pass now, linux/bsd/win 100% 2011-09-08 10:20:38 +00:00
Pierre Joye a1ea21eaac - force LF 2011-09-08 10:14:38 +00:00
Pierre Joye 48586679c6 - use only zlib function and reported the failure with base64 in #55620 2011-09-06 12:30:17 +00:00
Stanislav Malyshev cd8202694c fix tests 2011-08-31 04:24:48 +00:00
Pierre Joye 45420bb669 - remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ, missing tests changes in 5.4 2011-07-22 11:56:20 +00:00
Felipe Pena f277d8a22f - Fixed tests 2011-06-12 00:31:13 +00:00
Gustavo André dos Santos Lopes 1c8e3c1b3e - Fixed bug #52944 (Invalid write on second and subsequent reads with an inflate filter fed invalid data). 2010-09-29 18:58:58 +00:00
Michael Wallner 11d24c1593 * implement new output API, fixing some bugs and implementing some feature
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.
2010-05-31 10:29:43 +00:00
Jani Taskinen af49e58f51 - Reverted r296062 and r296065 2010-03-12 10:28:59 +00:00
Jani Taskinen 06f072cb5e MFH: Improved / fixed output buffering (Michael Wallner) 2010-03-11 10:24:29 +00:00
Adam Harvey f60946eb54 Fixed bug #51269 (zlib.output_compression Overwrites Vary Header). 2010-03-11 06:20:22 +00:00
Ilia Alshanetsky 463506b269 Fixed test 2010-01-19 12:42:50 +00:00
Jani Taskinen 64fb1fca1f - Add one test from HEAD 2009-12-09 13:25:10 +00:00
Jani Taskinen 6bb0603c4f - Fixed zlib.deflate compress filter to actually accpet level parameter. 2009-08-31 21:18:55 +00:00
Arnaud Le Blanc 6a9aa30d85 MFB52: Fix "request_startup() for zlib module failed" when client does not
accepts compression and zlib.output_compression is On
# (not in HEAD)
2009-05-28 10:15:14 +00:00
Rasmus Lerdorf e00d6f1876 Removing test 2009-05-25 11:58:27 +00:00
Arnaud Le Blanc 555208c581 MFH: Fix test 2009-04-19 22:01:46 +00:00
andy wharmby 9bfdbb3e2c New gzuncompress() test.Tested on WIndows, Linux and Linux 64 bit 2009-01-23 23:31:50 +00:00
Dave Kelsey 163fedcd61 final collection of zlib tests. tested on linux, windows and linux 64 bit 2009-01-22 14:14:50 +00:00
Dave Kelsey 7d8c189a6d new tests for zlib extension, tested on windows, linux and linux64 2009-01-21 15:24:13 +00:00
andy wharmby f1c66c9229 New gzuncompress() test. php6 tets fails currentlly due to #47179. Tested on Windows, Linux and Linux 64 bit 2009-01-21 12:28:32 +00:00
andy wharmby 435d194059 New gzencode() test. php6 tets fails currentlly due to #47178. Tested on Windows, Linux and Linux 64 bit 2009-01-21 11:39:11 +00:00
andy wharmby 65b60a54fe New gzinflate() error test. Tested on WIndows, Linux and Linux 64 bit 2009-01-20 23:37:47 +00:00
Dave Kelsey 8f9ec4238f new tests for zlib extension, tested on windows, linux and linux64 2009-01-19 14:03:08 +00:00
andy wharmby 791dabcc3b New zlib extension tests. Tested on Windows, Linux and Linux 64 bit 2009-01-13 10:08:37 +00:00
Arnaud Le Blanc 236b03985d Fixed #42663 (gzinflate() try to allocate all memory with truncated data), not present in HEAD. 2008-07-24 14:38:37 +00:00
Greg Beaver 217b911d0e fix test 2008-04-13 21:27:18 +00:00
Jani Taskinen 3493b0734d MFH 2008-02-07 12:15:53 +00:00
Ilia Alshanetsky 374f3062f8 Allow test to run from any directory 2008-01-15 14:51:50 +00:00
Greg Beaver 79abe24b1b MFH: fix faulty fix for Bug #40189, and provide real fix for the bug 2008-01-12 21:28:48 +00:00
Greg Beaver 49e181eff1 fix Bug #43793: zlib filter is unable to auto-detect gzip/zlib file headers 2008-01-09 06:45:36 +00:00
Nuno Lopes 40085b06f2 changes to run-tests.php:
- change %s to %a
- make %s = [^\r\n]+
- fix tests accordingly
2007-09-14 15:28:03 +00:00
Dmitry Stogov d3f2d039a5 Fixed test 2007-06-18 10:02:12 +00:00
Nuno Lopes b2fa0cb89d reduce the test data size even further or when running with valgrind it times out 2007-01-03 22:32:49 +00:00
Nuno Lopes 559ab4b3f9 make this test run a little faster (is currently timeout with valgrind) 2006-12-28 19:52:37 +00:00
Antony Dovgal 9ce985bbae cosmetic improvements 2006-12-05 23:03:19 +00:00
Antony Dovgal fd9c8d85a6 the error message is different on different OSes and zlib versions 2006-08-24 11:30:35 +00:00
Antony Dovgal 8058f9fd11 add new tests 2006-06-26 23:35:22 +00:00
Antony Dovgal 386581b3f8 add missing skipif tag 2005-12-25 22:38:14 +00:00
Sara Golemon a420b562df MFH (r-1.2) Sync tests with new defaults 2005-11-24 04:37:47 +00:00
Michael Wallner 3bbd4b17a9 - MFH: fix bug #34821 zlib encoders fail on widely varying binary data on windows 2005-10-25 15:16:20 +00:00
Ilia Alshanetsky d4696abdb9 Fixed tests to work with ZTS builds 2005-10-20 19:22:09 +00:00
foobar 71adb81e96 nuking that file was not very good idea :) 2005-04-27 08:10:41 +00:00
foobar d0f85d3e27 - Added test: For some reason this fails with ZTS mode and "outside-src-tree-build" 2005-04-25 14:04:00 +00:00
Sara Golemon 5289adbe99 Add zlib stream filter support 2004-07-17 00:05:31 +00:00
Marcus Boerger d94136fc30 - Remove unused blocks 2004-05-19 08:45:46 +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
Wez Furlong ca6b002e4c MFB: zlib stream tests 2002-12-09 16:43:15 +00:00
Stefan Roehrich edcb5813db (PHP gzencode) Reimplementation of gzencode(). Now works as documented
(gzencode(string data [, int level [, int encoding_mode]])),
               should fix #15930.
@- The second parameter of gzencode() now is the compression level like
@  in the documentation. The encoding mode is a third (optional) parameter.
# Rework of gzencode(), output should be closer to real gzip output.
# I think in the old version there could be some problems with
# this function and output compression, should be fixed, too.
2002-03-12 13:23:58 +00:00
Stefan Roehrich cede952f6a (PHP gzinflate) Workaround for bug #14939 (buffer error in gzinflate()).
Fixed prototype and added test for #14939.

# We have extra \0 if the input comes directly from gzdeflate()
# so give one extra byte as length to workaround behaviour of zlib.
# I want to avoid copying the input, but if there are problems,
# please tell (see my message <20020310175611.GA4472@stefan.roehri.ch> to
# php-dev).
2002-03-12 13:06:40 +00:00