Commit Graph

631 Commits

Author SHA1 Message Date
Xinchen Hui
c081ce628f Bump year 2014-01-03 11:08:10 +08:00
Xinchen Hui
47c9027772 Bump year 2014-01-03 11:06:16 +08:00
Xinchen Hui
c0d060f5c0 Bump year 2014-01-03 11:04:26 +08:00
Ferenc Kovacs
91108818e1 Merge branch 'PHP-5.4' into PHP-5.5
Conflicts:
	ext/spl/tests/SplFileObject_rewind_error001.phpt
2013-11-06 10:46:34 +01:00
ptarjan
9c1e1bbc05 fix many parallel test issues
While running these on HHVM I've run into a lot of parallelism issues.
I'm backporting all the fixes I had to do in
https://github.com/facebook/hiphop-php/blob/master/hphp/tools/import_zend_test.py#L650
to php core.

Most of these changes were just filenames that were shared between
tests, but I did more surgery on the fixed ports. I can apreciate port
31337 as much as the next nerd, but random ports are better for tests.
2013-11-06 10:31:47 +01:00
ptarjan
ecbe4af0de fix many parallel test issues
While running these on HHVM I've run into a lot of parallelism issues.
I'm backporting all the fixes I had to do in
https://github.com/facebook/hiphop-php/blob/master/hphp/tools/import_zend_test.py#L650
to php core.

Most of these changes were just filenames that were shared between
tests, but I did more surgery on the fixed ports. I can apreciate port
31337 as much as the next nerd, but random ports are better for tests.
2013-09-26 00:30:23 -07:00
Michael Wallner
5cea7a9047 fix bug #65391
Unable to send vary header user-agent when
ob_start('ob_gzhandler') is called
2013-08-09 11:25:54 +02:00
Michael Wallner
b33824bfea Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
  fix bug #65391
  Update NEWS
2013-08-09 11:21:50 +02:00
Michael Wallner
ac28283beb fix bug #65391
Unable to send vary header user-agent when
ob_start('ob_gzhandler') is called
2013-08-09 11:14:04 +02:00
Christopher Jones
4c3c9d1fe5 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix long-standing visual pain point: the misalignment of './configure help' text. Whitespace changes and a couple of grammar fixes.
2013-08-06 11:09:12 -07:00
Christopher Jones
c6d977dd39 Fix long-standing visual pain point: the misalignment of './configure help' text.
Whitespace changes and a couple of grammar fixes.
2013-08-06 11:06:09 -07:00
Andrey Hristov
92d27ccb05 Constify streams API and a few other calls down the rabbit hole.
(`char *` to `const char *` for parameters and few return values)
In a few places int len moved to size_t len.
2013-07-30 12:49:36 +02:00
Stanislav Malyshev
1143f58a70 Merge branch 'PHP-5.5'
* PHP-5.5:
  Merge branch 'pull-request/320'
  Merge branch 'pull-request/320'
2013-06-17 01:07:28 -07:00
Stanislav Malyshev
af5e2eaf8d Merge branch 'pull-request/320'
* pull-request/320:
  this is test 5 not 6
  fix race condition
  more shared names that create race conditions
  change to a unique filename
  more shared filenames
  yet another shared filename
  don't share a filename to stop race conditions
  fix race condition for 2-4 and normalize names for others
  fix race condition when running tests in parallel
  clean up after test
  Fix #64572: Clean up after the test
  Fix #64572: Clean up after the test
2013-06-17 01:06:20 -07:00
Stanislav Malyshev
6b896fa57f Merge branch 'pull-request/320'
* pull-request/320:
  this is test 5 not 6
  fix race condition
  more shared names that create race conditions
  change to a unique filename
  more shared filenames
  yet another shared filename
  don't share a filename to stop race conditions
  fix race condition for 2-4 and normalize names for others
  fix race condition when running tests in parallel
  clean up after test
  Fix #64572: Clean up after the test
  Fix #64572: Clean up after the test
2013-06-17 01:06:01 -07:00
Stanislav Malyshev
09bc6d7cf6 Merge branch 'PHP-5.5'
* PHP-5.5:
  typo fixes (argument)
  typo fixes (accommodate, parameter)
