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