ChangeLog revision 1.1
11.1Schristos 21.1Schristos ChangeLog file for zlib 31.1Schristos 41.1SchristosChanges in 1.2.3 (18 July 2005) 51.1Schristos- Apply security vulnerability fixes to contrib/infback9 as well 61.1Schristos- Clean up some text files (carriage returns, trailing space) 71.1Schristos- Update testzlib, vstudio, masmx64, and masmx86 in contrib [Vollant] 81.1Schristos 91.1SchristosChanges in 1.2.2.4 (11 July 2005) 101.1Schristos- Add inflatePrime() function for starting inflation at bit boundary 111.1Schristos- Avoid some Visual C warnings in deflate.c 121.1Schristos- Avoid more silly Visual C warnings in inflate.c and inftrees.c for 64-bit 131.1Schristos compile 141.1Schristos- Fix some spelling errors in comments [Betts] 151.1Schristos- Correct inflateInit2() error return documentation in zlib.h 161.1Schristos- Added zran.c example of compressed data random access to examples 171.1Schristos directory, shows use of inflatePrime() 181.1Schristos- Fix cast for assignments to strm->state in inflate.c and infback.c 191.1Schristos- Fix zlibCompileFlags() in zutil.c to use 1L for long shifts [Oberhumer] 201.1Schristos- Move declarations of gf2 functions to right place in crc32.c [Oberhumer] 211.1Schristos- Add cast in trees.c t avoid a warning [Oberhumer] 221.1Schristos- Avoid some warnings in fitblk.c, gun.c, gzjoin.c in examples [Oberhumer] 231.1Schristos- Update make_vms.com [Zinser] 241.1Schristos- Initialize state->write in inflateReset() since copied in inflate_fast() 251.1Schristos- Be more strict on incomplete code sets in inflate_table() and increase 261.1Schristos ENOUGH and MAXD -- this repairs a possible security vulnerability for 271.1Schristos invalid inflate input. Thanks to Tavis Ormandy and Markus Oberhumer for 281.1Schristos discovering the vulnerability and providing test cases. 291.1Schristos- Add ia64 support to configure for HP-UX [Smith] 301.1Schristos- Add error return to gzread() for format or i/o error [Levin] 311.1Schristos- Use malloc.h for OS/2 [Necasek] 321.1Schristos 331.1SchristosChanges in 1.2.2.3 (27 May 2005) 341.1Schristos- Replace 1U constants in inflate.c and inftrees.c for 64-bit compile 351.1Schristos- Typecast fread() return values in gzio.c [Vollant] 361.1Schristos- Remove trailing space in minigzip.c outmode (VC++ can't deal with it) 371.1Schristos- Fix crc check bug in gzread() after gzungetc() [Heiner] 381.1Schristos- Add the deflateTune() function to adjust internal compression parameters 391.1Schristos- Add a fast gzip decompressor, gun.c, to examples (use of inflateBack) 401.1Schristos- Remove an incorrect assertion in examples/zpipe.c 411.1Schristos- Add C++ wrapper in infback9.h [Donais] 421.1Schristos- Fix bug in inflateCopy() when decoding fixed codes 431.1Schristos- Note in zlib.h how much deflateSetDictionary() actually uses 441.1Schristos- Remove USE_DICT_HEAD in deflate.c (would mess up inflate if used) 451.1Schristos- Add _WIN32_WCE to define WIN32 in zconf.in.h [Spencer] 461.1Schristos- Don't include stderr.h or errno.h for _WIN32_WCE in zutil.h [Spencer] 471.1Schristos- Add gzdirect() function to indicate transparent reads 481.1Schristos- Update contrib/minizip [Vollant] 491.1Schristos- Fix compilation of deflate.c when both ASMV and FASTEST [Oberhumer] 501.1Schristos- Add casts in crc32.c to avoid warnings [Oberhumer] 511.1Schristos- Add contrib/masmx64 [Vollant] 521.1Schristos- Update contrib/asm586, asm686, masmx86, testzlib, vstudio [Vollant] 531.1Schristos 541.1SchristosChanges in 1.2.2.2 (30 December 2004) 551.1Schristos- Replace structure assignments in deflate.c and inflate.c with zmemcpy to 561.1Schristos avoid implicit memcpy calls (portability for no-library compilation) 571.1Schristos- Increase sprintf() buffer size in gzdopen() to allow for large numbers 581.1Schristos- Add INFLATE_STRICT to check distances against zlib header 591.1Schristos- Improve WinCE errno handling and comments [Chang] 601.1Schristos- Remove comment about no gzip header processing in FAQ 611.1Schristos- Add Z_FIXED strategy option to deflateInit2() to force fixed trees 621.1Schristos- Add updated make_vms.com [Coghlan], update README 631.1Schristos- Create a new "examples" directory, move gzappend.c there, add zpipe.c, 641.1Schristos fitblk.c, gzlog.[ch], gzjoin.c, and zlib_how.html. 651.1Schristos- Add FAQ entry and comments in deflate.c on uninitialized memory access 661.1Schristos- Add Solaris 9 make options in configure [Gilbert] 671.1Schristos- Allow strerror() usage in gzio.c for STDC 681.1Schristos- Fix DecompressBuf in contrib/delphi/ZLib.pas [ManChesTer] 691.1Schristos- Update contrib/masmx86/inffas32.asm and gvmat32.asm [Vollant] 701.1Schristos- Use z_off_t for adler32_combine() and crc32_combine() lengths 711.1Schristos- Make adler32() much faster for small len 721.1Schristos- Use OS_CODE in deflate() default gzip header 731.1Schristos 741.1SchristosChanges in 1.2.2.1 (31 October 2004) 751.1Schristos- Allow inflateSetDictionary() call for raw inflate 761.1Schristos- Fix inflate header crc check bug for file names and comments 771.1Schristos- Add deflateSetHeader() and gz_header structure for custom gzip headers 781.1Schristos- Add inflateGetheader() to retrieve gzip headers 791.1Schristos- Add crc32_combine() and adler32_combine() functions 801.1Schristos- Add alloc_func, free_func, in_func, out_func to Z_PREFIX list 811.1Schristos- Use zstreamp consistently in zlib.h (inflate_back functions) 821.1Schristos- Remove GUNZIP condition from definition of inflate_mode in inflate.h 831.1Schristos and in contrib/inflate86/inffast.S [Truta, Anderson] 841.1Schristos- Add support for AMD64 in contrib/inflate86/inffas86.c [Anderson] 851.1Schristos- Update projects/README.projects and projects/visualc6 [Truta] 861.1Schristos- Update win32/DLL_FAQ.txt [Truta] 871.1Schristos- Avoid warning under NO_GZCOMPRESS in gzio.c; fix typo [Truta] 881.1Schristos- Deprecate Z_ASCII; use Z_TEXT instead [Truta] 891.1Schristos- Use a new algorithm for setting strm->data_type in trees.c [Truta] 901.1Schristos- Do not define an exit() prototype in zutil.c unless DEBUG defined 911.1Schristos- Remove prototype of exit() from zutil.c, example.c, minigzip.c [Truta] 921.1Schristos- Add comment in zlib.h for Z_NO_FLUSH parameter to deflate() 931.1Schristos- Fix Darwin build version identification [Peterson] 941.1Schristos 951.1SchristosChanges in 1.2.2 (3 October 2004) 961.1Schristos- Update zlib.h comments on gzip in-memory processing 971.1Schristos- Set adler to 1 in inflateReset() to support Java test suite [Walles] 981.1Schristos- Add contrib/dotzlib [Ravn] 991.1Schristos- Update win32/DLL_FAQ.txt [Truta] 1001.1Schristos- Update contrib/minizip [Vollant] 1011.1Schristos- Move contrib/visual-basic.txt to old/ [Truta] 1021.1Schristos- Fix assembler builds in projects/visualc6/ [Truta] 1031.1Schristos 1041.1SchristosChanges in 1.2.1.2 (9 September 2004) 1051.1Schristos- Update INDEX file 1061.1Schristos- Fix trees.c to update strm->data_type (no one ever noticed!) 1071.1Schristos- Fix bug in error case in inflate.c, infback.c, and infback9.c [Brown] 1081.1Schristos- Add "volatile" to crc table flag declaration (for DYNAMIC_CRC_TABLE) 1091.1Schristos- Add limited multitasking protection to DYNAMIC_CRC_TABLE 1101.1Schristos- Add NO_vsnprintf for VMS in zutil.h [Mozilla] 1111.1Schristos- Don't declare strerror() under VMS [Mozilla] 1121.1Schristos- Add comment to DYNAMIC_CRC_TABLE to use get_crc_table() to initialize 1131.1Schristos- Update contrib/ada [Anisimkov] 1141.1Schristos- Update contrib/minizip [Vollant] 1151.1Schristos- Fix configure to not hardcode directories for Darwin [Peterson] 1161.1Schristos- Fix gzio.c to not return error on empty files [Brown] 1171.1Schristos- Fix indentation; update version in contrib/delphi/ZLib.pas and 1181.1Schristos contrib/pascal/zlibpas.pas [Truta] 1191.1Schristos- Update mkasm.bat in contrib/masmx86 [Truta] 1201.1Schristos- Update contrib/untgz [Truta] 1211.1Schristos- Add projects/README.projects [Truta] 1221.1Schristos- Add project for MS Visual C++ 6.0 in projects/visualc6 [Cadieux, Truta] 1231.1Schristos- Update win32/DLL_FAQ.txt [Truta] 1241.1Schristos- Update list of Z_PREFIX symbols in zconf.h [Randers-Pehrson, Truta] 1251.1Schristos- Remove an unnecessary assignment to curr in inftrees.c [Truta] 1261.1Schristos- Add OS/2 to exe builds in configure [Poltorak] 1271.1Schristos- Remove err dummy parameter in zlib.h [Kientzle] 1281.1Schristos 1291.1SchristosChanges in 1.2.1.1 (9 January 2004) 1301.1Schristos- Update email address in README 1311.1Schristos- Several FAQ updates 1321.1Schristos- Fix a big fat bug in inftrees.c that prevented decoding valid 1331.1Schristos dynamic blocks with only literals and no distance codes -- 1341.1Schristos Thanks to "Hot Emu" for the bug report and sample file 1351.1Schristos- Add a note to puff.c on no distance codes case. 1361.1Schristos 1371.1SchristosChanges in 1.2.1 (17 November 2003) 1381.1Schristos- Remove a tab in contrib/gzappend/gzappend.c 1391.1Schristos- Update some interfaces in contrib for new zlib functions 1401.1Schristos- Update zlib version number in some contrib entries 1411.1Schristos- Add Windows CE definition for ptrdiff_t in zutil.h [Mai, Truta] 1421.1Schristos- Support shared libraries on Hurd and KFreeBSD [Brown] 1431.1Schristos- Fix error in NO_DIVIDE option of adler32.c 1441.1Schristos 1451.1SchristosChanges in 1.2.0.8 (4 November 2003) 1461.1Schristos- Update version in contrib/delphi/ZLib.pas and contrib/pascal/zlibpas.pas 1471.1Schristos- Add experimental NO_DIVIDE #define in adler32.c 1481.1Schristos - Possibly faster on some processors (let me know if it is) 1491.1Schristos- Correct Z_BLOCK to not return on first inflate call if no wrap 1501.1Schristos- Fix strm->data_type on inflate() return to correctly indicate EOB 1511.1Schristos- Add deflatePrime() function for appending in the middle of a byte 1521.1Schristos- Add contrib/gzappend for an example of appending to a stream 1531.1Schristos- Update win32/DLL_FAQ.txt [Truta] 1541.1Schristos- Delete Turbo C comment in README [Truta] 1551.1Schristos- Improve some indentation in zconf.h [Truta] 1561.1Schristos- Fix infinite loop on bad input in configure script [Church] 1571.1Schristos- Fix gzeof() for concatenated gzip files [Johnson] 1581.1Schristos- Add example to contrib/visual-basic.txt [Michael B.] 1591.1Schristos- Add -p to mkdir's in Makefile.in [vda] 1601.1Schristos- Fix configure to properly detect presence or lack of printf functions 1611.1Schristos- Add AS400 support [Monnerat] 1621.1Schristos- Add a little Cygwin support [Wilson] 1631.1Schristos 1641.1SchristosChanges in 1.2.0.7 (21 September 2003) 1651.1Schristos- Correct some debug formats in contrib/infback9 1661.1Schristos- Cast a type in a debug statement in trees.c 1671.1Schristos- Change search and replace delimiter in configure from % to # [Beebe] 1681.1Schristos- Update contrib/untgz to 0.2 with various fixes [Truta] 1691.1Schristos- Add build support for Amiga [Nikl] 1701.1Schristos- Remove some directories in old that have been updated to 1.2 1711.1Schristos- Add dylib building for Mac OS X in configure and Makefile.in 1721.1Schristos- Remove old distribution stuff from Makefile 1731.1Schristos- Update README to point to DLL_FAQ.txt, and add comment on Mac OS X 1741.1Schristos- Update links in README 1751.1Schristos 1761.1SchristosChanges in 1.2.0.6 (13 September 2003) 1771.1Schristos- Minor FAQ updates 1781.1Schristos- Update contrib/minizip to 1.00 [Vollant] 1791.1Schristos- Remove test of gz functions in example.c when GZ_COMPRESS defined [Truta] 1801.1Schristos- Update POSTINC comment for 68060 [Nikl] 1811.1Schristos- Add contrib/infback9 with deflate64 decoding (unsupported) 1821.1Schristos- For MVS define NO_vsnprintf and undefine FAR [van Burik] 1831.1Schristos- Add pragma for fdopen on MVS [van Burik] 1841.1Schristos 1851.1SchristosChanges in 1.2.0.5 (8 September 2003) 1861.1Schristos- Add OF to inflateBackEnd() declaration in zlib.h 1871.1Schristos- Remember start when using gzdopen in the middle of a file 1881.1Schristos- Use internal off_t counters in gz* functions to properly handle seeks 1891.1Schristos- Perform more rigorous check for distance-too-far in inffast.c 1901.1Schristos- Add Z_BLOCK flush option to return from inflate at block boundary 1911.1Schristos- Set strm->data_type on return from inflate 1921.1Schristos - Indicate bits unused, if at block boundary, and if in last block 1931.1Schristos- Replace size_t with ptrdiff_t in crc32.c, and check for correct size 1941.1Schristos- Add condition so old NO_DEFLATE define still works for compatibility 1951.1Schristos- FAQ update regarding the Windows DLL [Truta] 1961.1Schristos- INDEX update: add qnx entry, remove aix entry [Truta] 1971.1Schristos- Install zlib.3 into mandir [Wilson] 1981.1Schristos- Move contrib/zlib_dll_FAQ.txt to win32/DLL_FAQ.txt; update [Truta] 1991.1Schristos- Adapt the zlib interface to the new DLL convention guidelines [Truta] 2001.1Schristos- Introduce ZLIB_WINAPI macro to allow the export of functions using 2011.1Schristos the WINAPI calling convention, for Visual Basic [Vollant, Truta] 2021.1Schristos- Update msdos and win32 scripts and makefiles [Truta] 2031.1Schristos- Export symbols by name, not by ordinal, in win32/zlib.def [Truta] 2041.1Schristos- Add contrib/ada [Anisimkov] 2051.1Schristos- Move asm files from contrib/vstudio/vc70_32 to contrib/asm386 [Truta] 2061.1Schristos- Rename contrib/asm386 to contrib/masmx86 [Truta, Vollant] 2071.1Schristos- Add contrib/masm686 [Truta] 2081.1Schristos- Fix offsets in contrib/inflate86 and contrib/masmx86/inffas32.asm 2091.1Schristos [Truta, Vollant] 2101.1Schristos- Update contrib/delphi; rename to contrib/pascal; add example [Truta] 2111.1Schristos- Remove contrib/delphi2; add a new contrib/delphi [Truta] 2121.1Schristos- Avoid inclusion of the nonstandard <memory.h> in contrib/iostream, 2131.1Schristos and fix some method prototypes [Truta] 2141.1Schristos- Fix the ZCR_SEED2 constant to avoid warnings in contrib/minizip 2151.1Schristos [Truta] 2161.1Schristos- Avoid the use of backslash (\) in contrib/minizip [Vollant] 2171.1Schristos- Fix file time handling in contrib/untgz; update makefiles [Truta] 2181.1Schristos- Update contrib/vstudio/vc70_32 to comply with the new DLL guidelines 2191.1Schristos [Vollant] 2201.1Schristos- Remove contrib/vstudio/vc15_16 [Vollant] 2211.1Schristos- Rename contrib/vstudio/vc70_32 to contrib/vstudio/vc7 [Truta] 2221.1Schristos- Update README.contrib [Truta] 2231.1Schristos- Invert the assignment order of match_head and s->prev[...] in 2241.1Schristos INSERT_STRING [Truta] 2251.1Schristos- Compare TOO_FAR with 32767 instead of 32768, to avoid 16-bit warnings 2261.1Schristos [Truta] 2271.1Schristos- Compare function pointers with 0, not with NULL or Z_NULL [Truta] 2281.1Schristos- Fix prototype of syncsearch in inflate.c [Truta] 2291.1Schristos- Introduce ASMINF macro to be enabled when using an ASM implementation 2301.1Schristos of inflate_fast [Truta] 2311.1Schristos- Change NO_DEFLATE to NO_GZCOMPRESS [Truta] 2321.1Schristos- Modify test_gzio in example.c to take a single file name as a 2331.1Schristos parameter [Truta] 2341.1Schristos- Exit the example.c program if gzopen fails [Truta] 2351.1Schristos- Add type casts around strlen in example.c [Truta] 2361.1Schristos- Remove casting to sizeof in minigzip.c; give a proper type 2371.1Schristos to the variable compared with SUFFIX_LEN [Truta] 2381.1Schristos- Update definitions of STDC and STDC99 in zconf.h [Truta] 2391.1Schristos- Synchronize zconf.h with the new Windows DLL interface [Truta] 2401.1Schristos- Use SYS16BIT instead of __32BIT__ to distinguish between 2411.1Schristos 16- and 32-bit platforms [Truta] 2421.1Schristos- Use far memory allocators in small 16-bit memory models for 2431.1Schristos Turbo C [Truta] 2441.1Schristos- Add info about the use of ASMV, ASMINF and ZLIB_WINAPI in 2451.1Schristos zlibCompileFlags [Truta] 2461.1Schristos- Cygwin has vsnprintf [Wilson] 2471.1Schristos- In Windows16, OS_CODE is 0, as in MSDOS [Truta] 2481.1Schristos- In Cygwin, OS_CODE is 3 (Unix), not 11 (Windows32) [Wilson] 2491.1Schristos 2501.1SchristosChanges in 1.2.0.4 (10 August 2003) 2511.1Schristos- Minor FAQ updates 2521.1Schristos- Be more strict when checking inflateInit2's windowBits parameter 2531.1Schristos- Change NO_GUNZIP compile option to NO_GZIP to cover deflate as well 2541.1Schristos- Add gzip wrapper option to deflateInit2 using windowBits 2551.1Schristos- Add updated QNX rule in configure and qnx directory [Bonnefoy] 2561.1Schristos- Make inflate distance-too-far checks more rigorous 2571.1Schristos- Clean up FAR usage in inflate 2581.1Schristos- Add casting to sizeof() in gzio.c and minigzip.c 2591.1Schristos 2601.1SchristosChanges in 1.2.0.3 (19 July 2003) 2611.1Schristos- Fix silly error in gzungetc() implementation [Vollant] 2621.1Schristos- Update contrib/minizip and contrib/vstudio [Vollant] 2631.1Schristos- Fix printf format in example.c 2641.1Schristos- Correct cdecl support in zconf.in.h [Anisimkov] 2651.1Schristos- Minor FAQ updates 2661.1Schristos 2671.1SchristosChanges in 1.2.0.2 (13 July 2003) 2681.1Schristos- Add ZLIB_VERNUM in zlib.h for numerical preprocessor comparisons 2691.1Schristos- Attempt to avoid warnings in crc32.c for pointer-int conversion 2701.1Schristos- Add AIX to configure, remove aix directory [Bakker] 2711.1Schristos- Add some casts to minigzip.c 2721.1Schristos- Improve checking after insecure sprintf() or vsprintf() calls 2731.1Schristos- Remove #elif's from crc32.c 2741.1Schristos- Change leave label to inf_leave in inflate.c and infback.c to avoid 2751.1Schristos library conflicts 2761.1Schristos- Remove inflate gzip decoding by default--only enable gzip decoding by 2771.1Schristos special request for stricter backward compatibility 2781.1Schristos- Add zlibCompileFlags() function to return compilation information 2791.1Schristos- More typecasting in deflate.c to avoid warnings 2801.1Schristos- Remove leading underscore from _Capital #defines [Truta] 2811.1Schristos- Fix configure to link shared library when testing 2821.1Schristos- Add some Windows CE target adjustments [Mai] 2831.1Schristos- Remove #define ZLIB_DLL in zconf.h [Vollant] 2841.1Schristos- Add zlib.3 [Rodgers] 2851.1Schristos- Update RFC URL in deflate.c and algorithm.txt [Mai] 2861.1Schristos- Add zlib_dll_FAQ.txt to contrib [Truta] 2871.1Schristos- Add UL to some constants [Truta] 2881.1Schristos- Update minizip and vstudio [Vollant] 2891.1Schristos- Remove vestigial NEED_DUMMY_RETURN from zconf.in.h 2901.1Schristos- Expand use of NO_DUMMY_DECL to avoid all dummy structures 2911.1Schristos- Added iostream3 to contrib [Schwardt] 2921.1Schristos- Replace rewind() with fseek() for WinCE [Truta] 2931.1Schristos- Improve setting of zlib format compression level flags 2941.1Schristos - Report 0 for huffman and rle strategies and for level == 0 or 1 2951.1Schristos - Report 2 only for level == 6 2961.1Schristos- Only deal with 64K limit when necessary at compile time [Truta] 2971.1Schristos- Allow TOO_FAR check to be turned off at compile time [Truta] 2981.1Schristos- Add gzclearerr() function [Souza] 2991.1Schristos- Add gzungetc() function 3001.1Schristos 3011.1SchristosChanges in 1.2.0.1 (17 March 2003) 3021.1Schristos- Add Z_RLE strategy for run-length encoding [Truta] 3031.1Schristos - When Z_RLE requested, restrict matches to distance one 3041.1Schristos - Update zlib.h, minigzip.c, gzopen(), gzdopen() for Z_RLE 3051.1Schristos- Correct FASTEST compilation to allow level == 0 3061.1Schristos- Clean up what gets compiled for FASTEST 3071.1Schristos- Incorporate changes to zconf.in.h [Vollant] 3081.1Schristos - Refine detection of Turbo C need for dummy returns 3091.1Schristos - Refine ZLIB_DLL compilation 3101.1Schristos - Include additional header file on VMS for off_t typedef 3111.1Schristos- Try to use _vsnprintf where it supplants vsprintf [Vollant] 3121.1Schristos- Add some casts in inffast.c 3131.1Schristos- Enchance comments in zlib.h on what happens if gzprintf() tries to 3141.1Schristos write more than 4095 bytes before compression 3151.1Schristos- Remove unused state from inflateBackEnd() 3161.1Schristos- Remove exit(0) from minigzip.c, example.c 3171.1Schristos- Get rid of all those darn tabs 3181.1Schristos- Add "check" target to Makefile.in that does the same thing as "test" 3191.1Schristos- Add "mostlyclean" and "maintainer-clean" targets to Makefile.in 3201.1Schristos- Update contrib/inflate86 [Anderson] 3211.1Schristos- Update contrib/testzlib, contrib/vstudio, contrib/minizip [Vollant] 3221.1Schristos- Add msdos and win32 directories with makefiles [Truta] 3231.1Schristos- More additions and improvements to the FAQ 3241.1Schristos 3251.1SchristosChanges in 1.2.0 (9 March 2003) 3261.1Schristos- New and improved inflate code 3271.1Schristos - About 20% faster 3281.1Schristos - Does not allocate 32K window unless and until needed 3291.1Schristos - Automatically detects and decompresses gzip streams 3301.1Schristos - Raw inflate no longer needs an extra dummy byte at end 3311.1Schristos - Added inflateBack functions using a callback interface--even faster 3321.1Schristos than inflate, useful for file utilities (gzip, zip) 3331.1Schristos - Added inflateCopy() function to record state for random access on 3341.1Schristos externally generated deflate streams (e.g. in gzip files) 3351.1Schristos - More readable code (I hope) 3361.1Schristos- New and improved crc32() 3371.1Schristos - About 50% faster, thanks to suggestions from Rodney Brown 3381.1Schristos- Add deflateBound() and compressBound() functions 3391.1Schristos- Fix memory leak in deflateInit2() 3401.1Schristos- Permit setting dictionary for raw deflate (for parallel deflate) 3411.1Schristos- Fix const declaration for gzwrite() 3421.1Schristos- Check for some malloc() failures in gzio.c 3431.1Schristos- Fix bug in gzopen() on single-byte file 0x1f 3441.1Schristos- Fix bug in gzread() on concatenated file with 0x1f at end of buffer 3451.1Schristos and next buffer doesn't start with 0x8b 3461.1Schristos- Fix uncompress() to return Z_DATA_ERROR on truncated input 3471.1Schristos- Free memory at end of example.c 3481.1Schristos- Remove MAX #define in trees.c (conflicted with some libraries) 3491.1Schristos- Fix static const's in deflate.c, gzio.c, and zutil.[ch] 3501.1Schristos- Declare malloc() and free() in gzio.c if STDC not defined 3511.1Schristos- Use malloc() instead of calloc() in zutil.c if int big enough 3521.1Schristos- Define STDC for AIX 3531.1Schristos- Add aix/ with approach for compiling shared library on AIX 3541.1Schristos- Add HP-UX support for shared libraries in configure 3551.1Schristos- Add OpenUNIX support for shared libraries in configure 3561.1Schristos- Use $cc instead of gcc to build shared library 3571.1Schristos- Make prefix directory if needed when installing 3581.1Schristos- Correct Macintosh avoidance of typedef Byte in zconf.h 3591.1Schristos- Correct Turbo C memory allocation when under Linux 3601.1Schristos- Use libz.a instead of -lz in Makefile (assure use of compiled library) 3611.1Schristos- Update configure to check for snprintf or vsnprintf functions and their 3621.1Schristos return value, warn during make if using an insecure function 3631.1Schristos- Fix configure problem with compile-time knowledge of HAVE_UNISTD_H that 3641.1Schristos is lost when library is used--resolution is to build new zconf.h 3651.1Schristos- Documentation improvements (in zlib.h): 3661.1Schristos - Document raw deflate and inflate 3671.1Schristos - Update RFCs URL 3681.1Schristos - Point out that zlib and gzip formats are different 3691.1Schristos - Note that Z_BUF_ERROR is not fatal 3701.1Schristos - Document string limit for gzprintf() and possible buffer overflow 3711.1Schristos - Note requirement on avail_out when flushing 3721.1Schristos - Note permitted values of flush parameter of inflate() 3731.1Schristos- Add some FAQs (and even answers) to the FAQ 3741.1Schristos- Add contrib/inflate86/ for x86 faster inflate 3751.1Schristos- Add contrib/blast/ for PKWare Data Compression Library decompression 3761.1Schristos- Add contrib/puff/ simple inflate for deflate format description 3771.1Schristos 3781.1SchristosChanges in 1.1.4 (11 March 2002) 3791.1Schristos- ZFREE was repeated on same allocation on some error conditions. 3801.1Schristos This creates a security problem described in 3811.1Schristos http://www.zlib.org/advisory-2002-03-11.txt 3821.1Schristos- Returned incorrect error (Z_MEM_ERROR) on some invalid data 3831.1Schristos- Avoid accesses before window for invalid distances with inflate window 3841.1Schristos less than 32K. 3851.1Schristos- force windowBits > 8 to avoid a bug in the encoder for a window size 3861.1Schristos of 256 bytes. (A complete fix will be available in 1.1.5). 3871.1Schristos 3881.1SchristosChanges in 1.1.3 (9 July 1998) 3891.1Schristos- fix "an inflate input buffer bug that shows up on rare but persistent 3901.1Schristos occasions" (Mark) 3911.1Schristos- fix gzread and gztell for concatenated .gz files (Didier Le Botlan) 3921.1Schristos- fix gzseek(..., SEEK_SET) in write mode 3931.1Schristos- fix crc check after a gzeek (Frank Faubert) 3941.1Schristos- fix miniunzip when the last entry in a zip file is itself a zip file 3951.1Schristos (J Lillge) 3961.1Schristos- add contrib/asm586 and contrib/asm686 (Brian Raiter) 3971.1Schristos See http://www.muppetlabs.com/~breadbox/software/assembly.html 3981.1Schristos- add support for Delphi 3 in contrib/delphi (Bob Dellaca) 3991.1Schristos- add support for C++Builder 3 and Delphi 3 in contrib/delphi2 (Davide Moretti) 4001.1Schristos- do not exit prematurely in untgz if 0 at start of block (Magnus Holmgren) 4011.1Schristos- use macro EXTERN instead of extern to support DLL for BeOS (Sander Stoks) 4021.1Schristos- added a FAQ file 4031.1Schristos 4041.1Schristos- Support gzdopen on Mac with Metrowerks (Jason Linhart) 4051.1Schristos- Do not redefine Byte on Mac (Brad Pettit & Jason Linhart) 4061.1Schristos- define SEEK_END too if SEEK_SET is not defined (Albert Chin-A-Young) 4071.1Schristos- avoid some warnings with Borland C (Tom Tanner) 4081.1Schristos- fix a problem in contrib/minizip/zip.c for 16-bit MSDOS (Gilles Vollant) 4091.1Schristos- emulate utime() for WIN32 in contrib/untgz (Gilles Vollant) 4101.1Schristos- allow several arguments to configure (Tim Mooney, Frodo Looijaard) 4111.1Schristos- use libdir and includedir in Makefile.in (Tim Mooney) 4121.1Schristos- support shared libraries on OSF1 V4 (Tim Mooney) 4131.1Schristos- remove so_locations in "make clean" (Tim Mooney) 4141.1Schristos- fix maketree.c compilation error (Glenn, Mark) 4151.1Schristos- Python interface to zlib now in Python 1.5 (Jeremy Hylton) 4161.1Schristos- new Makefile.riscos (Rich Walker) 4171.1Schristos- initialize static descriptors in trees.c for embedded targets (Nick Smith) 4181.1Schristos- use "foo-gz" in example.c for RISCOS and VMS (Nick Smith) 4191.1Schristos- add the OS/2 files in Makefile.in too (Andrew Zabolotny) 4201.1Schristos- fix fdopen and halloc macros for Microsoft C 6.0 (Tom Lane) 4211.1Schristos- fix maketree.c to allow clean compilation of inffixed.h (Mark) 4221.1Schristos- fix parameter check in deflateCopy (Gunther Nikl) 4231.1Schristos- cleanup trees.c, use compressed_len only in debug mode (Christian Spieler) 4241.1Schristos- Many portability patches by Christian Spieler: 4251.1Schristos . zutil.c, zutil.h: added "const" for zmem* 4261.1Schristos . Make_vms.com: fixed some typos 4271.1Schristos . Make_vms.com: msdos/Makefile.*: removed zutil.h from some dependency lists 4281.1Schristos . msdos/Makefile.msc: remove "default rtl link library" info from obj files 4291.1Schristos . msdos/Makefile.*: use model-dependent name for the built zlib library 4301.1Schristos . msdos/Makefile.emx, nt/Makefile.emx, nt/Makefile.gcc: 4311.1Schristos new makefiles, for emx (DOS/OS2), emx&rsxnt and mingw32 (Windows 9x / NT) 4321.1Schristos- use define instead of typedef for Bytef also for MSC small/medium (Tom Lane) 4331.1Schristos- replace __far with _far for better portability (Christian Spieler, Tom Lane) 4341.1Schristos- fix test for errno.h in configure (Tim Newsham) 4351.1Schristos 4361.1SchristosChanges in 1.1.2 (19 March 98) 4371.1Schristos- added contrib/minzip, mini zip and unzip based on zlib (Gilles Vollant) 4381.1Schristos See http://www.winimage.com/zLibDll/unzip.html 4391.1Schristos- preinitialize the inflate tables for fixed codes, to make the code 4401.1Schristos completely thread safe (Mark) 4411.1Schristos- some simplifications and slight speed-up to the inflate code (Mark) 4421.1Schristos- fix gzeof on non-compressed files (Allan Schrum) 4431.1Schristos- add -std1 option in configure for OSF1 to fix gzprintf (Martin Mokrejs) 4441.1Schristos- use default value of 4K for Z_BUFSIZE for 16-bit MSDOS (Tim Wegner + Glenn) 4451.1Schristos- added os2/Makefile.def and os2/zlib.def (Andrew Zabolotny) 4461.1Schristos- add shared lib support for UNIX_SV4.2MP (MATSUURA Takanori) 4471.1Schristos- do not wrap extern "C" around system includes (Tom Lane) 4481.1Schristos- mention zlib binding for TCL in README (Andreas Kupries) 4491.1Schristos- added amiga/Makefile.pup for Amiga powerUP SAS/C PPC (Andreas Kleinert) 4501.1Schristos- allow "make install prefix=..." even after configure (Glenn Randers-Pehrson) 4511.1Schristos- allow "configure --prefix $HOME" (Tim Mooney) 4521.1Schristos- remove warnings in example.c and gzio.c (Glenn Randers-Pehrson) 4531.1Schristos- move Makefile.sas to amiga/Makefile.sas 4541.1Schristos 4551.1SchristosChanges in 1.1.1 (27 Feb 98) 4561.1Schristos- fix macros _tr_tally_* in deflate.h for debug mode (Glenn Randers-Pehrson) 4571.1Schristos- remove block truncation heuristic which had very marginal effect for zlib 4581.1Schristos (smaller lit_bufsize than in gzip 1.2.4) and degraded a little the 4591.1Schristos compression ratio on some files. This also allows inlining _tr_tally for 4601.1Schristos matches in deflate_slow. 4611.1Schristos- added msdos/Makefile.w32 for WIN32 Microsoft Visual C++ (Bob Frazier) 4621.1Schristos 4631.1SchristosChanges in 1.1.0 (24 Feb 98) 4641.1Schristos- do not return STREAM_END prematurely in inflate (John Bowler) 4651.1Schristos- revert to the zlib 1.0.8 inflate to avoid the gcc 2.8.0 bug (Jeremy Buhler) 4661.1Schristos- compile with -DFASTEST to get compression code optimized for speed only 4671.1Schristos- in minigzip, try mmap'ing the input file first (Miguel Albrecht) 4681.1Schristos- increase size of I/O buffers in minigzip.c and gzio.c (not a big gain 4691.1Schristos on Sun but significant on HP) 4701.1Schristos 4711.1Schristos- add a pointer to experimental unzip library in README (Gilles Vollant) 4721.1Schristos- initialize variable gcc in configure (Chris Herborth) 4731.1Schristos 4741.1SchristosChanges in 1.0.9 (17 Feb 1998) 4751.1Schristos- added gzputs and gzgets functions 4761.1Schristos- do not clear eof flag in gzseek (Mark Diekhans) 4771.1Schristos- fix gzseek for files in transparent mode (Mark Diekhans) 4781.1Schristos- do not assume that vsprintf returns the number of bytes written (Jens Krinke) 4791.1Schristos- replace EXPORT with ZEXPORT to avoid conflict with other programs 4801.1Schristos- added compress2 in zconf.h, zlib.def, zlib.dnt 4811.1Schristos- new asm code from Gilles Vollant in contrib/asm386 4821.1Schristos- simplify the inflate code (Mark): 4831.1Schristos . Replace ZALLOC's in huft_build() with single ZALLOC in inflate_blocks_new() 4841.1Schristos . ZALLOC the length list in inflate_trees_fixed() instead of using stack 4851.1Schristos . ZALLOC the value area for huft_build() instead of using stack 4861.1Schristos . Simplify Z_FINISH check in inflate() 4871.1Schristos 4881.1Schristos- Avoid gcc 2.8.0 comparison bug a little differently than zlib 1.0.8 4891.1Schristos- in inftrees.c, avoid cc -O bug on HP (Farshid Elahi) 4901.1Schristos- in zconf.h move the ZLIB_DLL stuff earlier to avoid problems with 4911.1Schristos the declaration of FAR (Gilles VOllant) 4921.1Schristos- install libz.so* with mode 755 (executable) instead of 644 (Marc Lehmann) 4931.1Schristos- read_buf buf parameter of type Bytef* instead of charf* 4941.1Schristos- zmemcpy parameters are of type Bytef*, not charf* (Joseph Strout) 4951.1Schristos- do not redeclare unlink in minigzip.c for WIN32 (John Bowler) 4961.1Schristos- fix check for presence of directories in "make install" (Ian Willis) 4971.1Schristos 4981.1SchristosChanges in 1.0.8 (27 Jan 1998) 4991.1Schristos- fixed offsets in contrib/asm386/gvmat32.asm (Gilles Vollant) 5001.1Schristos- fix gzgetc and gzputc for big endian systems (Markus Oberhumer) 5011.1Schristos- added compress2() to allow setting the compression level 5021.1Schristos- include sys/types.h to get off_t on some systems (Marc Lehmann & QingLong) 5031.1Schristos- use constant arrays for the static trees in trees.c instead of computing 5041.1Schristos them at run time (thanks to Ken Raeburn for this suggestion). To create 5051.1Schristos trees.h, compile with GEN_TREES_H and run "make test". 5061.1Schristos- check return code of example in "make test" and display result 5071.1Schristos- pass minigzip command line options to file_compress 5081.1Schristos- simplifying code of inflateSync to avoid gcc 2.8 bug 5091.1Schristos 5101.1Schristos- support CC="gcc -Wall" in configure -s (QingLong) 5111.1Schristos- avoid a flush caused by ftell in gzopen for write mode (Ken Raeburn) 5121.1Schristos- fix test for shared library support to avoid compiler warnings 5131.1Schristos- zlib.lib -> zlib.dll in msdos/zlib.rc (Gilles Vollant) 5141.1Schristos- check for TARGET_OS_MAC in addition to MACOS (Brad Pettit) 5151.1Schristos- do not use fdopen for Metrowerks on Mac (Brad Pettit)) 5161.1Schristos- add checks for gzputc and gzputc in example.c 5171.1Schristos- avoid warnings in gzio.c and deflate.c (Andreas Kleinert) 5181.1Schristos- use const for the CRC table (Ken Raeburn) 5191.1Schristos- fixed "make uninstall" for shared libraries 5201.1Schristos- use Tracev instead of Trace in infblock.c 5211.1Schristos- in example.c use correct compressed length for test_sync 5221.1Schristos- suppress +vnocompatwarnings in configure for HPUX (not always supported) 5231.1Schristos 5241.1SchristosChanges in 1.0.7 (20 Jan 1998) 5251.1Schristos- fix gzseek which was broken in write mode 5261.1Schristos- return error for gzseek to negative absolute position 5271.1Schristos- fix configure for Linux (Chun-Chung Chen) 5281.1Schristos- increase stack space for MSC (Tim Wegner) 5291.1Schristos- get_crc_table and inflateSyncPoint are EXPORTed (Gilles Vollant) 5301.1Schristos- define EXPORTVA for gzprintf (Gilles Vollant) 5311.1Schristos- added man page zlib.3 (Rick Rodgers) 5321.1Schristos- for contrib/untgz, fix makedir() and improve Makefile 5331.1Schristos 5341.1Schristos- check gzseek in write mode in example.c 5351.1Schristos- allocate extra buffer for seeks only if gzseek is actually called 5361.1Schristos- avoid signed/unsigned comparisons (Tim Wegner, Gilles Vollant) 5371.1Schristos- add inflateSyncPoint in zconf.h 5381.1Schristos- fix list of exported functions in nt/zlib.dnt and mdsos/zlib.def 5391.1Schristos 5401.1SchristosChanges in 1.0.6 (19 Jan 1998) 5411.1Schristos- add functions gzprintf, gzputc, gzgetc, gztell, gzeof, gzseek, gzrewind and 5421.1Schristos gzsetparams (thanks to Roland Giersig and Kevin Ruland for some of this code) 5431.1Schristos- Fix a deflate bug occurring only with compression level 0 (thanks to 5441.1Schristos Andy Buckler for finding this one). 5451.1Schristos- In minigzip, pass transparently also the first byte for .Z files. 5461.1Schristos- return Z_BUF_ERROR instead of Z_OK if output buffer full in uncompress() 5471.1Schristos- check Z_FINISH in inflate (thanks to Marc Schluper) 5481.1Schristos- Implement deflateCopy (thanks to Adam Costello) 5491.1Schristos- make static libraries by default in configure, add --shared option. 5501.1Schristos- move MSDOS or Windows specific files to directory msdos 5511.1Schristos- suppress the notion of partial flush to simplify the interface 5521.1Schristos (but the symbol Z_PARTIAL_FLUSH is kept for compatibility with 1.0.4) 5531.1Schristos- suppress history buffer provided by application to simplify the interface 5541.1Schristos (this feature was not implemented anyway in 1.0.4) 5551.1Schristos- next_in and avail_in must be initialized before calling inflateInit or 5561.1Schristos inflateInit2 5571.1Schristos- add EXPORT in all exported functions (for Windows DLL) 5581.1Schristos- added Makefile.nt (thanks to Stephen Williams) 5591.1Schristos- added the unsupported "contrib" directory: 5601.1Schristos contrib/asm386/ by Gilles Vollant <info@winimage.com> 5611.1Schristos 386 asm code replacing longest_match(). 5621.1Schristos contrib/iostream/ by Kevin Ruland <kevin@rodin.wustl.edu> 5631.1Schristos A C++ I/O streams interface to the zlib gz* functions 5641.1Schristos contrib/iostream2/ by Tyge L�vset <Tyge.Lovset@cmr.no> 5651.1Schristos Another C++ I/O streams interface 5661.1Schristos contrib/untgz/ by "Pedro A. Aranda Guti\irrez" <paag@tid.es> 5671.1Schristos A very simple tar.gz file extractor using zlib 5681.1Schristos contrib/visual-basic.txt by Carlos Rios <c_rios@sonda.cl> 5691.1Schristos How to use compress(), uncompress() and the gz* functions from VB. 5701.1Schristos- pass params -f (filtered data), -h (huffman only), -1 to -9 (compression 5711.1Schristos level) in minigzip (thanks to Tom Lane) 5721.1Schristos 5731.1Schristos- use const for rommable constants in deflate 5741.1Schristos- added test for gzseek and gztell in example.c 5751.1Schristos- add undocumented function inflateSyncPoint() (hack for Paul Mackerras) 5761.1Schristos- add undocumented function zError to convert error code to string 5771.1Schristos (for Tim Smithers) 5781.1Schristos- Allow compilation of gzio with -DNO_DEFLATE to avoid the compression code. 5791.1Schristos- Use default memcpy for Symantec MSDOS compiler. 5801.1Schristos- Add EXPORT keyword for check_func (needed for Windows DLL) 5811.1Schristos- add current directory to LD_LIBRARY_PATH for "make test" 5821.1Schristos- create also a link for libz.so.1 5831.1Schristos- added support for FUJITSU UXP/DS (thanks to Toshiaki Nomura) 5841.1Schristos- use $(SHAREDLIB) instead of libz.so in Makefile.in (for HPUX) 5851.1Schristos- added -soname for Linux in configure (Chun-Chung Chen, 5861.1Schristos- assign numbers to the exported functions in zlib.def (for Windows DLL) 5871.1Schristos- add advice in zlib.h for best usage of deflateSetDictionary 5881.1Schristos- work around compiler bug on Atari (cast Z_NULL in call of s->checkfn) 5891.1Schristos- allow compilation with ANSI keywords only enabled for TurboC in large model 5901.1Schristos- avoid "versionString"[0] (Borland bug) 5911.1Schristos- add NEED_DUMMY_RETURN for Borland 5921.1Schristos- use variable z_verbose for tracing in debug mode (L. Peter Deutsch). 5931.1Schristos- allow compilation with CC 5941.1Schristos- defined STDC for OS/2 (David Charlap) 5951.1Schristos- limit external names to 8 chars for MVS (Thomas Lund) 5961.1Schristos- in minigzip.c, use static buffers only for 16-bit systems 5971.1Schristos- fix suffix check for "minigzip -d foo.gz" 5981.1Schristos- do not return an error for the 2nd of two consecutive gzflush() (Felix Lee) 5991.1Schristos- use _fdopen instead of fdopen for MSC >= 6.0 (Thomas Fanslau) 6001.1Schristos- added makelcc.bat for lcc-win32 (Tom St Denis) 6011.1Schristos- in Makefile.dj2, use copy and del instead of install and rm (Frank Donahoe) 6021.1Schristos- Avoid expanded Id. Use "rcs -kb" or "cvs admin -kb" to avoid Id expansion. 6031.1Schristos- check for unistd.h in configure (for off_t) 6041.1Schristos- remove useless check parameter in inflate_blocks_free 6051.1Schristos- avoid useless assignment of s->check to itself in inflate_blocks_new 6061.1Schristos- do not flush twice in gzclose (thanks to Ken Raeburn) 6071.1Schristos- rename FOPEN as F_OPEN to avoid clash with /usr/include/sys/file.h 6081.1Schristos- use NO_ERRNO_H instead of enumeration of operating systems with errno.h 6091.1Schristos- work around buggy fclose on pipes for HP/UX 6101.1Schristos- support zlib DLL with BORLAND C++ 5.0 (thanks to Glenn Randers-Pehrson) 6111.1Schristos- fix configure if CC is already equal to gcc 6121.1Schristos 6131.1SchristosChanges in 1.0.5 (3 Jan 98) 6141.1Schristos- Fix inflate to terminate gracefully when fed corrupted or invalid data 6151.1Schristos- Use const for rommable constants in inflate 6161.1Schristos- Eliminate memory leaks on error conditions in inflate 6171.1Schristos- Removed some vestigial code in inflate 6181.1Schristos- Update web address in README 6191.1Schristos 6201.1SchristosChanges in 1.0.4 (24 Jul 96) 6211.1Schristos- In very rare conditions, deflate(s, Z_FINISH) could fail to produce an EOF 6221.1Schristos bit, so the decompressor could decompress all the correct data but went 6231.1Schristos on to attempt decompressing extra garbage data. This affected minigzip too. 6241.1Schristos- zlibVersion and gzerror return const char* (needed for DLL) 6251.1Schristos- port to RISCOS (no fdopen, no multiple dots, no unlink, no fileno) 6261.1Schristos- use z_error only for DEBUG (avoid problem with DLLs) 6271.1Schristos 6281.1SchristosChanges in 1.0.3 (2 Jul 96) 6291.1Schristos- use z_streamp instead of z_stream *, which is now a far pointer in MSDOS 6301.1Schristos small and medium models; this makes the library incompatible with previous 6311.1Schristos versions for these models. (No effect in large model or on other systems.) 6321.1Schristos- return OK instead of BUF_ERROR if previous deflate call returned with 6331.1Schristos avail_out as zero but there is nothing to do 6341.1Schristos- added memcmp for non STDC compilers 6351.1Schristos- define NO_DUMMY_DECL for more Mac compilers (.h files merged incorrectly) 6361.1Schristos- define __32BIT__ if __386__ or i386 is defined (pb. with Watcom and SCO) 6371.1Schristos- better check for 16-bit mode MSC (avoids problem with Symantec) 6381.1Schristos 6391.1SchristosChanges in 1.0.2 (23 May 96) 6401.1Schristos- added Windows DLL support 6411.1Schristos- added a function zlibVersion (for the DLL support) 6421.1Schristos- fixed declarations using Bytef in infutil.c (pb with MSDOS medium model) 6431.1Schristos- Bytef is define's instead of typedef'd only for Borland C 6441.1Schristos- avoid reading uninitialized memory in example.c 6451.1Schristos- mention in README that the zlib format is now RFC1950 6461.1Schristos- updated Makefile.dj2 6471.1Schristos- added algorithm.doc 6481.1Schristos 6491.1SchristosChanges in 1.0.1 (20 May 96) [1.0 skipped to avoid confusion] 6501.1Schristos- fix array overlay in deflate.c which sometimes caused bad compressed data 6511.1Schristos- fix inflate bug with empty stored block 6521.1Schristos- fix MSDOS medium model which was broken in 0.99 6531.1Schristos- fix deflateParams() which could generated bad compressed data. 6541.1Schristos- Bytef is define'd instead of typedef'ed (work around Borland bug) 6551.1Schristos- added an INDEX file 6561.1Schristos- new makefiles for DJGPP (Makefile.dj2), 32-bit Borland (Makefile.b32), 6571.1Schristos Watcom (Makefile.wat), Amiga SAS/C (Makefile.sas) 6581.1Schristos- speed up adler32 for modern machines without auto-increment 6591.1Schristos- added -ansi for IRIX in configure 6601.1Schristos- static_init_done in trees.c is an int 6611.1Schristos- define unlink as delete for VMS 6621.1Schristos- fix configure for QNX 6631.1Schristos- add configure branch for SCO and HPUX 6641.1Schristos- avoid many warnings (unused variables, dead assignments, etc...) 6651.1Schristos- no fdopen for BeOS 6661.1Schristos- fix the Watcom fix for 32 bit mode (define FAR as empty) 6671.1Schristos- removed redefinition of Byte for MKWERKS 6681.1Schristos- work around an MWKERKS bug (incorrect merge of all .h files) 6691.1Schristos 6701.1SchristosChanges in 0.99 (27 Jan 96) 6711.1Schristos- allow preset dictionary shared between compressor and decompressor 6721.1Schristos- allow compression level 0 (no compression) 6731.1Schristos- add deflateParams in zlib.h: allow dynamic change of compression level 6741.1Schristos and compression strategy. 6751.1Schristos- test large buffers and deflateParams in example.c 6761.1Schristos- add optional "configure" to build zlib as a shared library 6771.1Schristos- suppress Makefile.qnx, use configure instead 6781.1Schristos- fixed deflate for 64-bit systems (detected on Cray) 6791.1Schristos- fixed inflate_blocks for 64-bit systems (detected on Alpha) 6801.1Schristos- declare Z_DEFLATED in zlib.h (possible parameter for deflateInit2) 6811.1Schristos- always return Z_BUF_ERROR when deflate() has nothing to do 6821.1Schristos- deflateInit and inflateInit are now macros to allow version checking 6831.1Schristos- prefix all global functions and types with z_ with -DZ_PREFIX 6841.1Schristos- make falloc completely reentrant (inftrees.c) 6851.1Schristos- fixed very unlikely race condition in ct_static_init 6861.1Schristos- free in reverse order of allocation to help memory manager 6871.1Schristos- use zlib-1.0/* instead of zlib/* inside the tar.gz 6881.1Schristos- make zlib warning-free with "gcc -O3 -Wall -Wwrite-strings -Wpointer-arith 6891.1Schristos -Wconversion -Wstrict-prototypes -Wmissing-prototypes" 6901.1Schristos- allow gzread on concatenated .gz files 6911.1Schristos- deflateEnd now returns Z_DATA_ERROR if it was premature 6921.1Schristos- deflate is finally (?) fully deterministic (no matches beyond end of input) 6931.1Schristos- Document Z_SYNC_FLUSH 6941.1Schristos- add uninstall in Makefile 6951.1Schristos- Check for __cpluplus in zlib.h 6961.1Schristos- Better test in ct_align for partial flush 6971.1Schristos- avoid harmless warnings for Borland C++ 6981.1Schristos- initialize hash_head in deflate.c 6991.1Schristos- avoid warning on fdopen (gzio.c) for HP cc -Aa 7001.1Schristos- include stdlib.h for STDC compilers 7011.1Schristos- include errno.h for Cray 7021.1Schristos- ignore error if ranlib doesn't exist 7031.1Schristos- call ranlib twice for NeXTSTEP 7041.1Schristos- use exec_prefix instead of prefix for libz.a 7051.1Schristos- renamed ct_* as _tr_* to avoid conflict with applications 7061.1Schristos- clear z->msg in inflateInit2 before any error return 7071.1Schristos- initialize opaque in example.c, gzio.c, deflate.c and inflate.c 7081.1Schristos- fixed typo in zconf.h (_GNUC__ => __GNUC__) 7091.1Schristos- check for WIN32 in zconf.h and zutil.c (avoid farmalloc in 32-bit mode) 7101.1Schristos- fix typo in Make_vms.com (f$trnlnm -> f$getsyi) 7111.1Schristos- in fcalloc, normalize pointer if size > 65520 bytes 7121.1Schristos- don't use special fcalloc for 32 bit Borland C++ 7131.1Schristos- use STDC instead of __GO32__ to avoid redeclaring exit, calloc, etc... 7141.1Schristos- use Z_BINARY instead of BINARY 7151.1Schristos- document that gzclose after gzdopen will close the file 7161.1Schristos- allow "a" as mode in gzopen. 7171.1Schristos- fix error checking in gzread 7181.1Schristos- allow skipping .gz extra-field on pipes 7191.1Schristos- added reference to Perl interface in README 7201.1Schristos- put the crc table in FAR data (I dislike more and more the medium model :) 7211.1Schristos- added get_crc_table 7221.1Schristos- added a dimension to all arrays (Borland C can't count). 7231.1Schristos- workaround Borland C bug in declaration of inflate_codes_new & inflate_fast 7241.1Schristos- guard against multiple inclusion of *.h (for precompiled header on Mac) 7251.1Schristos- Watcom C pretends to be Microsoft C small model even in 32 bit mode. 7261.1Schristos- don't use unsized arrays to avoid silly warnings by Visual C++: 7271.1Schristos warning C4746: 'inflate_mask' : unsized array treated as '__far' 7281.1Schristos (what's wrong with far data in far model?). 7291.1Schristos- define enum out of inflate_blocks_state to allow compilation with C++ 7301.1Schristos 7311.1SchristosChanges in 0.95 (16 Aug 95) 7321.1Schristos- fix MSDOS small and medium model (now easier to adapt to any compiler) 7331.1Schristos- inlined send_bits 7341.1Schristos- fix the final (:-) bug for deflate with flush (output was correct but 7351.1Schristos not completely flushed in rare occasions). 7361.1Schristos- default window size is same for compression and decompression 7371.1Schristos (it's now sufficient to set MAX_WBITS in zconf.h). 7381.1Schristos- voidp -> voidpf and voidnp -> voidp (for consistency with other 7391.1Schristos typedefs and because voidnp was not near in large model). 7401.1Schristos 7411.1SchristosChanges in 0.94 (13 Aug 95) 7421.1Schristos- support MSDOS medium model 7431.1Schristos- fix deflate with flush (could sometimes generate bad output) 7441.1Schristos- fix deflateReset (zlib header was incorrectly suppressed) 7451.1Schristos- added support for VMS 7461.1Schristos- allow a compression level in gzopen() 7471.1Schristos- gzflush now calls fflush 7481.1Schristos- For deflate with flush, flush even if no more input is provided. 7491.1Schristos- rename libgz.a as libz.a 7501.1Schristos- avoid complex expression in infcodes.c triggering Turbo C bug 7511.1Schristos- work around a problem with gcc on Alpha (in INSERT_STRING) 7521.1Schristos- don't use inline functions (problem with some gcc versions) 7531.1Schristos- allow renaming of Byte, uInt, etc... with #define. 7541.1Schristos- avoid warning about (unused) pointer before start of array in deflate.c 7551.1Schristos- avoid various warnings in gzio.c, example.c, infblock.c, adler32.c, zutil.c 7561.1Schristos- avoid reserved word 'new' in trees.c 7571.1Schristos 7581.1SchristosChanges in 0.93 (25 June 95) 7591.1Schristos- temporarily disable inline functions 7601.1Schristos- make deflate deterministic 7611.1Schristos- give enough lookahead for PARTIAL_FLUSH 7621.1Schristos- Set binary mode for stdin/stdout in minigzip.c for OS/2 7631.1Schristos- don't even use signed char in inflate (not portable enough) 7641.1Schristos- fix inflate memory leak for segmented architectures 7651.1Schristos 7661.1SchristosChanges in 0.92 (3 May 95) 7671.1Schristos- don't assume that char is signed (problem on SGI) 7681.1Schristos- Clear bit buffer when starting a stored block 7691.1Schristos- no memcpy on Pyramid 7701.1Schristos- suppressed inftest.c 7711.1Schristos- optimized fill_window, put longest_match inline for gcc 7721.1Schristos- optimized inflate on stored blocks. 7731.1Schristos- untabify all sources to simplify patches 7741.1Schristos 7751.1SchristosChanges in 0.91 (2 May 95) 7761.1Schristos- Default MEM_LEVEL is 8 (not 9 for Unix) as documented in zlib.h 7771.1Schristos- Document the memory requirements in zconf.h 7781.1Schristos- added "make install" 7791.1Schristos- fix sync search logic in inflateSync 7801.1Schristos- deflate(Z_FULL_FLUSH) now works even if output buffer too short 7811.1Schristos- after inflateSync, don't scare people with just "lo world" 7821.1Schristos- added support for DJGPP 7831.1Schristos 7841.1SchristosChanges in 0.9 (1 May 95) 7851.1Schristos- don't assume that zalloc clears the allocated memory (the TurboC bug 7861.1Schristos was Mark's bug after all :) 7871.1Schristos- let again gzread copy uncompressed data unchanged (was working in 0.71) 7881.1Schristos- deflate(Z_FULL_FLUSH), inflateReset and inflateSync are now fully implemented 7891.1Schristos- added a test of inflateSync in example.c 7901.1Schristos- moved MAX_WBITS to zconf.h because users might want to change that. 7911.1Schristos- document explicitly that zalloc(64K) on MSDOS must return a normalized 7921.1Schristos pointer (zero offset) 7931.1Schristos- added Makefiles for Microsoft C, Turbo C, Borland C++ 7941.1Schristos- faster crc32() 7951.1Schristos 7961.1SchristosChanges in 0.8 (29 April 95) 7971.1Schristos- added fast inflate (inffast.c) 7981.1Schristos- deflate(Z_FINISH) now returns Z_STREAM_END when done. Warning: this 7991.1Schristos is incompatible with previous versions of zlib which returned Z_OK. 8001.1Schristos- work around a TurboC compiler bug (bad code for b << 0, see infutil.h) 8011.1Schristos (actually that was not a compiler bug, see 0.81 above) 8021.1Schristos- gzread no longer reads one extra byte in certain cases 8031.1Schristos- In gzio destroy(), don't reference a freed structure 8041.1Schristos- avoid many warnings for MSDOS 8051.1Schristos- avoid the ERROR symbol which is used by MS Windows 8061.1Schristos 8071.1SchristosChanges in 0.71 (14 April 95) 8081.1Schristos- Fixed more MSDOS compilation problems :( There is still a bug with 8091.1Schristos TurboC large model. 8101.1Schristos 8111.1SchristosChanges in 0.7 (14 April 95) 8121.1Schristos- Added full inflate support. 8131.1Schristos- Simplified the crc32() interface. The pre- and post-conditioning 8141.1Schristos (one's complement) is now done inside crc32(). WARNING: this is 8151.1Schristos incompatible with previous versions; see zlib.h for the new usage. 8161.1Schristos 8171.1SchristosChanges in 0.61 (12 April 95) 8181.1Schristos- workaround for a bug in TurboC. example and minigzip now work on MSDOS. 8191.1Schristos 8201.1SchristosChanges in 0.6 (11 April 95) 8211.1Schristos- added minigzip.c 8221.1Schristos- added gzdopen to reopen a file descriptor as gzFile 8231.1Schristos- added transparent reading of non-gziped files in gzread. 8241.1Schristos- fixed bug in gzread (don't read crc as data) 8251.1Schristos- fixed bug in destroy (gzio.c) (don't return Z_STREAM_END for gzclose). 8261.1Schristos- don't allocate big arrays in the stack (for MSDOS) 8271.1Schristos- fix some MSDOS compilation problems 8281.1Schristos 8291.1SchristosChanges in 0.5: 8301.1Schristos- do real compression in deflate.c. Z_PARTIAL_FLUSH is supported but 8311.1Schristos not yet Z_FULL_FLUSH. 8321.1Schristos- support decompression but only in a single step (forced Z_FINISH) 8331.1Schristos- added opaque object for zalloc and zfree. 8341.1Schristos- added deflateReset and inflateReset 8351.1Schristos- added a variable zlib_version for consistency checking. 8361.1Schristos- renamed the 'filter' parameter of deflateInit2 as 'strategy'. 8371.1Schristos Added Z_FILTERED and Z_HUFFMAN_ONLY constants. 8381.1Schristos 8391.1SchristosChanges in 0.4: 8401.1Schristos- avoid "zip" everywhere, use zlib instead of ziplib. 8411.1Schristos- suppress Z_BLOCK_FLUSH, interpret Z_PARTIAL_FLUSH as block flush 8421.1Schristos if compression method == 8. 8431.1Schristos- added adler32 and crc32 8441.1Schristos- renamed deflateOptions as deflateInit2, call one or the other but not both 8451.1Schristos- added the method parameter for deflateInit2. 8461.1Schristos- added inflateInit2 8471.1Schristos- simplied considerably deflateInit and inflateInit by not supporting 8481.1Schristos user-provided history buffer. This is supported only in deflateInit2 8491.1Schristos and inflateInit2. 8501.1Schristos 8511.1SchristosChanges in 0.3: 8521.1Schristos- prefix all macro names with Z_ 8531.1Schristos- use Z_FINISH instead of deflateEnd to finish compression. 8541.1Schristos- added Z_HUFFMAN_ONLY 8551.1Schristos- added gzerror() 856