comparison zlib/ChangeLog @ 51:ae3a4bfb450b

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