2013-06-10 13:37:56 -07:00
Stanislav Malyshev
84e35fb2e0 Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
  typo fixes (argument)
  typo fixes (accommodate, parameter)
2013-06-10 13:36:41 -07:00
Veres Lajos
04145dc2aa typo fixes (argument) 2013-06-10 13:36:17 -07:00
Anatol Belski
8d41f6dab6 Removed fork of ext/zlib/tests/bug_52944.phpt
The real issue is a bug in asm zlib build, reported here
https://github.com/madler/zlib/issues/41 . Non ASM builds
behave more predictable.
2013-04-24 14:31:59 +02:00
ptarjan
22f6b6dbec Fix zlib/tests/gzseek to create unique temporary files
When running tests in parallel these create a race condition.
Race conditions are bad.
2013-04-24 01:06:55 -07:00
Remi Collet
b3a8609837 remove set but not used variables 2013-01-02 16:48:46 +01:00
Xinchen Hui
a666285bc2 Happy New Year 2013-01-01 16:37:09 +08:00
Xinchen Hui
0a7395e009 Happy New Year 2013-01-01 16:28:54 +08:00
Anatoliy Belsky
b815676494 Merge branch 'PHP-5.4'
* PHP-5.4:
  fixed test for bug #52944 also for darwin
2012-09-09 23:03:47 +02:00
Reeze Xia
57bebfcbdc fixed test for bug #52944 also for darwin 2012-09-09 23:02:50 +02:00
Anatoliy Belsky
4b206126ac Merge branch 'PHP-5.4'
* PHP-5.4:
  forked two tests for windows
2012-09-03 13:48:02 +02:00
Anatoliy Belsky
ff0aa24054 forked two tests for windows
* bug55544.phpt - VT vs. EXT at the start of the data block,
but the data can still be decoded correctly
* bug_52944.phpt works with the corrupted data and has some
different out

Most likely the ASM optimization under windows is responsible
for this behaviour.
2012-09-03 13:37:34 +02:00
Xinchen Hui
dd9d64b21e Merge branch 'PHP-5.4' 2012-07-24 14:46:25 +08:00
Xinchen Hui
9fe8c58130 binary compatibility 2012-07-24 14:45:13 +08:00
Xinchen Hui
4c1e2bbd6f Re-fix bug #55544 2012-07-24 14:43:53 +08:00
Xinchen Hui
6126ac44b5 correct the author name introduced in bb685512 2012-07-24 13:39:46 +08:00
Xinchen Hui
38fb89f91d Merge branch 'PHP-5.4' 2012-07-24 13:39:02 +08:00
Xinchen Hui
c20b2ab0bd folders 2012-07-24 13:37:44 +08:00
Xinchen Hui
64cbdc606c Merge branch 'PHP-5.4' 2012-07-21 02:58:16 +08:00
Xinchen Hui
a6f1533789 Fixed bug #55544 (ob_gzhandler always conflicts with zlib.output_compression) 2012-07-21 02:57:36 +08:00
Anatoliy Belsky
92bf6391aa Merge branch 'PHP-5.4'
* PHP-5.4:
  Fixed bug #61677 ext\zlib\tests\bug_52944.phpt fails
2012-07-13 11:46:49 +02:00
Anatoliy Belsky
d9d21b2037 Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Fixed bug #61677 ext\zlib\tests\bug_52944.phpt fails
2012-07-13 11:46:14 +02:00
Anatoliy Belsky
02b8362ec2 Fixed bug #61677 ext\zlib\tests\bug_52944.phpt fails
The test is known to fail on windows with zlib version < 1.2.7 (current dep is 1.2.5),
with 1.2.7 it works. As it's primarily a zlib 1.2.5 issue on windows, skip it for now.
2012-07-13 11:39:57 +02:00
Anatoliy Belsky
5087778f42 Merge branch 'PHP-5.4'
* PHP-5.4:
  split gzgetc_basic.phpt for zlib 1.2.7
