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