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