]> git.lizzy.rs Git - zlib.git/blob - ChangeLog
zlib 1.2.0.1
[zlib.git] / ChangeLog
1
2                 ChangeLog file for zlib
3 Changes in 1.2.0.1 (17 March 2003)
4 - Add Z_RLE strategy for run-length encoding [Truta]
5     - When Z_RLE requested, restrict matches to distance one
6     - Update zlib.h, minigzip.c, gzopen(), gzdopen() for Z_RLE
7 - Correct FASTEST compilation to allow level == 0
8 - Clean up what gets compiled for FASTEST
9 - Incorporate changes to zconf.in.h [Vollant]
10     - Refine detection of Turbo C need for dummy returns
11     - Refine ZLIB_DLL compilation
12     - Include additional header file on VMS for off_t typedef
13 - Try to use _vsnprintf where it supplants vsprintf [Vollant]
14 - Add some casts in inffast.c
15 - Enchance comments in zlib.h on what happens if the gzprintf() tries to
16   write more than 4095 bytes before compression
17 - Remove unused state from inflateBackEnd()
18 - Remove exit(0) from minigzip.c, example.c
19 - Get rid of all those darn tabs
20 - Add "check" target to Makefile.in that does the same thing as "test"
21 - Add "mostlyclean" and "maintainer-clean" targets to Makefile.in
22 - Update contrib/inflate86 [Anderson]
23 - Update contrib/testzlib, contrib/vstudio, contrib/minizip [Vollant]
24 - Add msdos and win32 directories with makefiles [Truta]
25 - More additions and improvements to the FAQ
26
27 Changes in 1.2.0 (9 March 2003)
28 - New and improved inflate code
29     - About 20% faster
30     - Does not allocate 32K window unless and until needed
31     - Automatically detects and decompresses gzip streams
32     - Raw inflate no longer needs an extra dummy byte at end
33     - Added inflateBack functions using a callback interface--even faster
34       than inflate, useful for file utilities (gzip, zip)
35     - Added inflateCopy() function to record state for random access on
36       externally generated deflate streams (e.g. in gzip files)
37     - More readable code (I hope)
38 - New and improved crc32()
39     - About 50% faster, thanks to suggestions from Rodney Brown
40 - Add deflateBound() and compressBound() functions
41 - Fix memory leak in deflateInit2()
42 - Permit setting dictionary for raw deflate (for parallel deflate)
43 - Fix const declaration for gzwrite()
44 - Check for some malloc() failures in gzio.c
45 - Fix bug in gzopen() on single-byte file 0x1f
46 - Fix bug in gzread() on concatenated file with 0x1f at end of buffer
47   and next buffer doesn't start with 0x8b
48 - Fix uncompress() to return Z_DATA_ERROR on truncated input
49 - Free memory at end of example.c
50 - Remove MAX #define in trees.c (conflicted with some libraries)
51 - Fix static const's in deflate.c, gzio.c, and zutil.[ch]
52 - Declare malloc() and free() in gzio.c if STDC not defined
53 - Use malloc() instead of calloc() in zutil.c if int big enough
54 - Define STDC for AIX
55 - Add aix/ with approach for compiling shared library on AIX
56 - Add HP-UX support for shared libraries in configure
57 - Add OpenUNIX support for shared libraries in configure
58 - Use $cc instead of gcc to build shared library
59 - Make prefix directory if needed when installing
60 - Correct Macintosh avoidance of typedef Byte in zconf.h
61 - Correct Turbo C memory allocation when under Linux
62 - Use libz.a instead of -lz in Makefile (assure use of compiled library)
63 - Update configure to check for snprintf or vsnprintf functions and their
64   return value, warn during make if using an insecure function
65 - Fix configure problem with compile-time knowledge of HAVE_UNISTD_H that
66   is lost when library is used--resolution is to build new zconf.h
67 - Documentation improvements (in zlib.h):
68     - Document raw deflate and inflate
69     - Update RFCs URL
70     - Point out that zlib and gzip formats are different
71     - Note that Z_BUF_ERROR is not fatal
72     - Document string limit for gzprintf() and possible buffer overflow
73     - Note requirement on avail_out when flushing
74     - Note permitted values of flush parameter of inflate()
75 - Add some FAQs (and even answers) to the FAQ
76 - Add contrib/inflate86/ for x86 faster inflate
77 - Add contrib/blast/ for PKWare Data Compression Library decompression
78 - Add contrib/puff/ simple inflate for deflate format description
79
80 Changes in 1.1.4 (11 March 2002)
81 - ZFREE was repeated on same allocation on some error conditions.
82   This creates a security problem described in
83   http://www.zlib.org/advisory-2002-03-11.txt
84 - Returned incorrect error (Z_MEM_ERROR) on some invalid data
85 - Avoid accesses before window for invalid distances with inflate window
86   less than 32K.
87 - force windowBits > 8 to avoid a bug in the encoder for a window size
88   of 256 bytes. (A complete fix will be available in 1.1.5).
89
90 Changes in 1.1.3 (9 July 1998)
91 - fix "an inflate input buffer bug that shows up on rare but persistent
92   occasions" (Mark)
93 - fix gzread and gztell for concatenated .gz files (Didier Le Botlan)
94 - fix gzseek(..., SEEK_SET) in write mode
95 - fix crc check after a gzeek (Frank Faubert)
96 - fix miniunzip when the last entry in a zip file is itself a zip file
97   (J Lillge)
98 - add contrib/asm586 and contrib/asm686 (Brian Raiter)
99   See http://www.muppetlabs.com/~breadbox/software/assembly.html
100 - add support for Delphi 3 in contrib/delphi (Bob Dellaca)
101 - add support for C++Builder 3 and Delphi 3 in contrib/delphi2 (Davide Moretti)
102 - do not exit prematurely in untgz if 0 at start of block (Magnus Holmgren)
103 - use macro EXTERN instead of extern to support DLL for BeOS (Sander Stoks)
104 - added a FAQ file
105
106 - Support gzdopen on Mac with Metrowerks (Jason Linhart)
107 - Do not redefine Byte on Mac (Brad Pettit & Jason Linhart)
108 - define SEEK_END too if SEEK_SET is not defined (Albert Chin-A-Young)
109 - avoid some warnings with Borland C (Tom Tanner)
110 - fix a problem in contrib/minizip/zip.c for 16-bit MSDOS (Gilles Vollant)
111 - emulate utime() for WIN32 in contrib/untgz  (Gilles Vollant)
112 - allow several arguments to configure (Tim Mooney, Frodo Looijaard)
113 - use libdir and includedir in Makefile.in (Tim Mooney)
114 - support shared libraries on OSF1 V4 (Tim Mooney)
115 - remove so_locations in "make clean"  (Tim Mooney)
116 - fix maketree.c compilation error (Glenn, Mark)
117 - Python interface to zlib now in Python 1.5 (Jeremy Hylton)
118 - new Makefile.riscos (Rich Walker)
119 - initialize static descriptors in trees.c for embedded targets (Nick Smith)
120 - use "foo-gz" in example.c for RISCOS and VMS (Nick Smith)
121 - add the OS/2 files in Makefile.in too (Andrew Zabolotny)
122 - fix fdopen and halloc macros for Microsoft C 6.0 (Tom Lane)
123 - fix maketree.c to allow clean compilation of inffixed.h (Mark)
124 - fix parameter check in deflateCopy (Gunther Nikl)
125 - cleanup trees.c, use compressed_len only in debug mode (Christian Spieler)
126 - Many portability patches by Christian Spieler:
127   . zutil.c, zutil.h: added "const" for zmem*
128   . Make_vms.com: fixed some typos
129   . Make_vms.com: msdos/Makefile.*: removed zutil.h from some dependency lists
130   . msdos/Makefile.msc: remove "default rtl link library" info from obj files
131   . msdos/Makefile.*: use model-dependent name for the built zlib library
132   . msdos/Makefile.emx, nt/Makefile.emx, nt/Makefile.gcc:
133      new makefiles, for emx (DOS/OS2), emx&rsxnt and mingw32 (Windows 9x / NT)
134 - use define instead of typedef for Bytef also for MSC small/medium (Tom Lane)
135 - replace __far with _far for better portability (Christian Spieler, Tom Lane)
136 - fix test for errno.h in configure (Tim Newsham)
137
138 Changes in 1.1.2 (19 March 98)
139 - added contrib/minzip, mini zip and unzip based on zlib (Gilles Vollant)
140   See http://www.winimage.com/zLibDll/unzip.html
141 - preinitialize the inflate tables for fixed codes, to make the code
142   completely thread safe (Mark)
143 - some simplifications and slight speed-up to the inflate code (Mark)
144 - fix gzeof on non-compressed files (Allan Schrum)
145 - add -std1 option in configure for OSF1 to fix gzprintf (Martin Mokrejs)
146 - use default value of 4K for Z_BUFSIZE for 16-bit MSDOS (Tim Wegner + Glenn)
147 - added os2/Makefile.def and os2/zlib.def (Andrew Zabolotny)
148 - add shared lib support for UNIX_SV4.2MP (MATSUURA Takanori)
149 - do not wrap extern "C" around system includes (Tom Lane)
150 - mention zlib binding for TCL in README (Andreas Kupries)
151 - added amiga/Makefile.pup for Amiga powerUP SAS/C PPC (Andreas Kleinert)
152 - allow "make install prefix=..." even after configure (Glenn Randers-Pehrson)
153 - allow "configure --prefix $HOME" (Tim Mooney)
154 - remove warnings in example.c and gzio.c (Glenn Randers-Pehrson)
155 - move Makefile.sas to amiga/Makefile.sas
156
157 Changes in 1.1.1 (27 Feb 98)
158 - fix macros _tr_tally_* in deflate.h for debug mode  (Glenn Randers-Pehrson)
159 - remove block truncation heuristic which had very marginal effect for zlib
160   (smaller lit_bufsize than in gzip 1.2.4) and degraded a little the
161   compression ratio on some files. This also allows inlining _tr_tally for
162   matches in deflate_slow.
163 - added msdos/Makefile.w32 for WIN32 Microsoft Visual C++ (Bob Frazier)
164
165 Changes in 1.1.0 (24 Feb 98)
166 - do not return STREAM_END prematurely in inflate (John Bowler)
167 - revert to the zlib 1.0.8 inflate to avoid the gcc 2.8.0 bug (Jeremy Buhler)
168 - compile with -DFASTEST to get compression code optimized for speed only
169 - in minigzip, try mmap'ing the input file first (Miguel Albrecht)
170 - increase size of I/O buffers in minigzip.c and gzio.c (not a big gain
171   on Sun but significant on HP)
172
173 - add a pointer to experimental unzip library in README (Gilles Vollant)
174 - initialize variable gcc in configure (Chris Herborth)
175
176 Changes in 1.0.9 (17 Feb 1998)
177 - added gzputs and gzgets functions
178 - do not clear eof flag in gzseek (Mark Diekhans)
179 - fix gzseek for files in transparent mode (Mark Diekhans)
180 - do not assume that vsprintf returns the number of bytes written (Jens Krinke)
181 - replace EXPORT with ZEXPORT to avoid conflict with other programs
182 - added compress2 in zconf.h, zlib.def, zlib.dnt
183 - new asm code from Gilles Vollant in contrib/asm386
184 - simplify the inflate code (Mark):
185  . Replace ZALLOC's in huft_build() with single ZALLOC in inflate_blocks_new()
186  . ZALLOC the length list in inflate_trees_fixed() instead of using stack
187  . ZALLOC the value area for huft_build() instead of using stack
188  . Simplify Z_FINISH check in inflate()
189
190 - Avoid gcc 2.8.0 comparison bug a little differently than zlib 1.0.8
191 - in inftrees.c, avoid cc -O bug on HP (Farshid Elahi)
192 - in zconf.h move the ZLIB_DLL stuff earlier to avoid problems with
193   the declaration of FAR (Gilles VOllant)
194 - install libz.so* with mode 755 (executable) instead of 644 (Marc Lehmann)
195 - read_buf buf parameter of type Bytef* instead of charf*
196 - zmemcpy parameters are of type Bytef*, not charf* (Joseph Strout)
197 - do not redeclare unlink in minigzip.c for WIN32 (John Bowler)
198 - fix check for presence of directories in "make install" (Ian Willis)
199
200 Changes in 1.0.8 (27 Jan 1998)
201 - fixed offsets in contrib/asm386/gvmat32.asm (Gilles Vollant)
202 - fix gzgetc and gzputc for big endian systems (Markus Oberhumer)
203 - added compress2() to allow setting the compression level
204 - include sys/types.h to get off_t on some systems (Marc Lehmann & QingLong)
205 - use constant arrays for the static trees in trees.c instead of computing
206   them at run time (thanks to Ken Raeburn for this suggestion). To create
207   trees.h, compile with GEN_TREES_H and run "make test".
208 - check return code of example in "make test" and display result
209 - pass minigzip command line options to file_compress
210 - simplifying code of inflateSync to avoid gcc 2.8 bug
211
212 - support CC="gcc -Wall" in configure -s (QingLong)
213 - avoid a flush caused by ftell in gzopen for write mode (Ken Raeburn)
214 - fix test for shared library support to avoid compiler warnings
215 - zlib.lib -> zlib.dll in msdos/zlib.rc (Gilles Vollant)
216 - check for TARGET_OS_MAC in addition to MACOS (Brad Pettit)
217 - do not use fdopen for Metrowerks on Mac (Brad Pettit))
218 - add checks for gzputc and gzputc in example.c
219 - avoid warnings in gzio.c and deflate.c (Andreas Kleinert)
220 - use const for the CRC table (Ken Raeburn)
221 - fixed "make uninstall" for shared libraries
222 - use Tracev instead of Trace in infblock.c
223 - in example.c use correct compressed length for test_sync
224 - suppress +vnocompatwarnings in configure for HPUX (not always supported)
225
226 Changes in 1.0.7 (20 Jan 1998)
227 - fix gzseek which was broken in write mode
228 - return error for gzseek to negative absolute position
229 - fix configure for Linux (Chun-Chung Chen)
230 - increase stack space for MSC (Tim Wegner)
231 - get_crc_table and inflateSyncPoint are EXPORTed (Gilles Vollant)
232 - define EXPORTVA for gzprintf (Gilles Vollant)
233 - added man page zlib.3 (Rick Rodgers)
234 - for contrib/untgz, fix makedir() and improve Makefile
235
236 - check gzseek in write mode in example.c
237 - allocate extra buffer for seeks only if gzseek is actually called
238 - avoid signed/unsigned comparisons (Tim Wegner, Gilles Vollant)
239 - add inflateSyncPoint in zconf.h
240 - fix list of exported functions in nt/zlib.dnt and mdsos/zlib.def
241
242 Changes in 1.0.6 (19 Jan 1998)
243 - add functions gzprintf, gzputc, gzgetc, gztell, gzeof, gzseek, gzrewind and
244   gzsetparams (thanks to Roland Giersig and Kevin Ruland for some of this code)
245 - Fix a deflate bug occuring only with compression level 0 (thanks to
246   Andy Buckler for finding this one).
247 - In minigzip, pass transparently also the first byte for .Z files.
248 - return Z_BUF_ERROR instead of Z_OK if output buffer full in uncompress()
249 - check Z_FINISH in inflate (thanks to Marc Schluper)
250 - Implement deflateCopy (thanks to Adam Costello)
251 - make static libraries by default in configure, add --shared option.
252 - move MSDOS or Windows specific files to directory msdos
253 - suppress the notion of partial flush to simplify the interface
254   (but the symbol Z_PARTIAL_FLUSH is kept for compatibility with 1.0.4)
255 - suppress history buffer provided by application to simplify the interface
256   (this feature was not implemented anyway in 1.0.4)
257 - next_in and avail_in must be initialized before calling inflateInit or
258   inflateInit2
259 - add EXPORT in all exported functions (for Windows DLL)
260 - added Makefile.nt (thanks to Stephen Williams)
261 - added the unsupported "contrib" directory:
262    contrib/asm386/ by Gilles Vollant <info@winimage.com>
263         386 asm code replacing longest_match().
264    contrib/iostream/ by Kevin Ruland <kevin@rodin.wustl.edu>
265         A C++ I/O streams interface to the zlib gz* functions
266    contrib/iostream2/  by Tyge Løvset <Tyge.Lovset@cmr.no>
267         Another C++ I/O streams interface
268    contrib/untgz/  by "Pedro A. Aranda Guti\irrez" <paag@tid.es>
269         A very simple tar.gz file extractor using zlib
270    contrib/visual-basic.txt by Carlos Rios <c_rios@sonda.cl>
271         How to use compress(), uncompress() and the gz* functions from VB.
272 - pass params -f (filtered data), -h (huffman only), -1 to -9 (compression
273   level) in minigzip (thanks to Tom Lane)
274
275 - use const for rommable constants in deflate
276 - added test for gzseek and gztell in example.c
277 - add undocumented function inflateSyncPoint() (hack for Paul Mackerras)
278 - add undocumented function zError to convert error code to string
279   (for Tim Smithers)
280 - Allow compilation of gzio with -DNO_DEFLATE to avoid the compression code.
281 - Use default memcpy for Symantec MSDOS compiler.
282 - Add EXPORT keyword for check_func (needed for Windows DLL)
283 - add current directory to LD_LIBRARY_PATH for "make test"
284 - create also a link for libz.so.1
285 - added support for FUJITSU UXP/DS (thanks to Toshiaki Nomura)
286 - use $(SHAREDLIB) instead of libz.so in Makefile.in (for HPUX)
287 - added -soname for Linux in configure (Chun-Chung Chen,
288 - assign numbers to the exported functions in zlib.def (for Windows DLL)
289 - add advice in zlib.h for best usage of deflateSetDictionary
290 - work around compiler bug on Atari (cast Z_NULL in call of s->checkfn)
291 - allow compilation with ANSI keywords only enabled for TurboC in large model
292 - avoid "versionString"[0] (Borland bug)
293 - add NEED_DUMMY_RETURN for Borland
294 - use variable z_verbose for tracing in debug mode (L. Peter Deutsch).
295 - allow compilation with CC
296 - defined STDC for OS/2 (David Charlap)
297 - limit external names to 8 chars for MVS (Thomas Lund)
298 - in minigzip.c, use static buffers only for 16-bit systems
299 - fix suffix check for "minigzip -d foo.gz"
300 - do not return an error for the 2nd of two consecutive gzflush() (Felix Lee)
301 - use _fdopen instead of fdopen for MSC >= 6.0 (Thomas Fanslau)
302 - added makelcc.bat for lcc-win32 (Tom St Denis)
303 - in Makefile.dj2, use copy and del instead of install and rm (Frank Donahoe)
304 - Avoid expanded $Id$. Use "rcs -kb" or "cvs admin -kb" to avoid Id expansion.
305 - check for unistd.h in configure (for off_t)
306 - remove useless check parameter in inflate_blocks_free
307 - avoid useless assignment of s->check to itself in inflate_blocks_new
308 - do not flush twice in gzclose (thanks to Ken Raeburn)
309 - rename FOPEN as F_OPEN to avoid clash with /usr/include/sys/file.h
310 - use NO_ERRNO_H instead of enumeration of operating systems with errno.h
311 - work around buggy fclose on pipes for HP/UX
312 - support zlib DLL with BORLAND C++ 5.0 (thanks to Glenn Randers-Pehrson)
313 - fix configure if CC is already equal to gcc
314
315 Changes in 1.0.5 (3 Jan 98)
316 - Fix inflate to terminate gracefully when fed corrupted or invalid data
317 - Use const for rommable constants in inflate
318 - Eliminate memory leaks on error conditions in inflate
319 - Removed some vestigial code in inflate
320 - Update web address in README
321   
322 Changes in 1.0.4 (24 Jul 96)
323 - In very rare conditions, deflate(s, Z_FINISH) could fail to produce an EOF
324   bit, so the decompressor could decompress all the correct data but went
325   on to attempt decompressing extra garbage data. This affected minigzip too.
326 - zlibVersion and gzerror return const char* (needed for DLL)
327 - port to RISCOS (no fdopen, no multiple dots, no unlink, no fileno)
328 - use z_error only for DEBUG (avoid problem with DLLs)
329
330 Changes in 1.0.3 (2 Jul 96)
331 - use z_streamp instead of z_stream *, which is now a far pointer in MSDOS
332   small and medium models; this makes the library incompatible with previous
333   versions for these models. (No effect in large model or on other systems.)
334 - return OK instead of BUF_ERROR if previous deflate call returned with
335   avail_out as zero but there is nothing to do
336 - added memcmp for non STDC compilers
337 - define NO_DUMMY_DECL for more Mac compilers (.h files merged incorrectly)
338 - define __32BIT__ if __386__ or i386 is defined (pb. with Watcom and SCO)
339 - better check for 16-bit mode MSC (avoids problem with Symantec)
340
341 Changes in 1.0.2 (23 May 96)
342 - added Windows DLL support
343 - added a function zlibVersion (for the DLL support)
344 - fixed declarations using Bytef in infutil.c (pb with MSDOS medium model)
345 - Bytef is define's instead of typedef'd only for Borland C
346 - avoid reading uninitialized memory in example.c
347 - mention in README that the zlib format is now RFC1950
348 - updated Makefile.dj2
349 - added algorithm.doc
350
351 Changes in 1.0.1 (20 May 96) [1.0 skipped to avoid confusion]
352 - fix array overlay in deflate.c which sometimes caused bad compressed data
353 - fix inflate bug with empty stored block
354 - fix MSDOS medium model which was broken in 0.99
355 - fix deflateParams() which could generated bad compressed data.
356 - Bytef is define'd instead of typedef'ed (work around Borland bug)
357 - added an INDEX file
358 - new makefiles for DJGPP (Makefile.dj2), 32-bit Borland (Makefile.b32),
359   Watcom (Makefile.wat), Amiga SAS/C (Makefile.sas)
360 - speed up adler32 for modern machines without auto-increment
361 - added -ansi for IRIX in configure
362 - static_init_done in trees.c is an int
363 - define unlink as delete for VMS
364 - fix configure for QNX
365 - add configure branch for SCO and HPUX
366 - avoid many warnings (unused variables, dead assignments, etc...)
367 - no fdopen for BeOS
368 - fix the Watcom fix for 32 bit mode (define FAR as empty)
369 - removed redefinition of Byte for MKWERKS
370 - work around an MWKERKS bug (incorrect merge of all .h files)
371
372 Changes in 0.99 (27 Jan 96)
373 - allow preset dictionary shared between compressor and decompressor
374 - allow compression level 0 (no compression)
375 - add deflateParams in zlib.h: allow dynamic change of compression level
376   and compression strategy.
377 - test large buffers and deflateParams in example.c
378 - add optional "configure" to build zlib as a shared library
379 - suppress Makefile.qnx, use configure instead
380 - fixed deflate for 64-bit systems (detected on Cray)
381 - fixed inflate_blocks for 64-bit systems (detected on Alpha)
382 - declare Z_DEFLATED in zlib.h (possible parameter for deflateInit2)
383 - always return Z_BUF_ERROR when deflate() has nothing to do
384 - deflateInit and inflateInit are now macros to allow version checking
385 - prefix all global functions and types with z_ with -DZ_PREFIX
386 - make falloc completely reentrant (inftrees.c)
387 - fixed very unlikely race condition in ct_static_init
388 - free in reverse order of allocation to help memory manager
389 - use zlib-1.0/* instead of zlib/* inside the tar.gz
390 - make zlib warning-free with "gcc -O3 -Wall -Wwrite-strings -Wpointer-arith
391   -Wconversion -Wstrict-prototypes -Wmissing-prototypes"
392 - allow gzread on concatenated .gz files
393 - deflateEnd now returns Z_DATA_ERROR if it was premature
394 - deflate is finally (?) fully deterministic (no matches beyond end of input)
395 - Document Z_SYNC_FLUSH
396 - add uninstall in Makefile
397 - Check for __cpluplus in zlib.h
398 - Better test in ct_align for partial flush
399 - avoid harmless warnings for Borland C++
400 - initialize hash_head in deflate.c
401 - avoid warning on fdopen (gzio.c) for HP cc -Aa
402 - include stdlib.h for STDC compilers
403 - include errno.h for Cray
404 - ignore error if ranlib doesn't exist
405 - call ranlib twice for NeXTSTEP
406 - use exec_prefix instead of prefix for libz.a
407 - renamed ct_* as _tr_* to avoid conflict with applications
408 - clear z->msg in inflateInit2 before any error return
409 - initialize opaque in example.c, gzio.c, deflate.c and inflate.c
410 - fixed typo in zconf.h (_GNUC__ => __GNUC__)
411 - check for WIN32 in zconf.h and zutil.c (avoid farmalloc in 32-bit mode)
412 - fix typo in Make_vms.com (f$trnlnm -> f$getsyi)
413 - in fcalloc, normalize pointer if size > 65520 bytes
414 - don't use special fcalloc for 32 bit Borland C++
415 - use STDC instead of __GO32__ to avoid redeclaring exit, calloc, etc...
416 - use Z_BINARY instead of BINARY
417 - document that gzclose after gzdopen will close the file
418 - allow "a" as mode in gzopen.
419 - fix error checking in gzread
420 - allow skipping .gz extra-field on pipes
421 - added reference to Perl interface in README
422 - put the crc table in FAR data (I dislike more and more the medium model :)
423 - added get_crc_table
424 - added a dimension to all arrays (Borland C can't count).
425 - workaround Borland C bug in declaration of inflate_codes_new & inflate_fast
426 - guard against multiple inclusion of *.h (for precompiled header on Mac)
427 - Watcom C pretends to be Microsoft C small model even in 32 bit mode.
428 - don't use unsized arrays to avoid silly warnings by Visual C++:
429      warning C4746: 'inflate_mask' : unsized array treated as  '__far'
430      (what's wrong with far data in far model?).
431 - define enum out of inflate_blocks_state to allow compilation with C++
432
433 Changes in 0.95 (16 Aug 95)
434 - fix MSDOS small and medium model (now easier to adapt to any compiler)
435 - inlined send_bits
436 - fix the final (:-) bug for deflate with flush (output was correct but
437   not completely flushed in rare occasions).
438 - default window size is same for compression and decompression
439   (it's now sufficient to set MAX_WBITS in zconf.h).
440 - voidp -> voidpf and voidnp -> voidp (for consistency with other
441   typedefs and because voidnp was not near in large model).
442
443 Changes in 0.94 (13 Aug 95)
444 - support MSDOS medium model
445 - fix deflate with flush (could sometimes generate bad output)
446 - fix deflateReset (zlib header was incorrectly suppressed)
447 - added support for VMS
448 - allow a compression level in gzopen()
449 - gzflush now calls fflush
450 - For deflate with flush, flush even if no more input is provided.
451 - rename libgz.a as libz.a
452 - avoid complex expression in infcodes.c triggering Turbo C bug
453 - work around a problem with gcc on Alpha (in INSERT_STRING)
454 - don't use inline functions (problem with some gcc versions)
455 - allow renaming of Byte, uInt, etc... with #define.
456 - avoid warning about (unused) pointer before start of array in deflate.c
457 - avoid various warnings in gzio.c, example.c, infblock.c, adler32.c, zutil.c
458 - avoid reserved word 'new' in trees.c
459
460 Changes in 0.93 (25 June 95)
461 - temporarily disable inline functions
462 - make deflate deterministic
463 - give enough lookahead for PARTIAL_FLUSH
464 - Set binary mode for stdin/stdout in minigzip.c for OS/2
465 - don't even use signed char in inflate (not portable enough)
466 - fix inflate memory leak for segmented architectures
467
468 Changes in 0.92 (3 May 95)
469 - don't assume that char is signed (problem on SGI)
470 - Clear bit buffer when starting a stored block
471 - no memcpy on Pyramid
472 - suppressed inftest.c
473 - optimized fill_window, put longest_match inline for gcc
474 - optimized inflate on stored blocks.
475 - untabify all sources to simplify patches
476
477 Changes in 0.91 (2 May 95)
478 - Default MEM_LEVEL is 8 (not 9 for Unix) as documented in zlib.h
479 - Document the memory requirements in zconf.h
480 - added "make install"
481 - fix sync search logic in inflateSync
482 - deflate(Z_FULL_FLUSH) now works even if output buffer too short
483 - after inflateSync, don't scare people with just "lo world"
484 - added support for DJGPP
485
486 Changes in 0.9 (1 May 95)
487 - don't assume that zalloc clears the allocated memory (the TurboC bug
488   was Mark's bug after all :)
489 - let again gzread copy uncompressed data unchanged (was working in 0.71)
490 - deflate(Z_FULL_FLUSH), inflateReset and inflateSync are now fully implemented
491 - added a test of inflateSync in example.c
492 - moved MAX_WBITS to zconf.h because users might want to change that.
493 - document explicitly that zalloc(64K) on MSDOS must return a normalized
494   pointer (zero offset)
495 - added Makefiles for Microsoft C, Turbo C, Borland C++
496 - faster crc32()
497
498 Changes in 0.8 (29 April 95)
499 - added fast inflate (inffast.c)
500 - deflate(Z_FINISH) now returns Z_STREAM_END when done. Warning: this
501   is incompatible with previous versions of zlib which returned Z_OK.
502 - work around a TurboC compiler bug (bad code for b << 0, see infutil.h)
503   (actually that was not a compiler bug, see 0.81 above)
504 - gzread no longer reads one extra byte in certain cases
505 - In gzio destroy(), don't reference a freed structure
506 - avoid many warnings for MSDOS
507 - avoid the ERROR symbol which is used by MS Windows
508
509 Changes in 0.71 (14 April 95)
510 - Fixed more MSDOS compilation problems :( There is still a bug with
511   TurboC large model.
512
513 Changes in 0.7 (14 April 95)
514 - Added full inflate support.
515 - Simplified the crc32() interface. The pre- and post-conditioning
516   (one's complement) is now done inside crc32(). WARNING: this is
517   incompatible with previous versions; see zlib.h for the new usage.
518
519 Changes in 0.61 (12 April 95)
520 - workaround for a bug in TurboC. example and minigzip now work on MSDOS.
521
522 Changes in 0.6 (11 April 95)
523 - added minigzip.c
524 - added gzdopen to reopen a file descriptor as gzFile
525 - added transparent reading of non-gziped files in gzread.
526 - fixed bug in gzread (don't read crc as data)
527 - fixed bug in destroy (gzio.c) (don't return Z_STREAM_END for gzclose).
528 - don't allocate big arrays in the stack (for MSDOS)
529 - fix some MSDOS compilation problems
530
531 Changes in 0.5:
532 - do real compression in deflate.c. Z_PARTIAL_FLUSH is supported but
533   not yet Z_FULL_FLUSH.
534 - support decompression but only in a single step (forced Z_FINISH)
535 - added opaque object for zalloc and zfree.
536 - added deflateReset and inflateReset
537 - added a variable zlib_version for consistency checking.
538 - renamed the 'filter' parameter of deflateInit2 as 'strategy'.
539   Added Z_FILTERED and Z_HUFFMAN_ONLY constants.
540
541 Changes in 0.4:
542 - avoid "zip" everywhere, use zlib instead of ziplib.
543 - suppress Z_BLOCK_FLUSH, interpret Z_PARTIAL_FLUSH as block flush
544   if compression method == 8.
545 - added adler32 and crc32
546 - renamed deflateOptions as deflateInit2, call one or the other but not both
547 - added the method parameter for deflateInit2.
548 - added inflateInit2
549 - simplied considerably deflateInit and inflateInit by not supporting
550   user-provided history buffer. This is supported only in deflateInit2
551   and inflateInit2.
552
553 Changes in 0.3:
554 - prefix all macro names with Z_
555 - use Z_FINISH instead of deflateEnd to finish compression.
556 - added Z_HUFFMAN_ONLY
557 - added gzerror()