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