2012-06-19 14:13:53 +02:00
Anatoliy Belsky
0a65b661e4 Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  split gzgetc_basic.phpt for zlib 1.2.7
2012-06-19 14:12:54 +02:00
Anatoliy Belsky
a8948d0808 split gzgetc_basic.phpt for zlib 1.2.7 2012-06-19 14:08:34 +02:00
Michael Wallner
2d11e55b94 cleanup merge 2012-05-15 09:44:01 +02:00
Michael Wallner
0ad53bfd7d fix bug #60761 zlib.output_compression fails on refresh 2012-05-15 09:33:47 +02:00
Michael Wallner
a9836496e3 Merge branch 'PHP-5.4' 2012-04-24 20:37:29 +02:00
Michael Wallner
7c93a16477 fix bug #61443
Since upgrade to PHP 5.4, we can't change zlib.output_compression on the
fly

the check for PHP_OUTPUT_WRITTEN was over-zealous
2012-04-24 20:35:49 +02:00
Michael Wallner
342b641a93 Merge branch 'PHP-5.4' 2012-04-24 19:52:45 +02:00
Michael Wallner
df00b64cb9 fixed bug #61820
using ob_gzhandler will complain about headers already sent
when no compression

the Vary header should only be sent on the PHP_OUTPUT_HANDLER_START
event
2012-04-24 19:50:00 +02:00
Anatoliy Belsky
f5d8e2b896 Merge branch 'PHP-5.4'
* PHP-5.4:
  Fix bug 61680 ext\zlib\tests\gzencode_variation1-win32.phpt fails
2012-04-16 14:06:03 +02:00
Anatoliy Belsky
d588d01b7c Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Fix bug 61680 ext\zlib\tests\gzencode_variation1-win32.phpt fails
2012-04-16 14:05:32 +02:00
Anatoliy Belsky
163c1a393f Fix bug 61680 ext\zlib\tests\gzencode_variation1-win32.phpt fails 2012-04-16 14:04:29 +02:00
Anatoliy Belsky
1eefd05eb5 Merge branch 'PHP-5.4'
* PHP-5.4:
  Fix bug #61519	test fails, should pass - ext/zlib/tests/bug60761.phpt
2012-03-27 18:22:37 +02:00
Anatoliy Belsky
b7596eaa1b Merge branch '5.3' into 5.4
* 5.3:
  Fix bug #61519	test fails, should pass - ext/zlib/tests/bug60761.phpt

Conflicts:
	ext/zlib/tests/bug60761.phpt
