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