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