2012-03-27 18:16:02 +02:00
Anatoliy Belsky
bcfcfb2fc5 Fix bug #61519 test fails, should pass - ext/zlib/tests/bug60761.phpt 2012-03-27 18:02:31 +02:00
Gustavo André dos Santos Lopes
854f6377ae - Tentative fix for bug #61306.
#cjones: Will update NEWS when confirmed it fixes the problem.
2012-03-07 08:51:30 +00:00
Gustavo André dos Santos Lopes
d13f833875 - Tentative fix for bug #61306.
#cjones: Will update NEWS when confirmed it fixes the problem.
2012-03-07 08:51:30 +00:00
Michael Wallner
39d2996c57 MFH: Fixed bug #61287 (A particular string fails to decompress) 2012-03-05 15:38:24 +00:00
Michael Wallner
e63e6647ff fix bug #61287 (A particular string fails to decompress) 2012-03-05 15:35:22 +00:00
Nikita Popov
3748034f86 Merge: Fix bug #61139: gzopen leaks when specifying invalid mode 2012-03-02 14:16:47 +00:00
Nikita Popov
ecd13fd184 Fix bug #61139 gzopen leaks when specifying invalid mode
Needs to be merged to 5.4.
2012-02-19 14:39:29 +00:00
Nikita Popov
f9e8477b04 Fix bug #61139 gzopen leaks when specifying invalid mode
Needs to be merged to 5.4.
2012-02-19 14:39:29 +00:00
Rasmus Lerdorf
0116466974 Please test your tests 2012-01-23 06:39:01 +00:00
Rasmus Lerdorf
7a7e14f502 Please test your tests 2012-01-23 06:39:01 +00:00
Pierre Joye
ed075eab5a - add test for bug #60761 2012-01-18 20:29:13 +00:00
Pierre Joye
db5751c91c - add test for bug #60761 2012-01-18 20:29:13 +00:00
Pierre Joye
9e4669b3a6 - add test for bug #60761 2012-01-18 20:29:13 +00:00
Pierre Joye
f6ea9cecfa - add test for bug #60761 2012-01-18 20:21:40 +00:00
Pierre Joye
27fb1c24b7 - add test for bug #60761 2012-01-18 20:21:40 +00:00
Pierre Joye
5b72785c68 - add test for bug #60761 2012-01-18 20:21:40 +00:00
Michael Wallner
e11ece1ca7 remove XFAIL for bug #47178 2012-01-18 10:16:37 +00:00
Michael Wallner
9168f1c807 remove XFAIL for bug #47178 2012-01-18 10:16:37 +00:00
Stanislav Malyshev
80dd931d40 add test for ob_gzhandler 2012-01-01 23:51:21 +00:00
Stanislav Malyshev
0fdbefa430 add test for ob_gzhandler 2012-01-01 23:51:21 +00:00
Felipe Pena
e4ca0ed09f - Year++ 2012-01-01 13:15:04 +00:00
Felipe Pena
8775a37559 - Year++ 2012-01-01 13:15:04 +00:00
Felipe Pena
4e19825281 - Year++ 2012-01-01 13:15:04 +00:00
Pierre Joye
c3044c9fcf - fix bug 60326, fix crash introduce by the fix 2011-12-27 02:39:14 +00:00
Pierre Joye
850168ba62 - Fix bug #60326, fix crash introduced by initial fix 2011-12-26 22:53:12 +00:00
Pierre Joye
dfa30f03b6 - Fix bug #60326, fix TS build (introduced by r321406) 2011-12-26 12:32:05 +00:00
Pierre Joye
7dcc4c0d0e - Fix bug #60326, fix TS build (introduced by r321406) 2011-12-26 12:32:05 +00:00
Stanislav Malyshev
bb6855124d fix bug #60326 - restore ob_gzhandler 2011-12-26 08:29:11 +00:00
Stanislav Malyshev
e665e01e88 fix bug #60326 - restore ob_gzhandler 2011-12-26 08:29:11 +00:00
Michael Wallner
f989a86500 fix r316992 2011-09-19 15:20:38 +00:00
Michael Wallner
3e221129a7 fix r316992 2011-09-19 15:20:38 +00:00
Michael Wallner
8f857603b4 Fixed bug #55544 ob_gzhandler always conflicts with zlib.output_compression 2011-09-19 14:37:00 +00:00
Michael Wallner
85a62e9086 Fixed bug #55544 ob_gzhandler always conflicts with zlib.output_compression 2011-09-19 14:37:00 +00:00
Xinchen Hui
71c9674e1c Fix test (gzdecode not valid in 5.3 branch, maybe need add ? ) 2011-09-13 13:18:57 +00:00
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
f7f2c8c209 - use only zlib function and reported the failure with base64 in #55620 2011-09-06 12:30:47 +00:00
Pierre Joye
1e30a4ecb0 - use only zlib function and reported the failure with base64 in #55620 2011-09-06 12:30:17 +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
Stanislav Malyshev
2459296ff5 fix tests 2011-08-31 04:24:48 +00:00
Felipe Pena
23e438594d - Make usage of new PHP_FE_END macro 2011-07-25 11:42:53 +00:00
Felipe Pena
4b30846b50 - Make usage of new PHP_FE_END macro 2011-07-25 11:35:02 +00:00
Felipe Pena
da376383e8 - Make usage of new PHP_FE_END macro 2011-07-25 11:35:02 +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
Pierre Joye
9805e1674a - 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 2011-07-22 11:25:30 +00:00
Pierre Joye
cc1c7af037 - 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 2011-07-22 11:25:30 +00:00
Felipe Pena
f277d8a22f - Fixed tests 2011-06-12 00:31:13 +00:00
Felipe Pena
e9a6750cdc - Fixed tests 2011-06-12 00:31:13 +00:00
Felipe Pena
32b5f8a1a3 - Added new parameter parsing option (p - for valid path (string without null byte in the middle))
# The tests will be fixed in the next commits
2011-06-06 21:28:16 +00:00
Felipe Pena
4737910b69 - Added new parameter parsing option (p - for valid path (string without null byte in the middle))
# The tests will be fixed in the next commits
2011-06-06 21:28:16 +00:00
Felipe Pena
927bf09c29 - Year++ 2011-01-01 02:19:59 +00:00
Felipe Pena
0203cc3d44 - Year++ 2011-01-01 02:17:06 +00:00
Gustavo André dos Santos Lopes
0db999a94f - 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
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
Pierre Joye
4839387edd - fix bug #52926, zlib fopen wrapper does not use the context 2010-09-26 20:46:54 +00:00
Pierre Joye
a531b5f0d2 - fix bug #52926, zlib fopen wrapper does not use the context 2010-09-26 20:46:54 +00:00
Felipe Pena
80926568f1 - Fixed bug #52183 (Reflectionfunction reports invalid number of arguments for function aliases) 2010-06-26 16:03:39 +00:00
Felipe Pena
e64734f986 - Fixed bug #52183 (Reflectionfunction reports invalid number of arguments for function aliases) 2010-06-26 16:03:39 +00:00
Antony Dovgal
ebd7c3b37e fix ZTS build 2010-05-31 12:02:55 +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
Rob Richards
0a34d10783 revert change #298288: Remove old dsp/dsw/makefile files 2010-04-28 14:41:51 +00:00
Kalle Sommer Nielsen
dd8e59da8f Removed safe_mode
* Removed ini options, safe_mode*
 * Removed --enable-safe-mode --with-exec-dir configure options on Unix
 * Updated extensions, SAPI's and core
 * php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Kalle Sommer Nielsen
