7 Backout changes made in 2.014
12 Updated to check for indirect dependencies.
24 * Fixed problem that meant Perl 5.10 could not upgrade this module.
29 * Minor documentation issue with flush.
34 * Minor documentation changes in README
36 2.007 22 September 20007
38 * lib/Compress/Zlib.pm -- 1.x Backward Compatability issues
39 gzclose - documented return value was wrong, should be 0 for ok.
40 gzflush - return value didn't match 1.x, should return 0 if ok.
41 [rt.cpan.org #29215] and Debian bug #440943 http://bugs.debian.org/440943
43 2.006 1 September 20007
46 Added INSTALLDIRS directive to install as a core module when built
50 Fixed crc32 and adler32 tests in to remove ascii assumption.
52 * lib/Compress/Zlib.pm
53 Make gzreadline not support $/, just like in Compress::Zlib 1.x
54 Folk who want $/ with readline support can get it in
55 IO::Uncompress::Gunzip.
56 [rt.cpan.org #28663] and Debian bug #435656 http://bugs.debian.org/435656
59 * Added info about removing Compress::Zlib version 1, before
64 * rewrote memGzip using IO::Compress::Gzip::gzip
68 * Added explicit version checking
70 2.002 29 December 2006
72 * Documentation updates.
74 * Fix append mode with gzopen.
77 * Allow gzopen to read from and write to a scalar reference.
83 2.000_14 26 October 2006
91 2.000_12 16 April 2006
93 * Fixed gzread to zap the output buffer to an empty string when zero
94 bytes are requested. This matches the behaviour of C::Z 1.x
96 2.000_11 10 April 2006
100 2.000_10 13 March 2006
102 * Changed gzread so that its behaviour matches C::Z::gzread 1.x if it
103 is called after eof. In this case it will write an empty string
104 into the output parameter. This change is solely for backward
105 compatability reasons.
107 2.000_09 3 March 2006
111 2.000_08 2 March 2006
113 * Breakout zlib specific code into separate modules.
115 * Limited support for reading/writing zip files
117 2.000_06 5 October 2005
119 * Added eof parameter to Compress::Zlib::inflate method.
121 * Fixed issue with 64-bit
123 2.000_05 4 October 2005
125 * Renamed IO::* to IO::Compress::* & IO::Uncompress::*
127 2.000_04 23 September 2005
129 * Fixed some more non-portable test that were failing on VMS.
131 * fixed problem where error messages in the oneshot interface were
134 2.000_03 12 September 2005
136 * Fixed some non-portable test that were failing on VMS.
138 * Fixed export of zlib constants from the IO::* classes
140 2.000_02 6 September 2005
142 * Split Append mode into Append and Merge
144 * Fixed typos in the documentation.
148 * Added libscan to Makefile.PL
150 * Added InputLength for IO::Gunzip et al
152 2.000_01 22 August 2005
154 * Fixed VERSION in Compress::Gzip::Constants
156 * Removed Compress::Gzip::Info from the distribution.
158 2.000_00 21 August 2005
160 * First Beta relase of Compress::zlib rewrite.
162 1.38 - 6 September 2005
164 * Integrate core change 25304 -- Symbian Update
166 * Added libscan to Makefile.PL
168 1.37 - 12 August 2005
170 * Change to t/03examples.t for VMS from Abe Timmerman
174 * Renamed zlib-src-1.2.3 to zlib-src to help VMS
176 * Fixed Makefile.PL for VMS
178 * Fixed t/03examples.t for VMS
180 * Added a couple of notes about incompatibility with Unix compress.
184 * Updated zlib source to 1.2.3
186 * Fixed problem with where two calls to gzclose would hang the debugger.
187 See https://rt.cpan.org/Ticket/Display.html?id=13789
189 * Added code from Alexey Tourbin to use XSLoader when available,
190 and DynaLoader otherwise.
192 * Documented that the compress & uncompress functions were not
193 the same as the Unix utilities of the same name.
195 * Fixed 05gzsetp -- it left a temp file hanging around.
197 * Integrate core change 24787 - SvUPGRADE returns void in blead
199 * Integrate core change 24788 - Makefile.PL adjustments for the core
202 1.34 - 30 January 2005
204 * Fixed typo in the README
206 * Fixed examples.t on Win32 where paths have embedded whitespace.
208 * Fix for Cygwin and core integration from Jos I. Boumans
210 * Upgrade zlib source to 1.2.2
212 1.33 - 14 January 2004
214 * Reworked Makefile.PL to avoid creating a private copy of zlib.
215 This both simplifies the build, plus it makes life easier for VMS.
217 * Patches for Makefile.PL to get it to work on VMS supplied by
220 * memGunzip has very slow on FreeBSD. Turns out to be down to
221 the way realloc works on FreeBSD. Changed both inflate & deflate
222 to use exponentially increasing buffer sizes when they need to
223 realloc. Thanks to Peter Jeremy for the lowdown on FreeBSD
226 1.32 - 26 November 2003
228 * Steve Hay reported a problem on rt.cpan.org with Windows and
229 MSCV++ 6.0 where the source from the zlib directory was getting
230 installed with the rest of the module.
231 https://rt.cpan.org/Ticket/Display.html?id=1741
233 This has been fixed by renaming the "zlib" directory to "zlib-src"
234 thus avoiding a conflict with the name of this Perl module.
236 * Fixed a bug in the inflate method where the input buffer is an
237 lvalue (via substr). Problem & solution reported by Salvador Fandiqo.
239 * Tightened up the logic in Makefile.PL when BUILD_ZLIB is
240 True. Issue spotted by Ralf S. Engelschall.
242 1.31 - 29 October 2003
244 * Reinstated the creation of .bak files - $^I seems to need a
245 backup file on Windows. For OpenVMS, the extenstion _bak is used.
247 1.30 - 28 October 2003
249 * Bundled a sub-set of the zlib source with the module and changed
250 the default make behaviour to build with the included zlib source.
251 The previous behaviour of using a pre-built zlib library is
252 still available for those that want it.
254 * Added prototypes to the subs in Zlib.pm that didn't already have
255 them. Patch from Ed Avis.
257 * No .bak files are created by Makefile.PL any more - this keep
258 distclean much happier. Patch suggested by Ed Avis.
259 This also fixes a similar problem reported by Dr. Martin Zinser
262 * Documentation for some of the gz functions updated.
264 * Format strings modified in DispStream to keep OpenVMS happy.
265 Problem reported by Dr. Martin Zinser.
270 * Makefile.PL now displays a warning about not installing
271 Compress::Zlib via the CPAN shell.
273 * Fix to allow intermingling of gzread & gzreadline - patch
274 supplied by Doug Perham.
276 * memGunzip will silently now work if the gzip trailer is
277 missing. Some HTTP Origin Servers seem to leave it out.
281 * Tests 148 & 150 from t/02zlib.t were failing on redhat 9.
283 * Added a few words about the problems with Mac OS X to the README file.
287 * Fixed bug in gzopen where $gzerrno wasn't being set correctly.
288 The symptom was $gzerrno was set to Z_MEM_ERROR although the file
289 was opened ok. If gzopen failed, $gzerrno was being set correctly.
290 This problem wasn't spotted before because the typical test
291 to determine whether gzopen passed or failed was to check its
294 1.19 - 31 October 2002
296 * fixed a problem with t/02zlib.t that was failing with redhat 8.
298 1.18 - 24 October 2002
300 * fixed a Win32 problem in t/02zlib.t by changing sysread to read.
302 * zlib 1.0.5 & older doesn't have gzsetparams & gzeof. Added a new
303 variable to config.in to flag an old version of zlib. Split
304 out the tests for gzsetparams into t/05gzsetp.t
308 * Moved the test to check the versions of libz & zlib.h into a separate
309 file and added troubleshooting notes to README.
311 * In gzopen, only attempt to call "tell" for normal files.
313 * Fixed to work in taint mode.
315 * Broke changes out of README into Changes file.
317 * Replaced internal use of Z_PARTIAL_FLUSH symbol with Z_SYNC_FLUSH.
318 zlib.h says /* will be removed, use Z_SYNC_FLUSH instead */
320 1.16 - 13 December 2001
322 * Fixed bug in Makefile.PL that stopped "perl Makefile.PL PREFIX=..."
325 1.15 - 4th December 2001
327 * Changes a few types to get the module to build on 64-bit Solaris
329 * Changed the up/downgrade logic to default to the older constructs, and
330 to only call a downgrade if specifically requested. Some older versions
331 of Perl were having problems with the in-place edit.
333 * added the new XS constant code.
335 1.14 - 27th August 2001
337 * Memory overwrite bug fixed in "inflate". Kudos to Rob Simons for
338 reporting the bug and to Anton Berezin for fixing it for me.
340 1.13 - 31st June 2001
342 * Make sure config.in is consistant when released.
344 1.12 - 28th April 2001
346 * Modified Makefile.PL to only enable the warnings pragma if
347 using perl 5.6.1 or better.
349 1.11 - 17th February 2001
351 * Added logic in Makefile.PL to toggle between using $^W and
352 the warnings pragma in the module.
354 * The module, the examples & the test harness are now all strict
357 1.10 - 5th February 2001
359 * fixed a bug in memGunzip. Used Z_ERR instead of Z_DATA_ERROR.
361 1.09 - 15th January 2001
363 * Silenced a few compiler warnings.
365 * Updated zlib home site in README & Zlib.pm to www.info-zip.org
367 * Minor typo in Zlib.pm - a link used AUTHORS instead of AUTHOR
368 -- spotted by Frank Martini.
370 * Mention Archive::Zip
372 * added memGunzip. This is largely based on code provided by Jim Leonard.
374 * $deflate->flush can now take an optional parameter. Valid
375 values are Z_NO_FLUSH, Z_PARTIAL_FLUSH, Z_SYNC_FLUSH, Z_FULL_FLUSH
376 and Z_FINISH. The default is Z_FINISH.
380 * uncompress was clobbering its input parameter. Now it doesn't.
381 This bug was spotted by Deven T. Corzine.
383 * If a variable that only ever contained a number was given
384 to compress or deflate, it would not be compressed properly. Now
385 it will be coerced to a string and then compressed. This bug
386 was spotted by Deven T. Corzine.
390 * ANSI-ified the static functions in Zlib.xs
392 * Added the ability to build zlib along with the module.
393 This feature is 90% based on a Makefile provided by Gurusamy
398 * Fixed a nasty problem where inflate could truncate the data
399 returned. Thanks to Douglas Thomson <dougt@mugc.cc.monash.edu.au>
400 for both spotting the problem and fixing the bug.
402 * Added a note about the undocumented features in zlib that are
403 required when accessing zip files.
405 * gzclose will now get called automatically when the gzip object is
410 * Previous release used newSVpvn, which doesn't exist in 5.004_04
411 or earlier. Changed to use newSVpv instead.
413 * The module needs Perl 5.004 or better, so updated the version
414 checking in Zlib.pm and Makefile.PL
418 * Bug 19990527.001: compress(undef) core dumps -- Fixed.
422 * Updated to use the new PL_ symbols.
423 Means the module can be built with Perl 5.005_5*
427 * The return codes for gzread, gzreadline and gzwrite were
428 documented incorrectly as returning a status code.
430 * The test harness was missing a "gzclose". This caused problem
431 showed up on an amiga. Thanks to Erik van Roode for reporting
434 * Patched zlib.t for OS/2. Thanks to Ilya Zakharevich for the patch.
438 * A number of fixes to the test suite and the example scripts to
439 allow them to work under win32. All courtesy of Gurusamy
444 * Fixed crc32 & adler32. They were very broken.
446 * The following functions can now take a scalar reference in
447 place of a scalar for their buffer parameters:
456 This should mean applications that make use of the module don't
457 have to copy large buffers around.
460 * Normally the inflate method consumes I<all> of the input buffer
461 before returning. The exception to this is when inflate detects
462 the end of the stream (Z_STREAM_END). In this case the input
463 buffer need not be completely consumed. To allow processing of
464 file formats that embed a deflation stream (e.g. zip, gzip),
465 the inflate method now sets the buffer parameter to be what
466 remains after inflation.
468 When the return status is Z_STREAM_END, it will be what remains
469 of the buffer (if any) after deflation. When the status is Z_OK
470 it will be an empty string.
472 This change means that the buffer parameter must be a lvalue.
474 * Fixed crc32 and adler32. They were both very broken.
476 * Added the Compress::Zlib::memGzip function.
478 0.5 - Confirmed that no changes were necessary for zlib 1.0.3, or 1.0.4.
480 The optional parameters for deflateInit and inflateInit can now
481 be specified as an associative array in addition to a reference
482 to an associative array. They can also accept the -Name
485 gzopen can now optionally take a reference to an open
486 filehandle in place of a filename. In this case it will call
489 Added gzstream example script.
491 0.4 - Upgrade to support zlib 0.99
493 Added dictionary interface.
495 Fixed bug in gzreadline - previously it would keep returning
496 the same buffer. This bug was reported by Helmut Jarausch
498 Removed dependency to zutil.h and so dropped support for
500 DEF_MEM_LEVEL (use MAX_MEM_LEVEL instead)
501 DEF_WBITS (use MAX_WBITS instead)
503 0.3 - Added prototype specification.
505 0.2 - Fixed a minor allocation problem in Zlib.xs
507 0.1 - first alpha release. 2nd October 1995