2.011 17 May 2008
* No Changes
2.010 5 May 2008
* Fixed problem that meant Perl 5.10 could not upgrade this module.
[RT #35341]
2.009 20 April 2008
* Minor documentation issue with flush.
[rt.cpan.org #31446]
2.008 2 November 2007
* Minor documentation changes in README
2.007 22 September 20007
* lib/Compress/Zlib.pm -- 1.x Backward Compatability issues
gzclose - documented return value was wrong, should be 0 for ok.
gzflush - return value didn't match 1.x, should return 0 if ok.
[rt.cpan.org #29215] and Debian bug #440943http://bugs.debian.org/440943
2.006 1 September 20007
* Makefile.PL
Added INSTALLDIRS directive to install as a core module when built
on a perl >= 5.9.
* t/03zlib-v1.t
Fixed crc32 and adler32 tests in to remove ascii assumption.
* lib/Compress/Zlib.pm
Make gzreadline not support $/, just like in Compress::Zlib 1.x
Folk who want $/ with readline support can get it in
IO::Uncompress::Gunzip.
[rt.cpan.org #28663] and Debian bug #435656http://bugs.debian.org/435656
2.005 18 June 2007
* Added info about removing Compress::Zlib version 1, before
installing version 2.
2.003 2 January 2007
* Added explicit version checking
2.002 29 December 2006
* Documentation updates.
* Fix append mode with gzopen.
rt-cpan.org 24041
* Allow gzopen to read from and write to a scalar reference.
2.001 1 November 2006
* Remove beta status.
2.000_14 26 October 2006
* No changes.
2.000_13 20 June 2006
* No changes.
2.000_12 16 April 2006
* Fixed gzread to zap the output buffer to an empty string when zero
bytes are requested. This matches the behaviour of C::Z 1.x
2.000_11 10 April 2006
* No changes.
2.000_10 13 March 2006
* Changed gzread so that its behaviour matches C::Z::gzread 1.x if it
is called after eof. In this case it will write an empty string
into the output parameter. This change is solely for backward
compatability reasons.
2.000_09 3 March 2006
* Posted to CPAN
2.000_08 2 March 2006
* Breakout zlib specific code into separate modules.
* Limited support for reading/writing zip files
2.000_06 5 October 2005
* Added eof parameter to Compress::Zlib::inflate method.
* Fixed issue with 64-bit
2.000_05 4 October 2005
* Renamed IO::* to IO::Compress::* & IO::Uncompress::*
2.000_04 23 September 2005
* Fixed some more non-portable test that were failing on VMS.
* fixed problem where error messages in the oneshot interface were
getting lost.
2.000_03 12 September 2005
* Fixed some non-portable test that were failing on VMS.
* Fixed export of zlib constants from the IO::* classes
2.000_02 6 September 2005
* Split Append mode into Append and Merge
* Fixed typos in the documentation.
* Added pod/FAQ.pod
* Added libscan to Makefile.PL
* Added InputLength for IO::Gunzip et al
2.000_01 22 August 2005
* Fixed VERSION in Compress::Gzip::Constants
* Removed Compress::Gzip::Info from the distribution.
2.000_00 21 August 2005
* First Beta relase of Compress::zlib rewrite.
1.42 - 3 July 2006
* Ticket #18986 - ExtUtils::Install 1.39 or better fix es the in-use
issue on win32/cygwin, so make the code that checks whether trying
to install via the cpan shell conditional on the version of
ExtUtils::Install.
No pkgsrc changes.
Changes since version 1.35
==========================
1.41 - 4 October 2005
* added hints/mpeix.pl file supplied by Ken Hirsch
1.40 - 23 September 2005
* Fixed failure of 03examples.t for some windows systems.
1.39 - 15 September 2005
* Fixed dTHX macro for 5.00503 on FreeBSD
1.38 - 6 September 2005
* Integrate core change 25304 -- Symbian Update
* Added libscan to Makefile.PL
1.37 - 12 August 2005
* Change to t/03examples.t for VMS from Abe Timmerman
1.36 - 3 August 2005
* Renamed zlib-src-1.2.3 to zlib-src to help VMS
* Fixed Makefile.PL for VMS
* Fixed t/03examples.t for VMS
* Added a couple of notes about incompatibility with Unix compress.
This includes security fix as zlib 1.2.2.
CHANGES
-------
1.35 - 16 July 2005
* Updated zlib source to 1.2.3
* Fixed problem with where two calls to gzclose would hang the debugger.
See https://rt.cpan.org/Ticket/Display.html?id=13789
* Added code from Alexey Tourbin to use XSLoader when available,
and DynaLoader otherwise.
* Documented that the compress & uncompress functions were not
the same as the Unix utilities of the same name.
* Fixed 05gzsetp -- it left a temp file hanging around.
* Integrate core change 24787 - SvUPGRADE returns void in blead
* Integrate core change 24788 - Makefile.PL adjustments for the core
1.34 - 30 January 2005
* Fixed typo in the README
* Fixed examples.t on Win32 where paths have embedded whitespace.
* Fix for Cygwin and core integration from Jos I. Boumans
* Upgrade zlib source to 1.2.2
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").
binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.
addresses PR pkg/28619 from H. Todd Fujinaka.
in the process. (More information on tech-pkg.)
Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.
Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
Interesting changes since 1.21
==============================
* memGunzip has very slow on FreeBSD. Turns out to be down to
the way realloc works on FreeBSD. Changed both inflate & deflate
to use exponentially increasing buffer sizes when they need to
realloc. Thanks to Peter Jeremy for the lowdown on FreeBSD
memory allocation.
* Fixed a bug in the inflate method where the input buffer is an
lvalue (via substr). Problem & solution reported by Salvador Fandiqo.
* Tightened up the logic in Makefile.PL when BUILD_ZLIB is
True. Issue spotted by Ralf S. Engelschall.
* Added prototypes to the subs in Zlib.pm that didn't already have
them. Patch from Ed Avis.
* Documentation for some of the gz functions updated.
* Fix to allow intermingling of gzread & gzreadline - patch
supplied by Doug Perham.
* memGunzip will silently now work if the gzip trailer is
missing. Some HTTP Origin Servers seem to leave it out.
Changes:
1.21 - 28 April 2003
* Tests 148 & 150 from t/02zlib.t were failing on redhat 9.
* Added a few words about the problems with Mac OS X to the README file.
1.20 - 4 April 2003
* Fixed bug in gzopen where $gzerrno wasn't being set correctly.
The symptom was $gzerrno was set to Z_MEM_ERROR although the file
was opened ok. If gzopen failed, $gzerrno was being set correctly.
This problem wasn't spotted before because the typical test
to determine whether gzopen passed or failed was to check its
return value.
1.19 - 31 October 2002
* fixed a problem with t/02zlib.t that was failing with redhat 8.
1.18 - 24 October 2002
* fixed a Win32 problem in t/02zlib.t by changing sysread to read.
* zlib 1.0.5 & older doesn't have gzsetparams & gzeof. Added a new
variable to config.in to flag an old version of zlib. Split
out the tests for gzsetparams into t/05gzsetp.t
1.17 - 22 October 2002
* Moved the test to check the versions of libz & zlib.h into a separate
file and added troubleshooting notes to README.
* In gzopen, only attempt to call "tell" for normal files.
* Broke changes out of README into Changes file.
* Replaced internal use of Z_PARTIAL_FLUSH symbol with Z_SYNC_FLUSH.
zlib.h says /* will be removed, use Z_SYNC_FLUSH instead */
* Added support for zlib functions inflateSync and deflateParams.
* Added support for zlib functions gzeof and gzsetparams.
* Added support for access to adler, total_in & total_out
* The compress function can now take an optional parameter that
allows the compression level to be specified. This mirrors the
compress2 function available in zlib.
* memGzip doesn't work properly with perl 5.8.0 when it is given
UTF-8 data. Bug spotted by Andreas J. Koenig.
* Added note about Linux zlib-devel RPM to README.
* Fixed recursive build problem on win32 machines.
* Fixed problem with the test harness on Mac OS X.
Thanks to Carl Johan Berglund for reporting the problem and
helping track it down.
* Changes a few types to get the module to build on 64-bit Solaris
* Changed the up/downgrade logic to default to the older constructs, and
to only call a downgrade if specifically requested. Some older versions
of Perl were having problems with the in-place edit.
* added the new XS constant code.
* Fixed bug in Makefile.PL that stopped "perl Makefile.PL PREFIX=..."
working.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
This module provides a Perl interface to part of the info-zip zlib
compression library. For more details see the pod documentation
embedded in the file Zlib.pm.
Package submitted by Damon Brodie in PR pkg/11598.