518a17e7bf Remove old dsp/dsw/makefile files, these arent used by the build system anymore and are barely updated nor available for all extensions 2010-04-21 23:36:49 +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
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Jani Taskinen
64fb1fca1f - Add one test from HEAD 2009-12-09 13:25:10 +00:00
Jani Taskinen
f1cf3fb185 - Temporary hack to fix bug #49816 (works fine in HEAD which has working output buffering..) 2009-11-15 00:13:19 +00:00
Jani Taskinen
6bb0603c4f - Fixed zlib.deflate compress filter to actually accpet level parameter. 2009-08-31 21:18:55 +00:00
Jani Taskinen
db53d49623 - Fixed bug #49248 by fixing bug #48994 properly 2009-08-17 17:30:32 +00:00
Jani Taskinen
08f8621a9f - Fixed bug #48994 (zlib.output_compression does not ouput HTTP headers when set to a string value)
# also fixes bug #35936 (ini.zlib.output-compression Documentation :)
2009-08-03 18:15:30 +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
Jani Taskinen
7811bcb155 - Added note about omitted break 2009-05-26 08:03:07 +00:00
Jani Taskinen
c3795a63e0 - Fixed bug #45202 (zlib.output_compression can not be set with ini_set()) 2009-05-26 05:54:50 +00:00
Jani Taskinen
e179d7c26e ws + cs 2009-05-26 04:44:54 +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
Scott MacVicar
da0eb9b8e8 Fix bug #42362 - certain status codes never have output, so sending the gzip compression headers cause problems 2009-03-24 01:57:53 +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
Felipe Pena
0b3afcf67b - MFH: Fixed bug #47152 (gzseek/fseek using SEEK_END produces strange results) 2009-01-20 15:41:23 +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
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +00:00
Greg Beaver
59e52885a1 fix Bug #46026: bz2.decompress/zlib.inflate filter tries to decompress after end of stream
[DOC] add concatenation option to bz2.decompress stream filter
2008-10-11 19:14:08 +00:00
Arnaud Le Blanc
93b7cb0a0a MFH: Avoid leaks when zlib streams can not be closed properly. 2008-08-02 02:36:25 +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
Felipe Pena
bedd323878 - Added arginfo (functions) 2008-07-03 01:55:48 +00:00
Pierre Joye
7053732b6f - don't show zlib as available when libs or headers are missing 2008-06-22 21:55:59 +00:00
Elizabeth Marie Smith
7d4dfa8ee4 Windows configure fixes, a few additional lib names allowed, apache2 only on for zts builds since apache on win is always threaded, isapi no longer stops configure in non-zts mode, look for _debug for debug libraries when debug is enabled 2008-05-14 03:13:17 +00:00
Greg Beaver
217b911d0e fix test 2008-04-13 21:27:18 +00:00
Greg Beaver
9feb21f5f1 MFH: fix potential memleak due to destruction of filterparams zval 2008-02-12 23:28:05 +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
4f17800e32 far better fix for bug #40189 2008-01-12 22:03:32 +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
686f30d118 apply proper fix of bug #43793 to zlib.deflate (window+16 = gzip) 2008-01-09 08:12:33 +00:00
Greg Beaver
d5b9a39064 apply same fix of bug #43793 to zlib.deflate 2008-01-09 07:03:28 +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
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +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
Dmitry Stogov
eec0b67cd8 Fixed bug #41304 (compress.zlib temp files left) 2007-05-08 12:08:17 +00:00
Edin Kadribasic
7bcf3ef165 Sync with zlib 2007-04-29 17:47:31 +00:00
Dmitry Stogov
69cfe50f74 Prevent double close() of the same file handle 2007-04-26 12:52:58 +00:00
Martin Kraemer
9c62ddde34 Typo 2007-03-14 09:58:14 +00:00
Antony Dovgal
0bc0e57b85 MFH: fix #40189 (possible endless loop in zlib.inflate stream filter) 2007-01-25 12:22:21 +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
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +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
Ilia Alshanetsky
2245901f6f Fixed compiler warnings 2006-10-16 15:39:39 +00:00
Antony Dovgal
fd9c8d85a6 the error message is different on different OSes and zlib versions 2006-08-24 11:30:35 +00:00
Nuno Lopes
ddb4d1fdcc move static declaration to *.c files
mroe static/const keywording
2006-08-14 20:08:18 +00:00
Antony Dovgal
8058f9fd11 add new tests 2006-06-26 23:35:22 +00:00
Antony Dovgal
e24fe395a2 MFH: zero-terminate strings produced with FORCE_DEFLATE 2006-06-26 23:22:58 +00:00
Antony Dovgal
3d97f45bc4 don't try to inflate empty strings (and stop segfaulting!) 2006-06-26 22:53:10 +00:00
Dmitry Stogov
1dbaae2795 Added automatic module globals management 2006-06-15 18:33:09 +00:00
Ilia Alshanetsky
3ff5fb0631 Fixed compiler warning 2006-06-12 23:28:32 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
Antony Dovgal
386581b3f8 add missing skipif tag 2005-12-25 22:38:14 +00:00
Frank M. Kromann
67313884c1 Export symbols needed by pecl/http 2005-12-15 02:25:58 +00:00
foobar
3e669bc950 MFH: nuke php3 legacy 2005-12-06 02:28:41 +00:00
Antony Dovgal
28dfe0dfd9 remaining part of the fix (-o -> ||) 2005-11-29 18:35:26 +00:00
Sara Golemon
a420b562df MFH (r-1.2) Sync tests with new defaults 2005-11-24 04:37:47 +00:00
Sara Golemon
7f367c9d83 Widen allowable range of values for 'window' bits.
Make -MAX_WBITS default (to match gzinflate() and gzdeflate())
2005-11-22 22:05:38 +00:00
Michael Wallner
2c5c8c161c - fix the fix 2005-10-25 15:35:39 +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
Ilia Alshanetsky
2b32ff53cd MFH: Resolved bug #34240. 2005-09-02 17:25:16 +00:00
Ilia Alshanetsky
daa209297d MFH: Fixed bug #34191 (ob_gzhandler does not enforce trailing \0). 2005-08-21 16:03:21 +00:00
Edin Kadribasic
36cc9d0d42 Add missing export 2005-08-06 22:18:41 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Edin Kadribasic
56dd9f5731 Export missing symbol 2005-07-06 21:18:09 +00:00
foobar
a20383ba06 - Unify the "configure --help" texts 2005-05-29 23:17:16 +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