Upgrade Compression modules to 2.015
[p5sagit/p5-mst-13.2.git] / ext / Compress / Zlib / Changes
1 CHANGES
2 -------
3
4   2.015 3 September 2008
5
6       * Makefile.PL
7         Backout changes made in 2.014
8
9   2.014 2 September 2008
10
11       * Makefile.PL
12         Updated to check for indirect dependencies.
13
14   2.012 15 July 2008
15
16       * No Changes
17
18   2.011 17 May 2008
19
20       * No Changes
21
22   2.010 5 May 2008
23
24       * Fixed problem that meant Perl 5.10 could not upgrade this module.
25         [RT #35341]
26
27   2.009 20 April 2008
28
29       * Minor documentation issue with flush.
30         [rt.cpan.org #31446]
31
32   2.008 2 November 2007
33
34       * Minor documentation changes in README
35
36   2.007 22 September 20007
37
38       * lib/Compress/Zlib.pm -- 1.x Backward Compatability issues
39         gzclose - documented return value was wrong, should be 0 for ok.
40         gzflush - return value didn't match 1.x, should return 0 if ok.
41         [rt.cpan.org #29215] and Debian bug #440943 http://bugs.debian.org/440943
42
43   2.006 1 September 20007
44
45       * Makefile.PL
46         Added INSTALLDIRS directive to install as a core module when built
47         on a perl >= 5.9.
48
49       * t/03zlib-v1.t
50         Fixed crc32 and adler32 tests in to remove ascii assumption.
51
52       * lib/Compress/Zlib.pm
53         Make gzreadline not support $/, just like in Compress::Zlib 1.x
54         Folk who want $/ with readline support can get it in 
55         IO::Uncompress::Gunzip.
56         [rt.cpan.org #28663] and Debian bug #435656 http://bugs.debian.org/435656
57   2.005 18 June 2007
58
59       * Added info about removing Compress::Zlib version 1, before
60         installing version 2. 
61
62   2.004 3 March 2007
63
64       * rewrote memGzip using IO::Compress::Gzip::gzip
65
66   2.003 2 January 2007
67
68       * Added explicit version checking
69
70   2.002 29 December 2006
71
72       * Documentation updates.
73
74       * Fix append mode with gzopen.
75         rt-cpan.org 24041
76
77       * Allow gzopen to read from and write to a scalar reference.
78
79   2.001 1 November 2006
80
81       * Remove beta status.
82
83   2.000_14 26 October 2006
84
85       * No changes.
86
87   2.000_13 20 June 2006
88
89       * No changes.
90
91   2.000_12 16 April 2006
92
93       * Fixed gzread to zap the output buffer to an empty string when zero
94         bytes are requested. This matches the behaviour of C::Z 1.x
95
96   2.000_11 10 April 2006
97
98       * No changes.
99
100   2.000_10 13 March 2006
101
102       * Changed gzread so that its behaviour matches C::Z::gzread 1.x if it
103         is called after eof. In this case it will write an empty string
104         into the output parameter. This change is solely for backward
105         compatability reasons.
106
107   2.000_09 3 March 2006
108
109       * Posted to CPAN
110
111   2.000_08 2 March 2006
112
113       * Breakout zlib specific code into separate modules.
114
115       * Limited support for reading/writing zip files
116
117   2.000_06 5 October 2005
118
119       * Added eof parameter to Compress::Zlib::inflate method.
120
121       * Fixed issue with 64-bit
122
123   2.000_05 4 October 2005
124
125       * Renamed IO::* to IO::Compress::* & IO::Uncompress::*
126
127   2.000_04 23 September 2005
128
129       * Fixed some more non-portable test that were failing on VMS.
130
131       * fixed problem where error messages in the oneshot interface were
132         getting lost.
133
134   2.000_03 12 September 2005
135
136       * Fixed some non-portable test that were failing on VMS.
137
138       * Fixed export of zlib constants from the IO::* classes
139
140   2.000_02 6 September 2005
141
142       * Split Append mode into Append and Merge
143
144       * Fixed typos in the documentation.
145
146       * Added pod/FAQ.pod
147
148       * Added libscan to Makefile.PL
149
150       * Added InputLength for IO::Gunzip et al
151
152   2.000_01 22 August 2005
153
154       * Fixed VERSION in Compress::Gzip::Constants
155
156       * Removed Compress::Gzip::Info from the distribution.
157
158   2.000_00 21 August 2005
159
160       * First Beta relase of Compress::zlib rewrite.
161
162   1.38 - 6 September 2005
163
164       * Integrate core change 25304 -- Symbian Update
165
166       * Added libscan to Makefile.PL
167
168   1.37 - 12 August 2005
169
170       * Change to t/03examples.t for VMS from Abe Timmerman
171
172   1.36 - 3 August 2005
173
174       * Renamed zlib-src-1.2.3 to zlib-src to help VMS
175
176       * Fixed Makefile.PL for VMS
177
178       * Fixed t/03examples.t for VMS
179
180       * Added a couple of notes about incompatibility with Unix compress.
181
182   1.35 - 16 July 2005
183
184       * Updated zlib source to 1.2.3
185
186       * Fixed problem with where two calls to gzclose would hang the debugger.
187         See https://rt.cpan.org/Ticket/Display.html?id=13789
188
189       * Added code from Alexey Tourbin to use XSLoader when available,
190         and DynaLoader otherwise.
191
192       * Documented that the compress & uncompress functions were not
193         the same as the Unix utilities of the same name.
194
195       * Fixed 05gzsetp -- it left a temp file hanging around. 
196
197       * Integrate core change 24787 - SvUPGRADE returns void in blead
198
199       * Integrate core change 24788 - Makefile.PL adjustments for the core
200
201
202   1.34 - 30 January 2005
203
204       * Fixed typo in the README
205
206       * Fixed examples.t on Win32 where paths have embedded whitespace.
207
208       * Fix for Cygwin and core integration from Jos I. Boumans
209
210       * Upgrade zlib source to 1.2.2
211
212   1.33 - 14 January 2004
213
214       * Reworked Makefile.PL to avoid creating a private copy of zlib. 
215         This both simplifies the build, plus it makes life easier for VMS.
216
217       * Patches for Makefile.PL to get it to work on VMS supplied by
218         Craig A. Berry.
219
220       * memGunzip has very slow on FreeBSD. Turns out to be down to
221         the way realloc works on FreeBSD. Changed both inflate & deflate
222         to use exponentially increasing buffer sizes when they need to
223         realloc. Thanks to Peter Jeremy for the lowdown on FreeBSD
224         memory allocation.
225
226   1.32 - 26 November 2003
227
228       * Steve Hay reported a problem on rt.cpan.org with Windows and
229         MSCV++ 6.0 where the source from the zlib directory was getting
230         installed with the rest of the module.
231         https://rt.cpan.org/Ticket/Display.html?id=1741
232
233         This has been fixed by renaming the "zlib" directory to "zlib-src"
234         thus avoiding a conflict with the name of this Perl module.
235
236       * Fixed a bug in the inflate method where the input buffer is an
237         lvalue (via substr). Problem & solution reported by Salvador Fandiqo.
238
239       * Tightened up the logic in Makefile.PL when BUILD_ZLIB is
240         True. Issue spotted by Ralf S. Engelschall.
241
242   1.31 - 29 October 2003
243
244       * Reinstated the creation of .bak files - $^I seems to need a
245         backup file on Windows. For OpenVMS, the extenstion _bak is used.
246
247   1.30 - 28 October 2003
248
249       * Bundled a sub-set of the zlib source with the module and changed
250         the default make behaviour to build with the included zlib source.
251         The previous behaviour of using a pre-built zlib library is
252         still available for those that want it.
253
254       * Added prototypes to the subs in Zlib.pm that didn't already have
255         them. Patch from Ed Avis.
256
257       * No .bak files are created by Makefile.PL any more - this keep
258         distclean much happier. Patch suggested by Ed Avis.
259         This also fixes a similar problem reported by Dr. Martin Zinser
260         on OpenVMS.
261
262       * Documentation for some of the gz functions updated.
263
264       * Format strings modified in DispStream to keep OpenVMS happy. 
265         Problem reported by Dr. Martin Zinser.
266
267
268   1.22 - 17 June 2003
269
270       * Makefile.PL now displays a warning about not installing
271         Compress::Zlib via the CPAN shell.
272
273       * Fix to allow intermingling of gzread & gzreadline - patch
274         supplied by Doug Perham.
275
276       * memGunzip will silently now work if the gzip trailer is
277         missing. Some HTTP Origin Servers seem to leave it out.
278
279   1.21 - 28 April 2003
280
281       * Tests 148 & 150 from t/02zlib.t were failing on redhat 9. 
282
283       * Added a few words about the problems with Mac OS X to the README file. 
284
285   1.20 - 4 April 2003
286
287       * Fixed bug in gzopen where $gzerrno wasn't being set correctly.
288         The symptom was $gzerrno was set to Z_MEM_ERROR although the file 
289         was opened ok. If gzopen failed, $gzerrno was being set correctly.
290         This problem wasn't spotted before because the typical test
291         to determine whether gzopen passed or failed was to check its
292         return value. 
293
294   1.19 - 31 October 2002
295
296       * fixed a problem with t/02zlib.t that was failing with redhat 8.
297
298   1.18 - 24 October 2002
299
300       * fixed a Win32 problem in t/02zlib.t by changing sysread to read.
301
302       * zlib 1.0.5 & older doesn't have gzsetparams & gzeof. Added a new
303         variable to config.in to flag an old version of zlib. Split
304         out the tests for gzsetparams into t/05gzsetp.t
305
306   1.17 - 23 May 2002
307
308       * Moved the test to check the versions of libz & zlib.h into a separate
309         file and added troubleshooting notes to README.
310
311       * In gzopen, only attempt to call "tell" for normal files.
312
313       * Fixed to work in taint mode.
314
315       * Broke changes out of README into Changes file.
316
317       * Replaced internal use of Z_PARTIAL_FLUSH symbol with Z_SYNC_FLUSH. 
318         zlib.h says  /* will be removed, use Z_SYNC_FLUSH instead */  
319
320   1.16 - 13 December 2001
321
322       * Fixed bug in Makefile.PL that stopped "perl Makefile.PL PREFIX=..."
323         working.
324
325   1.15 - 4th December 2001
326
327       * Changes a few types to get the module to build on 64-bit Solaris
328
329       * Changed the up/downgrade logic to default to the older constructs, and
330         to only call a downgrade if specifically requested. Some older versions
331         of Perl were having problems with the in-place edit.
332
333       * added the new XS constant code.
334
335   1.14 - 27th August 2001
336
337       * Memory overwrite bug fixed in "inflate". Kudos to Rob Simons for
338         reporting the bug and to Anton Berezin for fixing it for me.
339
340   1.13 - 31st June 2001
341
342       * Make sure config.in is consistant when released.
343
344   1.12 - 28th April 2001
345
346       * Modified Makefile.PL to only enable the warnings pragma if
347         using perl 5.6.1 or better.
348
349   1.11 - 17th February 2001
350
351       * Added logic in Makefile.PL to toggle between using $^W and
352         the warnings pragma in the module.
353
354       * The module, the examples & the test harness are now all strict
355         & warnings clean.
356
357   1.10 - 5th February 2001
358
359       * fixed a bug in memGunzip. Used Z_ERR instead of Z_DATA_ERROR.
360
361   1.09 - 15th January 2001
362
363       * Silenced a few compiler warnings.
364
365       * Updated zlib home site in README & Zlib.pm to www.info-zip.org
366
367       * Minor typo in Zlib.pm - a link used AUTHORS instead of AUTHOR
368         -- spotted by Frank Martini.
369
370       * Mention Archive::Zip
371
372       * added memGunzip. This is largely based on code provided by Jim Leonard.
373
374       * $deflate->flush can now take an optional parameter. Valid
375         values are Z_NO_FLUSH, Z_PARTIAL_FLUSH, Z_SYNC_FLUSH, Z_FULL_FLUSH
376         and Z_FINISH. The default is Z_FINISH.
377
378   1.08 - 6 Jan 2000
379
380       * uncompress was clobbering its input parameter. Now it doesn't.
381         This bug was spotted by Deven T. Corzine.
382  
383       * If a variable that only ever contained a number was given
384         to compress or deflate, it would not be compressed properly. Now
385         it will be coerced to a string and then compressed. This bug
386         was spotted by Deven T. Corzine.
387
388   1.07 - 27 Nov 1999
389
390       * ANSI-ified the static functions in Zlib.xs
391
392       * Added the ability to build zlib along with the module.
393         This feature is 90% based on a Makefile provided by Gurusamy
394         Sarathy.
395
396   1.06 - 20 Sep 1999
397
398       * Fixed a nasty problem where inflate could truncate the data
399         returned. Thanks to Douglas Thomson <dougt@mugc.cc.monash.edu.au>
400         for both spotting the problem and fixing the bug.
401
402       * Added a note about the undocumented features in zlib that are
403         required when accessing zip files.
404
405       * gzclose will now get called automatically when the gzip object is
406         destroyed.
407
408   1.05 - 3 June 1999
409
410       * Previous release used newSVpvn, which doesn't exist in 5.004_04
411         or earlier. Changed to use newSVpv instead.
412
413       * The module needs Perl 5.004 or better, so updated the version
414         checking in Zlib.pm and Makefile.PL
415
416   1.04 - 27 May 1999
417
418       * Bug 19990527.001: compress(undef) core dumps -- Fixed.  
419
420   1.03 - 17 Mar 1999
421
422       * Updated to use the new PL_ symbols. 
423         Means the module can be built with Perl 5.005_5*
424
425   1.02 - 31 Jan 1999
426
427       * The return codes for gzread, gzreadline and gzwrite were
428         documented incorrectly as returning a status code.
429
430       * The test harness was missing a "gzclose". This caused problem
431         showed up on an amiga. Thanks to Erik van Roode for reporting
432         this one.
433
434       * Patched zlib.t for OS/2. Thanks to Ilya Zakharevich for the patch.
435
436   1.01 - 23 Nov 1997
437
438       * A number of fixes to the test suite and the example scripts to
439         allow them to work under win32. All courtesy of Gurusamy
440         Sarathy.
441
442   1.00 - 14 Nov 1997
443
444       * Fixed crc32 & adler32. They were very broken. 
445
446       * The following functions can now take a scalar reference in
447         place of a scalar for their buffer parameters:
448
449             compress
450             uncompress
451             deflate
452             inflate
453             crc32
454             adler32
455  
456         This should mean applications that make use of the module don't
457         have to copy large buffers around.
458
459  
460       * Normally the inflate method consumes I<all> of the input buffer
461         before returning. The exception to this is when inflate detects
462         the end of the stream (Z_STREAM_END). In this case the input
463         buffer need not be completely consumed. To allow processing of
464         file formats that embed a deflation stream (e.g. zip, gzip),
465         the inflate method now sets the buffer parameter to be what
466         remains after inflation.
467
468         When the return status is Z_STREAM_END, it will be what remains
469         of the buffer (if any) after deflation. When the status is Z_OK
470         it will be an empty string.
471
472         This change means that the buffer parameter must be a lvalue.
473  
474       * Fixed crc32 and adler32. They were both very broken.
475
476       * Added the Compress::Zlib::memGzip function.
477
478   0.5 - Confirmed that no changes were necessary for zlib 1.0.3, or 1.0.4.
479
480         The optional parameters for deflateInit and inflateInit can now
481         be specified as an associative array in addition to a reference
482         to an associative array. They can also accept the -Name
483         syntax.
484
485         gzopen can now optionally take a reference to an open
486         filehandle in place of a filename. In this case it will call
487         gzdopen.
488
489         Added gzstream example script.
490  
491   0.4 - Upgrade to support zlib 0.99 
492
493         Added dictionary interface.
494
495         Fixed bug in gzreadline - previously it would keep returning
496         the same buffer. This bug was reported by Helmut Jarausch
497
498         Removed dependency to zutil.h and so dropped support for 
499         
500             DEF_MEM_LEVEL (use MAX_MEM_LEVEL instead)
501             DEF_WBITS     (use MAX_WBITS instead)
502
503   0.3 - Added prototype specification.
504
505   0.2 - Fixed a minor allocation problem in Zlib.xs
506
507   0.1 - first alpha release. 2nd October 1995