Clarify that =encoding is global in POD
[p5sagit/p5-mst-13.2.git] / ext / IO-Compress / Changes
CommitLineData
319fab50 1CHANGES
2-------
3
ea6efd2c 4 2.018 3 May 2009
5
6 * IO::Unompress::Bunzip2
7 - The interface to Compress-Raw-Bzip2 now uses the new LimitOutput
8 feature. This will make all of the bzip2-related IO-Compress modules
9 less greedy in their memory consumption.
10
11 * IO::Compress::Zip
12 - Fixed exTime & exUnix2
13
14 - Fixed 'Use of uninitialized value in pack' warning when using
15 ZIP_CM_STORE.
16
7efcbeef 17 2.017 30 March 2009
319fab50 18
319fab50 19 * Merged IO-Compress-Base, IO-Compress-Bzip2, IO-Compress-Zlib &
20 Compress-Zlib into IO-Compress.
21
dc82791d 22 * The interface to Compress-Raw-Zlib now uses the new LimitOutput
23 feature. This will make all of the zlib-related IO-Compress modules
24 less greedy in their memory consumption.
25
26 * Removed MAN3PODS from Makefile.PL
27
28 * A few changes to get the test harness to work on VMS courtesy of
29 Craig. A. Berry.
30
319fab50 31 * IO::Compress::Base & IO::Uncompress::Base
32 Downgraded some croaks in the constructors to just set $! (by letting
33 the code attempt to open a file and fail).
34 This makes the behavior more consistent to a standard open.
35 [RT #42657]
36
37 * IO::Uncompress::Base
38 Doing a seek with MultiStream could drop some of the uncompressed
39 data. Fixed.
40
41 * IO::Compress::Zip
42 - Fixed problem with the uncompressed & uncompressed fields when
43 zip64 is enabled. They were set to 0x0000FFFF instead of
44 0xFFFFFFFF. Also the ZIP64 extra field was 4 bytes short.
45 Problem spotted by Dino Chiesa.
46
dc82791d 47 * IO::Uncompress::Unzip
48 - use POSIX::mktime instead of Time::Local::timelocal to convert
49 the zip DOS time field into Unix time.
50
319fab50 51 * Compress::Zlib
52 - Documented Compress::Zlib::zlib_version()
53
54
55 2.015 3 September 2008
56
57 * Makefile.PL
58 Backout changes made in 2.014
59
60 2.014 2 September 2008
61
62 * Makefile.PL
63 Updated to check for indirect dependencies.
64
65 2.013 18 July 2008
66
67 * IO::Compress::Base
68 - Allow IO::Compress::Base::Parameters::parse to accept an
69 IO::Compress::Base::Parameters object.
70
71 2.012 15 July 2008
72
73 * IO::Compress::Base
74 - Silenced an uninitialised value warning when reading a line
75 at a time from a zip file where the content uses ZIP_CM_STORE.
76 [Problem spotted & fixed by Jeff Holt]
77
78 * IO::Compress::Base & IO::Uncompress::Base
79 - local-ise $!, $? et al in the DESTROY methods.
80
81 2.011 17 May 2008
82
83 * IO::Compress::Base
84 - Fixed problem that prevented the creation of a zip file that
85 contained more than one compression method.
86
87 * IO::Compress::Base::Common
88 - The private Validator class in this module clashes with another
89 CPAN module. Moved Validator into the IO::Compress::Base::Common
90 namespace.
91 [RT #35954]
92
93 * IO::Uncompress::Unzip
94 - Print an error message if the zip file contains a
95 member compressed with bzip2 and IO::Uncompress::Bunzip2 is
96 not available.
97 - Could not cope with mixed compression zip files. For example a
98 zip file that contains both STORED and DEFLATED content.
99 [RT #35573]
100
101 2.010 5 May 2008
102
103 * Fixed problem that meant Perl 5.10 could not upgrade this module.
104 [RT #35342 & 35341]
105
106 2.009 20 April 2008
107
108 * Removed the alpha status from File::GlobMapper
109
110 * IO::Compress::Base
111 When writing output never output a zero length buffer.
112 Done to improve interoperability with other tied filenandle
113 modules.
114
115 * Changed IO::Uncompress::Base to not use the offset parameter of
116 the read method when reading from a filehandle.
117
118 The object returned from Net::FTP::retr implements a non-standard
119 read method. The third parameter is used for a timeout value
120 rather than an offset.
121 [rt.cpan#33231]
122
123 * Changed IO::Uncompress::Base to not use the eof method when
124 reading from a filehandle.
125
126 The object returned from Net::FTP::retr implements both the read
127 method and the eof method. Unfortunately the implementation of
128 the read method uses non-buffered IO (by using sysread) while
129 the eof method uses buffered IO. Mixing buffered and non-buffered
130 IO results in data corruption.
131
132 * IO::Compress::Zip
133
134 - Added exUnix2 option to allow storing of UID & GID.
135 - When running on a Unix derivative the ExtAttr option now defaults
136 to the equivalent of 0666. For all other systems the default
137 remains 0.
138
139 * Compress::Zlib
140 - Minor documentation issue with flush.
141 [rt.cpan.org #31446]
142
143
144 2.008 2 November 2007
145
146 * Minor documentation changes in README
147
148 * t/compress/truncate.pl
149 EBCDIC Cleanup.
150
151 * IO::Compress::Gzip::Constants.pm
152 Tidied up the character classes used to defined invalid
153 FNAME & FCOMMENT fields for EBCDIC.
154
155 * Compress::Zlib
156 lib/Compress/Zlib.pm -- 1.x Backward Compatability issues
157 gzclose - documented return value was wrong, should be 0 for ok.
158 gzflush - return value didn't match 1.x, should return 0 if ok.
159 [rt.cpan.org #29215] and Debian bug #440943 http://bugs.debian.org/440943
160
161 2.006 1 September 20007
162
163 * Makefile.PL
164 Added INSTALLDIRS directive to install as a core module when built
165 on a perl >= 5.9.
166
167 * IO::Uncompress::RawDeflate
168
169 - Fixed export problem - "$RawDeflateError" and "rawdeflate" were
170 not being exported with ":all".
171
172 * Compress::Zlib
173 - t/03zlib-v1.t
174 Fixed crc32 and adler32 tests in to remove ascii assumption.
175
176 - lib/Compress/Zlib.pm
177 Make gzreadline not support $/, just like in Compress::Zlib 1.x
178 Folk who want $/ with readline support can get it in
179 IO::Uncompress::Gunzip. [rt.cpan.org #28663] and
180 Debian bug #435656 http://bugs.debian.org/435656
181
182
183 2.005 18 June 2007
184
185 * Stephen Turner reported a problem when using IO::Uncompress::Gunzip
186 with XML::Parser. Turns out there were two issues.
187
188 Firstly an IO::Uncompress object isn't an IO::Handle. It is now.
189
190 Secondly the implementation of "read" wasn't honouring this
191
192 SCALAR will be grown or shrunk to the length actually read.
193
194 In particular it didn't do the right thing on EOF.
195 This has been fixed.
196
197 * IO::Compress::Gzip & IO::Uncompress::Gunzip
198
199 - RFC1952 says that the FNAME & FCOMMENT header fields must be ISO
200 8859-1 (LATIN-1) characters. The code can optionally police this.
201 Added a fix for this logic when running on EBCDIC.
202
203 * Compress::Zlib
204 Added info about removing Compress::Zlib version 1, before
205 installing version 2.
206
207 2.004 3 March 2007
208
209 * Made seek less wasteful of memory.
210
211 * IO::Compress::Zip
212
213 - Added Zip64 documentation.
214
215 - Fixed extended timestamp.
216 Creation time isn't available in Unix so only store the
217 modification time and the last access time in the extended field.
218
219 - Fixed file mode.
220
221 - Added ExtAttr option to control the value of the "external file
222 attributes" field in the central directory.
223
224 - Added Unix2 extended attribute ("Ux").
225 This stores the UID & GID.
226
227 * IO::Compress::Gzip
228
229 - Fixed 050interop-gzip.t for Windows
230
231 * IO::Compress::Bzip2
232
233 - Fixed 050interop-bzip2.t for Windows
234
235 * Compress::Zlib
236
237 - rewrote memGzip using IO::Compress::Gzip::gzip
238
239 2.003 2 January 2007
240
241 * Added explicit version checking
242
243 2.002 29 December 2006
244
245 * Documentation updates.
246
247 * Added IO::Handle to the ISA test in isaFilehandle
248
249 * Add an explicit use_ok test for Scalar::Util in the test harness.
250 The error message reported by 01misc implied the problem was
251 somewhere else.
252 Also explictly check that 'dualvar' is available.
253
254 * Compress::Zlib
255 - Fix append mode with gzopen.
256 rt-cpan.org 24041
257
258 - Allow gzopen to read from and write to a scalar reference.
259
260 2.001 1 November 2006
261
262 * Remove beta status.
263
264 2.000_14 26 October 2006
265
266 * IO::Uncompress::Base
267 Added support for $/ in record mode
268
269 * IO::Uncompress::Base
270 The readline interface was substantially slower than the 1.x
271 equivalent. This has now been sorted.
272 Thanks to Andreas J. Koenig for spotting the problem.
273
274 * IO::Uncompress::AnyUncompress
275 Added IO::Uncompress::Lzf to the list of supported uncompresors.
276
277 * IO::Uncompress::Base
278 Added TrailingData to one-shot interface.
279
280 * IO::Uncompress::AnyUncompress
281 Remove raw-deflate (RFC1951) from the default list of compressors
282 to check.
283 It can still be included if the new RawInflate parameter is
284 supplied.
285 This change was made because the only way to tell if content is
286 raw-deflate is to attempt to uncompress it - a few false positives
287 have popped up recently, which suggests that auto-detecting raw
288 deflate is far from perfect.
289 The equivalent change has been made to IO::Uncompress::AnyInflate.
290 [Core patch #28445]
291
292 * Don't check that filehandles are writable. It would seem that
293 "-w *STDOUT" on windows returns false.
294 [Core Patch #28415]
295
296 * IO::Uncompress::Deflate
297 Beefed up the magic signature check. Means less false positives
298 when auto-detecting the compression type.
299
300 * IO::Uncompress::UnZip
301 Tighten up the zip64 extra field processing to cope with the case
302 wheere only some of the local header fields are superceeded.
303
304 * IO::Uncompress::AnyInflate
305 Remove raw-deflate (RFC 1951) from the default list of compressors
306 to check.
307 It can still be included if the new RawInflate parameter is
308 supplied.
309 This change was made because the only way to tell if content is
310 raw-deflate is to attempt to uncompress it - a few false positives
311 have popped up recently, which suggests that auto-detecting raw
312 deflate is far from perfect.
313 The equivalent change has been made to IO::Uncompress::AnyUncompress.
314 [Core patch #28445]
315
316 2.000_13 20 June 2006
317
318 * Store compress & uncompressed sizes as 64-bit.
319
320 * For one-shot uncompression, like this
321
322 unzip "some.zip" => \@a, MultiStream => 1;
323
324 Push each uncompressed stream from "some.zip" onto @a.
325
326 * Added IO::Compress::Base::FilterEnvelope
327
328 * Added IO::Uncompress::Base::nextStream
329
330 * The '-' filehandle now maps to either *STDIN or *STDOUT.
331 This keeps mod_perl happier. Was using these before
332
333 new IO::File("<-")
334 new IO::File(">-")
335
336 * Preliminary support for reading zip files with zip64 members.
337
338 2.000_12 3 May 2006
339
340 * Moved the code for creating and parsing the gzip extra field into
341 IO::Compress::Zlib::Extra.pm so that IO::Compress::Zip &
342 IO::Uncompress::Unzip can use it as well.
343
344 * Added ExtraFieldLocal & ExtraFieldCentral options to IO::Compress::Zip.
345 These allow the creation of user-defined extra fields in the local
346 and central headers, just like the ExtraField option in
347 IO::Compress::Gzip.
348
349 * Moved the zip constants into IO::Compress::Zip::Constants
350
351 * Added exTime option to IO::Compress::Zip.
352 This allows creation of the extended timestamp extra field.
353
354 * Added Minimal option to IO::Compress::Zip.
355 This disables the creation of all extended fields.
356
357 * Added TextFlag option to IO::Compress::Zip.
358
359 * Documented Comment and ZipComment options in IO::Compress::Zip.
360
361 * Compress::Zlib
362 Fixed gzread to zap the output buffer to an empty string when zero
363 bytes are requested. This matches the behaviour of C::Z 1.x
364
365 2.000_11 10 April 2006
366
367 * Transparent + InputLength made more robust where input data is not
368 compressed.
369
370 * Updated Documentation for zip modules.
371
372 * Changed IO::Compress::Zip 'Store' option to 'Method' and added
373 symbolic constants ZIP_CM_STORE, ZIP_CM_DEFLATE and ZIP_CM_BZIP2 to
374 allow the compression method to be picked by the user.
375
376 * Added support to allow bzip2 compressed data to be written/read
377 with IO::Compress::Zip and IO::Uncompress::Unzip.
378
379 * Beefed up 050interop-gzip.t to check that the external gzip command
380 works as expected before starting the tests. This means that
381 this test harness will just be skipped on problematic systems.
382
383 * Merged core patch 27565 from Steve Peters. This works around a
384 problem with gzip on OpenBSD where it doesn't seem to like
385 compressing files < 10 bytes long.
386
387 * Beefed up 050interop-bzip2.t to check that the external bzip2 command
388 works as expected before starting the tests. This means that
389 this test harness will just be skipped on problematic systems.
390
391 2.000_10 13 March 2006
392
393 * AnyUncompress doesn't assume that IO-Compress-Zlib is installed any
394 more.
395
396 * Documentation updates.
397
398 * Compress::Zlib
399 Changed gzread so that its behaviour matches C::Z::gzread 1.x if it
400 is called after eof. In this case it will write an empty string
401 into the output parameter. This change is solely for backward
402 compatability reasons.
403
404 2.000_09 3 March 2006
405
406 * Released to CPAN.
407
408 2.000_08 2 March 2006
409
410 * Split IO::Compress::Base into its own distribution.
411
412 * Split IO::Compress::Bzip2 into its own distribution.
413
414 * Added opened, autoflush and input_line_number.
415
416 * Beefed up support for $.
417
418 * Split IO::Compress::Zlib into its own distribution.
419
420 * Beefed up support for zip/unzip
421
422 * Breakout zlib specific code into separate modules.
423
424 * Limited support for reading/writing zip files
425
426 2.000_06 5 October 2005
427
428 * Added eof parameter to Compress::Zlib::inflate method.
429
430 * Fixed issue with 64-bit
431
432 2.000_05 4 October 2005
433
434 * Renamed IO::* to IO::Compress::* & IO::Uncompress::*
435
436 2.000_04 23 September 2005
437
438 * Fixed some more non-portable test that were failing on VMS.
439
440 * fixed problem where error messages in the oneshot interface were
441 getting lost.
442
443 2.000_03 12 September 2005
444
445 * Fixed some non-portable test that were failing on VMS.
446
447 * Fixed export of zlib constants from the IO::* classes
448
449 2.000_02 6 September 2005
450
451 * Split Append mode into Append and Merge
452
453 * Fixed typos in the documentation.
454
455 * Added pod/FAQ.pod
456
457 * Added libscan to Makefile.PL
458
459 * Added InputLength for IO::Gunzip et al
460
461 2.000_01 22 August 2005
462
463 * Fixed VERSION in Compress::Gzip::Constants
464
465 * Removed Compress::Gzip::Info from the distribution.
466
467 2.000_00 21 August 2005
468
469 * First Beta relase of Compress::zlib rewrite.
470
471Compress-Zlib version 1 Changes
472
473 1.38 - 6 September 2005
474
475 * Integrate core change 25304 -- Symbian Update
476
477 * Added libscan to Makefile.PL
478
479 1.37 - 12 August 2005
480
481 * Change to t/03examples.t for VMS from Abe Timmerman
482
483 1.36 - 3 August 2005
484
485 * Renamed zlib-src-1.2.3 to zlib-src to help VMS
486
487 * Fixed Makefile.PL for VMS
488
489 * Fixed t/03examples.t for VMS
490
491 * Added a couple of notes about incompatibility with Unix compress.
492
493 1.35 - 16 July 2005
494
495 * Updated zlib source to 1.2.3
496
497 * Fixed problem with where two calls to gzclose would hang the debugger.
498 See https://rt.cpan.org/Ticket/Display.html?id=13789
499
500 * Added code from Alexey Tourbin to use XSLoader when available,
501 and DynaLoader otherwise.
502
503 * Documented that the compress & uncompress functions were not
504 the same as the Unix utilities of the same name.
505
506 * Fixed 05gzsetp -- it left a temp file hanging around.
507
508 * Integrate core change 24787 - SvUPGRADE returns void in blead
509
510 * Integrate core change 24788 - Makefile.PL adjustments for the core
511
512
513 1.34 - 30 January 2005
514
515 * Fixed typo in the README
516
517 * Fixed examples.t on Win32 where paths have embedded whitespace.
518
519 * Fix for Cygwin and core integration from Jos I. Boumans
520
521 * Upgrade zlib source to 1.2.2
522
523 1.33 - 14 January 2004
524
525 * Reworked Makefile.PL to avoid creating a private copy of zlib.
526 This both simplifies the build, plus it makes life easier for VMS.
527
528 * Patches for Makefile.PL to get it to work on VMS supplied by
529 Craig A. Berry.
530
531 * memGunzip has very slow on FreeBSD. Turns out to be down to
532 the way realloc works on FreeBSD. Changed both inflate & deflate
533 to use exponentially increasing buffer sizes when they need to
534 realloc. Thanks to Peter Jeremy for the lowdown on FreeBSD
535 memory allocation.
536
537 1.32 - 26 November 2003
538
539 * Steve Hay reported a problem on rt.cpan.org with Windows and
540 MSCV++ 6.0 where the source from the zlib directory was getting
541 installed with the rest of the module.
542 https://rt.cpan.org/Ticket/Display.html?id=1741
543
544 This has been fixed by renaming the "zlib" directory to "zlib-src"
545 thus avoiding a conflict with the name of this Perl module.
546
547 * Fixed a bug in the inflate method where the input buffer is an
548 lvalue (via substr). Problem & solution reported by Salvador Fandiqo.
549
550 * Tightened up the logic in Makefile.PL when BUILD_ZLIB is
551 True. Issue spotted by Ralf S. Engelschall.
552
553 1.31 - 29 October 2003
554
555 * Reinstated the creation of .bak files - $^I seems to need a
556 backup file on Windows. For OpenVMS, the extenstion _bak is used.
557
558 1.30 - 28 October 2003
559
560 * Bundled a sub-set of the zlib source with the module and changed
561 the default make behaviour to build with the included zlib source.
562 The previous behaviour of using a pre-built zlib library is
563 still available for those that want it.
564
565 * Added prototypes to the subs in Zlib.pm that didn't already have
566 them. Patch from Ed Avis.
567
568 * No .bak files are created by Makefile.PL any more - this keep
569 distclean much happier. Patch suggested by Ed Avis.
570 This also fixes a similar problem reported by Dr. Martin Zinser
571 on OpenVMS.
572
573 * Documentation for some of the gz functions updated.
574
575 * Format strings modified in DispStream to keep OpenVMS happy.
576 Problem reported by Dr. Martin Zinser.
577
578
579 1.22 - 17 June 2003
580
581 * Makefile.PL now displays a warning about not installing
582 Compress::Zlib via the CPAN shell.
583
584 * Fix to allow intermingling of gzread & gzreadline - patch
585 supplied by Doug Perham.
586
587 * memGunzip will silently now work if the gzip trailer is
588 missing. Some HTTP Origin Servers seem to leave it out.
589
590 1.21 - 28 April 2003
591
592 * Tests 148 & 150 from t/02zlib.t were failing on redhat 9.
593
594 * Added a few words about the problems with Mac OS X to the README file.
595
596 1.20 - 4 April 2003
597
598 * Fixed bug in gzopen where $gzerrno wasn't being set correctly.
599 The symptom was $gzerrno was set to Z_MEM_ERROR although the file
600 was opened ok. If gzopen failed, $gzerrno was being set correctly.
601 This problem wasn't spotted before because the typical test
602 to determine whether gzopen passed or failed was to check its
603 return value.
604
605 1.19 - 31 October 2002
606
607 * fixed a problem with t/02zlib.t that was failing with redhat 8.
608
609 1.18 - 24 October 2002
610
611 * fixed a Win32 problem in t/02zlib.t by changing sysread to read.
612
613 * zlib 1.0.5 & older doesn't have gzsetparams & gzeof. Added a new
614 variable to config.in to flag an old version of zlib. Split
615 out the tests for gzsetparams into t/05gzsetp.t
616
617 1.17 - 23 May 2002
618
619 * Moved the test to check the versions of libz & zlib.h into a separate
620 file and added troubleshooting notes to README.
621
622 * In gzopen, only attempt to call "tell" for normal files.
623
624 * Fixed to work in taint mode.
625
626 * Broke changes out of README into Changes file.
627
628 * Replaced internal use of Z_PARTIAL_FLUSH symbol with Z_SYNC_FLUSH.
629 zlib.h says /* will be removed, use Z_SYNC_FLUSH instead */
630
631 1.16 - 13 December 2001
632
633 * Fixed bug in Makefile.PL that stopped "perl Makefile.PL PREFIX=..."
634 working.
635
636 1.15 - 4th December 2001
637
638 * Changes a few types to get the module to build on 64-bit Solaris
639
640 * Changed the up/downgrade logic to default to the older constructs, and
641 to only call a downgrade if specifically requested. Some older versions
642 of Perl were having problems with the in-place edit.
643
644 * added the new XS constant code.
645
646 1.14 - 27th August 2001
647
648 * Memory overwrite bug fixed in "inflate". Kudos to Rob Simons for
649 reporting the bug and to Anton Berezin for fixing it for me.
650
651 1.13 - 31st June 2001
652
653 * Make sure config.in is consistant when released.
654
655 1.12 - 28th April 2001
656
657 * Modified Makefile.PL to only enable the warnings pragma if
658 using perl 5.6.1 or better.
659
660 1.11 - 17th February 2001
661
662 * Added logic in Makefile.PL to toggle between using $^W and
663 the warnings pragma in the module.
664
665 * The module, the examples & the test harness are now all strict
666 & warnings clean.
667
668 1.10 - 5th February 2001
669
670 * fixed a bug in memGunzip. Used Z_ERR instead of Z_DATA_ERROR.
671
672 1.09 - 15th January 2001
673
674 * Silenced a few compiler warnings.
675
676 * Updated zlib home site in README & Zlib.pm to www.info-zip.org
677
678 * Minor typo in Zlib.pm - a link used AUTHORS instead of AUTHOR
679 -- spotted by Frank Martini.
680
681 * Mention Archive::Zip
682
683 * added memGunzip. This is largely based on code provided by Jim Leonard.
684
685 * $deflate->flush can now take an optional parameter. Valid
686 values are Z_NO_FLUSH, Z_PARTIAL_FLUSH, Z_SYNC_FLUSH, Z_FULL_FLUSH
687 and Z_FINISH. The default is Z_FINISH.
688
689 1.08 - 6 Jan 2000
690
691 * uncompress was clobbering its input parameter. Now it doesn't.
692 This bug was spotted by Deven T. Corzine.
693
694 * If a variable that only ever contained a number was given
695 to compress or deflate, it would not be compressed properly. Now
696 it will be coerced to a string and then compressed. This bug
697 was spotted by Deven T. Corzine.
698
699 1.07 - 27 Nov 1999
700
701 * ANSI-ified the static functions in Zlib.xs
702
703 * Added the ability to build zlib along with the module.
704 This feature is 90% based on a Makefile provided by Gurusamy
705 Sarathy.
706
707 1.06 - 20 Sep 1999
708
709 * Fixed a nasty problem where inflate could truncate the data
710 returned. Thanks to Douglas Thomson <dougt@mugc.cc.monash.edu.au>
711 for both spotting the problem and fixing the bug.
712
713 * Added a note about the undocumented features in zlib that are
714 required when accessing zip files.
715
716 * gzclose will now get called automatically when the gzip object is
717 destroyed.
718
719 1.05 - 3 June 1999
720
721 * Previous release used newSVpvn, which doesn't exist in 5.004_04
722 or earlier. Changed to use newSVpv instead.
723
724 * The module needs Perl 5.004 or better, so updated the version
725 checking in Zlib.pm and Makefile.PL
726
727 1.04 - 27 May 1999
728
729 * Bug 19990527.001: compress(undef) core dumps -- Fixed.
730
731 1.03 - 17 Mar 1999
732
733 * Updated to use the new PL_ symbols.
734 Means the module can be built with Perl 5.005_5*
735
736 1.02 - 31 Jan 1999
737
738 * The return codes for gzread, gzreadline and gzwrite were
739 documented incorrectly as returning a status code.
740
741 * The test harness was missing a "gzclose". This caused problem
742 showed up on an amiga. Thanks to Erik van Roode for reporting
743 this one.
744
745 * Patched zlib.t for OS/2. Thanks to Ilya Zakharevich for the patch.
746
747 1.01 - 23 Nov 1997
748
749 * A number of fixes to the test suite and the example scripts to
750 allow them to work under win32. All courtesy of Gurusamy
751 Sarathy.
752
753 1.00 - 14 Nov 1997
754
755 * Fixed crc32 & adler32. They were very broken.
756
757 * The following functions can now take a scalar reference in
758 place of a scalar for their buffer parameters:
759
760 compress
761 uncompress
762 deflate
763 inflate
764 crc32
765 adler32
766
767 This should mean applications that make use of the module don't
768 have to copy large buffers around.
769
770
771 * Normally the inflate method consumes I<all> of the input buffer
772 before returning. The exception to this is when inflate detects
773 the end of the stream (Z_STREAM_END). In this case the input
774 buffer need not be completely consumed. To allow processing of
775 file formats that embed a deflation stream (e.g. zip, gzip),
776 the inflate method now sets the buffer parameter to be what
777 remains after inflation.
778
779 When the return status is Z_STREAM_END, it will be what remains
780 of the buffer (if any) after deflation. When the status is Z_OK
781 it will be an empty string.
782
783 This change means that the buffer parameter must be a lvalue.
784
785 * Fixed crc32 and adler32. They were both very broken.
786
787 * Added the Compress::Zlib::memGzip function.
788
789 0.5 - Confirmed that no changes were necessary for zlib 1.0.3, or 1.0.4.
790
791 The optional parameters for deflateInit and inflateInit can now
792 be specified as an associative array in addition to a reference
793 to an associative array. They can also accept the -Name
794 syntax.
795
796 gzopen can now optionally take a reference to an open
797 filehandle in place of a filename. In this case it will call
798 gzdopen.
799
800 Added gzstream example script.
801
802 0.4 - Upgrade to support zlib 0.99
803
804 Added dictionary interface.
805
806 Fixed bug in gzreadline - previously it would keep returning
807 the same buffer. This bug was reported by Helmut Jarausch
808
809 Removed dependency to zutil.h and so dropped support for
810
811 DEF_MEM_LEVEL (use MAX_MEM_LEVEL instead)
812 DEF_WBITS (use MAX_WBITS instead)
813
814 0.3 - Added prototype specification.
815
816 0.2 - Fixed a minor allocation problem in Zlib.xs
817
818 0.1 - first alpha release. 2nd October 1995