ChangeLog revision 145474
117651Speter
2131377Stjr                ChangeLog file for zlib
317651Speter
4145474SkientzleChanges in 1.2.2 (3 October 2004)
5145474Skientzle- Update zlib.h comments on gzip in-memory processing
6145474Skientzle- Set adler to 1 in inflateReset() to support Java test suite [Walles]
7145474Skientzle- Add contrib/dotzlib [Ravn]
8145474Skientzle- Update win32/DLL_FAQ.txt [Truta]
9145474Skientzle- Update contrib/minizip [Vollant]
10145474Skientzle- Move contrib/visual-basic.txt to old/ [Truta]
11145474Skientzle- Fix assembler builds in projects/visualc6/ [Truta]
12145474Skientzle
13145474SkientzleChanges in 1.2.1.2 (9 September 2004)
14145474Skientzle- Update INDEX file
15145474Skientzle- Fix trees.c to update strm->data_type (no one ever noticed!)
16145474Skientzle- Fix bug in error case in inflate.c, infback.c, and infback9.c [Brown]
17145474Skientzle- Add "volatile" to crc table flag declaration (for DYNAMIC_CRC_TABLE)
18145474Skientzle- Add limited multitasking protection to DYNAMIC_CRC_TABLE
19145474Skientzle- Add NO_vsnprintf for VMS in zutil.h [Mozilla]
20145474Skientzle- Don't declare strerror() under VMS [Mozilla]
21145474Skientzle- Add comment to DYNAMIC_CRC_TABLE to use get_crc_table() to initialize
22145474Skientzle- Update contrib/ada [Anisimkov]
23145474Skientzle- Update contrib/minizip [Vollant]
24145474Skientzle- Fix configure to not hardcode directories for Darwin [Peterson]
25145474Skientzle- Fix gzio.c to not return error on empty files [Brown]
26145474Skientzle- Fix indentation; update version in contrib/delphi/ZLib.pas and
27145474Skientzle  contrib/pascal/zlibpas.pas [Truta]
28145474Skientzle- Update mkasm.bat in contrib/masmx86 [Truta]
29145474Skientzle- Update contrib/untgz [Truta]
30145474Skientzle- Add projects/README.projects [Truta]
31145474Skientzle- Add project for MS Visual C++ 6.0 in projects/visualc6 [Cadieux, Truta]
32145474Skientzle- Update win32/DLL_FAQ.txt [Truta]
33145474Skientzle- Update list of Z_PREFIX symbols in zconf.h [Randers-Pehrson, Truta]
34145474Skientzle- Remove an unnecessary assignment to curr in inftrees.c [Truta]
35145474Skientzle- Add OS/2 to exe builds in configure [Poltorak]
36145474Skientzle- Remove err dummy parameter in zlib.h [Kientzle]
37145474Skientzle
38145474SkientzleChanges in 1.2.1.1 (9 January 2004)
39145474Skientzle- Update email address in README
40145474Skientzle- Several FAQ updates
41145474Skientzle- Fix a big fat bug in inftrees.c that prevented decoding valid
42145474Skientzle  dynamic blocks with only literals and no distance codes --
43145474Skientzle  Thanks to "Hot Emu" for the bug report and sample file
44145474Skientzle- Add a note to puff.c on no distance codes case.
45145474Skientzle
46131377StjrChanges in 1.2.1 (17 November 2003)
47131377Stjr- Remove a tab in contrib/gzappend/gzappend.c
48131377Stjr- Update some interfaces in contrib for new zlib functions
49131377Stjr- Update zlib version number in some contrib entries
50131377Stjr- Add Windows CE definition for ptrdiff_t in zutil.h [Mai, Truta]
51131377Stjr- Support shared libraries on Hurd and KFreeBSD [Brown]
52131377Stjr- Fix error in NO_DIVIDE option of adler32.c
53131377Stjr
54131377StjrChanges in 1.2.0.8 (4 November 2003)
55131377Stjr- Update version in contrib/delphi/ZLib.pas and contrib/pascal/zlibpas.pas
56131377Stjr- Add experimental NO_DIVIDE #define in adler32.c
57131377Stjr    - Possibly faster on some processors (let me know if it is)
58131377Stjr- Correct Z_BLOCK to not return on first inflate call if no wrap
59131377Stjr- Fix strm->data_type on inflate() return to correctly indicate EOB
60131377Stjr- Add deflatePrime() function for appending in the middle of a byte
61131377Stjr- Add contrib/gzappend for an example of appending to a stream
62131377Stjr- Update win32/DLL_FAQ.txt [Truta]
63131377Stjr- Delete Turbo C comment in README [Truta]
64131377Stjr- Improve some indentation in zconf.h [Truta]
65131377Stjr- Fix infinite loop on bad input in configure script [Church]
66131377Stjr- Fix gzeof() for concatenated gzip files [Johnson]
67131377Stjr- Add example to contrib/visual-basic.txt [Michael B.]
68131377Stjr- Add -p to mkdir's in Makefile.in [vda]
69131377Stjr- Fix configure to properly detect presence or lack of printf functions
70131377Stjr- Add AS400 support [Monnerat]
71131377Stjr- Add a little Cygwin support [Wilson]
72131377Stjr
73131377StjrChanges in 1.2.0.7 (21 September 2003)
74131377Stjr- Correct some debug formats in contrib/infback9
75131377Stjr- Cast a type in a debug statement in trees.c
76131377Stjr- Change search and replace delimiter in configure from % to # [Beebe]
77131377Stjr- Update contrib/untgz to 0.2 with various fixes [Truta]
78131377Stjr- Add build support for Amiga [Nikl]
79131377Stjr- Remove some directories in old that have been updated to 1.2
80131377Stjr- Add dylib building for Mac OS X in configure and Makefile.in
81131377Stjr- Remove old distribution stuff from Makefile
82131377Stjr- Update README to point to DLL_FAQ.txt, and add comment on Mac OS X
83131377Stjr- Update links in README
84131377Stjr
85131377StjrChanges in 1.2.0.6 (13 September 2003)
86131377Stjr- Minor FAQ updates
87131377Stjr- Update contrib/minizip to 1.00 [Vollant]
88131377Stjr- Remove test of gz functions in example.c when GZ_COMPRESS defined [Truta]
89131377Stjr- Update POSTINC comment for 68060 [Nikl]
90131377Stjr- Add contrib/infback9 with deflate64 decoding (unsupported)
91131377Stjr- For MVS define NO_vsnprintf and undefine FAR [van Burik]
92131377Stjr- Add pragma for fdopen on MVS [van Burik]
93131377Stjr
94131377StjrChanges in 1.2.0.5 (8 September 2003)
95131377Stjr- Add OF to inflateBackEnd() declaration in zlib.h
96131377Stjr- Remember start when using gzdopen in the middle of a file
97131377Stjr- Use internal off_t counters in gz* functions to properly handle seeks
98131377Stjr- Perform more rigorous check for distance-too-far in inffast.c
99131377Stjr- Add Z_BLOCK flush option to return from inflate at block boundary
100131377Stjr- Set strm->data_type on return from inflate
101131377Stjr    - Indicate bits unused, if at block boundary, and if in last block
102131377Stjr- Replace size_t with ptrdiff_t in crc32.c, and check for correct size
103131377Stjr- Add condition so old NO_DEFLATE define still works for compatibility
104131377Stjr- FAQ update regarding the Windows DLL [Truta]
105131377Stjr- INDEX update: add qnx entry, remove aix entry [Truta]
106131377Stjr- Install zlib.3 into mandir [Wilson]
107131377Stjr- Move contrib/zlib_dll_FAQ.txt to win32/DLL_FAQ.txt; update [Truta]
108131377Stjr- Adapt the zlib interface to the new DLL convention guidelines [Truta]
109131377Stjr- Introduce ZLIB_WINAPI macro to allow the export of functions using
110131377Stjr  the WINAPI calling convention, for Visual Basic [Vollant, Truta]
111131377Stjr- Update msdos and win32 scripts and makefiles [Truta]
112131377Stjr- Export symbols by name, not by ordinal, in win32/zlib.def [Truta]
113131377Stjr- Add contrib/ada [Anisimkov]
114131377Stjr- Move asm files from contrib/vstudio/vc70_32 to contrib/asm386 [Truta]
115131377Stjr- Rename contrib/asm386 to contrib/masmx86 [Truta, Vollant]
116131377Stjr- Add contrib/masm686 [Truta]
117131377Stjr- Fix offsets in contrib/inflate86 and contrib/masmx86/inffas32.asm
118131377Stjr  [Truta, Vollant]
119131377Stjr- Update contrib/delphi; rename to contrib/pascal; add example [Truta]
120131377Stjr- Remove contrib/delphi2; add a new contrib/delphi [Truta]
121131377Stjr- Avoid inclusion of the nonstandard <memory.h> in contrib/iostream,
122131377Stjr  and fix some method prototypes [Truta]
123131377Stjr- Fix the ZCR_SEED2 constant to avoid warnings in contrib/minizip
124131377Stjr  [Truta]
125131377Stjr- Avoid the use of backslash (\) in contrib/minizip [Vollant]
126131377Stjr- Fix file time handling in contrib/untgz; update makefiles [Truta]
127131377Stjr- Update contrib/vstudio/vc70_32 to comply with the new DLL guidelines
128131377Stjr  [Vollant]
129131377Stjr- Remove contrib/vstudio/vc15_16 [Vollant]
130131377Stjr- Rename contrib/vstudio/vc70_32 to contrib/vstudio/vc7 [Truta]
131131377Stjr- Update README.contrib [Truta]
132131377Stjr- Invert the assignment order of match_head and s->prev[...] in
133131377Stjr  INSERT_STRING [Truta]
134131377Stjr- Compare TOO_FAR with 32767 instead of 32768, to avoid 16-bit warnings
135131377Stjr  [Truta]
136131377Stjr- Compare function pointers with 0, not with NULL or Z_NULL [Truta]
137131377Stjr- Fix prototype of syncsearch in inflate.c [Truta]
138131377Stjr- Introduce ASMINF macro to be enabled when using an ASM implementation
139131377Stjr  of inflate_fast [Truta]
140131377Stjr- Change NO_DEFLATE to NO_GZCOMPRESS [Truta]
141131377Stjr- Modify test_gzio in example.c to take a single file name as a
142131377Stjr  parameter [Truta]
143131377Stjr- Exit the example.c program if gzopen fails [Truta]
144131377Stjr- Add type casts around strlen in example.c [Truta]
145131377Stjr- Remove casting to sizeof in minigzip.c; give a proper type
146131377Stjr  to the variable compared with SUFFIX_LEN [Truta]
147131377Stjr- Update definitions of STDC and STDC99 in zconf.h [Truta]
148131377Stjr- Synchronize zconf.h with the new Windows DLL interface [Truta]
149131377Stjr- Use SYS16BIT instead of __32BIT__ to distinguish between
150131377Stjr  16- and 32-bit platforms [Truta]
151131377Stjr- Use far memory allocators in small 16-bit memory models for
152131377Stjr  Turbo C [Truta]
153131377Stjr- Add info about the use of ASMV, ASMINF and ZLIB_WINAPI in
154131377Stjr  zlibCompileFlags [Truta]
155131377Stjr- Cygwin has vsnprintf [Wilson]
156131377Stjr- In Windows16, OS_CODE is 0, as in MSDOS [Truta]
157131377Stjr- In Cygwin, OS_CODE is 3 (Unix), not 11 (Windows32) [Wilson]
158131377Stjr
159131377StjrChanges in 1.2.0.4 (10 August 2003)
160131377Stjr- Minor FAQ updates
161131377Stjr- Be more strict when checking inflateInit2's windowBits parameter
162131377Stjr- Change NO_GUNZIP compile option to NO_GZIP to cover deflate as well
163131377Stjr- Add gzip wrapper option to deflateInit2 using windowBits
164131377Stjr- Add updated QNX rule in configure and qnx directory [Bonnefoy]
165131377Stjr- Make inflate distance-too-far checks more rigorous
166131377Stjr- Clean up FAR usage in inflate
167131377Stjr- Add casting to sizeof() in gzio.c and minigzip.c
168131377Stjr
169131377StjrChanges in 1.2.0.3 (19 July 2003)
170131377Stjr- Fix silly error in gzungetc() implementation [Vollant]
171131377Stjr- Update contrib/minizip and contrib/vstudio [Vollant]
172131377Stjr- Fix printf format in example.c
173131377Stjr- Correct cdecl support in zconf.in.h [Anisimkov]
174131377Stjr- Minor FAQ updates
175131377Stjr
176131377StjrChanges in 1.2.0.2 (13 July 2003)
177131377Stjr- Add ZLIB_VERNUM in zlib.h for numerical preprocessor comparisons
178131377Stjr- Attempt to avoid warnings in crc32.c for pointer-int conversion
179131377Stjr- Add AIX to configure, remove aix directory [Bakker]
180131377Stjr- Add some casts to minigzip.c
181131377Stjr- Improve checking after insecure sprintf() or vsprintf() calls
182131377Stjr- Remove #elif's from crc32.c
183131377Stjr- Change leave label to inf_leave in inflate.c and infback.c to avoid
184131377Stjr  library conflicts
185131377Stjr- Remove inflate gzip decoding by default--only enable gzip decoding by
186131377Stjr  special request for stricter backward compatibility
187131377Stjr- Add zlibCompileFlags() function to return compilation information
188131377Stjr- More typecasting in deflate.c to avoid warnings
189131377Stjr- Remove leading underscore from _Capital #defines [Truta]
190131377Stjr- Fix configure to link shared library when testing
191131377Stjr- Add some Windows CE target adjustments [Mai]
192131377Stjr- Remove #define ZLIB_DLL in zconf.h [Vollant]
193131377Stjr- Add zlib.3 [Rodgers]
194131377Stjr- Update RFC URL in deflate.c and algorithm.txt [Mai]
195131377Stjr- Add zlib_dll_FAQ.txt to contrib [Truta]
196131377Stjr- Add UL to some constants [Truta]
197131377Stjr- Update minizip and vstudio [Vollant]
198131377Stjr- Remove vestigial NEED_DUMMY_RETURN from zconf.in.h
199131377Stjr- Expand use of NO_DUMMY_DECL to avoid all dummy structures
200131377Stjr- Added iostream3 to contrib [Schwardt]
201131377Stjr- Replace rewind() with fseek() for WinCE [Truta]
202131377Stjr- Improve setting of zlib format compression level flags
203131377Stjr    - Report 0 for huffman and rle strategies and for level == 0 or 1
204131377Stjr    - Report 2 only for level == 6
205131377Stjr- Only deal with 64K limit when necessary at compile time [Truta]
206131377Stjr- Allow TOO_FAR check to be turned off at compile time [Truta]
207131377Stjr- Add gzclearerr() function [Souza]
208131377Stjr- Add gzungetc() function
209131377Stjr
210131377StjrChanges in 1.2.0.1 (17 March 2003)
211131377Stjr- Add Z_RLE strategy for run-length encoding [Truta]
212131377Stjr    - When Z_RLE requested, restrict matches to distance one
213131377Stjr    - Update zlib.h, minigzip.c, gzopen(), gzdopen() for Z_RLE
214131377Stjr- Correct FASTEST compilation to allow level == 0
215131377Stjr- Clean up what gets compiled for FASTEST
216131377Stjr- Incorporate changes to zconf.in.h [Vollant]
217131377Stjr    - Refine detection of Turbo C need for dummy returns
218131377Stjr    - Refine ZLIB_DLL compilation
219131377Stjr    - Include additional header file on VMS for off_t typedef
220131377Stjr- Try to use _vsnprintf where it supplants vsprintf [Vollant]
221131377Stjr- Add some casts in inffast.c
222131377Stjr- Enchance comments in zlib.h on what happens if gzprintf() tries to
223131377Stjr  write more than 4095 bytes before compression
224131377Stjr- Remove unused state from inflateBackEnd()
225131377Stjr- Remove exit(0) from minigzip.c, example.c
226131377Stjr- Get rid of all those darn tabs
227131377Stjr- Add "check" target to Makefile.in that does the same thing as "test"
228131377Stjr- Add "mostlyclean" and "maintainer-clean" targets to Makefile.in
229131377Stjr- Update contrib/inflate86 [Anderson]
230131377Stjr- Update contrib/testzlib, contrib/vstudio, contrib/minizip [Vollant]
231131377Stjr- Add msdos and win32 directories with makefiles [Truta]
232131377Stjr- More additions and improvements to the FAQ
233131377Stjr
234131377StjrChanges in 1.2.0 (9 March 2003)
235131377Stjr- New and improved inflate code
236131377Stjr    - About 20% faster
237131377Stjr    - Does not allocate 32K window unless and until needed
238131377Stjr    - Automatically detects and decompresses gzip streams
239131377Stjr    - Raw inflate no longer needs an extra dummy byte at end
240131377Stjr    - Added inflateBack functions using a callback interface--even faster
241131377Stjr      than inflate, useful for file utilities (gzip, zip)
242131377Stjr    - Added inflateCopy() function to record state for random access on
243131377Stjr      externally generated deflate streams (e.g. in gzip files)
244131377Stjr    - More readable code (I hope)
245131377Stjr- New and improved crc32()
246131377Stjr    - About 50% faster, thanks to suggestions from Rodney Brown
247131377Stjr- Add deflateBound() and compressBound() functions
248131377Stjr- Fix memory leak in deflateInit2()
249131377Stjr- Permit setting dictionary for raw deflate (for parallel deflate)
250131377Stjr- Fix const declaration for gzwrite()
251131377Stjr- Check for some malloc() failures in gzio.c
252131377Stjr- Fix bug in gzopen() on single-byte file 0x1f
253131377Stjr- Fix bug in gzread() on concatenated file with 0x1f at end of buffer
254131377Stjr  and next buffer doesn't start with 0x8b
255131377Stjr- Fix uncompress() to return Z_DATA_ERROR on truncated input
256131377Stjr- Free memory at end of example.c
257131377Stjr- Remove MAX #define in trees.c (conflicted with some libraries)
258131377Stjr- Fix static const's in deflate.c, gzio.c, and zutil.[ch]
259131377Stjr- Declare malloc() and free() in gzio.c if STDC not defined
260131377Stjr- Use malloc() instead of calloc() in zutil.c if int big enough
261131377Stjr- Define STDC for AIX
262131377Stjr- Add aix/ with approach for compiling shared library on AIX
263131377Stjr- Add HP-UX support for shared libraries in configure
264131377Stjr- Add OpenUNIX support for shared libraries in configure
265131377Stjr- Use $cc instead of gcc to build shared library
266131377Stjr- Make prefix directory if needed when installing
267131377Stjr- Correct Macintosh avoidance of typedef Byte in zconf.h
268131377Stjr- Correct Turbo C memory allocation when under Linux
269131377Stjr- Use libz.a instead of -lz in Makefile (assure use of compiled library)
270131377Stjr- Update configure to check for snprintf or vsnprintf functions and their
271131377Stjr  return value, warn during make if using an insecure function
272131377Stjr- Fix configure problem with compile-time knowledge of HAVE_UNISTD_H that
273131377Stjr  is lost when library is used--resolution is to build new zconf.h
274131377Stjr- Documentation improvements (in zlib.h):
275131377Stjr    - Document raw deflate and inflate
276131377Stjr    - Update RFCs URL
277131377Stjr    - Point out that zlib and gzip formats are different
278131377Stjr    - Note that Z_BUF_ERROR is not fatal
279131377Stjr    - Document string limit for gzprintf() and possible buffer overflow
280131377Stjr    - Note requirement on avail_out when flushing
281131377Stjr    - Note permitted values of flush parameter of inflate()
282131377Stjr- Add some FAQs (and even answers) to the FAQ
283131377Stjr- Add contrib/inflate86/ for x86 faster inflate
284131377Stjr- Add contrib/blast/ for PKWare Data Compression Library decompression
285131377Stjr- Add contrib/puff/ simple inflate for deflate format description
286131377Stjr
28792111SgreenChanges in 1.1.4 (11 March 2002)
28892111Sgreen- ZFREE was repeated on same allocation on some error conditions.
28992111Sgreen  This creates a security problem described in
29092111Sgreen  http://www.zlib.org/advisory-2002-03-11.txt
29192111Sgreen- Returned incorrect error (Z_MEM_ERROR) on some invalid data
29292111Sgreen- Avoid accesses before window for invalid distances with inflate window
29392111Sgreen  less than 32K.
29492111Sgreen- force windowBits > 8 to avoid a bug in the encoder for a window size
29592111Sgreen  of 256 bytes. (A complete fix will be available in 1.1.5).
296131377Stjr
29742468SpeterChanges in 1.1.3 (9 July 1998)
29842468Speter- fix "an inflate input buffer bug that shows up on rare but persistent
29942468Speter  occasions" (Mark)
30042468Speter- fix gzread and gztell for concatenated .gz files (Didier Le Botlan)
30142468Speter- fix gzseek(..., SEEK_SET) in write mode
30242468Speter- fix crc check after a gzeek (Frank Faubert)
30342468Speter- fix miniunzip when the last entry in a zip file is itself a zip file
30442468Speter  (J Lillge)
30542468Speter- add contrib/asm586 and contrib/asm686 (Brian Raiter)
30642468Speter  See http://www.muppetlabs.com/~breadbox/software/assembly.html
30742468Speter- add support for Delphi 3 in contrib/delphi (Bob Dellaca)
30842468Speter- add support for C++Builder 3 and Delphi 3 in contrib/delphi2 (Davide Moretti)
30942468Speter- do not exit prematurely in untgz if 0 at start of block (Magnus Holmgren)
31042468Speter- use macro EXTERN instead of extern to support DLL for BeOS (Sander Stoks)
31142468Speter- added a FAQ file
31242468Speter
31342468Speter- Support gzdopen on Mac with Metrowerks (Jason Linhart)
31442468Speter- Do not redefine Byte on Mac (Brad Pettit & Jason Linhart)
31542468Speter- define SEEK_END too if SEEK_SET is not defined (Albert Chin-A-Young)
31642468Speter- avoid some warnings with Borland C (Tom Tanner)
31742468Speter- fix a problem in contrib/minizip/zip.c for 16-bit MSDOS (Gilles Vollant)
31842468Speter- emulate utime() for WIN32 in contrib/untgz  (Gilles Vollant)
31942468Speter- allow several arguments to configure (Tim Mooney, Frodo Looijaard)
32042468Speter- use libdir and includedir in Makefile.in (Tim Mooney)
32142468Speter- support shared libraries on OSF1 V4 (Tim Mooney)
32242468Speter- remove so_locations in "make clean"  (Tim Mooney)
32342468Speter- fix maketree.c compilation error (Glenn, Mark)
32442468Speter- Python interface to zlib now in Python 1.5 (Jeremy Hylton)
32542468Speter- new Makefile.riscos (Rich Walker)
32642468Speter- initialize static descriptors in trees.c for embedded targets (Nick Smith)
32742468Speter- use "foo-gz" in example.c for RISCOS and VMS (Nick Smith)
32842468Speter- add the OS/2 files in Makefile.in too (Andrew Zabolotny)
32942468Speter- fix fdopen and halloc macros for Microsoft C 6.0 (Tom Lane)
33042468Speter- fix maketree.c to allow clean compilation of inffixed.h (Mark)
33142468Speter- fix parameter check in deflateCopy (Gunther Nikl)
33242468Speter- cleanup trees.c, use compressed_len only in debug mode (Christian Spieler)
33342468Speter- Many portability patches by Christian Spieler:
33442468Speter  . zutil.c, zutil.h: added "const" for zmem*
33542468Speter  . Make_vms.com: fixed some typos
33642468Speter  . Make_vms.com: msdos/Makefile.*: removed zutil.h from some dependency lists
33742468Speter  . msdos/Makefile.msc: remove "default rtl link library" info from obj files
33842468Speter  . msdos/Makefile.*: use model-dependent name for the built zlib library
33942468Speter  . msdos/Makefile.emx, nt/Makefile.emx, nt/Makefile.gcc:
34042468Speter     new makefiles, for emx (DOS/OS2), emx&rsxnt and mingw32 (Windows 9x / NT)
34142468Speter- use define instead of typedef for Bytef also for MSC small/medium (Tom Lane)
34242468Speter- replace __far with _far for better portability (Christian Spieler, Tom Lane)
34342468Speter- fix test for errno.h in configure (Tim Newsham)
34442468Speter
34542468SpeterChanges in 1.1.2 (19 March 98)
34642468Speter- added contrib/minzip, mini zip and unzip based on zlib (Gilles Vollant)
34742468Speter  See http://www.winimage.com/zLibDll/unzip.html
34842468Speter- preinitialize the inflate tables for fixed codes, to make the code
34942468Speter  completely thread safe (Mark)
35042468Speter- some simplifications and slight speed-up to the inflate code (Mark)
35142468Speter- fix gzeof on non-compressed files (Allan Schrum)
35242468Speter- add -std1 option in configure for OSF1 to fix gzprintf (Martin Mokrejs)
35342468Speter- use default value of 4K for Z_BUFSIZE for 16-bit MSDOS (Tim Wegner + Glenn)
35442468Speter- added os2/Makefile.def and os2/zlib.def (Andrew Zabolotny)
35542468Speter- add shared lib support for UNIX_SV4.2MP (MATSUURA Takanori)
35642468Speter- do not wrap extern "C" around system includes (Tom Lane)
35742468Speter- mention zlib binding for TCL in README (Andreas Kupries)
35842468Speter- added amiga/Makefile.pup for Amiga powerUP SAS/C PPC (Andreas Kleinert)
35942468Speter- allow "make install prefix=..." even after configure (Glenn Randers-Pehrson)
36042468Speter- allow "configure --prefix $HOME" (Tim Mooney)
36142468Speter- remove warnings in example.c and gzio.c (Glenn Randers-Pehrson)
36242468Speter- move Makefile.sas to amiga/Makefile.sas
36342468Speter
36433904SsteveChanges in 1.1.1 (27 Feb 98)
36533904Ssteve- fix macros _tr_tally_* in deflate.h for debug mode  (Glenn Randers-Pehrson)
36633904Ssteve- remove block truncation heuristic which had very marginal effect for zlib
36733904Ssteve  (smaller lit_bufsize than in gzip 1.2.4) and degraded a little the
36833904Ssteve  compression ratio on some files. This also allows inlining _tr_tally for
36933904Ssteve  matches in deflate_slow.
37033904Ssteve- added msdos/Makefile.w32 for WIN32 Microsoft Visual C++ (Bob Frazier)
37133904Ssteve
37233904SsteveChanges in 1.1.0 (24 Feb 98)
37333904Ssteve- do not return STREAM_END prematurely in inflate (John Bowler)
37433904Ssteve- revert to the zlib 1.0.8 inflate to avoid the gcc 2.8.0 bug (Jeremy Buhler)
37533904Ssteve- compile with -DFASTEST to get compression code optimized for speed only
37633904Ssteve- in minigzip, try mmap'ing the input file first (Miguel Albrecht)
37733904Ssteve- increase size of I/O buffers in minigzip.c and gzio.c (not a big gain
37833904Ssteve  on Sun but significant on HP)
37933904Ssteve
38033904Ssteve- add a pointer to experimental unzip library in README (Gilles Vollant)
38133904Ssteve- initialize variable gcc in configure (Chris Herborth)
38233904Ssteve
38333904SsteveChanges in 1.0.9 (17 Feb 1998)
38433904Ssteve- added gzputs and gzgets functions
38533904Ssteve- do not clear eof flag in gzseek (Mark Diekhans)
38633904Ssteve- fix gzseek for files in transparent mode (Mark Diekhans)
38733904Ssteve- do not assume that vsprintf returns the number of bytes written (Jens Krinke)
38833904Ssteve- replace EXPORT with ZEXPORT to avoid conflict with other programs
38933904Ssteve- added compress2 in zconf.h, zlib.def, zlib.dnt
39033904Ssteve- new asm code from Gilles Vollant in contrib/asm386
39133904Ssteve- simplify the inflate code (Mark):
39233904Ssteve . Replace ZALLOC's in huft_build() with single ZALLOC in inflate_blocks_new()
39333904Ssteve . ZALLOC the length list in inflate_trees_fixed() instead of using stack
39433904Ssteve . ZALLOC the value area for huft_build() instead of using stack
39533904Ssteve . Simplify Z_FINISH check in inflate()
39633904Ssteve
39733904Ssteve- Avoid gcc 2.8.0 comparison bug a little differently than zlib 1.0.8
39833904Ssteve- in inftrees.c, avoid cc -O bug on HP (Farshid Elahi)
39933904Ssteve- in zconf.h move the ZLIB_DLL stuff earlier to avoid problems with
40033904Ssteve  the declaration of FAR (Gilles VOllant)
40133904Ssteve- install libz.so* with mode 755 (executable) instead of 644 (Marc Lehmann)
40233904Ssteve- read_buf buf parameter of type Bytef* instead of charf*
40333904Ssteve- zmemcpy parameters are of type Bytef*, not charf* (Joseph Strout)
40433904Ssteve- do not redeclare unlink in minigzip.c for WIN32 (John Bowler)
40533904Ssteve- fix check for presence of directories in "make install" (Ian Willis)
40633904Ssteve
40733904SsteveChanges in 1.0.8 (27 Jan 1998)
40833904Ssteve- fixed offsets in contrib/asm386/gvmat32.asm (Gilles Vollant)
40933904Ssteve- fix gzgetc and gzputc for big endian systems (Markus Oberhumer)
41033904Ssteve- added compress2() to allow setting the compression level
41133904Ssteve- include sys/types.h to get off_t on some systems (Marc Lehmann & QingLong)
41233904Ssteve- use constant arrays for the static trees in trees.c instead of computing
41333904Ssteve  them at run time (thanks to Ken Raeburn for this suggestion). To create
41433904Ssteve  trees.h, compile with GEN_TREES_H and run "make test".
41533904Ssteve- check return code of example in "make test" and display result
41633904Ssteve- pass minigzip command line options to file_compress
41733904Ssteve- simplifying code of inflateSync to avoid gcc 2.8 bug
41833904Ssteve
41933904Ssteve- support CC="gcc -Wall" in configure -s (QingLong)
42033904Ssteve- avoid a flush caused by ftell in gzopen for write mode (Ken Raeburn)
42133904Ssteve- fix test for shared library support to avoid compiler warnings
42233904Ssteve- zlib.lib -> zlib.dll in msdos/zlib.rc (Gilles Vollant)
42333904Ssteve- check for TARGET_OS_MAC in addition to MACOS (Brad Pettit)
42433904Ssteve- do not use fdopen for Metrowerks on Mac (Brad Pettit))
42533904Ssteve- add checks for gzputc and gzputc in example.c
42633904Ssteve- avoid warnings in gzio.c and deflate.c (Andreas Kleinert)
42733904Ssteve- use const for the CRC table (Ken Raeburn)
42833904Ssteve- fixed "make uninstall" for shared libraries
42933904Ssteve- use Tracev instead of Trace in infblock.c
43033904Ssteve- in example.c use correct compressed length for test_sync
43133904Ssteve- suppress +vnocompatwarnings in configure for HPUX (not always supported)
43233904Ssteve
43333904SsteveChanges in 1.0.7 (20 Jan 1998)
43433904Ssteve- fix gzseek which was broken in write mode
43533904Ssteve- return error for gzseek to negative absolute position
43633904Ssteve- fix configure for Linux (Chun-Chung Chen)
43733904Ssteve- increase stack space for MSC (Tim Wegner)
43833904Ssteve- get_crc_table and inflateSyncPoint are EXPORTed (Gilles Vollant)
43933904Ssteve- define EXPORTVA for gzprintf (Gilles Vollant)
44033904Ssteve- added man page zlib.3 (Rick Rodgers)
44133904Ssteve- for contrib/untgz, fix makedir() and improve Makefile
44233904Ssteve
44333904Ssteve- check gzseek in write mode in example.c
44433904Ssteve- allocate extra buffer for seeks only if gzseek is actually called
44533904Ssteve- avoid signed/unsigned comparisons (Tim Wegner, Gilles Vollant)
44633904Ssteve- add inflateSyncPoint in zconf.h
44733904Ssteve- fix list of exported functions in nt/zlib.dnt and mdsos/zlib.def
44833904Ssteve
44933904SsteveChanges in 1.0.6 (19 Jan 1998)
45033904Ssteve- add functions gzprintf, gzputc, gzgetc, gztell, gzeof, gzseek, gzrewind and
45133904Ssteve  gzsetparams (thanks to Roland Giersig and Kevin Ruland for some of this code)
45233904Ssteve- Fix a deflate bug occuring only with compression level 0 (thanks to
45333904Ssteve  Andy Buckler for finding this one).
45433904Ssteve- In minigzip, pass transparently also the first byte for .Z files.
45533904Ssteve- return Z_BUF_ERROR instead of Z_OK if output buffer full in uncompress()
45633904Ssteve- check Z_FINISH in inflate (thanks to Marc Schluper)
45733904Ssteve- Implement deflateCopy (thanks to Adam Costello)
45833904Ssteve- make static libraries by default in configure, add --shared option.
45933904Ssteve- move MSDOS or Windows specific files to directory msdos
46033904Ssteve- suppress the notion of partial flush to simplify the interface
46133904Ssteve  (but the symbol Z_PARTIAL_FLUSH is kept for compatibility with 1.0.4)
46233904Ssteve- suppress history buffer provided by application to simplify the interface
46333904Ssteve  (this feature was not implemented anyway in 1.0.4)
46433904Ssteve- next_in and avail_in must be initialized before calling inflateInit or
46533904Ssteve  inflateInit2
46633904Ssteve- add EXPORT in all exported functions (for Windows DLL)
46733904Ssteve- added Makefile.nt (thanks to Stephen Williams)
46833904Ssteve- added the unsupported "contrib" directory:
46933904Ssteve   contrib/asm386/ by Gilles Vollant <info@winimage.com>
470131377Stjr        386 asm code replacing longest_match().
47133904Ssteve   contrib/iostream/ by Kevin Ruland <kevin@rodin.wustl.edu>
47233904Ssteve        A C++ I/O streams interface to the zlib gz* functions
47333904Ssteve   contrib/iostream2/  by Tyge L�vset <Tyge.Lovset@cmr.no>
474131377Stjr        Another C++ I/O streams interface
47533904Ssteve   contrib/untgz/  by "Pedro A. Aranda Guti\irrez" <paag@tid.es>
476131377Stjr        A very simple tar.gz file extractor using zlib
47733904Ssteve   contrib/visual-basic.txt by Carlos Rios <c_rios@sonda.cl>
47833904Ssteve        How to use compress(), uncompress() and the gz* functions from VB.
47933904Ssteve- pass params -f (filtered data), -h (huffman only), -1 to -9 (compression
48033904Ssteve  level) in minigzip (thanks to Tom Lane)
48133904Ssteve
48233904Ssteve- use const for rommable constants in deflate
48333904Ssteve- added test for gzseek and gztell in example.c
48433904Ssteve- add undocumented function inflateSyncPoint() (hack for Paul Mackerras)
48533904Ssteve- add undocumented function zError to convert error code to string
48633904Ssteve  (for Tim Smithers)
48733904Ssteve- Allow compilation of gzio with -DNO_DEFLATE to avoid the compression code.
48833904Ssteve- Use default memcpy for Symantec MSDOS compiler.
48933904Ssteve- Add EXPORT keyword for check_func (needed for Windows DLL)
49033904Ssteve- add current directory to LD_LIBRARY_PATH for "make test"
49133904Ssteve- create also a link for libz.so.1
49233904Ssteve- added support for FUJITSU UXP/DS (thanks to Toshiaki Nomura)
49333904Ssteve- use $(SHAREDLIB) instead of libz.so in Makefile.in (for HPUX)
49433904Ssteve- added -soname for Linux in configure (Chun-Chung Chen,
49533904Ssteve- assign numbers to the exported functions in zlib.def (for Windows DLL)
49633904Ssteve- add advice in zlib.h for best usage of deflateSetDictionary
49733904Ssteve- work around compiler bug on Atari (cast Z_NULL in call of s->checkfn)
49833904Ssteve- allow compilation with ANSI keywords only enabled for TurboC in large model
49933904Ssteve- avoid "versionString"[0] (Borland bug)
50033904Ssteve- add NEED_DUMMY_RETURN for Borland
50142468Speter- use variable z_verbose for tracing in debug mode (L. Peter Deutsch).
50233904Ssteve- allow compilation with CC
503131377Stjr- defined STDC for OS/2 (David Charlap)
50433904Ssteve- limit external names to 8 chars for MVS (Thomas Lund)
50533904Ssteve- in minigzip.c, use static buffers only for 16-bit systems
50633904Ssteve- fix suffix check for "minigzip -d foo.gz"
50733904Ssteve- do not return an error for the 2nd of two consecutive gzflush() (Felix Lee)
50833904Ssteve- use _fdopen instead of fdopen for MSC >= 6.0 (Thomas Fanslau)
50933904Ssteve- added makelcc.bat for lcc-win32 (Tom St Denis)
51033904Ssteve- in Makefile.dj2, use copy and del instead of install and rm (Frank Donahoe)
51133904Ssteve- Avoid expanded $Id$. Use "rcs -kb" or "cvs admin -kb" to avoid Id expansion.
51233904Ssteve- check for unistd.h in configure (for off_t)
51333904Ssteve- remove useless check parameter in inflate_blocks_free
51433904Ssteve- avoid useless assignment of s->check to itself in inflate_blocks_new
51533904Ssteve- do not flush twice in gzclose (thanks to Ken Raeburn)
51633904Ssteve- rename FOPEN as F_OPEN to avoid clash with /usr/include/sys/file.h
51733904Ssteve- use NO_ERRNO_H instead of enumeration of operating systems with errno.h
51833904Ssteve- work around buggy fclose on pipes for HP/UX
51933904Ssteve- support zlib DLL with BORLAND C++ 5.0 (thanks to Glenn Randers-Pehrson)
52033904Ssteve- fix configure if CC is already equal to gcc
52133904Ssteve
52233904SsteveChanges in 1.0.5 (3 Jan 98)
52333904Ssteve- Fix inflate to terminate gracefully when fed corrupted or invalid data
52433904Ssteve- Use const for rommable constants in inflate
52533904Ssteve- Eliminate memory leaks on error conditions in inflate
52633904Ssteve- Removed some vestigial code in inflate
52733904Ssteve- Update web address in README
528131377Stjr
52917651SpeterChanges in 1.0.4 (24 Jul 96)
53017651Speter- In very rare conditions, deflate(s, Z_FINISH) could fail to produce an EOF
53117651Speter  bit, so the decompressor could decompress all the correct data but went
53217651Speter  on to attempt decompressing extra garbage data. This affected minigzip too.
53317651Speter- zlibVersion and gzerror return const char* (needed for DLL)
53417651Speter- port to RISCOS (no fdopen, no multiple dots, no unlink, no fileno)
53517651Speter- use z_error only for DEBUG (avoid problem with DLLs)
53617651Speter
53717651SpeterChanges in 1.0.3 (2 Jul 96)
53817651Speter- use z_streamp instead of z_stream *, which is now a far pointer in MSDOS
53917651Speter  small and medium models; this makes the library incompatible with previous
54017651Speter  versions for these models. (No effect in large model or on other systems.)
54117651Speter- return OK instead of BUF_ERROR if previous deflate call returned with
54217651Speter  avail_out as zero but there is nothing to do
54317651Speter- added memcmp for non STDC compilers
54417651Speter- define NO_DUMMY_DECL for more Mac compilers (.h files merged incorrectly)
54517651Speter- define __32BIT__ if __386__ or i386 is defined (pb. with Watcom and SCO)
54617651Speter- better check for 16-bit mode MSC (avoids problem with Symantec)
54717651Speter
54817651SpeterChanges in 1.0.2 (23 May 96)
54917651Speter- added Windows DLL support
55017651Speter- added a function zlibVersion (for the DLL support)
55117651Speter- fixed declarations using Bytef in infutil.c (pb with MSDOS medium model)
55217651Speter- Bytef is define's instead of typedef'd only for Borland C
55317651Speter- avoid reading uninitialized memory in example.c
55417651Speter- mention in README that the zlib format is now RFC1950
55517651Speter- updated Makefile.dj2
55617651Speter- added algorithm.doc
55717651Speter
55817651SpeterChanges in 1.0.1 (20 May 96) [1.0 skipped to avoid confusion]
55917651Speter- fix array overlay in deflate.c which sometimes caused bad compressed data
56017651Speter- fix inflate bug with empty stored block
56117651Speter- fix MSDOS medium model which was broken in 0.99
56217651Speter- fix deflateParams() which could generated bad compressed data.
56317651Speter- Bytef is define'd instead of typedef'ed (work around Borland bug)
56417651Speter- added an INDEX file
56517651Speter- new makefiles for DJGPP (Makefile.dj2), 32-bit Borland (Makefile.b32),
56617651Speter  Watcom (Makefile.wat), Amiga SAS/C (Makefile.sas)
56717651Speter- speed up adler32 for modern machines without auto-increment
56817651Speter- added -ansi for IRIX in configure
56917651Speter- static_init_done in trees.c is an int
57017651Speter- define unlink as delete for VMS
57117651Speter- fix configure for QNX
57217651Speter- add configure branch for SCO and HPUX
57317651Speter- avoid many warnings (unused variables, dead assignments, etc...)
57417651Speter- no fdopen for BeOS
57517651Speter- fix the Watcom fix for 32 bit mode (define FAR as empty)
57617651Speter- removed redefinition of Byte for MKWERKS
57717651Speter- work around an MWKERKS bug (incorrect merge of all .h files)
57817651Speter
57917651SpeterChanges in 0.99 (27 Jan 96)
58017651Speter- allow preset dictionary shared between compressor and decompressor
58117651Speter- allow compression level 0 (no compression)
58217651Speter- add deflateParams in zlib.h: allow dynamic change of compression level
58317651Speter  and compression strategy.
58417651Speter- test large buffers and deflateParams in example.c
58517651Speter- add optional "configure" to build zlib as a shared library
58617651Speter- suppress Makefile.qnx, use configure instead
58717651Speter- fixed deflate for 64-bit systems (detected on Cray)
58817651Speter- fixed inflate_blocks for 64-bit systems (detected on Alpha)
58917651Speter- declare Z_DEFLATED in zlib.h (possible parameter for deflateInit2)
59017651Speter- always return Z_BUF_ERROR when deflate() has nothing to do
59117651Speter- deflateInit and inflateInit are now macros to allow version checking
59217651Speter- prefix all global functions and types with z_ with -DZ_PREFIX
59317651Speter- make falloc completely reentrant (inftrees.c)
59417651Speter- fixed very unlikely race condition in ct_static_init
59517651Speter- free in reverse order of allocation to help memory manager
59617651Speter- use zlib-1.0/* instead of zlib/* inside the tar.gz
59717651Speter- make zlib warning-free with "gcc -O3 -Wall -Wwrite-strings -Wpointer-arith
59817651Speter  -Wconversion -Wstrict-prototypes -Wmissing-prototypes"
59917651Speter- allow gzread on concatenated .gz files
60017651Speter- deflateEnd now returns Z_DATA_ERROR if it was premature
60117651Speter- deflate is finally (?) fully deterministic (no matches beyond end of input)
60217651Speter- Document Z_SYNC_FLUSH
60317651Speter- add uninstall in Makefile
60417651Speter- Check for __cpluplus in zlib.h
60517651Speter- Better test in ct_align for partial flush
60617651Speter- avoid harmless warnings for Borland C++
60717651Speter- initialize hash_head in deflate.c
60817651Speter- avoid warning on fdopen (gzio.c) for HP cc -Aa
60917651Speter- include stdlib.h for STDC compilers
61017651Speter- include errno.h for Cray
61117651Speter- ignore error if ranlib doesn't exist
61217651Speter- call ranlib twice for NeXTSTEP
61317651Speter- use exec_prefix instead of prefix for libz.a
61417651Speter- renamed ct_* as _tr_* to avoid conflict with applications
61517651Speter- clear z->msg in inflateInit2 before any error return
61617651Speter- initialize opaque in example.c, gzio.c, deflate.c and inflate.c
61717651Speter- fixed typo in zconf.h (_GNUC__ => __GNUC__)
61817651Speter- check for WIN32 in zconf.h and zutil.c (avoid farmalloc in 32-bit mode)
61917651Speter- fix typo in Make_vms.com (f$trnlnm -> f$getsyi)
62017651Speter- in fcalloc, normalize pointer if size > 65520 bytes
62117651Speter- don't use special fcalloc for 32 bit Borland C++
62217651Speter- use STDC instead of __GO32__ to avoid redeclaring exit, calloc, etc...
62317651Speter- use Z_BINARY instead of BINARY
62417651Speter- document that gzclose after gzdopen will close the file
62517651Speter- allow "a" as mode in gzopen.
62617651Speter- fix error checking in gzread
62717651Speter- allow skipping .gz extra-field on pipes
62817651Speter- added reference to Perl interface in README
62917651Speter- put the crc table in FAR data (I dislike more and more the medium model :)
63017651Speter- added get_crc_table
63117651Speter- added a dimension to all arrays (Borland C can't count).
63217651Speter- workaround Borland C bug in declaration of inflate_codes_new & inflate_fast
63317651Speter- guard against multiple inclusion of *.h (for precompiled header on Mac)
63417651Speter- Watcom C pretends to be Microsoft C small model even in 32 bit mode.
63517651Speter- don't use unsized arrays to avoid silly warnings by Visual C++:
63617651Speter     warning C4746: 'inflate_mask' : unsized array treated as  '__far'
63717651Speter     (what's wrong with far data in far model?).
63817651Speter- define enum out of inflate_blocks_state to allow compilation with C++
63917651Speter
64017651SpeterChanges in 0.95 (16 Aug 95)
64117651Speter- fix MSDOS small and medium model (now easier to adapt to any compiler)
64217651Speter- inlined send_bits
64317651Speter- fix the final (:-) bug for deflate with flush (output was correct but
64417651Speter  not completely flushed in rare occasions).
64517651Speter- default window size is same for compression and decompression
64617651Speter  (it's now sufficient to set MAX_WBITS in zconf.h).
64717651Speter- voidp -> voidpf and voidnp -> voidp (for consistency with other
64817651Speter  typedefs and because voidnp was not near in large model).
64917651Speter
65017651SpeterChanges in 0.94 (13 Aug 95)
65117651Speter- support MSDOS medium model
65217651Speter- fix deflate with flush (could sometimes generate bad output)
65317651Speter- fix deflateReset (zlib header was incorrectly suppressed)
65417651Speter- added support for VMS
65517651Speter- allow a compression level in gzopen()
65617651Speter- gzflush now calls fflush
65717651Speter- For deflate with flush, flush even if no more input is provided.
65817651Speter- rename libgz.a as libz.a
65917651Speter- avoid complex expression in infcodes.c triggering Turbo C bug
66017651Speter- work around a problem with gcc on Alpha (in INSERT_STRING)
66117651Speter- don't use inline functions (problem with some gcc versions)
66217651Speter- allow renaming of Byte, uInt, etc... with #define.
66317651Speter- avoid warning about (unused) pointer before start of array in deflate.c
66417651Speter- avoid various warnings in gzio.c, example.c, infblock.c, adler32.c, zutil.c
66517651Speter- avoid reserved word 'new' in trees.c
66617651Speter
66717651SpeterChanges in 0.93 (25 June 95)
66817651Speter- temporarily disable inline functions
66917651Speter- make deflate deterministic
67017651Speter- give enough lookahead for PARTIAL_FLUSH
67117651Speter- Set binary mode for stdin/stdout in minigzip.c for OS/2
67217651Speter- don't even use signed char in inflate (not portable enough)
67317651Speter- fix inflate memory leak for segmented architectures
67417651Speter
67517651SpeterChanges in 0.92 (3 May 95)
67617651Speter- don't assume that char is signed (problem on SGI)
67717651Speter- Clear bit buffer when starting a stored block
67817651Speter- no memcpy on Pyramid
67917651Speter- suppressed inftest.c
68017651Speter- optimized fill_window, put longest_match inline for gcc
68117651Speter- optimized inflate on stored blocks.
68217651Speter- untabify all sources to simplify patches
68317651Speter
68417651SpeterChanges in 0.91 (2 May 95)
68517651Speter- Default MEM_LEVEL is 8 (not 9 for Unix) as documented in zlib.h
68617651Speter- Document the memory requirements in zconf.h
68717651Speter- added "make install"
68817651Speter- fix sync search logic in inflateSync
68917651Speter- deflate(Z_FULL_FLUSH) now works even if output buffer too short
69017651Speter- after inflateSync, don't scare people with just "lo world"
69117651Speter- added support for DJGPP
69217651Speter
69317651SpeterChanges in 0.9 (1 May 95)
69417651Speter- don't assume that zalloc clears the allocated memory (the TurboC bug
69517651Speter  was Mark's bug after all :)
69617651Speter- let again gzread copy uncompressed data unchanged (was working in 0.71)
69717651Speter- deflate(Z_FULL_FLUSH), inflateReset and inflateSync are now fully implemented
69817651Speter- added a test of inflateSync in example.c
69917651Speter- moved MAX_WBITS to zconf.h because users might want to change that.
70017651Speter- document explicitly that zalloc(64K) on MSDOS must return a normalized
70117651Speter  pointer (zero offset)
70217651Speter- added Makefiles for Microsoft C, Turbo C, Borland C++
70317651Speter- faster crc32()
70417651Speter
70517651SpeterChanges in 0.8 (29 April 95)
70617651Speter- added fast inflate (inffast.c)
70717651Speter- deflate(Z_FINISH) now returns Z_STREAM_END when done. Warning: this
70817651Speter  is incompatible with previous versions of zlib which returned Z_OK.
70917651Speter- work around a TurboC compiler bug (bad code for b << 0, see infutil.h)
71017651Speter  (actually that was not a compiler bug, see 0.81 above)
71117651Speter- gzread no longer reads one extra byte in certain cases
71217651Speter- In gzio destroy(), don't reference a freed structure
71317651Speter- avoid many warnings for MSDOS
71417651Speter- avoid the ERROR symbol which is used by MS Windows
71517651Speter
71617651SpeterChanges in 0.71 (14 April 95)
71717651Speter- Fixed more MSDOS compilation problems :( There is still a bug with
71817651Speter  TurboC large model.
71917651Speter
72017651SpeterChanges in 0.7 (14 April 95)
72117651Speter- Added full inflate support.
72217651Speter- Simplified the crc32() interface. The pre- and post-conditioning
72317651Speter  (one's complement) is now done inside crc32(). WARNING: this is
72417651Speter  incompatible with previous versions; see zlib.h for the new usage.
72517651Speter
72617651SpeterChanges in 0.61 (12 April 95)
72717651Speter- workaround for a bug in TurboC. example and minigzip now work on MSDOS.
72817651Speter
72917651SpeterChanges in 0.6 (11 April 95)
73017651Speter- added minigzip.c
73117651Speter- added gzdopen to reopen a file descriptor as gzFile
73217651Speter- added transparent reading of non-gziped files in gzread.
73317651Speter- fixed bug in gzread (don't read crc as data)
73417651Speter- fixed bug in destroy (gzio.c) (don't return Z_STREAM_END for gzclose).
73517651Speter- don't allocate big arrays in the stack (for MSDOS)
73617651Speter- fix some MSDOS compilation problems
73717651Speter
73817651SpeterChanges in 0.5:
73917651Speter- do real compression in deflate.c. Z_PARTIAL_FLUSH is supported but
74017651Speter  not yet Z_FULL_FLUSH.
74117651Speter- support decompression but only in a single step (forced Z_FINISH)
74217651Speter- added opaque object for zalloc and zfree.
74317651Speter- added deflateReset and inflateReset
74417651Speter- added a variable zlib_version for consistency checking.
74517651Speter- renamed the 'filter' parameter of deflateInit2 as 'strategy'.
74617651Speter  Added Z_FILTERED and Z_HUFFMAN_ONLY constants.
74717651Speter
74817651SpeterChanges in 0.4:
74917651Speter- avoid "zip" everywhere, use zlib instead of ziplib.
75017651Speter- suppress Z_BLOCK_FLUSH, interpret Z_PARTIAL_FLUSH as block flush
75117651Speter  if compression method == 8.
75217651Speter- added adler32 and crc32
75317651Speter- renamed deflateOptions as deflateInit2, call one or the other but not both
75417651Speter- added the method parameter for deflateInit2.
75517651Speter- added inflateInit2
75617651Speter- simplied considerably deflateInit and inflateInit by not supporting
75717651Speter  user-provided history buffer. This is supported only in deflateInit2
75817651Speter  and inflateInit2.
75917651Speter
76017651SpeterChanges in 0.3:
76117651Speter- prefix all macro names with Z_
76217651Speter- use Z_FINISH instead of deflateEnd to finish compression.
76317651Speter- added Z_HUFFMAN_ONLY
76417651Speter- added gzerror()
765