ChangeLog (7648bc9fee8dec6cb3c4941e0165a930fbe8dcb0) ChangeLog (cd8822075a38d0734e74b1735e4b5dbef9789170)
1
2 ChangeLog file for zlib
3
1
2 ChangeLog file for zlib
3
4Changes in 1.2.12 (27 Mar 2022)
5- Cygwin does not have _wopen(), so do not create gzopen_w() there
6- Permit a deflateParams() parameter change as soon as possible
7- Limit hash table inserts after switch from stored deflate
8- Fix bug when window full in deflate_stored()
9- Fix CLEAR_HASH macro to be usable as a single statement
10- Avoid a conversion error in gzseek when off_t type too small
11- Have Makefile return non-zero error code on test failure
12- Avoid some conversion warnings in gzread.c and gzwrite.c
13- Update use of errno for newer Windows CE versions
14- Small speedup to inflate [psumbera]
15- Return an error if the gzputs string length can't fit in an int
16- Add address checking in clang to -w option of configure
17- Don't compute check value for raw inflate if asked to validate
18- Handle case where inflateSync used when header never processed
19- Avoid the use of ptrdiff_t
20- Avoid an undefined behavior of memcpy() in gzappend()
21- Avoid undefined behaviors of memcpy() in gz*printf()
22- Avoid an undefined behavior of memcpy() in _tr_stored_block()
23- Make the names in functions declarations identical to definitions
24- Remove old assembler code in which bugs have manifested
25- Fix deflateEnd() to not report an error at start of raw deflate
26- Add legal disclaimer to README
27- Emphasize the need to continue decompressing gzip members
28- Correct the initialization requirements for deflateInit2()
29- Fix a bug that can crash deflate on some input when using Z_FIXED
30- Assure that the number of bits for deflatePrime() is valid
31- Use a structure to make globals in enough.c evident
32- Use a macro for the printf format of big_t in enough.c
33- Clean up code style in enough.c, update version
34- Use inline function instead of macro for index in enough.c
35- Clarify that prefix codes are counted in enough.c
36- Show all the codes for the maximum tables size in enough.c
37- Add gznorm.c example, which normalizes gzip files
38- Fix the zran.c example to work on a multiple-member gzip file
39- Add tables for crc32_combine(), to speed it up by a factor of 200
40- Add crc32_combine_gen() and crc32_combine_op() for fast combines
41- Speed up software CRC-32 computation by a factor of 1.5 to 3
42- Use atomic test and set, if available, for dynamic CRC tables
43- Don't bother computing check value after successful inflateSync()
44- Correct comment in crc32.c
45- Add use of the ARMv8 crc32 instructions when requested
46- Use ARM crc32 instructions if the ARM architecture has them
47- Explicitly note that the 32-bit check values are 32 bits
48- Avoid adding empty gzip member after gzflush with Z_FINISH
49- Fix memory leak on error in gzlog.c
50- Fix error in comment on the polynomial representation of a byte
51- Clarify gz* function interfaces, referring to parameter names
52- Change macro name in inflate.c to avoid collision in VxWorks
53- Correct typo in blast.c
54- Improve portability of contrib/minizip
55- Fix indentation in minizip's zip.c
56- Replace black/white with allow/block. (theresa-m)
57- minizip warning fix if MAXU32 already defined. (gvollant)
58- Fix unztell64() in minizip to work past 4GB. (Daniël Hörchner)
59- Clean up minizip to reduce warnings for testing
60- Add fallthrough comments for gcc
61- Eliminate use of ULL constants
62- Separate out address sanitizing from warnings in configure
63- Remove destructive aspects of make distclean
64- Check for cc masquerading as gcc or clang in configure
65- Fix crc32.c to compile local functions only if used
66
4Changes in 1.2.11 (15 Jan 2017)
5- Fix deflate stored bug when pulling last block from window
6- Permit immediate deflateParams changes before any deflate input
7
8Changes in 1.2.10 (2 Jan 2017)
9- Avoid warnings on snprintf() return value
10- Fix bug in deflate_stored() for zero-length input
11- Fix bug in gzwrite.c that produced corrupt gzip files

--- 494 unchanged lines hidden (view full) ---

506- Fix premature EOF from gzread() in gzio.c [Brown]
507- Use zlib header window size if windowBits is 0 in inflateInit2()
508- Remove compressBound() call in deflate.c to avoid linking compress.o
509- Replace use of errno in gz* with functions, support WinCE [Alves]
510- Provide alternative to perror() in minigzip.c for WinCE [Alves]
511- Don't use _vsnprintf on later versions of MSVC [Lowman]
512- Add CMake build script and input file [Lowman]
513- Update contrib/minizip to 1.1 [Svensson, Vollant]
67Changes in 1.2.11 (15 Jan 2017)
68- Fix deflate stored bug when pulling last block from window
69- Permit immediate deflateParams changes before any deflate input
70
71Changes in 1.2.10 (2 Jan 2017)
72- Avoid warnings on snprintf() return value
73- Fix bug in deflate_stored() for zero-length input
74- Fix bug in gzwrite.c that produced corrupt gzip files

--- 494 unchanged lines hidden (view full) ---

569- Fix premature EOF from gzread() in gzio.c [Brown]
570- Use zlib header window size if windowBits is 0 in inflateInit2()
571- Remove compressBound() call in deflate.c to avoid linking compress.o
572- Replace use of errno in gz* with functions, support WinCE [Alves]
573- Provide alternative to perror() in minigzip.c for WinCE [Alves]
574- Don't use _vsnprintf on later versions of MSVC [Lowman]
575- Add CMake build script and input file [Lowman]
576- Update contrib/minizip to 1.1 [Svensson, Vollant]
514- Moved nintendods directory from contrib to .
577- Moved nintendods directory from contrib to root
515- Replace gzio.c with a new set of routines with the same functionality
516- Add gzbuffer(), gzoffset(), gzclose_r(), gzclose_w() as part of above
517- Update contrib/minizip to 1.1b
518- Change gzeof() to return 0 on error instead of -1 to agree with zlib.h
519
520Changes in 1.2.3.4 (21 Dec 2009)
521- Use old school .SUFFIXES in Makefile.in for FreeBSD compatibility
522- Update comments in configure and Makefile.in for default --shared

--- 157 unchanged lines hidden (view full) ---

