ChangeLog revision 3f54fd611f536639ec30dd53c48e5ec1897cc7d9
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt ChangeLog file for zlib
b66b333f59cf51ef87f973084a5023acd9317fb2Evan HuntChanges in 1.2.3 (18 July 2005)
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User- Apply security vulnerability fixes to contrib/infback9 as well
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User- Clean up some text files (carriage returns, trailing space)
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User- Update testzlib, vstudio, masmx64, and masmx86 in contrib [Vollant]
d6fa26d0adaec6c910115be34fe7a5a5f402c14fMark AndrewsChanges in 1.2.2.4 (11 July 2005)
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Add inflatePrime() function for starting inflation at bit boundary
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Avoid some Visual C warnings in deflate.c
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Avoid more silly Visual C warnings in inflate.c and inftrees.c for 64-bit
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt- Fix some spelling errors in comments [Betts]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Correct inflateInit2() error return documentation in zlib.h
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Added zran.c example of compressed data random access to examples
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt directory, shows use of inflatePrime()
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Fix cast for assignments to strm->state in inflate.c and infback.c
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Fix zlibCompileFlags() in zutil.c to use 1L for long shifts [Oberhumer]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Move declarations of gf2 functions to right place in crc32.c [Oberhumer]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Add cast in trees.c t avoid a warning [Oberhumer]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Avoid some warnings in fitblk.c, gun.c, gzjoin.c in examples [Oberhumer]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Update make_vms.com [Zinser]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Initialize state->write in inflateReset() since copied in inflate_fast()
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Be more strict on incomplete code sets in inflate_table() and increase
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt ENOUGH and MAXD -- this repairs a possible security vulnerability for
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt invalid inflate input. Thanks to Tavis Ormandy and Markus Oberhumer for
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt discovering the vulnerability and providing test cases.
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Add ia64 support to configure for HP-UX [Smith]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Add error return to gzread() for format or i/o error [Levin]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Use malloc.h for OS/2 [Necasek]
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserChanges in 1.2.2.3 (27 May 2005)
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Replace 1U constants in inflate.c and inftrees.c for 64-bit compile
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User- Typecast fread() return values in gzio.c [Vollant]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Remove trailing space in minigzip.c outmode (VC++ can't deal with it)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User- Fix crc check bug in gzread() after gzungetc() [Heiner]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Add the deflateTune() function to adjust internal compression parameters
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User- Add a fast gzip decompressor, gun.c, to examples (use of inflateBack)
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Remove an incorrect assertion in examples/zpipe.c
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User- Add C++ wrapper in infback9.h [Donais]
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User- Fix bug in inflateCopy() when decoding fixed codes
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User- Note in zlib.h how much deflateSetDictionary() actually uses
7e71f05d8643aca84914437c900cb716444507e4Tinderbox User- Remove USE_DICT_HEAD in deflate.c (would mess up inflate if used)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User- Add _WIN32_WCE to define WIN32 in zconf.in.h [Spencer]
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt- Don't include stderr.h or errno.h for _WIN32_WCE in zutil.h [Spencer]
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt- Add gzdirect() function to indicate transparent reads
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Update contrib/minizip [Vollant]
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt- Fix compilation of deflate.c when both ASMV and FASTEST [Oberhumer]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Add casts in crc32.c to avoid warnings [Oberhumer]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Add contrib/masmx64 [Vollant]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Update contrib/asm586, asm686, masmx86, testzlib, vstudio [Vollant]
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserChanges in 1.2.2.2 (30 December 2004)
7e71f05d8643aca84914437c900cb716444507e4Tinderbox User- Replace structure assignments in deflate.c and inflate.c with zmemcpy to
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User avoid implicit memcpy calls (portability for no-library compilation)
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Increase sprintf() buffer size in gzdopen() to allow for large numbers
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User- Add INFLATE_STRICT to check distances against zlib header
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Improve WinCE errno handling and comments [Chang]
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User- Remove comment about no gzip header processing in FAQ
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Add Z_FIXED strategy option to deflateInit2() to force fixed trees
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User- Add updated make_vms.com [Coghlan], update README
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt- Create a new "examples" directory, move gzappend.c there, add zpipe.c,
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt fitblk.c, gzlog.[ch], gzjoin.c, and zlib_how.html.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt- Add FAQ entry and comments in deflate.c on uninitialized memory access
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User- Add Solaris 9 make options in configure [Gilbert]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Allow strerror() usage in gzio.c for STDC
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User- Fix DecompressBuf in contrib/delphi/ZLib.pas [ManChesTer]
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt- Update contrib/masmx86/inffas32.asm and gvmat32.asm [Vollant]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Use z_off_t for adler32_combine() and crc32_combine() lengths
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User- Make adler32() much faster for small len
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Use OS_CODE in deflate() default gzip header
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserChanges in 1.2.2.1 (31 October 2004)
7e71f05d8643aca84914437c900cb716444507e4Tinderbox User- Allow inflateSetDictionary() call for raw inflate
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User- Fix inflate header crc check bug for file names and comments
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User- Add deflateSetHeader() and gz_header structure for custom gzip headers
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User- Add inflateGetheader() to retrieve gzip headers
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Add crc32_combine() and adler32_combine() functions
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Add alloc_func, free_func, in_func, out_func to Z_PREFIX list
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User- Use zstreamp consistently in zlib.h (inflate_back functions)
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Remove GUNZIP condition from definition of inflate_mode in inflate.h
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt and in contrib/inflate86/inffast.S [Truta, Anderson]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Add support for AMD64 in contrib/inflate86/inffas86.c [Anderson]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Update projects/README.projects and projects/visualc6 [Truta]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Update win32/DLL_FAQ.txt [Truta]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Avoid warning under NO_GZCOMPRESS in gzio.c; fix typo [Truta]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Deprecate Z_ASCII; use Z_TEXT instead [Truta]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Use a new algorithm for setting strm->data_type in trees.c [Truta]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Do not define an exit() prototype in zutil.c unless DEBUG defined
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Remove prototype of exit() from zutil.c, example.c, minigzip.c [Truta]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Add comment in zlib.h for Z_NO_FLUSH parameter to deflate()
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Fix Darwin build version identification [Peterson]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan HuntChanges in 1.2.2 (3 October 2004)
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Update zlib.h comments on gzip in-memory processing
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Set adler to 1 in inflateReset() to support Java test suite [Walles]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Update win32/DLL_FAQ.txt [Truta]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Update contrib/minizip [Vollant]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt- Move contrib/visual-basic.txt to old/ [Truta]
c2258eedf2d9d0207b45b90014f8fde5413b41a3Tinderbox User- Fix assembler builds in projects/visualc6/ [Truta]
b66b333f59cf51ef87f973084a5023acd9317fb2Evan HuntChanges in 1.2.1.2 (9 September 2004)
- Fix trees.c to update strm->data_type (no one ever noticed!)
- Add NO_vsnprintf for VMS in zutil.h [Mozilla]
- Update contrib/ada [Anisimkov]
- Update contrib/minizip [Vollant]
- Fix gzio.c to not return error on empty files [Brown]
- Fix indentation; update version in contrib/delphi/ZLib.pas and
contrib/pascal/zlibpas.pas [Truta]
- Update contrib/untgz [Truta]
- Add projects/README.projects [Truta]
- Add project for MS Visual C++ 6.0 in projects/visualc6 [Cadieux, Truta]
- Update win32/DLL_FAQ.txt [Truta]
- Update list of Z_PREFIX symbols in zconf.h [Randers-Pehrson, Truta]
- Remove an unnecessary assignment to curr in inftrees.c [Truta]
- Remove err dummy parameter in zlib.h [Kientzle]
- Fix a big fat bug in inftrees.c that prevented decoding valid
- Add a note to puff.c on no distance codes case.
- Remove a tab in contrib/gzappend/gzappend.c
- Add Windows CE definition for ptrdiff_t in zutil.h [Mai, Truta]
- Fix error in NO_DIVIDE option of adler32.c
- Add experimental NO_DIVIDE #define in adler32.c
- Add contrib/gzappend for an example of appending to a stream
- Update win32/DLL_FAQ.txt [Truta]
- Improve some indentation in zconf.h [Truta]
- Add example to contrib/visual-basic.txt [Michael B.]
- Add -p to mkdir's in Makefile.in [vda]
- Correct some debug formats in contrib/infback9
- Cast a type in a debug statement in trees.c
- Update contrib/untgz to 0.2 with various fixes [Truta]
- Add dylib building for Mac OS X in configure and Makefile.in
- Update README to point to DLL_FAQ.txt, and add comment on Mac OS X
- Update contrib/minizip to 1.00 [Vollant]
- Remove test of gz functions in example.c when GZ_COMPRESS defined [Truta]
- Add contrib/infback9 with deflate64 decoding (unsupported)
- Add OF to inflateBackEnd() declaration in zlib.h
- Perform more rigorous check for distance-too-far in inffast.c
- Replace size_t with ptrdiff_t in crc32.c, and check for correct size
- Export symbols by name, not by ordinal, in win32/zlib.def [Truta]
- Add contrib/ada [Anisimkov]
- Add contrib/masm686 [Truta]
- Fix the ZCR_SEED2 constant to avoid warnings in contrib/minizip
- Avoid the use of backslash (\) in contrib/minizip [Vollant]
- Fix file time handling in contrib/untgz; update makefiles [Truta]
- Update contrib/vstudio/vc70_32 to comply with the new DLL guidelines
- Remove contrib/vstudio/vc15_16 [Vollant]
- Update README.contrib [Truta]
- Fix prototype of syncsearch in inflate.c [Truta]
- Modify test_gzio in example.c to take a single file name as a
- Exit the example.c program if gzopen fails [Truta]
- Add type casts around strlen in example.c [Truta]
- Remove casting to sizeof in minigzip.c; give a proper type
- Update definitions of STDC and STDC99 in zconf.h [Truta]
- Synchronize zconf.h with the new Windows DLL interface [Truta]
- Fix printf format in example.c
- Correct cdecl support in zconf.in.h [Anisimkov]
- Add ZLIB_VERNUM in zlib.h for numerical preprocessor comparisons
- Attempt to avoid warnings in crc32.c for pointer-int conversion
- Add some casts to minigzip.c
- Remove #elif's from crc32.c
- More typecasting in deflate.c to avoid warnings
- Remove #define ZLIB_DLL in zconf.h [Vollant]
- Add zlib_dll_FAQ.txt to contrib [Truta]
- Remove vestigial NEED_DUMMY_RETURN from zconf.in.h
- Incorporate changes to zconf.in.h [Vollant]
- Add some casts in inffast.c
- Enchance comments in zlib.h on what happens if gzprintf() tries to
- Add "check" target to Makefile.in that does the same thing as "test"
- Add "mostlyclean" and "maintainer-clean" targets to Makefile.in
- Update contrib/inflate86 [Anderson]
externally generated deflate streams (e.g. in gzip files)
- Check for some malloc() failures in gzio.c
- Free memory at end of example.c
- Remove MAX #define in trees.c (conflicted with some libraries)
- Declare malloc() and free() in gzio.c if STDC not defined
- Use malloc() instead of calloc() in zutil.c if int big enough
- Correct Macintosh avoidance of typedef Byte in zconf.h
- Use libz.a instead of -lz in Makefile (assure use of compiled library)
is lost when library is used--resolution is to build new zconf.h
- Documentation improvements (in zlib.h):
- Add contrib/inflate86/ for x86 faster inflate
- Add contrib/blast/ for PKWare Data Compression Library decompression
- Add contrib/puff/ simple inflate for deflate format description
- add support for Delphi 3 in contrib/delphi (Bob Dellaca)
- add support for C++Builder 3 and Delphi 3 in contrib/delphi2 (Davide Moretti)
- fix a problem in contrib/minizip/zip.c for 16-bit MSDOS (Gilles Vollant)
- emulate utime() for WIN32 in contrib/untgz (Gilles Vollant)
- use libdir and includedir in Makefile.in (Tim Mooney)
- fix maketree.c compilation error (Glenn, Mark)
- new Makefile.riscos (Rich Walker)
- initialize static descriptors in trees.c for embedded targets (Nick Smith)
- use "foo-gz" in example.c for RISCOS and VMS (Nick Smith)
- add the OS/2 files in Makefile.in too (Andrew Zabolotny)
- cleanup trees.c, use compressed_len only in debug mode (Christian Spieler)
. Make_vms.com: fixed some typos
. msdos/Makefile.msc: remove "default rtl link library" info from obj files
. msdos/Makefile.*: use model-dependent name for the built zlib library
new makefiles, for emx (DOS/OS2), emx&rsxnt and mingw32 (Windows 9x / NT)
- use define instead of typedef for Bytef also for MSC small/medium (Tom Lane)
- fix test for errno.h in configure (Tim Newsham)
- added contrib/minzip, mini zip and unzip based on zlib (Gilles Vollant)
- added amiga/Makefile.pup for Amiga powerUP SAS/C PPC (Andreas Kleinert)
- fix macros _tr_tally_* in deflate.h for debug mode (Glenn Randers-Pehrson)
- added msdos/Makefile.w32 for WIN32 Microsoft Visual C++ (Bob Frazier)
- new asm code from Gilles Vollant in contrib/asm386
- in inftrees.c, avoid cc -O bug on HP (Farshid Elahi)
- in zconf.h move the ZLIB_DLL stuff earlier to avoid problems with
- install libz.so* with mode 755 (executable) instead of 644 (Marc Lehmann)
- do not redeclare unlink in minigzip.c for WIN32 (John Bowler)
- fixed offsets in contrib/asm386/gvmat32.asm (Gilles Vollant)
- include sys/types.h to get off_t on some systems (Marc Lehmann & QingLong)
- use constant arrays for the static trees in trees.c instead of computing
trees.h, compile with GEN_TREES_H and run "make test".
- add checks for gzputc and gzputc in example.c
- use Tracev instead of Trace in infblock.c
- in example.c use correct compressed length for test_sync
- for contrib/untgz, fix makedir() and improve Makefile
- check gzseek in write mode in example.c
- avoid signed/unsigned comparisons (Tim Wegner, Gilles Vollant)
- add inflateSyncPoint in zconf.h
- added Makefile.nt (thanks to Stephen Williams)
contrib/asm386/ by Gilles Vollant <info@winimage.com>
contrib/iostream/ by Kevin Ruland <kevin@rodin.wustl.edu>
contrib/iostream2/ by Tyge L�vset <Tyge.Lovset@cmr.no>
contrib/untgz/ by "Pedro A. Aranda Guti\irrez" <paag@tid.es>
A very simple tar.gz file extractor using zlib
contrib/visual-basic.txt by Carlos Rios <c_rios@sonda.cl>
- added test for gzseek and gztell in example.c
- create also a link for libz.so.1
- added support for FUJITSU UXP/DS (thanks to Toshiaki Nomura)
- assign numbers to the exported functions in zlib.def (for Windows DLL)
- add advice in zlib.h for best usage of deflateSetDictionary
- in minigzip.c, use static buffers only for 16-bit systems
- fix suffix check for "minigzip -d foo.gz"
- added makelcc.bat for lcc-win32 (Tom St Denis)
- in Makefile.dj2, use copy and del instead of install and rm (Frank Donahoe)
- check for unistd.h in configure (for off_t)
- rename FOPEN as F_OPEN to avoid clash with /usr/include/sys/file.h
- use NO_ERRNO_H instead of enumeration of operating systems with errno.h
- work around buggy fclose on pipes for HP/UX
- fixed declarations using Bytef in infutil.c (pb with MSDOS medium model)
- avoid reading uninitialized memory in example.c
- updated Makefile.dj2
- added algorithm.doc
- fix array overlay in deflate.c which sometimes caused bad compressed data
- static_init_done in trees.c is an int
- add deflateParams in zlib.h: allow dynamic change of compression level
- test large buffers and deflateParams in example.c
- suppress Makefile.qnx, use configure instead
- declare Z_DEFLATED in zlib.h (possible parameter for deflateInit2)
- make falloc completely reentrant (inftrees.c)
- use zlib-1.0/* instead of zlib/* inside the tar.gz
- Check for __cpluplus in zlib.h
- initialize hash_head in deflate.c
- avoid warning on fdopen (gzio.c) for HP cc -Aa
- include stdlib.h for STDC compilers
- include errno.h for Cray
- use exec_prefix instead of prefix for libz.a
- fixed typo in zconf.h (_GNUC__ => __GNUC__)
- fix typo in Make_vms.com (f$trnlnm -> f$getsyi)
(it's now sufficient to set MAX_WBITS in zconf.h).
- avoid complex expression in infcodes.c triggering Turbo C bug
- avoid warning about (unused) pointer before start of array in deflate.c
- avoid reserved word 'new' in trees.c
- suppressed inftest.c
- Default MEM_LEVEL is 8 (not 9 for Unix) as documented in zlib.h
- Document the memory requirements in zconf.h
- added a test of inflateSync in example.c
- moved MAX_WBITS to zconf.h because users might want to change that.
- added fast inflate (inffast.c)
- work around a TurboC compiler bug (bad code for b << 0, see infutil.h)
incompatible with previous versions; see zlib.h for the new usage.
- added minigzip.c
- fixed bug in destroy (gzio.c) (don't return Z_STREAM_END for gzclose).
- do real compression in deflate.c. Z_PARTIAL_FLUSH is supported but