1592N/A
1592N/A ChangeLog file for zlib
1592N/A
1592N/AChanges in 1.2.3 (18 July 2005)
1592N/A- Apply security vulnerability fixes to contrib/infback9 as well
1592N/A- Clean up some text files (carriage returns, trailing space)
1592N/A- Update testzlib, vstudio, masmx64, and masmx86 in contrib [Vollant]
1592N/A
1592N/AChanges in 1.2.2.4 (11 July 2005)
1592N/A- Add inflatePrime() function for starting inflation at bit boundary
1592N/A- Avoid some Visual C warnings in deflate.c
1592N/A- Avoid more silly Visual C warnings in inflate.c and inftrees.c for 64-bit
1592N/A compile
1592N/A- Fix some spelling errors in comments [Betts]
1592N/A- Correct inflateInit2() error return documentation in zlib.h
1592N/A- Added zran.c example of compressed data random access to examples
1592N/A directory, shows use of inflatePrime()
1592N/A- Fix cast for assignments to strm->state in inflate.c and infback.c
1592N/A- Fix zlibCompileFlags() in zutil.c to use 1L for long shifts [Oberhumer]
1592N/A- Move declarations of gf2 functions to right place in crc32.c [Oberhumer]
1592N/A- Add cast in trees.c t avoid a warning [Oberhumer]
1592N/A- Avoid some warnings in fitblk.c, gun.c, gzjoin.c in examples [Oberhumer]
1592N/A- Update make_vms.com [Zinser]
1592N/A- Initialize state->write in inflateReset() since copied in inflate_fast()
1592N/A- Be more strict on incomplete code sets in inflate_table() and increase
1592N/A ENOUGH and MAXD -- this repairs a possible security vulnerability for
1592N/A invalid inflate input. Thanks to Tavis Ormandy and Markus Oberhumer for
1592N/A discovering the vulnerability and providing test cases.
1592N/A- Add ia64 support to configure for HP-UX [Smith]
1592N/A- Add error return to gzread() for format or i/o error [Levin]
1592N/A- Use malloc.h for OS/2 [Necasek]
1592N/A
1592N/AChanges in 1.2.2.3 (27 May 2005)
1592N/A- Replace 1U constants in inflate.c and inftrees.c for 64-bit compile
1592N/A- Typecast fread() return values in gzio.c [Vollant]
1592N/A- Remove trailing space in minigzip.c outmode (VC++ can't deal with it)
1592N/A- Fix crc check bug in gzread() after gzungetc() [Heiner]
1592N/A- Add the deflateTune() function to adjust internal compression parameters
1592N/A- Add a fast gzip decompressor, gun.c, to examples (use of inflateBack)
1592N/A- Remove an incorrect assertion in examples/zpipe.c
1592N/A- Add C++ wrapper in infback9.h [Donais]
1592N/A- Fix bug in inflateCopy() when decoding fixed codes
1592N/A- Note in zlib.h how much deflateSetDictionary() actually uses
1592N/A- Remove USE_DICT_HEAD in deflate.c (would mess up inflate if used)
1592N/A- Add _WIN32_WCE to define WIN32 in zconf.in.h [Spencer]
1592N/A- Don't include stderr.h or errno.h for _WIN32_WCE in zutil.h [Spencer]
1592N/A- Add gzdirect() function to indicate transparent reads
1592N/A- Update contrib/minizip [Vollant]
1592N/A- Fix compilation of deflate.c when both ASMV and FASTEST [Oberhumer]
1592N/A- Add casts in crc32.c to avoid warnings [Oberhumer]
1592N/A- Add contrib/masmx64 [Vollant]
1592N/A- Update contrib/asm586, asm686, masmx86, testzlib, vstudio [Vollant]
1592N/A
1592N/AChanges in 1.2.2.2 (30 December 2004)
1592N/A- Replace structure assignments in deflate.c and inflate.c with zmemcpy to
1592N/A avoid implicit memcpy calls (portability for no-library compilation)
1592N/A- Increase sprintf() buffer size in gzdopen() to allow for large numbers
1592N/A- Add INFLATE_STRICT to check distances against zlib header
1592N/A- Improve WinCE errno handling and comments [Chang]
1592N/A- Remove comment about no gzip header processing in FAQ
1592N/A- Add Z_FIXED strategy option to deflateInit2() to force fixed trees
1592N/A- Add updated make_vms.com [Coghlan], update README
1592N/A- Create a new "examples" directory, move gzappend.c there, add zpipe.c,
1592N/A fitblk.c, gzlog.[ch], gzjoin.c, and zlib_how.html.
1592N/A- Add FAQ entry and comments in deflate.c on uninitialized memory access
1592N/A- Add Solaris 9 make options in configure [Gilbert]
1592N/A- Allow strerror() usage in gzio.c for STDC
1592N/A- Fix DecompressBuf in contrib/delphi/ZLib.pas [ManChesTer]
1592N/A- Update contrib/masmx86/inffas32.asm and gvmat32.asm [Vollant]
1592N/A- Use z_off_t for adler32_combine() and crc32_combine() lengths
1592N/A- Make adler32() much faster for small len
1592N/A- Use OS_CODE in deflate() default gzip header
1592N/A
1592N/AChanges in 1.2.2.1 (31 October 2004)
1592N/A- Allow inflateSetDictionary() call for raw inflate
1592N/A- Fix inflate header crc check bug for file names and comments
1592N/A- Add deflateSetHeader() and gz_header structure for custom gzip headers
1592N/A- Add inflateGetheader() to retrieve gzip headers
1592N/A- Add crc32_combine() and adler32_combine() functions
1592N/A- Add alloc_func, free_func, in_func, out_func to Z_PREFIX list
1592N/A- Use zstreamp consistently in zlib.h (inflate_back functions)
1592N/A- Remove GUNZIP condition from definition of inflate_mode in inflate.h
1592N/A and in contrib/inflate86/inffast.S [Truta, Anderson]
1592N/A- Add support for AMD64 in contrib/inflate86/inffas86.c [Anderson]
1592N/A- Update projects/README.projects and projects/visualc6 [Truta]
1592N/A- Update win32/DLL_FAQ.txt [Truta]
1592N/A- Avoid warning under NO_GZCOMPRESS in gzio.c; fix typo [Truta]
1592N/A- Deprecate Z_ASCII; use Z_TEXT instead [Truta]
1592N/A- Use a new algorithm for setting strm->data_type in trees.c [Truta]
1592N/A- Do not define an exit() prototype in zutil.c unless DEBUG defined
1592N/A- Remove prototype of exit() from zutil.c, example.c, minigzip.c [Truta]
1592N/A- Add comment in zlib.h for Z_NO_FLUSH parameter to deflate()
1592N/A- Fix Darwin build version identification [Peterson]
1592N/A
1592N/AChanges in 1.2.2 (3 October 2004)
1592N/A- Update zlib.h comments on gzip in-memory processing
1592N/A- Set adler to 1 in inflateReset() to support Java test suite [Walles]
1592N/A- Add contrib/dotzlib [Ravn]
1592N/A- Update win32/DLL_FAQ.txt [Truta]
1592N/A- Update contrib/minizip [Vollant]
1592N/A- Move contrib/visual-basic.txt to old/ [Truta]
1592N/A- Fix assembler builds in projects/visualc6/ [Truta]
1592N/A
1592N/AChanges in 1.2.1.2 (9 September 2004)
1592N/A- Update INDEX file
1592N/A- Fix trees.c to update strm->data_type (no one ever noticed!)
1592N/A- Fix bug in error case in inflate.c, infback.c, and infback9.c [Brown]
1592N/A- Add "volatile" to crc table flag declaration (for DYNAMIC_CRC_TABLE)
1592N/A- Add limited multitasking protection to DYNAMIC_CRC_TABLE
1592N/A- Add NO_vsnprintf for VMS in zutil.h [Mozilla]
1592N/A- Don't declare strerror() under VMS [Mozilla]
1592N/A- Add comment to DYNAMIC_CRC_TABLE to use get_crc_table() to initialize
1592N/A- Update contrib/ada [Anisimkov]
1592N/A- Update contrib/minizip [Vollant]
1592N/A- Fix configure to not hardcode directories for Darwin [Peterson]
1592N/A- Fix gzio.c to not return error on empty files [Brown]
1592N/A- Fix indentation; update version in contrib/delphi/ZLib.pas and
1592N/A contrib/pascal/zlibpas.pas [Truta]
1592N/A- Update mkasm.bat in contrib/masmx86 [Truta]
1592N/A- Update contrib/untgz [Truta]
1592N/A- Add projects/README.projects [Truta]
1592N/A- Add project for MS Visual C++ 6.0 in projects/visualc6 [Cadieux, Truta]
1592N/A- Update win32/DLL_FAQ.txt [Truta]
1592N/A- Update list of Z_PREFIX symbols in zconf.h [Randers-Pehrson, Truta]
1592N/A- Remove an unnecessary assignment to curr in inftrees.c [Truta]
1592N/A- Add OS/2 to exe builds in configure [Poltorak]
1592N/A- Remove err dummy parameter in zlib.h [Kientzle]
1592N/A
1592N/AChanges in 1.2.1.1 (9 January 2004)
1592N/A- Update email address in README
1592N/A- Several FAQ updates
1592N/A- Fix a big fat bug in inftrees.c that prevented decoding valid
1592N/A dynamic blocks with only literals and no distance codes --
1592N/A Thanks to "Hot Emu" for the bug report and sample file
1592N/A- Add a note to puff.c on no distance codes case.
1592N/A
1592N/AChanges in 1.2.1 (17 November 2003)
1592N/A- Remove a tab in contrib/gzappend/gzappend.c
1592N/A- Update some interfaces in contrib for new zlib functions
1592N/A- Update zlib version number in some contrib entries
1592N/A- Add Windows CE definition for ptrdiff_t in zutil.h [Mai, Truta]
1592N/A- Support shared libraries on Hurd and KFreeBSD [Brown]
1592N/A- Fix error in NO_DIVIDE option of adler32.c
1592N/A
1592N/AChanges in 1.2.0.8 (4 November 2003)
1592N/A- Update version in contrib/delphi/ZLib.pas and contrib/pascal/zlibpas.pas
1592N/A- Add experimental NO_DIVIDE #define in adler32.c
1592N/A - Possibly faster on some processors (let me know if it is)
1592N/A- Correct Z_BLOCK to not return on first inflate call if no wrap
1592N/A- Fix strm->data_type on inflate() return to correctly indicate EOB
1592N/A- Add deflatePrime() function for appending in the middle of a byte
1592N/A- Add contrib/gzappend for an example of appending to a stream
1592N/A- Update win32/DLL_FAQ.txt [Truta]
1592N/A- Delete Turbo C comment in README [Truta]
1592N/A- Improve some indentation in zconf.h [Truta]
1592N/A- Fix infinite loop on bad input in configure script [Church]
1592N/A- Fix gzeof() for concatenated gzip files [Johnson]
1592N/A- Add example to contrib/visual-basic.txt [Michael B.]
1592N/A- Add -p to mkdir's in Makefile.in [vda]
1592N/A- Fix configure to properly detect presence or lack of printf functions
1592N/A- Add AS400 support [Monnerat]
1592N/A- Add a little Cygwin support [Wilson]
1592N/A
1592N/AChanges in 1.2.0.7 (21 September 2003)
1592N/A- Correct some debug formats in contrib/infback9
1592N/A- Cast a type in a debug statement in trees.c
1592N/A- Change search and replace delimiter in configure from % to # [Beebe]
1592N/A- Update contrib/untgz to 0.2 with various fixes [Truta]
1592N/A- Add build support for Amiga [Nikl]
1592N/A- Remove some directories in old that have been updated to 1.2
1592N/A- Add dylib building for Mac OS X in configure and Makefile.in
1592N/A- Remove old distribution stuff from Makefile
1592N/A- Update README to point to DLL_FAQ.txt, and add comment on Mac OS X
1592N/A- Update links in README
1592N/A
1592N/AChanges in 1.2.0.6 (13 September 2003)
1592N/A- Minor FAQ updates
1592N/A- Update contrib/minizip to 1.00 [Vollant]
1592N/A- Remove test of gz functions in example.c when GZ_COMPRESS defined [Truta]
1592N/A- Update POSTINC comment for 68060 [Nikl]
1592N/A- Add contrib/infback9 with deflate64 decoding (unsupported)
1592N/A- For MVS define NO_vsnprintf and undefine FAR [van Burik]
1592N/A- Add pragma for fdopen on MVS [van Burik]
1592N/A
1592N/AChanges in 1.2.0.5 (8 September 2003)
1592N/A- Add OF to inflateBackEnd() declaration in zlib.h
1592N/A- Remember start when using gzdopen in the middle of a file
1592N/A- Use internal off_t counters in gz* functions to properly handle seeks
1592N/A- Perform more rigorous check for distance-too-far in inffast.c
1592N/A- Add Z_BLOCK flush option to return from inflate at block boundary
1592N/A- Set strm->data_type on return from inflate
1592N/A - Indicate bits unused, if at block boundary, and if in last block
1592N/A- Replace size_t with ptrdiff_t in crc32.c, and check for correct size
1592N/A- Add condition so old NO_DEFLATE define still works for compatibility
1592N/A- FAQ update regarding the Windows DLL [Truta]
1592N/A- INDEX update: add qnx entry, remove aix entry [Truta]
1592N/A- Install zlib.3 into mandir [Wilson]
1592N/A- Move contrib/zlib_dll_FAQ.txt to win32/DLL_FAQ.txt; update [Truta]
1592N/A- Adapt the zlib interface to the new DLL convention guidelines [Truta]
1592N/A- Introduce ZLIB_WINAPI macro to allow the export of functions using
1592N/A the WINAPI calling convention, for Visual Basic [Vollant, Truta]
1592N/A- Update msdos and win32 scripts and makefiles [Truta]
1592N/A- Export symbols by name, not by ordinal, in win32/zlib.def [Truta]
1592N/A- Add contrib/ada [Anisimkov]
1592N/A- Move asm files from contrib/vstudio/vc70_32 to contrib/asm386 [Truta]
1592N/A- Rename contrib/asm386 to contrib/masmx86 [Truta, Vollant]
1592N/A- Add contrib/masm686 [Truta]
1592N/A- Fix offsets in contrib/inflate86 and contrib/masmx86/inffas32.asm
1592N/A [Truta, Vollant]
1592N/A- Update contrib/delphi; rename to contrib/pascal; add example [Truta]
1592N/A- Remove contrib/delphi2; add a new contrib/delphi [Truta]
1592N/A- Avoid inclusion of the nonstandard <memory.h> in contrib/iostream,
1592N/A and fix some method prototypes [Truta]
1592N/A- Fix the ZCR_SEED2 constant to avoid warnings in contrib/minizip
1592N/A [Truta]
1592N/A- Avoid the use of backslash (\) in contrib/minizip [Vollant]
1592N/A- Fix file time handling in contrib/untgz; update makefiles [Truta]
1592N/A- Update contrib/vstudio/vc70_32 to comply with the new DLL guidelines
1592N/A [Vollant]
1592N/A- Remove contrib/vstudio/vc15_16 [Vollant]
1592N/A- Rename contrib/vstudio/vc70_32 to contrib/vstudio/vc7 [Truta]
1592N/A- Update README.contrib [Truta]
1592N/A- Invert the assignment order of match_head and s->prev[...] in
1592N/A INSERT_STRING [Truta]
1592N/A- Compare TOO_FAR with 32767 instead of 32768, to avoid 16-bit warnings
1592N/A [Truta]
1592N/A- Compare function pointers with 0, not with NULL or Z_NULL [Truta]
1592N/A- Fix prototype of syncsearch in inflate.c [Truta]
1592N/A- Introduce ASMINF macro to be enabled when using an ASM implementation
1592N/A of inflate_fast [Truta]
1592N/A- Change NO_DEFLATE to NO_GZCOMPRESS [Truta]
1592N/A- Modify test_gzio in example.c to take a single file name as a
1592N/A parameter [Truta]
1592N/A- Exit the example.c program if gzopen fails [Truta]
1592N/A- Add type casts around strlen in example.c [Truta]
1592N/A- Remove casting to sizeof in minigzip.c; give a proper type
1592N/A to the variable compared with SUFFIX_LEN [Truta]
1592N/A- Update definitions of STDC and STDC99 in zconf.h [Truta]
1592N/A- Synchronize zconf.h with the new Windows DLL interface [Truta]
1592N/A- Use SYS16BIT instead of __32BIT__ to distinguish between
1592N/A 16- and 32-bit platforms [Truta]
1592N/A- Use far memory allocators in small 16-bit memory models for
1592N/A Turbo C [Truta]
1592N/A- Add info about the use of ASMV, ASMINF and ZLIB_WINAPI in
1592N/A zlibCompileFlags [Truta]
1592N/A- Cygwin has vsnprintf [Wilson]
1592N/A- In Windows16, OS_CODE is 0, as in MSDOS [Truta]
1592N/A- In Cygwin, OS_CODE is 3 (Unix), not 11 (Windows32) [Wilson]
1592N/A
1592N/AChanges in 1.2.0.4 (10 August 2003)
1592N/A- Minor FAQ updates
1592N/A- Be more strict when checking inflateInit2's windowBits parameter
1592N/A- Change NO_GUNZIP compile option to NO_GZIP to cover deflate as well
1592N/A- Add gzip wrapper option to deflateInit2 using windowBits
1592N/A- Add updated QNX rule in configure and qnx directory [Bonnefoy]
1592N/A- Make inflate distance-too-far checks more rigorous
1592N/A- Clean up FAR usage in inflate
1592N/A- Add casting to sizeof() in gzio.c and minigzip.c
1592N/A
1592N/AChanges in 1.2.0.3 (19 July 2003)
1592N/A- Fix silly error in gzungetc() implementation [Vollant]
1592N/A- Update contrib/minizip and contrib/vstudio [Vollant]
1592N/A- Fix printf format in example.c
1592N/A- Correct cdecl support in zconf.in.h [Anisimkov]
1592N/A- Minor FAQ updates
1592N/A
1592N/AChanges in 1.2.0.2 (13 July 2003)
1592N/A- Add ZLIB_VERNUM in zlib.h for numerical preprocessor comparisons
1592N/A- Attempt to avoid warnings in crc32.c for pointer-int conversion
1592N/A- Add AIX to configure, remove aix directory [Bakker]
1592N/A- Add some casts to minigzip.c
1592N/A- Improve checking after insecure sprintf() or vsprintf() calls
1592N/A- Remove #elif's from crc32.c
1592N/A- Change leave label to inf_leave in inflate.c and infback.c to avoid
1592N/A library conflicts
1592N/A- Remove inflate gzip decoding by default--only enable gzip decoding by
1592N/A special request for stricter backward compatibility
1592N/A- Add zlibCompileFlags() function to return compilation information
1592N/A- More typecasting in deflate.c to avoid warnings
1592N/A- Remove leading underscore from _Capital #defines [Truta]
1592N/A- Fix configure to link shared library when testing
1592N/A- Add some Windows CE target adjustments [Mai]
1592N/A- Remove #define ZLIB_DLL in zconf.h [Vollant]
1592N/A- Add zlib.3 [Rodgers]
1592N/A- Update RFC URL in deflate.c and algorithm.txt [Mai]
1592N/A- Add zlib_dll_FAQ.txt to contrib [Truta]
1592N/A- Add UL to some constants [Truta]
1592N/A- Update minizip and vstudio [Vollant]
1592N/A- Remove vestigial NEED_DUMMY_RETURN from zconf.in.h
1592N/A- Expand use of NO_DUMMY_DECL to avoid all dummy structures
1592N/A- Added iostream3 to contrib [Schwardt]
1592N/A- Replace rewind() with fseek() for WinCE [Truta]
1592N/A- Improve setting of zlib format compression level flags
1592N/A - Report 0 for huffman and rle strategies and for level == 0 or 1
1592N/A - Report 2 only for level == 6
1592N/A- Only deal with 64K limit when necessary at compile time [Truta]
1592N/A- Allow TOO_FAR check to be turned off at compile time [Truta]
1592N/A- Add gzclearerr() function [Souza]
1592N/A- Add gzungetc() function
1592N/A
1592N/AChanges in 1.2.0.1 (17 March 2003)
1592N/A- Add Z_RLE strategy for run-length encoding [Truta]
1592N/A - When Z_RLE requested, restrict matches to distance one
1592N/A - Update zlib.h, minigzip.c, gzopen(), gzdopen() for Z_RLE
1592N/A- Correct FASTEST compilation to allow level == 0
1592N/A- Clean up what gets compiled for FASTEST
1592N/A- Incorporate changes to zconf.in.h [Vollant]
1592N/A - Refine detection of Turbo C need for dummy returns
1592N/A - Refine ZLIB_DLL compilation
1592N/A - Include additional header file on VMS for off_t typedef
1592N/A- Try to use _vsnprintf where it supplants vsprintf [Vollant]
1592N/A- Add some casts in inffast.c
1592N/A- Enchance comments in zlib.h on what happens if gzprintf() tries to
1592N/A write more than 4095 bytes before compression
1592N/A- Remove unused state from inflateBackEnd()
1592N/A- Remove exit(0) from minigzip.c, example.c
1592N/A- Get rid of all those darn tabs
1592N/A- Add "check" target to Makefile.in that does the same thing as "test"
1592N/A- Add "mostlyclean" and "maintainer-clean" targets to Makefile.in
1592N/A- Update contrib/inflate86 [Anderson]
1592N/A- Update contrib/testzlib, contrib/vstudio, contrib/minizip [Vollant]
1592N/A- Add msdos and win32 directories with makefiles [Truta]
1592N/A- More additions and improvements to the FAQ
1592N/A
1592N/AChanges in 1.2.0 (9 March 2003)
1592N/A- New and improved inflate code
1592N/A - About 20% faster
1592N/A - Does not allocate 32K window unless and until needed
1592N/A - Automatically detects and decompresses gzip streams
1592N/A - Raw inflate no longer needs an extra dummy byte at end
1592N/A - Added inflateBack functions using a callback interface--even faster
1592N/A than inflate, useful for file utilities (gzip, zip)
1592N/A - Added inflateCopy() function to record state for random access on
1592N/A externally generated deflate streams (e.g. in gzip files)
1592N/A - More readable code (I hope)
1592N/A- New and improved crc32()
1592N/A - About 50% faster, thanks to suggestions from Rodney Brown
1592N/A- Add deflateBound() and compressBound() functions
1592N/A- Fix memory leak in deflateInit2()
1592N/A- Permit setting dictionary for raw deflate (for parallel deflate)
1592N/A- Fix const declaration for gzwrite()
1592N/A- Check for some malloc() failures in gzio.c
1592N/A- Fix bug in gzopen() on single-byte file 0x1f
1592N/A- Fix bug in gzread() on concatenated file with 0x1f at end of buffer
1592N/A and next buffer doesn't start with 0x8b
1592N/A- Fix uncompress() to return Z_DATA_ERROR on truncated input
1592N/A- Free memory at end of example.c
1592N/A- Remove MAX #define in trees.c (conflicted with some libraries)
1592N/A- Fix static const's in deflate.c, gzio.c, and zutil.[ch]
1592N/A- Declare malloc() and free() in gzio.c if STDC not defined
1592N/A- Use malloc() instead of calloc() in zutil.c if int big enough
1592N/A- Define STDC for AIX
1592N/A- Add aix/ with approach for compiling shared library on AIX
1592N/A- Add HP-UX support for shared libraries in configure
1592N/A- Add OpenUNIX support for shared libraries in configure
1592N/A- Use $cc instead of gcc to build shared library
1592N/A- Make prefix directory if needed when installing
1592N/A- Correct Macintosh avoidance of typedef Byte in zconf.h
1592N/A- Correct Turbo C memory allocation when under Linux
1592N/A- Use libz.a instead of -lz in Makefile (assure use of compiled library)
1592N/A- Update configure to check for snprintf or vsnprintf functions and their
1592N/A return value, warn during make if using an insecure function
1592N/A- Fix configure problem with compile-time knowledge of HAVE_UNISTD_H that
1592N/A is lost when library is used--resolution is to build new zconf.h
1592N/A- Documentation improvements (in zlib.h):
1592N/A - Document raw deflate and inflate
1592N/A - Update RFCs URL
1592N/A - Point out that zlib and gzip formats are different
1592N/A - Note that Z_BUF_ERROR is not fatal
1592N/A - Document string limit for gzprintf() and possible buffer overflow
1592N/A - Note requirement on avail_out when flushing
1592N/A - Note permitted values of flush parameter of inflate()
1592N/A- Add some FAQs (and even answers) to the FAQ
1592N/A- Add contrib/inflate86/ for x86 faster inflate
1592N/A- Add contrib/blast/ for PKWare Data Compression Library decompression
1592N/A- Add contrib/puff/ simple inflate for deflate format description
1592N/A
1592N/AChanges in 1.1.4 (11 March 2002)
1592N/A- ZFREE was repeated on same allocation on some error conditions.
1592N/A This creates a security problem described in
1592N/A http://www.zlib.org/advisory-2002-03-11.txt
1592N/A- Returned incorrect error (Z_MEM_ERROR) on some invalid data
1592N/A- Avoid accesses before window for invalid distances with inflate window
1592N/A less than 32K.
1592N/A- force windowBits > 8 to avoid a bug in the encoder for a window size
1592N/A of 256 bytes. (A complete fix will be available in 1.1.5).
1592N/A
1592N/AChanges in 1.1.3 (9 July 1998)
1592N/A- fix "an inflate input buffer bug that shows up on rare but persistent
1592N/A occasions" (Mark)
1592N/A- fix gzread and gztell for concatenated .gz files (Didier Le Botlan)
1592N/A- fix gzseek(..., SEEK_SET) in write mode
1592N/A- fix crc check after a gzeek (Frank Faubert)
1592N/A- fix miniunzip when the last entry in a zip file is itself a zip file
1592N/A (J Lillge)
1592N/A- add contrib/asm586 and contrib/asm686 (Brian Raiter)
1592N/A See http://www.muppetlabs.com/~breadbox/software/assembly.html
1592N/A- add support for Delphi 3 in contrib/delphi (Bob Dellaca)
1592N/A- add support for C++Builder 3 and Delphi 3 in contrib/delphi2 (Davide Moretti)
1592N/A- do not exit prematurely in untgz if 0 at start of block (Magnus Holmgren)
1592N/A- use macro EXTERN instead of extern to support DLL for BeOS (Sander Stoks)
1592N/A- added a FAQ file
1592N/A
1592N/A- Support gzdopen on Mac with Metrowerks (Jason Linhart)
1592N/A- Do not redefine Byte on Mac (Brad Pettit & Jason Linhart)
1592N/A- define SEEK_END too if SEEK_SET is not defined (Albert Chin-A-Young)
1592N/A- avoid some warnings with Borland C (Tom Tanner)
1592N/A- fix a problem in contrib/minizip/zip.c for 16-bit MSDOS (Gilles Vollant)
1592N/A- emulate utime() for WIN32 in contrib/untgz (Gilles Vollant)
1592N/A- allow several arguments to configure (Tim Mooney, Frodo Looijaard)
1592N/A- use libdir and includedir in Makefile.in (Tim Mooney)
1592N/A- support shared libraries on OSF1 V4 (Tim Mooney)
1592N/A- remove so_locations in "make clean" (Tim Mooney)
1592N/A- fix maketree.c compilation error (Glenn, Mark)
1592N/A- Python interface to zlib now in Python 1.5 (Jeremy Hylton)
1592N/A- new Makefile.riscos (Rich Walker)
1592N/A- initialize static descriptors in trees.c for embedded targets (Nick Smith)
1592N/A- use "foo-gz" in example.c for RISCOS and VMS (Nick Smith)
1592N/A- add the OS/2 files in Makefile.in too (Andrew Zabolotny)
1592N/A- fix fdopen and halloc macros for Microsoft C 6.0 (Tom Lane)
1592N/A- fix maketree.c to allow clean compilation of inffixed.h (Mark)
1592N/A- fix parameter check in deflateCopy (Gunther Nikl)
1592N/A- cleanup trees.c, use compressed_len only in debug mode (Christian Spieler)
1592N/A- Many portability patches by Christian Spieler:
1592N/A . zutil.c, zutil.h: added "const" for zmem*
1592N/A . Make_vms.com: fixed some typos
1592N/A . Make_vms.com: msdos/Makefile.*: removed zutil.h from some dependency lists
1592N/A . msdos/Makefile.msc: remove "default rtl link library" info from obj files
1592N/A . msdos/Makefile.*: use model-dependent name for the built zlib library
1592N/A . msdos/Makefile.emx, nt/Makefile.emx, nt/Makefile.gcc:
1592N/A new makefiles, for emx (DOS/OS2), emx&rsxnt and mingw32 (Windows 9x / NT)
1592N/A- use define instead of typedef for Bytef also for MSC small/medium (Tom Lane)
1592N/A- replace __far with _far for better portability (Christian Spieler, Tom Lane)
1592N/A- fix test for errno.h in configure (Tim Newsham)
1592N/A
1592N/AChanges in 1.1.2 (19 March 98)
1592N/A- added contrib/minzip, mini zip and unzip based on zlib (Gilles Vollant)
1592N/A See http://www.winimage.com/zLibDll/unzip.html
1592N/A- preinitialize the inflate tables for fixed codes, to make the code
1592N/A completely thread safe (Mark)
1592N/A- some simplifications and slight speed-up to the inflate code (Mark)
1592N/A- fix gzeof on non-compressed files (Allan Schrum)
1592N/A- add -std1 option in configure for OSF1 to fix gzprintf (Martin Mokrejs)
1592N/A- use default value of 4K for Z_BUFSIZE for 16-bit MSDOS (Tim Wegner + Glenn)
1592N/A- added os2/Makefile.def and os2/zlib.def (Andrew Zabolotny)
1592N/A- add shared lib support for UNIX_SV4.2MP (MATSUURA Takanori)
1592N/A- do not wrap extern "C" around system includes (Tom Lane)
1592N/A- mention zlib binding for TCL in README (Andreas Kupries)
1592N/A- added amiga/Makefile.pup for Amiga powerUP SAS/C PPC (Andreas Kleinert)
1592N/A- allow "make install prefix=..." even after configure (Glenn Randers-Pehrson)
1592N/A- allow "configure --prefix $HOME" (Tim Mooney)
1592N/A- remove warnings in example.c and gzio.c (Glenn Randers-Pehrson)
1592N/A- move Makefile.sas to amiga/Makefile.sas
1592N/A
1592N/AChanges in 1.1.1 (27 Feb 98)
1592N/A- fix macros _tr_tally_* in deflate.h for debug mode (Glenn Randers-Pehrson)
1592N/A- remove block truncation heuristic which had very marginal effect for zlib
1592N/A (smaller lit_bufsize than in gzip 1.2.4) and degraded a little the
1592N/A compression ratio on some files. This also allows inlining _tr_tally for
1592N/A matches in deflate_slow.
1592N/A- added msdos/Makefile.w32 for WIN32 Microsoft Visual C++ (Bob Frazier)
1592N/A
1592N/AChanges in 1.1.0 (24 Feb 98)
1592N/A- do not return STREAM_END prematurely in inflate (John Bowler)
1592N/A- revert to the zlib 1.0.8 inflate to avoid the gcc 2.8.0 bug (Jeremy Buhler)
1592N/A- compile with -DFASTEST to get compression code optimized for speed only
1592N/A- in minigzip, try mmap'ing the input file first (Miguel Albrecht)
1592N/A- increase size of I/O buffers in minigzip.c and gzio.c (not a big gain
1592N/A on Sun but significant on HP)
1592N/A
1592N/A- add a pointer to experimental unzip library in README (Gilles Vollant)
1592N/A- initialize variable gcc in configure (Chris Herborth)
1592N/A
1592N/AChanges in 1.0.9 (17 Feb 1998)
1592N/A- added gzputs and gzgets functions
1592N/A- do not clear eof flag in gzseek (Mark Diekhans)
1592N/A- fix gzseek for files in transparent mode (Mark Diekhans)
1592N/A- do not assume that vsprintf returns the number of bytes written (Jens Krinke)
1592N/A- replace EXPORT with ZEXPORT to avoid conflict with other programs
1592N/A- added compress2 in zconf.h, zlib.def, zlib.dnt
1592N/A- new asm code from Gilles Vollant in contrib/asm386
1592N/A- simplify the inflate code (Mark):
1592N/A . Replace ZALLOC's in huft_build() with single ZALLOC in inflate_blocks_new()
1592N/A . ZALLOC the length list in inflate_trees_fixed() instead of using stack
1592N/A . ZALLOC the value area for huft_build() instead of using stack
1592N/A . Simplify Z_FINISH check in inflate()
1592N/A
1592N/A- Avoid gcc 2.8.0 comparison bug a little differently than zlib 1.0.8
1592N/A- in inftrees.c, avoid cc -O bug on HP (Farshid Elahi)
1592N/A- in zconf.h move the ZLIB_DLL stuff earlier to avoid problems with
1592N/A the declaration of FAR (Gilles VOllant)
1592N/A- install libz.so* with mode 755 (executable) instead of 644 (Marc Lehmann)
1592N/A- read_buf buf parameter of type Bytef* instead of charf*
1592N/A- zmemcpy parameters are of type Bytef*, not charf* (Joseph Strout)
1592N/A- do not redeclare unlink in minigzip.c for WIN32 (John Bowler)
1592N/A- fix check for presence of directories in "make install" (Ian Willis)
1592N/A
1592N/AChanges in 1.0.8 (27 Jan 1998)
1592N/A- fixed offsets in contrib/asm386/gvmat32.asm (Gilles Vollant)
1592N/A- fix gzgetc and gzputc for big endian systems (Markus Oberhumer)
1592N/A- added compress2() to allow setting the compression level
1592N/A- include sys/types.h to get off_t on some systems (Marc Lehmann & QingLong)
1592N/A- use constant arrays for the static trees in trees.c instead of computing
1592N/A them at run time (thanks to Ken Raeburn for this suggestion). To create
1592N/A trees.h, compile with GEN_TREES_H and run "make test".
1592N/A- check return code of example in "make test" and display result
1592N/A- pass minigzip command line options to file_compress
1592N/A- simplifying code of inflateSync to avoid gcc 2.8 bug
1592N/A
1592N/A- support CC="gcc -Wall" in configure -s (QingLong)
1592N/A- avoid a flush caused by ftell in gzopen for write mode (Ken Raeburn)
1592N/A- fix test for shared library support to avoid compiler warnings
1592N/A- zlib.lib -> zlib.dll in msdos/zlib.rc (Gilles Vollant)
1592N/A- check for TARGET_OS_MAC in addition to MACOS (Brad Pettit)
1592N/A- do not use fdopen for Metrowerks on Mac (Brad Pettit))
1592N/A- add checks for gzputc and gzputc in example.c
1592N/A- avoid warnings in gzio.c and deflate.c (Andreas Kleinert)
1592N/A- use const for the CRC table (Ken Raeburn)
1592N/A- fixed "make uninstall" for shared libraries
1592N/A- use Tracev instead of Trace in infblock.c
1592N/A- in example.c use correct compressed length for test_sync
1592N/A- suppress +vnocompatwarnings in configure for HPUX (not always supported)
1592N/A
1592N/AChanges in 1.0.7 (20 Jan 1998)
1592N/A- fix gzseek which was broken in write mode
1592N/A- return error for gzseek to negative absolute position
1592N/A- fix configure for Linux (Chun-Chung Chen)
1592N/A- increase stack space for MSC (Tim Wegner)
1592N/A- get_crc_table and inflateSyncPoint are EXPORTed (Gilles Vollant)
1592N/A- define EXPORTVA for gzprintf (Gilles Vollant)
1592N/A- added man page zlib.3 (Rick Rodgers)
1592N/A- for contrib/untgz, fix makedir() and improve Makefile
1592N/A
1592N/A- check gzseek in write mode in example.c
1592N/A- allocate extra buffer for seeks only if gzseek is actually called
1592N/A- avoid signed/unsigned comparisons (Tim Wegner, Gilles Vollant)
1592N/A- add inflateSyncPoint in zconf.h
1592N/A- fix list of exported functions in nt/zlib.dnt and mdsos/zlib.def
1592N/A
1592N/AChanges in 1.0.6 (19 Jan 1998)
1592N/A- add functions gzprintf, gzputc, gzgetc, gztell, gzeof, gzseek, gzrewind and
1592N/A gzsetparams (thanks to Roland Giersig and Kevin Ruland for some of this code)
1592N/A- Fix a deflate bug occurring only with compression level 0 (thanks to
1592N/A Andy Buckler for finding this one).
1592N/A- In minigzip, pass transparently also the first byte for .Z files.
1592N/A- return Z_BUF_ERROR instead of Z_OK if output buffer full in uncompress()
1592N/A- check Z_FINISH in inflate (thanks to Marc Schluper)
1592N/A- Implement deflateCopy (thanks to Adam Costello)
1592N/A- make static libraries by default in configure, add --shared option.
1592N/A- move MSDOS or Windows specific files to directory msdos
1592N/A- suppress the notion of partial flush to simplify the interface
1592N/A (but the symbol Z_PARTIAL_FLUSH is kept for compatibility with 1.0.4)
1592N/A- suppress history buffer provided by application to simplify the interface
1592N/A (this feature was not implemented anyway in 1.0.4)
1592N/A- next_in and avail_in must be initialized before calling inflateInit or
1592N/A inflateInit2
1592N/A- add EXPORT in all exported functions (for Windows DLL)
1592N/A- added Makefile.nt (thanks to Stephen Williams)
1592N/A- added the unsupported "contrib" directory:
1592N/A contrib/asm386/ by Gilles Vollant <info@winimage.com>
1592N/A 386 asm code replacing longest_match().
1592N/A contrib/iostream/ by Kevin Ruland <kevin@rodin.wustl.edu>
1592N/A A C++ I/O streams interface to the zlib gz* functions
1592N/A contrib/iostream2/ by Tyge L�vset <Tyge.Lovset@cmr.no>
1592N/A Another C++ I/O streams interface
1592N/A contrib/untgz/ by "Pedro A. Aranda Guti\irrez" <paag@tid.es>
1592N/A A very simple tar.gz file extractor using zlib
1592N/A contrib/visual-basic.txt by Carlos Rios <c_rios@sonda.cl>
1592N/A How to use compress(), uncompress() and the gz* functions from VB.
1592N/A- pass params -f (filtered data), -h (huffman only), -1 to -9 (compression
1592N/A level) in minigzip (thanks to Tom Lane)
1592N/A
1592N/A- use const for rommable constants in deflate
1592N/A- added test for gzseek and gztell in example.c
1592N/A- add undocumented function inflateSyncPoint() (hack for Paul Mackerras)
1592N/A- add undocumented function zError to convert error code to string
1592N/A (for Tim Smithers)
1592N/A- Allow compilation of gzio with -DNO_DEFLATE to avoid the compression code.
1592N/A- Use default memcpy for Symantec MSDOS compiler.
1592N/A- Add EXPORT keyword for check_func (needed for Windows DLL)
1592N/A- add current directory to LD_LIBRARY_PATH for "make test"
1592N/A- create also a link for libz.so.1
1592N/A- added support for FUJITSU UXP/DS (thanks to Toshiaki Nomura)
1592N/A- use $(SHAREDLIB) instead of libz.so in Makefile.in (for HPUX)
1592N/A- added -soname for Linux in configure (Chun-Chung Chen,
1592N/A- assign numbers to the exported functions in zlib.def (for Windows DLL)
1592N/A- add advice in zlib.h for best usage of deflateSetDictionary
1592N/A- work around compiler bug on Atari (cast Z_NULL in call of s->checkfn)
1592N/A- allow compilation with ANSI keywords only enabled for TurboC in large model
1592N/A- avoid "versionString"[0] (Borland bug)
1592N/A- add NEED_DUMMY_RETURN for Borland
1592N/A- use variable z_verbose for tracing in debug mode (L. Peter Deutsch).
1592N/A- allow compilation with CC
1592N/A- defined STDC for OS/2 (David Charlap)
1592N/A- limit external names to 8 chars for MVS (Thomas Lund)
1592N/A- in minigzip.c, use static buffers only for 16-bit systems
1592N/A- fix suffix check for "minigzip -d foo.gz"
1592N/A- do not return an error for the 2nd of two consecutive gzflush() (Felix Lee)
1592N/A- use _fdopen instead of fdopen for MSC >= 6.0 (Thomas Fanslau)
1592N/A- added makelcc.bat for lcc-win32 (Tom St Denis)
1592N/A- in Makefile.dj2, use copy and del instead of install and rm (Frank Donahoe)
1592N/A- Avoid expanded $Id$. Use "rcs -kb" or "cvs admin -kb" to avoid Id expansion.
1592N/A- check for unistd.h in configure (for off_t)
1592N/A- remove useless check parameter in inflate_blocks_free
1592N/A- avoid useless assignment of s->check to itself in inflate_blocks_new
1592N/A- do not flush twice in gzclose (thanks to Ken Raeburn)
1592N/A- rename FOPEN as F_OPEN to avoid clash with /usr/include/sys/file.h
1592N/A- use NO_ERRNO_H instead of enumeration of operating systems with errno.h
1592N/A- work around buggy fclose on pipes for HP/UX
1592N/A- support zlib DLL with BORLAND C++ 5.0 (thanks to Glenn Randers-Pehrson)
1592N/A- fix configure if CC is already equal to gcc
1592N/A
1592N/AChanges in 1.0.5 (3 Jan 98)
1592N/A- Fix inflate to terminate gracefully when fed corrupted or invalid data
1592N/A- Use const for rommable constants in inflate
1592N/A- Eliminate memory leaks on error conditions in inflate
1592N/A- Removed some vestigial code in inflate
1592N/A- Update web address in README
1592N/A
1592N/AChanges in 1.0.4 (24 Jul 96)
1592N/A- In very rare conditions, deflate(s, Z_FINISH) could fail to produce an EOF
1592N/A bit, so the decompressor could decompress all the correct data but went
1592N/A on to attempt decompressing extra garbage data. This affected minigzip too.
1592N/A- zlibVersion and gzerror return const char* (needed for DLL)
1592N/A- port to RISCOS (no fdopen, no multiple dots, no unlink, no fileno)
1592N/A- use z_error only for DEBUG (avoid problem with DLLs)
1592N/A
1592N/AChanges in 1.0.3 (2 Jul 96)
1592N/A- use z_streamp instead of z_stream *, which is now a far pointer in MSDOS
1592N/A small and medium models; this makes the library incompatible with previous
1592N/A versions for these models. (No effect in large model or on other systems.)
1592N/A- return OK instead of BUF_ERROR if previous deflate call returned with
1592N/A avail_out as zero but there is nothing to do
1592N/A- added memcmp for non STDC compilers
1592N/A- define NO_DUMMY_DECL for more Mac compilers (.h files merged incorrectly)
1592N/A- define __32BIT__ if __386__ or i386 is defined (pb. with Watcom and SCO)
1592N/A- better check for 16-bit mode MSC (avoids problem with Symantec)
1592N/A
1592N/AChanges in 1.0.2 (23 May 96)
1592N/A- added Windows DLL support
1592N/A- added a function zlibVersion (for the DLL support)
1592N/A- fixed declarations using Bytef in infutil.c (pb with MSDOS medium model)
1592N/A- Bytef is define's instead of typedef'd only for Borland C
1592N/A- avoid reading uninitialized memory in example.c
1592N/A- mention in README that the zlib format is now RFC1950
1592N/A- updated Makefile.dj2
1592N/A- added algorithm.doc
1592N/A
1592N/AChanges in 1.0.1 (20 May 96) [1.0 skipped to avoid confusion]
1592N/A- fix array overlay in deflate.c which sometimes caused bad compressed data
1592N/A- fix inflate bug with empty stored block
1592N/A- fix MSDOS medium model which was broken in 0.99
1592N/A- fix deflateParams() which could generated bad compressed data.
1592N/A- Bytef is define'd instead of typedef'ed (work around Borland bug)
1592N/A- added an INDEX file
1592N/A- new makefiles for DJGPP (Makefile.dj2), 32-bit Borland (Makefile.b32),
1592N/A Watcom (Makefile.wat), Amiga SAS/C (Makefile.sas)
1592N/A- speed up adler32 for modern machines without auto-increment
1592N/A- added -ansi for IRIX in configure
1592N/A- static_init_done in trees.c is an int
1592N/A- define unlink as delete for VMS
1592N/A- fix configure for QNX
1592N/A- add configure branch for SCO and HPUX
1592N/A- avoid many warnings (unused variables, dead assignments, etc...)
1592N/A- no fdopen for BeOS
1592N/A- fix the Watcom fix for 32 bit mode (define FAR as empty)
1592N/A- removed redefinition of Byte for MKWERKS
1592N/A- work around an MWKERKS bug (incorrect merge of all .h files)
1592N/A
1592N/AChanges in 0.99 (27 Jan 96)
1592N/A- allow preset dictionary shared between compressor and decompressor
1592N/A- allow compression level 0 (no compression)
1592N/A- add deflateParams in zlib.h: allow dynamic change of compression level
1592N/A and compression strategy.
1592N/A- test large buffers and deflateParams in example.c
1592N/A- add optional "configure" to build zlib as a shared library
1592N/A- suppress Makefile.qnx, use configure instead
1592N/A- fixed deflate for 64-bit systems (detected on Cray)
1592N/A- fixed inflate_blocks for 64-bit systems (detected on Alpha)
1592N/A- declare Z_DEFLATED in zlib.h (possible parameter for deflateInit2)
1592N/A- always return Z_BUF_ERROR when deflate() has nothing to do
1592N/A- deflateInit and inflateInit are now macros to allow version checking
1592N/A- prefix all global functions and types with z_ with -DZ_PREFIX
1592N/A- make falloc completely reentrant (inftrees.c)
1592N/A- fixed very unlikely race condition in ct_static_init
1592N/A- free in reverse order of allocation to help memory manager
1592N/A- use zlib-1.0/* instead of zlib/* inside the tar.gz
1592N/A- make zlib warning-free with "gcc -O3 -Wall -Wwrite-strings -Wpointer-arith
1592N/A -Wconversion -Wstrict-prototypes -Wmissing-prototypes"
1592N/A- allow gzread on concatenated .gz files
1592N/A- deflateEnd now returns Z_DATA_ERROR if it was premature
1592N/A- deflate is finally (?) fully deterministic (no matches beyond end of input)
1592N/A- Document Z_SYNC_FLUSH
1592N/A- add uninstall in Makefile
1592N/A- Check for __cpluplus in zlib.h
1592N/A- Better test in ct_align for partial flush
1592N/A- avoid harmless warnings for Borland C++
1592N/A- initialize hash_head in deflate.c
1592N/A- avoid warning on fdopen (gzio.c) for HP cc -Aa
1592N/A- include stdlib.h for STDC compilers
1592N/A- include errno.h for Cray
1592N/A- ignore error if ranlib doesn't exist
1592N/A- call ranlib twice for NeXTSTEP
1592N/A- use exec_prefix instead of prefix for libz.a
1592N/A- renamed ct_* as _tr_* to avoid conflict with applications
1592N/A- clear z->msg in inflateInit2 before any error return
1592N/A- initialize opaque in example.c, gzio.c, deflate.c and inflate.c
1592N/A- fixed typo in zconf.h (_GNUC__ => __GNUC__)
1592N/A- check for WIN32 in zconf.h and zutil.c (avoid farmalloc in 32-bit mode)
1592N/A- fix typo in Make_vms.com (f$trnlnm -> f$getsyi)
1592N/A- in fcalloc, normalize pointer if size > 65520 bytes
1592N/A- don't use special fcalloc for 32 bit Borland C++
1592N/A- use STDC instead of __GO32__ to avoid redeclaring exit, calloc, etc...
1592N/A- use Z_BINARY instead of BINARY
1592N/A- document that gzclose after gzdopen will close the file
1592N/A- allow "a" as mode in gzopen.
1592N/A- fix error checking in gzread
1592N/A- allow skipping .gz extra-field on pipes
1592N/A- added reference to Perl interface in README
1592N/A- put the crc table in FAR data (I dislike more and more the medium model :)
1592N/A- added get_crc_table
1592N/A- added a dimension to all arrays (Borland C can't count).
1592N/A- workaround Borland C bug in declaration of inflate_codes_new & inflate_fast
1592N/A- guard against multiple inclusion of *.h (for precompiled header on Mac)
1592N/A- Watcom C pretends to be Microsoft C small model even in 32 bit mode.
1592N/A- don't use unsized arrays to avoid silly warnings by Visual C++:
1592N/A warning C4746: 'inflate_mask' : unsized array treated as '__far'
1592N/A (what's wrong with far data in far model?).
1592N/A- define enum out of inflate_blocks_state to allow compilation with C++
1592N/A
1592N/AChanges in 0.95 (16 Aug 95)
1592N/A- fix MSDOS small and medium model (now easier to adapt to any compiler)
1592N/A- inlined send_bits
1592N/A- fix the final (:-) bug for deflate with flush (output was correct but
1592N/A not completely flushed in rare occasions).
1592N/A- default window size is same for compression and decompression
1592N/A (it's now sufficient to set MAX_WBITS in zconf.h).
1592N/A- voidp -> voidpf and voidnp -> voidp (for consistency with other
1592N/A typedefs and because voidnp was not near in large model).
1592N/A
1592N/AChanges in 0.94 (13 Aug 95)
1592N/A- support MSDOS medium model
1592N/A- fix deflate with flush (could sometimes generate bad output)
1592N/A- fix deflateReset (zlib header was incorrectly suppressed)
1592N/A- added support for VMS
1592N/A- allow a compression level in gzopen()
1592N/A- gzflush now calls fflush
1592N/A- For deflate with flush, flush even if no more input is provided.
1592N/A- rename libgz.a as libz.a
1592N/A- avoid complex expression in infcodes.c triggering Turbo C bug
1592N/A- work around a problem with gcc on Alpha (in INSERT_STRING)
1592N/A- don't use inline functions (problem with some gcc versions)
1592N/A- allow renaming of Byte, uInt, etc... with #define.
1592N/A- avoid warning about (unused) pointer before start of array in deflate.c
1592N/A- avoid various warnings in gzio.c, example.c, infblock.c, adler32.c, zutil.c
1592N/A- avoid reserved word 'new' in trees.c
1592N/A
1592N/AChanges in 0.93 (25 June 95)
1592N/A- temporarily disable inline functions
1592N/A- make deflate deterministic
1592N/A- give enough lookahead for PARTIAL_FLUSH
1592N/A- Set binary mode for stdin/stdout in minigzip.c for OS/2
1592N/A- don't even use signed char in inflate (not portable enough)
1592N/A- fix inflate memory leak for segmented architectures
1592N/A
1592N/AChanges in 0.92 (3 May 95)
1592N/A- don't assume that char is signed (problem on SGI)
1592N/A- Clear bit buffer when starting a stored block
1592N/A- no memcpy on Pyramid
1592N/A- suppressed inftest.c
1592N/A- optimized fill_window, put longest_match inline for gcc
1592N/A- optimized inflate on stored blocks.
1592N/A- untabify all sources to simplify patches
1592N/A
1592N/AChanges in 0.91 (2 May 95)
1592N/A- Default MEM_LEVEL is 8 (not 9 for Unix) as documented in zlib.h
1592N/A- Document the memory requirements in zconf.h
1592N/A- added "make install"
1592N/A- fix sync search logic in inflateSync
1592N/A- deflate(Z_FULL_FLUSH) now works even if output buffer too short
1592N/A- after inflateSync, don't scare people with just "lo world"
1592N/A- added support for DJGPP
1592N/A
1592N/AChanges in 0.9 (1 May 95)
1592N/A- don't assume that zalloc clears the allocated memory (the TurboC bug
1592N/A was Mark's bug after all :)
1592N/A- let again gzread copy uncompressed data unchanged (was working in 0.71)
1592N/A- deflate(Z_FULL_FLUSH), inflateReset and inflateSync are now fully implemented
1592N/A- added a test of inflateSync in example.c
1592N/A- moved MAX_WBITS to zconf.h because users might want to change that.
1592N/A- document explicitly that zalloc(64K) on MSDOS must return a normalized
1592N/A pointer (zero offset)
1592N/A- added Makefiles for Microsoft C, Turbo C, Borland C++
1592N/A- faster crc32()
1592N/A
1592N/AChanges in 0.8 (29 April 95)
1592N/A- added fast inflate (inffast.c)
1592N/A- deflate(Z_FINISH) now returns Z_STREAM_END when done. Warning: this
1592N/A is incompatible with previous versions of zlib which returned Z_OK.
1592N/A- work around a TurboC compiler bug (bad code for b << 0, see infutil.h)
1592N/A (actually that was not a compiler bug, see 0.81 above)
1592N/A- gzread no longer reads one extra byte in certain cases
1592N/A- In gzio destroy(), don't reference a freed structure
1592N/A- avoid many warnings for MSDOS
1592N/A- avoid the ERROR symbol which is used by MS Windows
1592N/A
1592N/AChanges in 0.71 (14 April 95)
1592N/A- Fixed more MSDOS compilation problems :( There is still a bug with
1592N/A TurboC large model.
1592N/A
1592N/AChanges in 0.7 (14 April 95)
1592N/A- Added full inflate support.
1592N/A- Simplified the crc32() interface. The pre- and post-conditioning
1592N/A (one's complement) is now done inside crc32(). WARNING: this is
1592N/A incompatible with previous versions; see zlib.h for the new usage.
1592N/A
1592N/AChanges in 0.61 (12 April 95)
1592N/A- workaround for a bug in TurboC. example and minigzip now work on MSDOS.
1592N/A
1592N/AChanges in 0.6 (11 April 95)
1592N/A- added minigzip.c
1592N/A- added gzdopen to reopen a file descriptor as gzFile
1592N/A- added transparent reading of non-gziped files in gzread.
1592N/A- fixed bug in gzread (don't read crc as data)
1592N/A- fixed bug in destroy (gzio.c) (don't return Z_STREAM_END for gzclose).
1592N/A- don't allocate big arrays in the stack (for MSDOS)
1592N/A- fix some MSDOS compilation problems
1592N/A
1592N/AChanges in 0.5:
1592N/A- do real compression in deflate.c. Z_PARTIAL_FLUSH is supported but
1592N/A not yet Z_FULL_FLUSH.
1592N/A- support decompression but only in a single step (forced Z_FINISH)
1592N/A- added opaque object for zalloc and zfree.
1592N/A- added deflateReset and inflateReset
1592N/A- added a variable zlib_version for consistency checking.
1592N/A- renamed the 'filter' parameter of deflateInit2 as 'strategy'.
1592N/A Added Z_FILTERED and Z_HUFFMAN_ONLY constants.
1592N/A
1592N/AChanges in 0.4:
1592N/A- avoid "zip" everywhere, use zlib instead of ziplib.
1592N/A- suppress Z_BLOCK_FLUSH, interpret Z_PARTIAL_FLUSH as block flush
1592N/A if compression method == 8.
1592N/A- added adler32 and crc32
1592N/A- renamed deflateOptions as deflateInit2, call one or the other but not both
1592N/A- added the method parameter for deflateInit2.
1592N/A- added inflateInit2
1592N/A- simplied considerably deflateInit and inflateInit by not supporting
1592N/A user-provided history buffer. This is supported only in deflateInit2
1592N/A and inflateInit2.
1592N/A
1592N/AChanges in 0.3:
1592N/A- prefix all macro names with Z_
1592N/A- use Z_FINISH instead of deflateEnd to finish compression.
1592N/A- added Z_HUFFMAN_ONLY
1592N/A- added gzerror()