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