680- Move declarations of gf2 functions to right place in crc32.c [Oberhumer]
681- Add cast in trees.c t avoid a warning [Oberhumer]
682- Avoid some warnings in fitblk.c, gun.c, gzjoin.c in examples [Oberhumer]
683- Update make_vms.com [Zinser]
684- Initialize state->write in inflateReset() since copied in inflate_fast()
685- Be more strict on incomplete code sets in inflate_table() and increase
686 ENOUGH and MAXD -- this repairs a possible security vulnerability for
687 invalid inflate input. Thanks to Tavis Ormandy and Markus Oberhumer for
578- Replace gzio.c with a new set of routines with the same functionality
579- Add gzbuffer(), gzoffset(), gzclose_r(), gzclose_w() as part of above
580- Update contrib/minizip to 1.1b
581- Change gzeof() to return 0 on error instead of -1 to agree with zlib.h
582
583Changes in 1.2.3.4 (21 Dec 2009)
584- Use old school .SUFFIXES in Makefile.in for FreeBSD compatibility
585- Update comments in configure and Makefile.in for default --shared

--- 157 unchanged lines hidden (view full) ---

743- Move declarations of gf2 functions to right place in crc32.c [Oberhumer]
744- Add cast in trees.c t avoid a warning [Oberhumer]
745- Avoid some warnings in fitblk.c, gun.c, gzjoin.c in examples [Oberhumer]
746- Update make_vms.com [Zinser]
747- Initialize state->write in inflateReset() since copied in inflate_fast()
748- Be more strict on incomplete code sets in inflate_table() and increase
749 ENOUGH and MAXD -- this repairs a possible security vulnerability for
750 invalid inflate input. Thanks to Tavis Ormandy and Markus Oberhumer for
688 discovering the vulnerability and providing test cases.
751 discovering the vulnerability and providing test cases
689- Add ia64 support to configure for HP-UX [Smith]
690- Add error return to gzread() for format or i/o error [Levin]
691- Use malloc.h for OS/2 [Necasek]
692
693Changes in 1.2.2.3 (27 May 2005)
694- Replace 1U constants in inflate.c and inftrees.c for 64-bit compile
695- Typecast fread() return values in gzio.c [Vollant]
696- Remove trailing space in minigzip.c outmode (VC++ can't deal with it)

--- 19 unchanged lines hidden (view full) ---

716 avoid implicit memcpy calls (portability for no-library compilation)
717- Increase sprintf() buffer size in gzdopen() to allow for large numbers
718- Add INFLATE_STRICT to check distances against zlib header
719- Improve WinCE errno handling and comments [Chang]
720- Remove comment about no gzip header processing in FAQ
721- Add Z_FIXED strategy option to deflateInit2() to force fixed trees
722- Add updated make_vms.com [Coghlan], update README
723- Create a new "examples" directory, move gzappend.c there, add zpipe.c,
752- Add ia64 support to configure for HP-UX [Smith]
753- Add error return to gzread() for format or i/o error [Levin]
754- Use malloc.h for OS/2 [Necasek]
755
756Changes in 1.2.2.3 (27 May 2005)
757- Replace 1U constants in inflate.c and inftrees.c for 64-bit compile
758- Typecast fread() return values in gzio.c [Vollant]
759- Remove trailing space in minigzip.c outmode (VC++ can't deal with it)

--- 19 unchanged lines hidden (view full) ---

779 avoid implicit memcpy calls (portability for no-library compilation)
780- Increase sprintf() buffer size in gzdopen() to allow for large numbers
781- Add INFLATE_STRICT to check distances against zlib header
782- Improve WinCE errno handling and comments [Chang]
783- Remove comment about no gzip header processing in FAQ
784- Add Z_FIXED strategy option to deflateInit2() to force fixed trees
785- Add updated make_vms.com [Coghlan], update README
786- Create a new "examples" directory, move gzappend.c there, add zpipe.c,
724 fitblk.c, gzlog.[ch], gzjoin.c, and zlib_how.html.
787 fitblk.c, gzlog.[ch], gzjoin.c, and zlib_how.html
725- Add FAQ entry and comments in deflate.c on uninitialized memory access
726- Add Solaris 9 make options in configure [Gilbert]
727- Allow strerror() usage in gzio.c for STDC
728- Fix DecompressBuf in contrib/delphi/ZLib.pas [ManChesTer]
729- Update contrib/masmx86/inffas32.asm and gvmat32.asm [Vollant]
730- Use z_off_t for adler32_combine() and crc32_combine() lengths
731- Make adler32() much faster for small len
732- Use OS_CODE in deflate() default gzip header

--- 54 unchanged lines hidden (view full) ---

787- Remove err dummy parameter in zlib.h [Kientzle]
788
789Changes in 1.2.1.1 (9 January 2004)
790- Update email address in README
791- Several FAQ updates
792- Fix a big fat bug in inftrees.c that prevented decoding valid
793 dynamic blocks with only literals and no distance codes --
794 Thanks to "Hot Emu" for the bug report and sample file
788- Add FAQ entry and comments in deflate.c on uninitialized memory access
789- Add Solaris 9 make options in configure [Gilbert]
790- Allow strerror() usage in gzio.c for STDC
791- Fix DecompressBuf in contrib/delphi/ZLib.pas [ManChesTer]
792- Update contrib/masmx86/inffas32.asm and gvmat32.asm [Vollant]
793- Use z_off_t for adler32_combine() and crc32_combine() lengths
794- Make adler32() much faster for small len
795- Use OS_CODE in deflate() default gzip header

--- 54 unchanged lines hidden (view full) ---

850- Remove err dummy parameter in zlib.h [Kientzle]
851
852Changes in 1.2.1.1 (9 January 2004)
853- Update email address in README
854- Several FAQ updates
855- Fix a big fat bug in inftrees.c that prevented decoding valid
856 dynamic blocks with only literals and no distance codes --
857 Thanks to "Hot Emu" for the bug report and sample file
795- Add a note to puff.c on no distance codes case.
858- Add a note to puff.c on no distance codes case
796
797Changes in 1.2.1 (17 November 2003)
798- Remove a tab in contrib/gzappend/gzappend.c
799- Update some interfaces in contrib for new zlib functions
800- Update zlib version number in some contrib entries
801- Add Windows CE definition for ptrdiff_t in zutil.h [Mai, Truta]
802- Support shared libraries on Hurd and KFreeBSD [Brown]
803- Fix error in NO_DIVIDE option of adler32.c

--- 227 unchanged lines hidden (view full) ---

1031 - Note requirement on avail_out when flushing
1032 - Note permitted values of flush parameter of inflate()
1033- Add some FAQs (and even answers) to the FAQ
1034- Add contrib/inflate86/ for x86 faster inflate
1035- Add contrib/blast/ for PKWare Data Compression Library decompression
1036- Add contrib/puff/ simple inflate for deflate format description
1037
1038Changes in 1.1.4 (11 March 2002)
859
860Changes in 1.2.1 (17 November 2003)
861- Remove a tab in contrib/gzappend/gzappend.c
862- Update some interfaces in contrib for new zlib functions
863- Update zlib version number in some contrib entries
864- Add Windows CE definition for ptrdiff_t in zutil.h [Mai, Truta]
865- Support shared libraries on Hurd and KFreeBSD [Brown]
866- Fix error in NO_DIVIDE option of adler32.c

--- 227 unchanged lines hidden (view full) ---

1094 - Note requirement on avail_out when flushing
1095 - Note permitted values of flush parameter of inflate()
1096- Add some FAQs (and even answers) to the FAQ
1097- Add contrib/inflate86/ for x86 faster inflate
1098- Add contrib/blast/ for PKWare Data Compression Library decompression
1099- Add contrib/puff/ simple inflate for deflate format description
1100
1101Changes in 1.1.4 (11 March 2002)
1039- ZFREE was repeated on same allocation on some error conditions.
1102- ZFREE was repeated on same allocation on some error conditions
1040 This creates a security problem described in
1041 http://www.zlib.org/advisory-2002-03-11.txt
1042- Returned incorrect error (Z_MEM_ERROR) on some invalid data
1043- Avoid accesses before window for invalid distances with inflate window
1103 This creates a security problem described in
1104 http://www.zlib.org/advisory-2002-03-11.txt
1105- Returned incorrect error (Z_MEM_ERROR) on some invalid data
1106- Avoid accesses before window for invalid distances with inflate window
1044 less than 32K.
1107 less than 32K
1045- force windowBits > 8 to avoid a bug in the encoder for a window size
1108- force windowBits > 8 to avoid a bug in the encoder for a window size
1046 of 256 bytes. (A complete fix will be available in 1.1.5).
1109 of 256 bytes. (A complete fix will be available in 1.1.5)
1047
1048Changes in 1.1.3 (9 July 1998)
1049- fix "an inflate input buffer bug that shows up on rare but persistent
1050 occasions" (Mark)
1051- fix gzread and gztell for concatenated .gz files (Didier Le Botlan)
1052- fix gzseek(..., SEEK_SET) in write mode
1053- fix crc check after a gzeek (Frank Faubert)
1054- fix miniunzip when the last entry in a zip file is itself a zip file

--- 57 unchanged lines hidden (view full) ---

1112- remove warnings in example.c and gzio.c (Glenn Randers-Pehrson)
1113- move Makefile.sas to amiga/Makefile.sas
1114
1115Changes in 1.1.1 (27 Feb 98)
1116- fix macros _tr_tally_* in deflate.h for debug mode (Glenn Randers-Pehrson)
1117- remove block truncation heuristic which had very marginal effect for zlib
1118 (smaller lit_bufsize than in gzip 1.2.4) and degraded a little the
1119 compression ratio on some files. This also allows inlining _tr_tally for
1110
1111Changes in 1.1.3 (9 July 1998)
1112- fix "an inflate input buffer bug that shows up on rare but persistent
1113 occasions" (Mark)
1114- fix gzread and gztell for concatenated .gz files (Didier Le Botlan)
1115- fix gzseek(..., SEEK_SET) in write mode
1116- fix crc check after a gzeek (Frank Faubert)
1117- fix miniunzip when the last entry in a zip file is itself a zip file

--- 57 unchanged lines hidden (view full) ---

1175- remove warnings in example.c and gzio.c (Glenn Randers-Pehrson)
1176- move Makefile.sas to amiga/Makefile.sas
1177
1178Changes in 1.1.1 (27 Feb 98)
1179- fix macros _tr_tally_* in deflate.h for debug mode (Glenn Randers-Pehrson)
1180- remove block truncation heuristic which had very marginal effect for zlib
1181 (smaller lit_bufsize than in gzip 1.2.4) and degraded a little the
1182 compression ratio on some files. This also allows inlining _tr_tally for
1120 matches in deflate_slow.
1183 matches in deflate_slow
1121- added msdos/Makefile.w32 for WIN32 Microsoft Visual C++ (Bob Frazier)
1122
1123Changes in 1.1.0 (24 Feb 98)
1124- do not return STREAM_END prematurely in inflate (John Bowler)
1125- revert to the zlib 1.0.8 inflate to avoid the gcc 2.8.0 bug (Jeremy Buhler)
1126- compile with -DFASTEST to get compression code optimized for speed only
1127- in minigzip, try mmap'ing the input file first (Miguel Albrecht)
1128- increase size of I/O buffers in minigzip.c and gzio.c (not a big gain

--- 28 unchanged lines hidden (view full) ---

1157
1158Changes in 1.0.8 (27 Jan 1998)
1159- fixed offsets in contrib/asm386/gvmat32.asm (Gilles Vollant)
1160- fix gzgetc and gzputc for big endian systems (Markus Oberhumer)
1161- added compress2() to allow setting the compression level
1162- include sys/types.h to get off_t on some systems (Marc Lehmann & QingLong)
1163- use constant arrays for the static trees in trees.c instead of computing
1164 them at run time (thanks to Ken Raeburn for this suggestion). To create
1184- added msdos/Makefile.w32 for WIN32 Microsoft Visual C++ (Bob Frazier)
1185
1186Changes in 1.1.0 (24 Feb 98)
1187- do not return STREAM_END prematurely in inflate (John Bowler)
1188- revert to the zlib 1.0.8 inflate to avoid the gcc 2.8.0 bug (Jeremy Buhler)
1189- compile with -DFASTEST to get compression code optimized for speed only
1190- in minigzip, try mmap'ing the input file first (Miguel Albrecht)
1191- increase size of I/O buffers in minigzip.c and gzio.c (not a big gain

--- 28 unchanged lines hidden (view full) ---

1220
1221Changes in 1.0.8 (27 Jan 1998)
1222- fixed offsets in contrib/asm386/gvmat32.asm (Gilles Vollant)
1223- fix gzgetc and gzputc for big endian systems (Markus Oberhumer)
1224- added compress2() to allow setting the compression level
1225- include sys/types.h to get off_t on some systems (Marc Lehmann & QingLong)
1226- use constant arrays for the static trees in trees.c instead of computing
1227 them at run time (thanks to Ken Raeburn for this suggestion). To create
1165 trees.h, compile with GEN_TREES_H and run "make test".
1228 trees.h, compile with GEN_TREES_H and run "make test"
1166- check return code of example in "make test" and display result
1167- pass minigzip command line options to file_compress
1168- simplifying code of inflateSync to avoid gcc 2.8 bug
1169
1170- support CC="gcc -Wall" in configure -s (QingLong)
1171- avoid a flush caused by ftell in gzopen for write mode (Ken Raeburn)
1172- fix test for shared library support to avoid compiler warnings
1173- zlib.lib -> zlib.dll in msdos/zlib.rc (Gilles Vollant)

--- 22 unchanged lines hidden (view full) ---

1196- avoid signed/unsigned comparisons (Tim Wegner, Gilles Vollant)
1197- add inflateSyncPoint in zconf.h
1198- fix list of exported functions in nt/zlib.dnt and mdsos/zlib.def
1199
1200Changes in 1.0.6 (19 Jan 1998)
1201- add functions gzprintf, gzputc, gzgetc, gztell, gzeof, gzseek, gzrewind and
1202 gzsetparams (thanks to Roland Giersig and Kevin Ruland for some of this code)
1203- Fix a deflate bug occurring only with compression level 0 (thanks to
1229- check return code of example in "make test" and display result
1230- pass minigzip command line options to file_compress
1231- simplifying code of inflateSync to avoid gcc 2.8 bug
1232
1233- support CC="gcc -Wall" in configure -s (QingLong)
1234- avoid a flush caused by ftell in gzopen for write mode (Ken Raeburn)
1235- fix test for shared library support to avoid compiler warnings
1236- zlib.lib -> zlib.dll in msdos/zlib.rc (Gilles Vollant)

--- 22 unchanged lines hidden (view full) ---

1259- avoid signed/unsigned comparisons (Tim Wegner, Gilles Vollant)
1260- add inflateSyncPoint in zconf.h
1261- fix list of exported functions in nt/zlib.dnt and mdsos/zlib.def
1262
1263Changes in 1.0.6 (19 Jan 1998)
1264- add functions gzprintf, gzputc, gzgetc, gztell, gzeof, gzseek, gzrewind and
1265 gzsetparams (thanks to Roland Giersig and Kevin Ruland for some of this code)
1266- Fix a deflate bug occurring only with compression level 0 (thanks to
1204 Andy Buckler for finding this one).
1205- In minigzip, pass transparently also the first byte for .Z files.
1267 Andy Buckler for finding this one)
1268- In minigzip, pass transparently also the first byte for .Z files
1206- return Z_BUF_ERROR instead of Z_OK if output buffer full in uncompress()
1207- check Z_FINISH in inflate (thanks to Marc Schluper)
1208- Implement deflateCopy (thanks to Adam Costello)
1269- return Z_BUF_ERROR instead of Z_OK if output buffer full in uncompress()
1270- check Z_FINISH in inflate (thanks to Marc Schluper)
1271- Implement deflateCopy (thanks to Adam Costello)
1209- make static libraries by default in configure, add --shared option.
1272- make static libraries by default in configure, add --shared option
1210- move MSDOS or Windows specific files to directory msdos
1211- suppress the notion of partial flush to simplify the interface
1212 (but the symbol Z_PARTIAL_FLUSH is kept for compatibility with 1.0.4)
1213- suppress history buffer provided by application to simplify the interface
1214 (this feature was not implemented anyway in 1.0.4)
1215- next_in and avail_in must be initialized before calling inflateInit or
1216 inflateInit2
1217- add EXPORT in all exported functions (for Windows DLL)
1218- added Makefile.nt (thanks to Stephen Williams)
1219- added the unsupported "contrib" directory:
1220 contrib/asm386/ by Gilles Vollant <info@winimage.com>
1273- move MSDOS or Windows specific files to directory msdos
1274- suppress the notion of partial flush to simplify the interface
1275 (but the symbol Z_PARTIAL_FLUSH is kept for compatibility with 1.0.4)
1276- suppress history buffer provided by application to simplify the interface
1277 (this feature was not implemented anyway in 1.0.4)
1278- next_in and avail_in must be initialized before calling inflateInit or
1279 inflateInit2
1280- add EXPORT in all exported functions (for Windows DLL)
1281- added Makefile.nt (thanks to Stephen Williams)
1282- added the unsupported "contrib" directory:
1283 contrib/asm386/ by Gilles Vollant <info@winimage.com>
1221 386 asm code replacing longest_match().
1284 386 asm code replacing longest_match()
1222 contrib/iostream/ by Kevin Ruland <kevin@rodin.wustl.edu>
1223 A C++ I/O streams interface to the zlib gz* functions
1224 contrib/iostream2/ by Tyge Løvset <Tyge.Lovset@cmr.no>
1225 Another C++ I/O streams interface
1226 contrib/untgz/ by "Pedro A. Aranda Guti\irrez" <paag@tid.es>
1227 A very simple tar.gz file extractor using zlib
1228 contrib/visual-basic.txt by Carlos Rios <c_rios@sonda.cl>
1285 contrib/iostream/ by Kevin Ruland <kevin@rodin.wustl.edu>
1286 A C++ I/O streams interface to the zlib gz* functions
1287 contrib/iostream2/ by Tyge Løvset <Tyge.Lovset@cmr.no>
1288 Another C++ I/O streams interface
1289 contrib/untgz/ by "Pedro A. Aranda Guti\irrez" <paag@tid.es>
1290 A very simple tar.gz file extractor using zlib
1291 contrib/visual-basic.txt by Carlos Rios <c_rios@sonda.cl>
1229 How to use compress(), uncompress() and the gz* functions from VB.
1292 How to use compress(), uncompress() and the gz* functions from VB
1230- pass params -f (filtered data), -h (huffman only), -1 to -9 (compression
1231 level) in minigzip (thanks to Tom Lane)
1232
1233- use const for rommable constants in deflate
1234- added test for gzseek and gztell in example.c
1235- add undocumented function inflateSyncPoint() (hack for Paul Mackerras)
1236- add undocumented function zError to convert error code to string
1237 (for Tim Smithers)
1293- pass params -f (filtered data), -h (huffman only), -1 to -9 (compression
1294 level) in minigzip (thanks to Tom Lane)
1295
1296- use const for rommable constants in deflate
1297- added test for gzseek and gztell in example.c
1298- add undocumented function inflateSyncPoint() (hack for Paul Mackerras)
1299- add undocumented function zError to convert error code to string
1300 (for Tim Smithers)
1238- Allow compilation of gzio with -DNO_DEFLATE to avoid the compression code.
1239- Use default memcpy for Symantec MSDOS compiler.
1301- Allow compilation of gzio with -DNO_DEFLATE to avoid the compression code
1302- Use default memcpy for Symantec MSDOS compiler
1240- Add EXPORT keyword for check_func (needed for Windows DLL)
1241- add current directory to LD_LIBRARY_PATH for "make test"
1242- create also a link for libz.so.1
1243- added support for FUJITSU UXP/DS (thanks to Toshiaki Nomura)
1244- use $(SHAREDLIB) instead of libz.so in Makefile.in (for HPUX)
1245- added -soname for Linux in configure (Chun-Chung Chen,
1246- assign numbers to the exported functions in zlib.def (for Windows DLL)
1247- add advice in zlib.h for best usage of deflateSetDictionary
1248- work around compiler bug on Atari (cast Z_NULL in call of s->checkfn)
1249- allow compilation with ANSI keywords only enabled for TurboC in large model
1250- avoid "versionString"[0] (Borland bug)
1251- add NEED_DUMMY_RETURN for Borland
1303- Add EXPORT keyword for check_func (needed for Windows DLL)
1304- add current directory to LD_LIBRARY_PATH for "make test"
1305- create also a link for libz.so.1
1306- added support for FUJITSU UXP/DS (thanks to Toshiaki Nomura)
1307- use $(SHAREDLIB) instead of libz.so in Makefile.in (for HPUX)
1308- added -soname for Linux in configure (Chun-Chung Chen,
1309- assign numbers to the exported functions in zlib.def (for Windows DLL)
1310- add advice in zlib.h for best usage of deflateSetDictionary
1311- work around compiler bug on Atari (cast Z_NULL in call of s->checkfn)
1312- allow compilation with ANSI keywords only enabled for TurboC in large model
1313- avoid "versionString"[0] (Borland bug)
1314- add NEED_DUMMY_RETURN for Borland
1252- use variable z_verbose for tracing in debug mode (L. Peter Deutsch).
1315- use variable z_verbose for tracing in debug mode (L. Peter Deutsch)
1253- allow compilation with CC
1254- defined STDC for OS/2 (David Charlap)
1255- limit external names to 8 chars for MVS (Thomas Lund)
1256- in minigzip.c, use static buffers only for 16-bit systems
1257- fix suffix check for "minigzip -d foo.gz"
1258- do not return an error for the 2nd of two consecutive gzflush() (Felix Lee)
1259- use _fdopen instead of fdopen for MSC >= 6.0 (Thomas Fanslau)
1260- added makelcc.bat for lcc-win32 (Tom St Denis)
1261- in Makefile.dj2, use copy and del instead of install and rm (Frank Donahoe)
1316- allow compilation with CC
1317- defined STDC for OS/2 (David Charlap)
1318- limit external names to 8 chars for MVS (Thomas Lund)
1319- in minigzip.c, use static buffers only for 16-bit systems
1320- fix suffix check for "minigzip -d foo.gz"
1321- do not return an error for the 2nd of two consecutive gzflush() (Felix Lee)
1322- use _fdopen instead of fdopen for MSC >= 6.0 (Thomas Fanslau)
1323- added makelcc.bat for lcc-win32 (Tom St Denis)
1324- in Makefile.dj2, use copy and del instead of install and rm (Frank Donahoe)
1262- Avoid expanded $Id$. Use "rcs -kb" or "cvs admin -kb" to avoid Id expansion.
1325- Avoid expanded $Id$. Use "rcs -kb" or "cvs admin -kb" to avoid Id expansion
1263- check for unistd.h in configure (for off_t)
1264- remove useless check parameter in inflate_blocks_free
1265- avoid useless assignment of s->check to itself in inflate_blocks_new
1266- do not flush twice in gzclose (thanks to Ken Raeburn)
1267- rename FOPEN as F_OPEN to avoid clash with /usr/include/sys/file.h
1268- use NO_ERRNO_H instead of enumeration of operating systems with errno.h
1269- work around buggy fclose on pipes for HP/UX
1270- support zlib DLL with BORLAND C++ 5.0 (thanks to Glenn Randers-Pehrson)

--- 4 unchanged lines hidden (view full) ---

1275- Use const for rommable constants in inflate
1276- Eliminate memory leaks on error conditions in inflate
1277- Removed some vestigial code in inflate
1278- Update web address in README
1279
1280Changes in 1.0.4 (24 Jul 96)
1281- In very rare conditions, deflate(s, Z_FINISH) could fail to produce an EOF
1282 bit, so the decompressor could decompress all the correct data but went
1326- check for unistd.h in configure (for off_t)
1327- remove useless check parameter in inflate_blocks_free
1328- avoid useless assignment of s->check to itself in inflate_blocks_new
1329- do not flush twice in gzclose (thanks to Ken Raeburn)
1330- rename FOPEN as F_OPEN to avoid clash with /usr/include/sys/file.h
1331- use NO_ERRNO_H instead of enumeration of operating systems with errno.h
1332- work around buggy fclose on pipes for HP/UX
1333- support zlib DLL with BORLAND C++ 5.0 (thanks to Glenn Randers-Pehrson)

--- 4 unchanged lines hidden (view full) ---

1338- Use const for rommable constants in inflate
1339- Eliminate memory leaks on error conditions in inflate
1340- Removed some vestigial code in inflate
1341- Update web address in README
1342
1343Changes in 1.0.4 (24 Jul 96)
1344- In very rare conditions, deflate(s, Z_FINISH) could fail to produce an EOF
1345 bit, so the decompressor could decompress all the correct data but went
1283 on to attempt decompressing extra garbage data. This affected minigzip too.
1346 on to attempt decompressing extra garbage data. This affected minigzip too
1284- zlibVersion and gzerror return const char* (needed for DLL)
1285- port to RISCOS (no fdopen, no multiple dots, no unlink, no fileno)
1286- use z_error only for DEBUG (avoid problem with DLLs)
1287
1288Changes in 1.0.3 (2 Jul 96)
1289- use z_streamp instead of z_stream *, which is now a far pointer in MSDOS
1290 small and medium models; this makes the library incompatible with previous
1291 versions for these models. (No effect in large model or on other systems.)

--- 13 unchanged lines hidden (view full) ---

1305- mention in README that the zlib format is now RFC1950
1306- updated Makefile.dj2
1307- added algorithm.doc
1308
1309Changes in 1.0.1 (20 May 96) [1.0 skipped to avoid confusion]
1310- fix array overlay in deflate.c which sometimes caused bad compressed data
1311- fix inflate bug with empty stored block
1312- fix MSDOS medium model which was broken in 0.99
1347- zlibVersion and gzerror return const char* (needed for DLL)
1348- port to RISCOS (no fdopen, no multiple dots, no unlink, no fileno)
1349- use z_error only for DEBUG (avoid problem with DLLs)
1350
1351Changes in 1.0.3 (2 Jul 96)
1352- use z_streamp instead of z_stream *, which is now a far pointer in MSDOS
1353 small and medium models; this makes the library incompatible with previous
1354 versions for these models. (No effect in large model or on other systems.)

--- 13 unchanged lines hidden (view full) ---

1368- mention in README that the zlib format is now RFC1950
1369- updated Makefile.dj2
1370- added algorithm.doc
1371
1372Changes in 1.0.1 (20 May 96) [1.0 skipped to avoid confusion]
1373- fix array overlay in deflate.c which sometimes caused bad compressed data
1374- fix inflate bug with empty stored block
1375- fix MSDOS medium model which was broken in 0.99
1313- fix deflateParams() which could generate bad compressed data.
1376- fix deflateParams() which could generate bad compressed data
1314- Bytef is define'd instead of typedef'ed (work around Borland bug)
1315- added an INDEX file
1316- new makefiles for DJGPP (Makefile.dj2), 32-bit Borland (Makefile.b32),
1317 Watcom (Makefile.wat), Amiga SAS/C (Makefile.sas)
1318- speed up adler32 for modern machines without auto-increment
1319- added -ansi for IRIX in configure
1320- static_init_done in trees.c is an int
1321- define unlink as delete for VMS

--- 4 unchanged lines hidden (view full) ---

1326- fix the Watcom fix for 32 bit mode (define FAR as empty)
1327- removed redefinition of Byte for MKWERKS
1328- work around an MWKERKS bug (incorrect merge of all .h files)
1329
1330Changes in 0.99 (27 Jan 96)
1331- allow preset dictionary shared between compressor and decompressor
1332- allow compression level 0 (no compression)
1333- add deflateParams in zlib.h: allow dynamic change of compression level
1377- Bytef is define'd instead of typedef'ed (work around Borland bug)
1378- added an INDEX file
1379- new makefiles for DJGPP (Makefile.dj2), 32-bit Borland (Makefile.b32),
1380 Watcom (Makefile.wat), Amiga SAS/C (Makefile.sas)
1381- speed up adler32 for modern machines without auto-increment
1382- added -ansi for IRIX in configure
1383- static_init_done in trees.c is an int
1384- define unlink as delete for VMS

--- 4 unchanged lines hidden (view full) ---

1389- fix the Watcom fix for 32 bit mode (define FAR as empty)
1390- removed redefinition of Byte for MKWERKS
1391- work around an MWKERKS bug (incorrect merge of all .h files)
1392
1393Changes in 0.99 (27 Jan 96)
1394- allow preset dictionary shared between compressor and decompressor
1395- allow compression level 0 (no compression)
1396- add deflateParams in zlib.h: allow dynamic change of compression level
1334 and compression strategy.
1397 and compression strategy
1335- test large buffers and deflateParams in example.c
1336- add optional "configure" to build zlib as a shared library
1337- suppress Makefile.qnx, use configure instead
1338- fixed deflate for 64-bit systems (detected on Cray)
1339- fixed inflate_blocks for 64-bit systems (detected on Alpha)
1340- declare Z_DEFLATED in zlib.h (possible parameter for deflateInit2)
1341- always return Z_BUF_ERROR when deflate() has nothing to do
1342- deflateInit and inflateInit are now macros to allow version checking

--- 25 unchanged lines hidden (view full) ---

1368- fixed typo in zconf.h (_GNUC__ => __GNUC__)
1369- check for WIN32 in zconf.h and zutil.c (avoid farmalloc in 32-bit mode)
1370- fix typo in Make_vms.com (f$trnlnm -> f$getsyi)
1371- in fcalloc, normalize pointer if size > 65520 bytes
1372- don't use special fcalloc for 32 bit Borland C++
1373- use STDC instead of __GO32__ to avoid redeclaring exit, calloc, etc...
1374- use Z_BINARY instead of BINARY
1375- document that gzclose after gzdopen will close the file
1398- test large buffers and deflateParams in example.c
1399- add optional "configure" to build zlib as a shared library
1400- suppress Makefile.qnx, use configure instead
1401- fixed deflate for 64-bit systems (detected on Cray)
1402- fixed inflate_blocks for 64-bit systems (detected on Alpha)
1403- declare Z_DEFLATED in zlib.h (possible parameter for deflateInit2)
1404- always return Z_BUF_ERROR when deflate() has nothing to do
1405- deflateInit and inflateInit are now macros to allow version checking

--- 25 unchanged lines hidden (view full) ---

1431- fixed typo in zconf.h (_GNUC__ => __GNUC__)
1432- check for WIN32 in zconf.h and zutil.c (avoid farmalloc in 32-bit mode)
1433- fix typo in Make_vms.com (f$trnlnm -> f$getsyi)
1434- in fcalloc, normalize pointer if size > 65520 bytes
1435- don't use special fcalloc for 32 bit Borland C++
1436- use STDC instead of __GO32__ to avoid redeclaring exit, calloc, etc...
1437- use Z_BINARY instead of BINARY
1438- document that gzclose after gzdopen will close the file
1376- allow "a" as mode in gzopen.
1439- allow "a" as mode in gzopen
1377- fix error checking in gzread
1378- allow skipping .gz extra-field on pipes
1379- added reference to Perl interface in README
1380- put the crc table in FAR data (I dislike more and more the medium model :)
1381- added get_crc_table
1440- fix error checking in gzread
1441- allow skipping .gz extra-field on pipes
1442- added reference to Perl interface in README
1443- put the crc table in FAR data (I dislike more and more the medium model :)
1444- added get_crc_table
1382- added a dimension to all arrays (Borland C can't count).
1445- added a dimension to all arrays (Borland C can't count)
1383- workaround Borland C bug in declaration of inflate_codes_new & inflate_fast
1384- guard against multiple inclusion of *.h (for precompiled header on Mac)
1446- workaround Borland C bug in declaration of inflate_codes_new & inflate_fast
1447- guard against multiple inclusion of *.h (for precompiled header on Mac)
1385- Watcom C pretends to be Microsoft C small model even in 32 bit mode.
1448- Watcom C pretends to be Microsoft C small model even in 32 bit mode
1386- don't use unsized arrays to avoid silly warnings by Visual C++:
1387 warning C4746: 'inflate_mask' : unsized array treated as '__far'
1449- don't use unsized arrays to avoid silly warnings by Visual C++:
1450 warning C4746: 'inflate_mask' : unsized array treated as '__far'
1388 (what's wrong with far data in far model?).
1451 (what's wrong with far data in far model?)
1389- define enum out of inflate_blocks_state to allow compilation with C++
1390
1391Changes in 0.95 (16 Aug 95)
1392- fix MSDOS small and medium model (now easier to adapt to any compiler)
1393- inlined send_bits
1394- fix the final (:-) bug for deflate with flush (output was correct but
1452- define enum out of inflate_blocks_state to allow compilation with C++
1453
1454Changes in 0.95 (16 Aug 95)
1455- fix MSDOS small and medium model (now easier to adapt to any compiler)
1456- inlined send_bits
1457- fix the final (:-) bug for deflate with flush (output was correct but
1395 not completely flushed in rare occasions).
1458 not completely flushed in rare occasions)
1396- default window size is same for compression and decompression
1459- default window size is same for compression and decompression
1397 (it's now sufficient to set MAX_WBITS in zconf.h).
1460 (it's now sufficient to set MAX_WBITS in zconf.h)
1398- voidp -> voidpf and voidnp -> voidp (for consistency with other
1461- voidp -> voidpf and voidnp -> voidp (for consistency with other
1399 typedefs and because voidnp was not near in large model).
1462 typedefs and because voidnp was not near in large model)
1400
1401Changes in 0.94 (13 Aug 95)
1402- support MSDOS medium model
1403- fix deflate with flush (could sometimes generate bad output)
1404- fix deflateReset (zlib header was incorrectly suppressed)
1405- added support for VMS
1406- allow a compression level in gzopen()
1407- gzflush now calls fflush
1463
1464Changes in 0.94 (13 Aug 95)
1465- support MSDOS medium model
1466- fix deflate with flush (could sometimes generate bad output)
1467- fix deflateReset (zlib header was incorrectly suppressed)
1468- added support for VMS
1469- allow a compression level in gzopen()
1470- gzflush now calls fflush
1408- For deflate with flush, flush even if no more input is provided.
1471- For deflate with flush, flush even if no more input is provided
1409- rename libgz.a as libz.a
1410- avoid complex expression in infcodes.c triggering Turbo C bug
1411- work around a problem with gcc on Alpha (in INSERT_STRING)
1412- don't use inline functions (problem with some gcc versions)
1472- rename libgz.a as libz.a
1473- avoid complex expression in infcodes.c triggering Turbo C bug
1474- work around a problem with gcc on Alpha (in INSERT_STRING)
1475- don't use inline functions (problem with some gcc versions)
1413- allow renaming of Byte, uInt, etc... with #define.
1476- allow renaming of Byte, uInt, etc... with #define
1414- avoid warning about (unused) pointer before start of array in deflate.c
1415- avoid various warnings in gzio.c, example.c, infblock.c, adler32.c, zutil.c
1416- avoid reserved word 'new' in trees.c
1417
1418Changes in 0.93 (25 June 95)
1419- temporarily disable inline functions
1420- make deflate deterministic
1421- give enough lookahead for PARTIAL_FLUSH
1422- Set binary mode for stdin/stdout in minigzip.c for OS/2
1423- don't even use signed char in inflate (not portable enough)
1424- fix inflate memory leak for segmented architectures
1425
1426Changes in 0.92 (3 May 95)
1427- don't assume that char is signed (problem on SGI)
1428- Clear bit buffer when starting a stored block
1429- no memcpy on Pyramid
1430- suppressed inftest.c
1431- optimized fill_window, put longest_match inline for gcc
1477- avoid warning about (unused) pointer before start of array in deflate.c
1478- avoid various warnings in gzio.c, example.c, infblock.c, adler32.c, zutil.c
1479- avoid reserved word 'new' in trees.c
1480
1481Changes in 0.93 (25 June 95)
1482- temporarily disable inline functions
1483- make deflate deterministic
1484- give enough lookahead for PARTIAL_FLUSH
1485- Set binary mode for stdin/stdout in minigzip.c for OS/2
1486- don't even use signed char in inflate (not portable enough)
1487- fix inflate memory leak for segmented architectures
1488
1489Changes in 0.92 (3 May 95)
1490- don't assume that char is signed (problem on SGI)
1491- Clear bit buffer when starting a stored block
1492- no memcpy on Pyramid
1493- suppressed inftest.c
1494- optimized fill_window, put longest_match inline for gcc
1432- optimized inflate on stored blocks.
1495- optimized inflate on stored blocks
1433- untabify all sources to simplify patches
1434
1435Changes in 0.91 (2 May 95)
1436- Default MEM_LEVEL is 8 (not 9 for Unix) as documented in zlib.h
1437- Document the memory requirements in zconf.h
1438- added "make install"
1439- fix sync search logic in inflateSync
1440- deflate(Z_FULL_FLUSH) now works even if output buffer too short
1441- after inflateSync, don't scare people with just "lo world"
1442- added support for DJGPP
1443
1444Changes in 0.9 (1 May 95)
1445- don't assume that zalloc clears the allocated memory (the TurboC bug
1446 was Mark's bug after all :)
1447- let again gzread copy uncompressed data unchanged (was working in 0.71)
1448- deflate(Z_FULL_FLUSH), inflateReset and inflateSync are now fully implemented
1449- added a test of inflateSync in example.c
1496- untabify all sources to simplify patches
1497
1498Changes in 0.91 (2 May 95)
1499- Default MEM_LEVEL is 8 (not 9 for Unix) as documented in zlib.h
1500- Document the memory requirements in zconf.h
1501- added "make install"
1502- fix sync search logic in inflateSync
1503- deflate(Z_FULL_FLUSH) now works even if output buffer too short
1504- after inflateSync, don't scare people with just "lo world"
1505- added support for DJGPP
1506
1507Changes in 0.9 (1 May 95)
1508- don't assume that zalloc clears the allocated memory (the TurboC bug
1509 was Mark's bug after all :)
1510- let again gzread copy uncompressed data unchanged (was working in 0.71)
1511- deflate(Z_FULL_FLUSH), inflateReset and inflateSync are now fully implemented
1512- added a test of inflateSync in example.c
1450- moved MAX_WBITS to zconf.h because users might want to change that.
1513- moved MAX_WBITS to zconf.h because users might want to change that
1451- document explicitly that zalloc(64K) on MSDOS must return a normalized
1452 pointer (zero offset)
1453- added Makefiles for Microsoft C, Turbo C, Borland C++
1454- faster crc32()
1455
1456Changes in 0.8 (29 April 95)
1457- added fast inflate (inffast.c)
1458- deflate(Z_FINISH) now returns Z_STREAM_END when done. Warning: this
1514- document explicitly that zalloc(64K) on MSDOS must return a normalized
1515 pointer (zero offset)
1516- added Makefiles for Microsoft C, Turbo C, Borland C++
1517- faster crc32()
1518
1519Changes in 0.8 (29 April 95)
1520- added fast inflate (inffast.c)
1521- deflate(Z_FINISH) now returns Z_STREAM_END when done. Warning: this
1459 is incompatible with previous versions of zlib which returned Z_OK.
1522 is incompatible with previous versions of zlib which returned Z_OK
1460- work around a TurboC compiler bug (bad code for b << 0, see infutil.h)
1461 (actually that was not a compiler bug, see 0.81 above)
1462- gzread no longer reads one extra byte in certain cases
1463- In gzio destroy(), don't reference a freed structure
1464- avoid many warnings for MSDOS
1465- avoid the ERROR symbol which is used by MS Windows
1466
1467Changes in 0.71 (14 April 95)
1468- Fixed more MSDOS compilation problems :( There is still a bug with
1523- work around a TurboC compiler bug (bad code for b << 0, see infutil.h)
1524 (actually that was not a compiler bug, see 0.81 above)
1525- gzread no longer reads one extra byte in certain cases
1526- In gzio destroy(), don't reference a freed structure
1527- avoid many warnings for MSDOS
1528- avoid the ERROR symbol which is used by MS Windows
1529
1530Changes in 0.71 (14 April 95)
1531- Fixed more MSDOS compilation problems :( There is still a bug with
1469 TurboC large model.
1532 TurboC large model
1470
1471Changes in 0.7 (14 April 95)
1533
1534Changes in 0.7 (14 April 95)
1472- Added full inflate support.
1535- Added full inflate support
1473- Simplified the crc32() interface. The pre- and post-conditioning
1474 (one's complement) is now done inside crc32(). WARNING: this is
1536- Simplified the crc32() interface. The pre- and post-conditioning
1537 (one's complement) is now done inside crc32(). WARNING: this is
1475 incompatible with previous versions; see zlib.h for the new usage.
1538 incompatible with previous versions; see zlib.h for the new usage
1476
1477Changes in 0.61 (12 April 95)
1539
1540Changes in 0.61 (12 April 95)
1478- workaround for a bug in TurboC. example and minigzip now work on MSDOS.
1541- workaround for a bug in TurboC. example and minigzip now work on MSDOS
1479
1480Changes in 0.6 (11 April 95)
1481- added minigzip.c
1482- added gzdopen to reopen a file descriptor as gzFile
1542
1543Changes in 0.6 (11 April 95)
1544- added minigzip.c
1545- added gzdopen to reopen a file descriptor as gzFile
1483- added transparent reading of non-gziped files in gzread.
1546- added transparent reading of non-gziped files in gzread
1484- fixed bug in gzread (don't read crc as data)
1547- fixed bug in gzread (don't read crc as data)
1485- fixed bug in destroy (gzio.c) (don't return Z_STREAM_END for gzclose).
1548- fixed bug in destroy (gzio.c) (don't return Z_STREAM_END for gzclose)
1486- don't allocate big arrays in the stack (for MSDOS)
1487- fix some MSDOS compilation problems
1488
1489Changes in 0.5:
1490- do real compression in deflate.c. Z_PARTIAL_FLUSH is supported but
1549- don't allocate big arrays in the stack (for MSDOS)
1550- fix some MSDOS compilation problems
1551
1552Changes in 0.5:
1553- do real compression in deflate.c. Z_PARTIAL_FLUSH is supported but
1491 not yet Z_FULL_FLUSH.
1554 not yet Z_FULL_FLUSH
1492- support decompression but only in a single step (forced Z_FINISH)
1555- support decompression but only in a single step (forced Z_FINISH)
1493- added opaque object for zalloc and zfree.
1556- added opaque object for zalloc and zfree
1494- added deflateReset and inflateReset
1557- added deflateReset and inflateReset
1495- added a variable zlib_version for consistency checking.
1496- renamed the 'filter' parameter of deflateInit2 as 'strategy'.
1497 Added Z_FILTERED and Z_HUFFMAN_ONLY constants.
1558- added a variable zlib_version for consistency checking
1559- renamed the 'filter' parameter of deflateInit2 as 'strategy'
1560 Added Z_FILTERED and Z_HUFFMAN_ONLY constants
1498
1499Changes in 0.4:
1561
1562Changes in 0.4:
1500- avoid "zip" everywhere, use zlib instead of ziplib.
1563- avoid "zip" everywhere, use zlib instead of ziplib
1501- suppress Z_BLOCK_FLUSH, interpret Z_PARTIAL_FLUSH as block flush
1564- suppress Z_BLOCK_FLUSH, interpret Z_PARTIAL_FLUSH as block flush
1502 if compression method == 8.
1565 if compression method == 8
1503- added adler32 and crc32
1504- renamed deflateOptions as deflateInit2, call one or the other but not both
1566- added adler32 and crc32
1567- renamed deflateOptions as deflateInit2, call one or the other but not both
1505- added the method parameter for deflateInit2.
1568- added the method parameter for deflateInit2
1506- added inflateInit2
1507- simplied considerably deflateInit and inflateInit by not supporting
1508 user-provided history buffer. This is supported only in deflateInit2
1569- added inflateInit2
1570- simplied considerably deflateInit and inflateInit by not supporting
1571 user-provided history buffer. This is supported only in deflateInit2
1509 and inflateInit2.
1572 and inflateInit2
1510
1511Changes in 0.3:
1512- prefix all macro names with Z_
1573
1574Changes in 0.3:
1575- prefix all macro names with Z_
1513- use Z_FINISH instead of deflateEnd to finish compression.
1576- use Z_FINISH instead of deflateEnd to finish compression
1514- added Z_HUFFMAN_ONLY
1515- added gzerror()
1577- added Z_HUFFMAN_ONLY
1578- added gzerror()