summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2022-03-27 15:47:03 -0700
committerMark Adler <madler@alumni.caltech.edu>2022-03-27 16:05:02 -0700
commit21767c654d31d2dccdde4330529775c6c5fd5389 (patch)
treea061e0a122d93f11c3832c614b5e3414420f5151 /ChangeLog
parent296967c7b7b6bfb59ed8b831391359b2c0153e3d (diff)
downloadzlib-1.2.12.tar.gz
zlib-1.2.12.tar.bz2
zlib-1.2.12.zip
zlib 1.2.12v1.2.12
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog162
1 files changed, 111 insertions, 51 deletions
diff --git a/ChangeLog b/ChangeLog
index 9c6d95b..f0b0e61 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,68 @@
1 1
2 ChangeLog file for zlib 2 ChangeLog file for zlib
3 3
4Changes in 1.2.11.1 (xx Jan 2017) 4Changes in 1.2.12 (27 Mar 2022)
5- 5- Cygwin does not have _wopen(), so do not create gzopen_w() there
6- Permit a deflateParams() parameter change as soon as possible
7- Limit hash table inserts after switch from stored deflate
8- Fix bug when window full in deflate_stored()
9- Fix CLEAR_HASH macro to be usable as a single statement
10- Avoid a conversion error in gzseek when off_t type too small
11- Have Makefile return non-zero error code on test failure
12- Avoid some conversion warnings in gzread.c and gzwrite.c
13- Update use of errno for newer Windows CE versions
14- Small speedup to inflate [psumbera]
15- Return an error if the gzputs string length can't fit in an int
16- Add address checking in clang to -w option of configure
17- Don't compute check value for raw inflate if asked to validate
18- Handle case where inflateSync used when header never processed
19- Avoid the use of ptrdiff_t
20- Avoid an undefined behavior of memcpy() in gzappend()
21- Avoid undefined behaviors of memcpy() in gz*printf()
22- Avoid an undefined behavior of memcpy() in _tr_stored_block()
23- Make the names in functions declarations identical to definitions
24- Remove old assembler code in which bugs have manifested
25- Fix deflateEnd() to not report an error at start of raw deflate
26- Add legal disclaimer to README
27- Emphasize the need to continue decompressing gzip members
28- Correct the initialization requirements for deflateInit2()
29- Fix a bug that can crash deflate on some input when using Z_FIXED
30- Assure that the number of bits for deflatePrime() is valid
31- Use a structure to make globals in enough.c evident
32- Use a macro for the printf format of big_t in enough.c
33- Clean up code style in enough.c, update version
34- Use inline function instead of macro for index in enough.c
35- Clarify that prefix codes are counted in enough.c
36- Show all the codes for the maximum tables size in enough.c
37- Add gznorm.c example, which normalizes gzip files
38- Fix the zran.c example to work on a multiple-member gzip file
39- Add tables for crc32_combine(), to speed it up by a factor of 200
40- Add crc32_combine_gen() and crc32_combine_op() for fast combines
41- Speed up software CRC-32 computation by a factor of 1.5 to 3
42- Use atomic test and set, if available, for dynamic CRC tables
43- Don't bother computing check value after successful inflateSync()
44- Correct comment in crc32.c
45- Add use of the ARMv8 crc32 instructions when requested
46- Use ARM crc32 instructions if the ARM architecture has them
47- Explicitly note that the 32-bit check values are 32 bits
48- Avoid adding empty gzip member after gzflush with Z_FINISH
49- Fix memory leak on error in gzlog.c
50- Fix error in comment on the polynomial representation of a byte
51- Clarify gz* function interfaces, referring to parameter names
52- Change macro name in inflate.c to avoid collision in VxWorks
53- Correct typo in blast.c
54- Improve portability of contrib/minizip
55- Fix indentation in minizip's zip.c
56- Replace black/white with allow/block. (theresa-m)
57- minizip warning fix if MAXU32 already defined. (gvollant)
58- Fix unztell64() in minizip to work past 4GB. (Daniël Hörchner)
59- Clean up minizip to reduce warnings for testing
60- Add fallthrough comments for gcc
61- Eliminate use of ULL constants
62- Separate out address sanitizing from warnings in configure
63- Remove destructive aspects of make distclean
64- Check for cc masquerading as gcc or clang in configure
65- Fix crc32.c to compile local functions only if used
6 66
7Changes in 1.2.11 (15 Jan 2017) 67Changes in 1.2.11 (15 Jan 2017)
8- Fix deflate stored bug when pulling last block from window 68- Fix deflate stored bug when pulling last block from window
@@ -514,7 +574,7 @@ Changes in 1.2.3.5 (8 Jan 2010)
514- Don't use _vsnprintf on later versions of MSVC [Lowman] 574- Don't use _vsnprintf on later versions of MSVC [Lowman]
515- Add CMake build script and input file [Lowman] 575- Add CMake build script and input file [Lowman]
516- Update contrib/minizip to 1.1 [Svensson, Vollant] 576- Update contrib/minizip to 1.1 [Svensson, Vollant]
517- Moved nintendods directory from contrib to . 577- Moved nintendods directory from contrib to root
518- Replace gzio.c with a new set of routines with the same functionality 578- Replace gzio.c with a new set of routines with the same functionality
519- Add gzbuffer(), gzoffset(), gzclose_r(), gzclose_w() as part of above 579- Add gzbuffer(), gzoffset(), gzclose_r(), gzclose_w() as part of above
520- Update contrib/minizip to 1.1b 580- Update contrib/minizip to 1.1b
@@ -688,7 +748,7 @@ Changes in 1.2.2.4 (11 July 2005)
688- Be more strict on incomplete code sets in inflate_table() and increase 748- Be more strict on incomplete code sets in inflate_table() and increase
689 ENOUGH and MAXD -- this repairs a possible security vulnerability for 749 ENOUGH and MAXD -- this repairs a possible security vulnerability for
690 invalid inflate input. Thanks to Tavis Ormandy and Markus Oberhumer for 750 invalid inflate input. Thanks to Tavis Ormandy and Markus Oberhumer for
691 discovering the vulnerability and providing test cases. 751 discovering the vulnerability and providing test cases
692- Add ia64 support to configure for HP-UX [Smith] 752- Add ia64 support to configure for HP-UX [Smith]
693- Add error return to gzread() for format or i/o error [Levin] 753- Add error return to gzread() for format or i/o error [Levin]
694- Use malloc.h for OS/2 [Necasek] 754- Use malloc.h for OS/2 [Necasek]
@@ -724,7 +784,7 @@ Changes in 1.2.2.2 (30 December 2004)
724- Add Z_FIXED strategy option to deflateInit2() to force fixed trees 784- Add Z_FIXED strategy option to deflateInit2() to force fixed trees
725- Add updated make_vms.com [Coghlan], update README 785- Add updated make_vms.com [Coghlan], update README
726- Create a new "examples" directory, move gzappend.c there, add zpipe.c, 786- Create a new "examples" directory, move gzappend.c there, add zpipe.c,
727 fitblk.c, gzlog.[ch], gzjoin.c, and zlib_how.html. 787 fitblk.c, gzlog.[ch], gzjoin.c, and zlib_how.html
728- Add FAQ entry and comments in deflate.c on uninitialized memory access 788- Add FAQ entry and comments in deflate.c on uninitialized memory access
729- Add Solaris 9 make options in configure [Gilbert] 789- Add Solaris 9 make options in configure [Gilbert]
730- Allow strerror() usage in gzio.c for STDC 790- Allow strerror() usage in gzio.c for STDC
@@ -795,7 +855,7 @@ Changes in 1.2.1.1 (9 January 2004)
795- Fix a big fat bug in inftrees.c that prevented decoding valid 855- Fix a big fat bug in inftrees.c that prevented decoding valid
796 dynamic blocks with only literals and no distance codes -- 856 dynamic blocks with only literals and no distance codes --
797 Thanks to "Hot Emu" for the bug report and sample file 857 Thanks to "Hot Emu" for the bug report and sample file
798- Add a note to puff.c on no distance codes case. 858- Add a note to puff.c on no distance codes case
799 859
800Changes in 1.2.1 (17 November 2003) 860Changes in 1.2.1 (17 November 2003)
801- Remove a tab in contrib/gzappend/gzappend.c 861- Remove a tab in contrib/gzappend/gzappend.c
@@ -1039,14 +1099,14 @@ Changes in 1.2.0 (9 March 2003)
1039- Add contrib/puff/ simple inflate for deflate format description 1099- Add contrib/puff/ simple inflate for deflate format description
1040 1100
1041Changes in 1.1.4 (11 March 2002) 1101Changes in 1.1.4 (11 March 2002)
1042- ZFREE was repeated on same allocation on some error conditions. 1102- ZFREE was repeated on same allocation on some error conditions
1043 This creates a security problem described in 1103 This creates a security problem described in
1044 http://www.zlib.org/advisory-2002-03-11.txt 1104 http://www.zlib.org/advisory-2002-03-11.txt
1045- Returned incorrect error (Z_MEM_ERROR) on some invalid data 1105- Returned incorrect error (Z_MEM_ERROR) on some invalid data
1046- Avoid accesses before window for invalid distances with inflate window 1106- Avoid accesses before window for invalid distances with inflate window
1047 less than 32K. 1107 less than 32K
1048- force windowBits > 8 to avoid a bug in the encoder for a window size 1108- force windowBits > 8 to avoid a bug in the encoder for a window size
1049 of 256 bytes. (A complete fix will be available in 1.1.5). 1109 of 256 bytes. (A complete fix will be available in 1.1.5)
1050 1110
1051Changes in 1.1.3 (9 July 1998) 1111Changes in 1.1.3 (9 July 1998)
1052- fix "an inflate input buffer bug that shows up on rare but persistent 1112- fix "an inflate input buffer bug that shows up on rare but persistent
@@ -1120,7 +1180,7 @@ Changes in 1.1.1 (27 Feb 98)
1120- remove block truncation heuristic which had very marginal effect for zlib 1180- remove block truncation heuristic which had very marginal effect for zlib
1121 (smaller lit_bufsize than in gzip 1.2.4) and degraded a little the 1181 (smaller lit_bufsize than in gzip 1.2.4) and degraded a little the
1122 compression ratio on some files. This also allows inlining _tr_tally for 1182 compression ratio on some files. This also allows inlining _tr_tally for
1123 matches in deflate_slow. 1183 matches in deflate_slow
1124- added msdos/Makefile.w32 for WIN32 Microsoft Visual C++ (Bob Frazier) 1184- added msdos/Makefile.w32 for WIN32 Microsoft Visual C++ (Bob Frazier)
1125 1185
1126Changes in 1.1.0 (24 Feb 98) 1186Changes in 1.1.0 (24 Feb 98)
@@ -1165,7 +1225,7 @@ Changes in 1.0.8 (27 Jan 1998)
1165- include sys/types.h to get off_t on some systems (Marc Lehmann & QingLong) 1225- include sys/types.h to get off_t on some systems (Marc Lehmann & QingLong)
1166- use constant arrays for the static trees in trees.c instead of computing 1226- use constant arrays for the static trees in trees.c instead of computing
1167 them at run time (thanks to Ken Raeburn for this suggestion). To create 1227 them at run time (thanks to Ken Raeburn for this suggestion). To create
1168 trees.h, compile with GEN_TREES_H and run "make test". 1228 trees.h, compile with GEN_TREES_H and run "make test"
1169- check return code of example in "make test" and display result 1229- check return code of example in "make test" and display result
1170- pass minigzip command line options to file_compress 1230- pass minigzip command line options to file_compress
1171- simplifying code of inflateSync to avoid gcc 2.8 bug 1231- simplifying code of inflateSync to avoid gcc 2.8 bug
@@ -1204,12 +1264,12 @@ Changes in 1.0.6 (19 Jan 1998)
1204- add functions gzprintf, gzputc, gzgetc, gztell, gzeof, gzseek, gzrewind and 1264- add functions gzprintf, gzputc, gzgetc, gztell, gzeof, gzseek, gzrewind and
1205 gzsetparams (thanks to Roland Giersig and Kevin Ruland for some of this code) 1265 gzsetparams (thanks to Roland Giersig and Kevin Ruland for some of this code)
1206- Fix a deflate bug occurring only with compression level 0 (thanks to 1266- Fix a deflate bug occurring only with compression level 0 (thanks to
1207 Andy Buckler for finding this one). 1267 Andy Buckler for finding this one)
1208- In minigzip, pass transparently also the first byte for .Z files. 1268- In minigzip, pass transparently also the first byte for .Z files
1209- return Z_BUF_ERROR instead of Z_OK if output buffer full in uncompress() 1269- return Z_BUF_ERROR instead of Z_OK if output buffer full in uncompress()
1210- check Z_FINISH in inflate (thanks to Marc Schluper) 1270- check Z_FINISH in inflate (thanks to Marc Schluper)
1211- Implement deflateCopy (thanks to Adam Costello) 1271- Implement deflateCopy (thanks to Adam Costello)
1212- make static libraries by default in configure, add --shared option. 1272- make static libraries by default in configure, add --shared option
1213- move MSDOS or Windows specific files to directory msdos 1273- move MSDOS or Windows specific files to directory msdos
1214- suppress the notion of partial flush to simplify the interface 1274- suppress the notion of partial flush to simplify the interface
1215 (but the symbol Z_PARTIAL_FLUSH is kept for compatibility with 1.0.4) 1275 (but the symbol Z_PARTIAL_FLUSH is kept for compatibility with 1.0.4)
@@ -1221,7 +1281,7 @@ Changes in 1.0.6 (19 Jan 1998)
1221- added Makefile.nt (thanks to Stephen Williams) 1281- added Makefile.nt (thanks to Stephen Williams)
1222- added the unsupported "contrib" directory: 1282- added the unsupported "contrib" directory:
1223 contrib/asm386/ by Gilles Vollant <info@winimage.com> 1283 contrib/asm386/ by Gilles Vollant <info@winimage.com>
1224 386 asm code replacing longest_match(). 1284 386 asm code replacing longest_match()
1225 contrib/iostream/ by Kevin Ruland <kevin@rodin.wustl.edu> 1285 contrib/iostream/ by Kevin Ruland <kevin@rodin.wustl.edu>
1226 A C++ I/O streams interface to the zlib gz* functions 1286 A C++ I/O streams interface to the zlib gz* functions
1227 contrib/iostream2/ by Tyge Løvset <Tyge.Lovset@cmr.no> 1287 contrib/iostream2/ by Tyge Løvset <Tyge.Lovset@cmr.no>
@@ -1229,7 +1289,7 @@ Changes in 1.0.6 (19 Jan 1998)
1229 contrib/untgz/ by "Pedro A. Aranda Guti\irrez" <paag@tid.es> 1289 contrib/untgz/ by "Pedro A. Aranda Guti\irrez" <paag@tid.es>
1230 A very simple tar.gz file extractor using zlib 1290 A very simple tar.gz file extractor using zlib
1231 contrib/visual-basic.txt by Carlos Rios <c_rios@sonda.cl> 1291 contrib/visual-basic.txt by Carlos Rios <c_rios@sonda.cl>
1232 How to use compress(), uncompress() and the gz* functions from VB. 1292 How to use compress(), uncompress() and the gz* functions from VB
1233- pass params -f (filtered data), -h (huffman only), -1 to -9 (compression 1293- pass params -f (filtered data), -h (huffman only), -1 to -9 (compression
1234 level) in minigzip (thanks to Tom Lane) 1294 level) in minigzip (thanks to Tom Lane)
1235 1295
@@ -1238,8 +1298,8 @@ Changes in 1.0.6 (19 Jan 1998)
1238- add undocumented function inflateSyncPoint() (hack for Paul Mackerras) 1298- add undocumented function inflateSyncPoint() (hack for Paul Mackerras)
1239- add undocumented function zError to convert error code to string 1299- add undocumented function zError to convert error code to string
1240 (for Tim Smithers) 1300 (for Tim Smithers)
1241- Allow compilation of gzio with -DNO_DEFLATE to avoid the compression code. 1301- Allow compilation of gzio with -DNO_DEFLATE to avoid the compression code
1242- Use default memcpy for Symantec MSDOS compiler. 1302- Use default memcpy for Symantec MSDOS compiler
1243- Add EXPORT keyword for check_func (needed for Windows DLL) 1303- Add EXPORT keyword for check_func (needed for Windows DLL)
1244- add current directory to LD_LIBRARY_PATH for "make test" 1304- add current directory to LD_LIBRARY_PATH for "make test"
1245- create also a link for libz.so.1 1305- create also a link for libz.so.1
@@ -1252,7 +1312,7 @@ Changes in 1.0.6 (19 Jan 1998)
1252- allow compilation with ANSI keywords only enabled for TurboC in large model 1312- allow compilation with ANSI keywords only enabled for TurboC in large model
1253- avoid "versionString"[0] (Borland bug) 1313- avoid "versionString"[0] (Borland bug)
1254- add NEED_DUMMY_RETURN for Borland 1314- add NEED_DUMMY_RETURN for Borland
1255- use variable z_verbose for tracing in debug mode (L. Peter Deutsch). 1315- use variable z_verbose for tracing in debug mode (L. Peter Deutsch)
1256- allow compilation with CC 1316- allow compilation with CC
1257- defined STDC for OS/2 (David Charlap) 1317- defined STDC for OS/2 (David Charlap)
1258- limit external names to 8 chars for MVS (Thomas Lund) 1318- limit external names to 8 chars for MVS (Thomas Lund)
@@ -1262,7 +1322,7 @@ Changes in 1.0.6 (19 Jan 1998)
1262- use _fdopen instead of fdopen for MSC >= 6.0 (Thomas Fanslau) 1322- use _fdopen instead of fdopen for MSC >= 6.0 (Thomas Fanslau)
1263- added makelcc.bat for lcc-win32 (Tom St Denis) 1323- added makelcc.bat for lcc-win32 (Tom St Denis)
1264- in Makefile.dj2, use copy and del instead of install and rm (Frank Donahoe) 1324- in Makefile.dj2, use copy and del instead of install and rm (Frank Donahoe)
1265- Avoid expanded $Id$. Use "rcs -kb" or "cvs admin -kb" to avoid Id expansion. 1325- Avoid expanded $Id$. Use "rcs -kb" or "cvs admin -kb" to avoid Id expansion
1266- check for unistd.h in configure (for off_t) 1326- check for unistd.h in configure (for off_t)
1267- remove useless check parameter in inflate_blocks_free 1327- remove useless check parameter in inflate_blocks_free
1268- avoid useless assignment of s->check to itself in inflate_blocks_new 1328- avoid useless assignment of s->check to itself in inflate_blocks_new
@@ -1283,7 +1343,7 @@ Changes in 1.0.5 (3 Jan 98)
1283Changes in 1.0.4 (24 Jul 96) 1343Changes in 1.0.4 (24 Jul 96)
1284- In very rare conditions, deflate(s, Z_FINISH) could fail to produce an EOF 1344- In very rare conditions, deflate(s, Z_FINISH) could fail to produce an EOF
1285 bit, so the decompressor could decompress all the correct data but went 1345 bit, so the decompressor could decompress all the correct data but went
1286 on to attempt decompressing extra garbage data. This affected minigzip too. 1346 on to attempt decompressing extra garbage data. This affected minigzip too
1287- zlibVersion and gzerror return const char* (needed for DLL) 1347- zlibVersion and gzerror return const char* (needed for DLL)
1288- port to RISCOS (no fdopen, no multiple dots, no unlink, no fileno) 1348- port to RISCOS (no fdopen, no multiple dots, no unlink, no fileno)
1289- use z_error only for DEBUG (avoid problem with DLLs) 1349- use z_error only for DEBUG (avoid problem with DLLs)
@@ -1313,7 +1373,7 @@ Changes in 1.0.1 (20 May 96) [1.0 skipped to avoid confusion]
1313- fix array overlay in deflate.c which sometimes caused bad compressed data 1373- fix array overlay in deflate.c which sometimes caused bad compressed data
1314- fix inflate bug with empty stored block 1374- fix inflate bug with empty stored block
1315- fix MSDOS medium model which was broken in 0.99 1375- fix MSDOS medium model which was broken in 0.99
1316- fix deflateParams() which could generate bad compressed data. 1376- fix deflateParams() which could generate bad compressed data
1317- Bytef is define'd instead of typedef'ed (work around Borland bug) 1377- Bytef is define'd instead of typedef'ed (work around Borland bug)
1318- added an INDEX file 1378- added an INDEX file
1319- new makefiles for DJGPP (Makefile.dj2), 32-bit Borland (Makefile.b32), 1379- new makefiles for DJGPP (Makefile.dj2), 32-bit Borland (Makefile.b32),
@@ -1334,7 +1394,7 @@ Changes in 0.99 (27 Jan 96)
1334- allow preset dictionary shared between compressor and decompressor 1394- allow preset dictionary shared between compressor and decompressor
1335- allow compression level 0 (no compression) 1395- allow compression level 0 (no compression)
1336- add deflateParams in zlib.h: allow dynamic change of compression level 1396- add deflateParams in zlib.h: allow dynamic change of compression level
1337 and compression strategy. 1397 and compression strategy
1338- test large buffers and deflateParams in example.c 1398- test large buffers and deflateParams in example.c
1339- add optional "configure" to build zlib as a shared library 1399- add optional "configure" to build zlib as a shared library
1340- suppress Makefile.qnx, use configure instead 1400- suppress Makefile.qnx, use configure instead
@@ -1376,30 +1436,30 @@ Changes in 0.99 (27 Jan 96)
1376- use STDC instead of __GO32__ to avoid redeclaring exit, calloc, etc... 1436- use STDC instead of __GO32__ to avoid redeclaring exit, calloc, etc...
1377- use Z_BINARY instead of BINARY 1437- use Z_BINARY instead of BINARY
1378- document that gzclose after gzdopen will close the file 1438- document that gzclose after gzdopen will close the file
1379- allow "a" as mode in gzopen. 1439- allow "a" as mode in gzopen
1380- fix error checking in gzread 1440- fix error checking in gzread
1381- allow skipping .gz extra-field on pipes 1441- allow skipping .gz extra-field on pipes
1382- added reference to Perl interface in README 1442- added reference to Perl interface in README
1383- put the crc table in FAR data (I dislike more and more the medium model :) 1443- put the crc table in FAR data (I dislike more and more the medium model :)
1384- added get_crc_table 1444- added get_crc_table
1385- added a dimension to all arrays (Borland C can't count). 1445- added a dimension to all arrays (Borland C can't count)
1386- workaround Borland C bug in declaration of inflate_codes_new & inflate_fast 1446- workaround Borland C bug in declaration of inflate_codes_new & inflate_fast
1387- guard against multiple inclusion of *.h (for precompiled header on Mac) 1447- guard against multiple inclusion of *.h (for precompiled header on Mac)
1388- Watcom C pretends to be Microsoft C small model even in 32 bit mode. 1448- Watcom C pretends to be Microsoft C small model even in 32 bit mode
1389- don't use unsized arrays to avoid silly warnings by Visual C++: 1449- don't use unsized arrays to avoid silly warnings by Visual C++:
1390 warning C4746: 'inflate_mask' : unsized array treated as '__far' 1450 warning C4746: 'inflate_mask' : unsized array treated as '__far'
1391 (what's wrong with far data in far model?). 1451 (what's wrong with far data in far model?)
1392- define enum out of inflate_blocks_state to allow compilation with C++ 1452- define enum out of inflate_blocks_state to allow compilation with C++
1393 1453
1394Changes in 0.95 (16 Aug 95) 1454Changes in 0.95 (16 Aug 95)
1395- fix MSDOS small and medium model (now easier to adapt to any compiler) 1455- fix MSDOS small and medium model (now easier to adapt to any compiler)
1396- inlined send_bits 1456- inlined send_bits
1397- fix the final (:-) bug for deflate with flush (output was correct but 1457- fix the final (:-) bug for deflate with flush (output was correct but
1398 not completely flushed in rare occasions). 1458 not completely flushed in rare occasions)
1399- default window size is same for compression and decompression 1459- default window size is same for compression and decompression
1400 (it's now sufficient to set MAX_WBITS in zconf.h). 1460 (it's now sufficient to set MAX_WBITS in zconf.h)
1401- voidp -> voidpf and voidnp -> voidp (for consistency with other 1461- voidp -> voidpf and voidnp -> voidp (for consistency with other
1402 typedefs and because voidnp was not near in large model). 1462 typedefs and because voidnp was not near in large model)
1403 1463
1404Changes in 0.94 (13 Aug 95) 1464Changes in 0.94 (13 Aug 95)
1405- support MSDOS medium model 1465- support MSDOS medium model
@@ -1408,12 +1468,12 @@ Changes in 0.94 (13 Aug 95)
1408- added support for VMS 1468- added support for VMS
1409- allow a compression level in gzopen() 1469- allow a compression level in gzopen()
1410- gzflush now calls fflush 1470- gzflush now calls fflush
1411- For deflate with flush, flush even if no more input is provided. 1471- For deflate with flush, flush even if no more input is provided
1412- rename libgz.a as libz.a 1472- rename libgz.a as libz.a
1413- avoid complex expression in infcodes.c triggering Turbo C bug 1473- avoid complex expression in infcodes.c triggering Turbo C bug
1414- work around a problem with gcc on Alpha (in INSERT_STRING) 1474- work around a problem with gcc on Alpha (in INSERT_STRING)
1415- don't use inline functions (problem with some gcc versions) 1475- don't use inline functions (problem with some gcc versions)
1416- allow renaming of Byte, uInt, etc... with #define. 1476- allow renaming of Byte, uInt, etc... with #define
1417- avoid warning about (unused) pointer before start of array in deflate.c 1477- avoid warning about (unused) pointer before start of array in deflate.c
1418- avoid various warnings in gzio.c, example.c, infblock.c, adler32.c, zutil.c 1478- avoid various warnings in gzio.c, example.c, infblock.c, adler32.c, zutil.c
1419- avoid reserved word 'new' in trees.c 1479- avoid reserved word 'new' in trees.c
@@ -1432,7 +1492,7 @@ Changes in 0.92 (3 May 95)
1432- no memcpy on Pyramid 1492- no memcpy on Pyramid
1433- suppressed inftest.c 1493- suppressed inftest.c
1434- optimized fill_window, put longest_match inline for gcc 1494- optimized fill_window, put longest_match inline for gcc
1435- optimized inflate on stored blocks. 1495- optimized inflate on stored blocks
1436- untabify all sources to simplify patches 1496- untabify all sources to simplify patches
1437 1497
1438Changes in 0.91 (2 May 95) 1498Changes in 0.91 (2 May 95)
@@ -1450,7 +1510,7 @@ Changes in 0.9 (1 May 95)
1450- let again gzread copy uncompressed data unchanged (was working in 0.71) 1510- let again gzread copy uncompressed data unchanged (was working in 0.71)
1451- deflate(Z_FULL_FLUSH), inflateReset and inflateSync are now fully implemented 1511- deflate(Z_FULL_FLUSH), inflateReset and inflateSync are now fully implemented
1452- added a test of inflateSync in example.c 1512- added a test of inflateSync in example.c
1453- moved MAX_WBITS to zconf.h because users might want to change that. 1513- moved MAX_WBITS to zconf.h because users might want to change that
1454- document explicitly that zalloc(64K) on MSDOS must return a normalized 1514- document explicitly that zalloc(64K) on MSDOS must return a normalized
1455 pointer (zero offset) 1515 pointer (zero offset)
1456- added Makefiles for Microsoft C, Turbo C, Borland C++ 1516- added Makefiles for Microsoft C, Turbo C, Borland C++
@@ -1459,7 +1519,7 @@ Changes in 0.9 (1 May 95)
1459Changes in 0.8 (29 April 95) 1519Changes in 0.8 (29 April 95)
1460- added fast inflate (inffast.c) 1520- added fast inflate (inffast.c)
1461- deflate(Z_FINISH) now returns Z_STREAM_END when done. Warning: this 1521- deflate(Z_FINISH) now returns Z_STREAM_END when done. Warning: this
1462 is incompatible with previous versions of zlib which returned Z_OK. 1522 is incompatible with previous versions of zlib which returned Z_OK
1463- work around a TurboC compiler bug (bad code for b << 0, see infutil.h) 1523- work around a TurboC compiler bug (bad code for b << 0, see infutil.h)
1464 (actually that was not a compiler bug, see 0.81 above) 1524 (actually that was not a compiler bug, see 0.81 above)
1465- gzread no longer reads one extra byte in certain cases 1525- gzread no longer reads one extra byte in certain cases
@@ -1469,50 +1529,50 @@ Changes in 0.8 (29 April 95)
1469 1529
1470Changes in 0.71 (14 April 95) 1530Changes in 0.71 (14 April 95)
1471- Fixed more MSDOS compilation problems :( There is still a bug with 1531- Fixed more MSDOS compilation problems :( There is still a bug with
1472 TurboC large model. 1532 TurboC large model
1473 1533
1474Changes in 0.7 (14 April 95) 1534Changes in 0.7 (14 April 95)
1475- Added full inflate support. 1535- Added full inflate support
1476- Simplified the crc32() interface. The pre- and post-conditioning 1536- Simplified the crc32() interface. The pre- and post-conditioning
1477 (one's complement) is now done inside crc32(). WARNING: this is 1537 (one's complement) is now done inside crc32(). WARNING: this is
1478 incompatible with previous versions; see zlib.h for the new usage. 1538 incompatible with previous versions; see zlib.h for the new usage
1479 1539
1480Changes in 0.61 (12 April 95) 1540Changes in 0.61 (12 April 95)
1481- workaround for a bug in TurboC. example and minigzip now work on MSDOS. 1541- workaround for a bug in TurboC. example and minigzip now work on MSDOS
1482 1542
1483Changes in 0.6 (11 April 95) 1543Changes in 0.6 (11 April 95)
1484- added minigzip.c 1544- added minigzip.c
1485- added gzdopen to reopen a file descriptor as gzFile 1545- added gzdopen to reopen a file descriptor as gzFile
1486- added transparent reading of non-gziped files in gzread. 1546- added transparent reading of non-gziped files in gzread
1487- fixed bug in gzread (don't read crc as data) 1547- fixed bug in gzread (don't read crc as data)
1488- fixed bug in destroy (gzio.c) (don't return Z_STREAM_END for gzclose). 1548- fixed bug in destroy (gzio.c) (don't return Z_STREAM_END for gzclose)
1489- don't allocate big arrays in the stack (for MSDOS) 1549- don't allocate big arrays in the stack (for MSDOS)
1490- fix some MSDOS compilation problems 1550- fix some MSDOS compilation problems
1491 1551
1492Changes in 0.5: 1552Changes in 0.5:
1493- do real compression in deflate.c. Z_PARTIAL_FLUSH is supported but 1553- do real compression in deflate.c. Z_PARTIAL_FLUSH is supported but
1494 not yet Z_FULL_FLUSH. 1554 not yet Z_FULL_FLUSH
1495- support decompression but only in a single step (forced Z_FINISH) 1555- support decompression but only in a single step (forced Z_FINISH)
1496- added opaque object for zalloc and zfree. 1556- added opaque object for zalloc and zfree
1497- added deflateReset and inflateReset 1557- added deflateReset and inflateReset
1498- added a variable zlib_version for consistency checking. 1558- added a variable zlib_version for consistency checking
1499- renamed the 'filter' parameter of deflateInit2 as 'strategy'. 1559- renamed the 'filter' parameter of deflateInit2 as 'strategy'
1500 Added Z_FILTERED and Z_HUFFMAN_ONLY constants. 1560 Added Z_FILTERED and Z_HUFFMAN_ONLY constants
1501 1561
1502Changes in 0.4: 1562Changes in 0.4:
1503- avoid "zip" everywhere, use zlib instead of ziplib. 1563- avoid "zip" everywhere, use zlib instead of ziplib
1504- suppress Z_BLOCK_FLUSH, interpret Z_PARTIAL_FLUSH as block flush 1564- suppress Z_BLOCK_FLUSH, interpret Z_PARTIAL_FLUSH as block flush
1505 if compression method == 8. 1565 if compression method == 8
1506- added adler32 and crc32 1566- added adler32 and crc32
1507- renamed deflateOptions as deflateInit2, call one or the other but not both 1567- renamed deflateOptions as deflateInit2, call one or the other but not both
1508- added the method parameter for deflateInit2. 1568- added the method parameter for deflateInit2
1509- added inflateInit2 1569- added inflateInit2
1510- simplied considerably deflateInit and inflateInit by not supporting 1570- simplied considerably deflateInit and inflateInit by not supporting
1511 user-provided history buffer. This is supported only in deflateInit2 1571 user-provided history buffer. This is supported only in deflateInit2
1512 and inflateInit2. 1572 and inflateInit2
1513 1573
1514Changes in 0.3: 1574Changes in 0.3:
1515- prefix all macro names with Z_ 1575- prefix all macro names with Z_
1516- use Z_FINISH instead of deflateEnd to finish compression. 1576- use Z_FINISH instead of deflateEnd to finish compression
1517- added Z_HUFFMAN_ONLY 1577- added Z_HUFFMAN_ONLY
1518- added gzerror() 1578- added gzerror()