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
Joe Orton
2685ca935f
Update extensions to use /path/to/$PHP_LIBDIR rather than /path/to/lib
...
to support multi-ABI platforms.
2004-11-03 14:32:52 +00:00
Ilia Alshanetsky
ee8a0fc8f8
Fixed a nasty resource/memory/disk-space leak when opening zlib files
...
via wrapper stacking ala compress.zlib://http://...
2004-08-26 23:36:05 +00:00
Sara Golemon
f502f56613
Oops, copy/paste typo
2004-07-21 02:39:53 +00:00
Sara Golemon
ee93ed0aaa
Persistent mallocs can return NULL (on failure)
2004-07-21 02:38:40 +00:00
Sara Golemon
fc7197322c
Make persistency safe
2004-07-20 05:08:52 +00:00
Wez Furlong
a5b697826b
not safe for persistent streams
2004-07-18 13:23:40 +00:00
Sara Golemon
b63393dea0
Update windows build files for filter support
2004-07-17 00:21:04 +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
Frank M. Kromann
9a10491752
Export symbols required by zlib_filter extension
2004-04-07 18:47:09 +00:00
Hartmut Holzgraefe
eeb172b29f
"The Visa to Sibiria" (work in progress)
...
Adding a package.xml to a bundled extension does not only
ease the transition to PECL whereever suitable but also
allows to build and install an extension as "shared" using
the PEAR installer without having to deal with phpize and
friends by hand
2004-03-23 19:46:10 +00:00
Frank M. Kromann
a5fec66463
More ZLIB exports needed by the ming extension
2004-03-10 21:59:29 +00:00
Frank M. Kromann
579a7dd0c9
Reexport some zlib symbols so we can avoid linking with zlib.lib in shared extensions (on win32)
2004-03-10 18:30:44 +00:00
foobar
f4983c0d3f
- Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5
2004-01-17 13:00:38 +00:00
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
...
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Wez Furlong
48b96c10d2
glob-ify lib checks; this simplifies writing of config.w32 files a little.
2004-01-07 20:06:32 +00:00
Jon Parise
85735c23c6
Correcting the description field.
2003-12-22 06:19:01 +00:00
Wez Furlong
8da99a195e
we only use zlib.lib
2003-12-19 12:54:49 +00:00
Sara Golemon
c56647833b
Route mkdir()/rmdir() via wrapper ops.
...
Move current rmdir()/rmdir() code to plain_wrappers.c
Implement mkdir()/rmdir() in ftp:// wrapper
2003-12-13 04:07:18 +00:00
Sara Golemon
b1f8236b63
Route rename() via wrapper ops.
...
Move current rename() code to main/streams/plain_wrapper.c
Implement ftp/rename()
Implement userstreams/rename()
2003-12-12 23:06:42 +00:00
Wez Furlong
952e0db997
Use Rob's static libxml+libiconv library; new build no longer
...
requires libxml2.dll or iconv.dll at runtime.
Since we have iconv built in, enable iconv extension by
default too.
2003-12-05 20:17:47 +00:00
Wez Furlong
34df2ae239
some tweaks for Frank
2003-12-03 02:47:45 +00:00
Wez Furlong
05b9b20ed8
Add new (optional!) win32 build infrastructure.
...
Will follow up to internals@ shortly.
2003-12-02 23:17:04 +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
Sascha Schumann
5b09f342fe
improve format string
2003-08-29 07:34:47 +00:00
Stefan Roehrich
aa632187cd
Fixed bug #25218 ("deflate" compressed pages had a gzip header, which
...
should only be sent with "gzip" compressed pages).
2003-08-24 13:59:34 +00:00
Stefan Roehrich
8828e17a44
Fixed zlib.output_compression without register_long_vars set.
2003-08-24 13:32:50 +00:00
foobar
e9eb29011c
Nuke unused variable
2003-08-11 01:56:43 +00:00
Derick Rethans
e491d75df3
- Fix memleak (this strndup is totally unnecessary)
2003-08-09 11:20:38 +00:00
Ilia Alshanetsky
308df2af54
Fixed bug #24827 (ob_gzhandler overrides Vary header)
2003-07-27 18:16:06 +00:00
Ilia Alshanetsky
402edee1a6
gztell() is not necessary, the return value of gzseek() represents the
...
new position. With zlib 1.1.4 gztell() alse returns 0 when working
on non-zlib files (test ext/zlib/tests/gzreadgzwriteplain.phpt).
2003-07-24 00:03:42 +00:00
Andrey Hristov
5fcc682ebc
proto fixes
2003-07-19 19:23:34 +00:00
Sascha Schumann
7c5afebdb8
Don't add -L/usr/lib
2003-06-27 00:37:21 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
Rasmus Lerdorf
18954d8bd2
Remove bogus commit here too
2003-05-21 17:02:40 +00:00