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