J. Duke | 319a3b9 | 2007-12-01 00:00:00 +0000 | [diff] [blame^] | 1 | |
| 2 | ChangeLog file for zlib |
| 3 | |
| 4 | Changes in 1.1.3.f-jdk (23 Apr 2003) by Sun Microsystems |
| 5 | - Backport security fixes from zlib 1.1.4 |
| 6 | - Minor tweaks for 64 bit architectures |
| 7 | - Remove warnings on Linux |
| 8 | - Fix minor typos in comments in zlib.h |
| 9 | - adler32.c was renamed to zadler32.c |
| 10 | - crc32.c was renamed to zcrc32.c, with signed longs made unsigned. |
| 11 | - Fixed bug in calculation of checksum in inflate.c |
| 12 | - GPL headers added |
| 13 | |
| 14 | Changes in 1.1.3 (9 July 1998) |
| 15 | - fix "an inflate input buffer bug that shows up on rare but persistent |
| 16 | occasions" (Mark) |
| 17 | - fix gzread and gztell for concatenated .gz files (Didier Le Botlan) |
| 18 | - fix gzseek(..., SEEK_SET) in write mode |
| 19 | - fix crc check after a gzeek (Frank Faubert) |
| 20 | - fix miniunzip when the last entry in a zip file is itself a zip file |
| 21 | (J Lillge) |
| 22 | - add contrib/asm586 and contrib/asm686 (Brian Raiter) |
| 23 | See http://www.muppetlabs.com/~breadbox/software/assembly.html |
| 24 | - add support for Delphi 3 in contrib/delphi (Bob Dellaca) |
| 25 | - add support for C++Builder 3 and Delphi 3 in contrib/delphi2 (Davide Moretti) |
| 26 | - do not exit prematurely in untgz if 0 at start of block (Magnus Holmgren) |
| 27 | - use macro EXTERN instead of extern to support DLL for BeOS (Sander Stoks) |
| 28 | - added a FAQ file |
| 29 | |
| 30 | - Support gzdopen on Mac with Metrowerks (Jason Linhart) |
| 31 | - Do not redefine Byte on Mac (Brad Pettit & Jason Linhart) |
| 32 | - define SEEK_END too if SEEK_SET is not defined (Albert Chin-A-Young) |
| 33 | - avoid some warnings with Borland C (Tom Tanner) |
| 34 | - fix a problem in contrib/minizip/zip.c for 16-bit MSDOS (Gilles Vollant) |
| 35 | - emulate utime() for WIN32 in contrib/untgz (Gilles Vollant) |
| 36 | - allow several arguments to configure (Tim Mooney, Frodo Looijaard) |
| 37 | - use libdir and includedir in Makefile.in (Tim Mooney) |
| 38 | - support shared libraries on OSF1 V4 (Tim Mooney) |
| 39 | - remove so_locations in "make clean" (Tim Mooney) |
| 40 | - fix maketree.c compilation error (Glenn, Mark) |
| 41 | - Python interface to zlib now in Python 1.5 (Jeremy Hylton) |
| 42 | - new Makefile.riscos (Rich Walker) |
| 43 | - initialize static descriptors in trees.c for embedded targets (Nick Smith) |
| 44 | - use "foo-gz" in example.c for RISCOS and VMS (Nick Smith) |
| 45 | - add the OS/2 files in Makefile.in too (Andrew Zabolotny) |
| 46 | - fix fdopen and halloc macros for Microsoft C 6.0 (Tom Lane) |
| 47 | - fix maketree.c to allow clean compilation of inffixed.h (Mark) |
| 48 | - fix parameter check in deflateCopy (Gunther Nikl) |
| 49 | - cleanup trees.c, use compressed_len only in debug mode (Christian Spieler) |
| 50 | - Many portability patches by Christian Spieler: |
| 51 | . zutil.c, zutil.h: added "const" for zmem* |
| 52 | . Make_vms.com: fixed some typos |
| 53 | . Make_vms.com: msdos/Makefile.*: removed zutil.h from some dependency lists |
| 54 | . msdos/Makefile.msc: remove "default rtl link library" info from obj files |
| 55 | . msdos/Makefile.*: use model-dependent name for the built zlib library |
| 56 | . msdos/Makefile.emx, nt/Makefile.emx, nt/Makefile.gcc: |
| 57 | new makefiles, for emx (DOS/OS2), emx&rsxnt and mingw32 (Windows 9x / NT) |
| 58 | - use define instead of typedef for Bytef also for MSC small/medium (Tom Lane) |
| 59 | - replace __far with _far for better portability (Christian Spieler, Tom Lane) |
| 60 | - fix test for errno.h in configure (Tim Newsham) |
| 61 | |
| 62 | Changes in 1.1.2 (19 March 98) |
| 63 | - added contrib/minzip, mini zip and unzip based on zlib (Gilles Vollant) |
| 64 | See http://www.winimage.com/zLibDll/unzip.html |
| 65 | - preinitialize the inflate tables for fixed codes, to make the code |
| 66 | completely thread safe (Mark) |
| 67 | - some simplifications and slight speed-up to the inflate code (Mark) |
| 68 | - fix gzeof on non-compressed files (Allan Schrum) |
| 69 | - add -std1 option in configure for OSF1 to fix gzprintf (Martin Mokrejs) |
| 70 | - use default value of 4K for Z_BUFSIZE for 16-bit MSDOS (Tim Wegner + Glenn) |
| 71 | - added os2/Makefile.def and os2/zlib.def (Andrew Zabolotny) |
| 72 | - add shared lib support for UNIX_SV4.2MP (MATSUURA Takanori) |
| 73 | - do not wrap extern "C" around system includes (Tom Lane) |
| 74 | - mention zlib binding for TCL in README (Andreas Kupries) |
| 75 | - added amiga/Makefile.pup for Amiga powerUP SAS/C PPC (Andreas Kleinert) |
| 76 | - allow "make install prefix=..." even after configure (Glenn Randers-Pehrson) |
| 77 | - allow "configure --prefix $HOME" (Tim Mooney) |
| 78 | - remove warnings in example.c and gzio.c (Glenn Randers-Pehrson) |
| 79 | - move Makefile.sas to amiga/Makefile.sas |
| 80 | |
| 81 | Changes in 1.1.1 (27 Feb 98) |
| 82 | - fix macros _tr_tally_* in deflate.h for debug mode (Glenn Randers-Pehrson) |
| 83 | - remove block truncation heuristic which had very marginal effect for zlib |
| 84 | (smaller lit_bufsize than in gzip 1.2.4) and degraded a little the |
| 85 | compression ratio on some files. This also allows inlining _tr_tally for |
| 86 | matches in deflate_slow. |
| 87 | - added msdos/Makefile.w32 for WIN32 Microsoft Visual C++ (Bob Frazier) |
| 88 | |
| 89 | Changes in 1.1.0 (24 Feb 98) |
| 90 | - do not return STREAM_END prematurely in inflate (John Bowler) |
| 91 | - revert to the zlib 1.0.8 inflate to avoid the gcc 2.8.0 bug (Jeremy Buhler) |
| 92 | - compile with -DFASTEST to get compression code optimized for speed only |
| 93 | - in minigzip, try mmap'ing the input file first (Miguel Albrecht) |
| 94 | - increase size of I/O buffers in minigzip.c and gzio.c (not a big gain |
| 95 | on Sun but significant on HP) |
| 96 | |
| 97 | - add a pointer to experimental unzip library in README (Gilles Vollant) |
| 98 | - initialize variable gcc in configure (Chris Herborth) |
| 99 | |
| 100 | Changes in 1.0.9 (17 Feb 1998) |
| 101 | - added gzputs and gzgets functions |
| 102 | - do not clear eof flag in gzseek (Mark Diekhans) |
| 103 | - fix gzseek for files in transparent mode (Mark Diekhans) |
| 104 | - do not assume that vsprintf returns the number of bytes written (Jens Krinke) |
| 105 | - replace EXPORT with ZEXPORT to avoid conflict with other programs |
| 106 | - added compress2 in zconf.h, zlib.def, zlib.dnt |
| 107 | - new asm code from Gilles Vollant in contrib/asm386 |
| 108 | - simplify the inflate code (Mark): |
| 109 | . Replace ZALLOC's in huft_build() with single ZALLOC in inflate_blocks_new() |
| 110 | . ZALLOC the length list in inflate_trees_fixed() instead of using stack |
| 111 | . ZALLOC the value area for huft_build() instead of using stack |
| 112 | . Simplify Z_FINISH check in inflate() |
| 113 | |
| 114 | - Avoid gcc 2.8.0 comparison bug a little differently than zlib 1.0.8 |
| 115 | - in inftrees.c, avoid cc -O bug on HP (Farshid Elahi) |
| 116 | - in zconf.h move the ZLIB_DLL stuff earlier to avoid problems with |
| 117 | the declaration of FAR (Gilles VOllant) |
| 118 | - install libz.so* with mode 755 (executable) instead of 644 (Marc Lehmann) |
| 119 | - read_buf buf parameter of type Bytef* instead of charf* |
| 120 | - zmemcpy parameters are of type Bytef*, not charf* (Joseph Strout) |
| 121 | - do not redeclare unlink in minigzip.c for WIN32 (John Bowler) |
| 122 | - fix check for presence of directories in "make install" (Ian Willis) |
| 123 | |
| 124 | Changes in 1.0.8 (27 Jan 1998) |
| 125 | - fixed offsets in contrib/asm386/gvmat32.asm (Gilles Vollant) |
| 126 | - fix gzgetc and gzputc for big endian systems (Markus Oberhumer) |
| 127 | - added compress2() to allow setting the compression level |
| 128 | - include sys/types.h to get off_t on some systems (Marc Lehmann & QingLong) |
| 129 | - use constant arrays for the static trees in trees.c instead of computing |
| 130 | them at run time (thanks to Ken Raeburn for this suggestion). To create |
| 131 | trees.h, compile with GEN_TREES_H and run "make test". |
| 132 | - check return code of example in "make test" and display result |
| 133 | - pass minigzip command line options to file_compress |
| 134 | - simplifying code of inflateSync to avoid gcc 2.8 bug |
| 135 | |
| 136 | - support CC="gcc -Wall" in configure -s (QingLong) |
| 137 | - avoid a flush caused by ftell in gzopen for write mode (Ken Raeburn) |
| 138 | - fix test for shared library support to avoid compiler warnings |
| 139 | - zlib.lib -> zlib.dll in msdos/zlib.rc (Gilles Vollant) |
| 140 | - check for TARGET_OS_MAC in addition to MACOS (Brad Pettit) |
| 141 | - do not use fdopen for Metrowerks on Mac (Brad Pettit)) |
| 142 | - add checks for gzputc and gzputc in example.c |
| 143 | - avoid warnings in gzio.c and deflate.c (Andreas Kleinert) |
| 144 | - use const for the CRC table (Ken Raeburn) |
| 145 | - fixed "make uninstall" for shared libraries |
| 146 | - use Tracev instead of Trace in infblock.c |
| 147 | - in example.c use correct compressed length for test_sync |
| 148 | - suppress +vnocompatwarnings in configure for HPUX (not always supported) |
| 149 | |
| 150 | Changes in 1.0.7 (20 Jan 1998) |
| 151 | - fix gzseek which was broken in write mode |
| 152 | - return error for gzseek to negative absolute position |
| 153 | - fix configure for Linux (Chun-Chung Chen) |
| 154 | - increase stack space for MSC (Tim Wegner) |
| 155 | - get_crc_table and inflateSyncPoint are EXPORTed (Gilles Vollant) |
| 156 | - define EXPORTVA for gzprintf (Gilles Vollant) |
| 157 | - added man page zlib.3 (Rick Rodgers) |
| 158 | - for contrib/untgz, fix makedir() and improve Makefile |
| 159 | |
| 160 | - check gzseek in write mode in example.c |
| 161 | - allocate extra buffer for seeks only if gzseek is actually called |
| 162 | - avoid signed/unsigned comparisons (Tim Wegner, Gilles Vollant) |
| 163 | - add inflateSyncPoint in zconf.h |
| 164 | - fix list of exported functions in nt/zlib.dnt and mdsos/zlib.def |
| 165 | |
| 166 | Changes in 1.0.6 (19 Jan 1998) |
| 167 | - add functions gzprintf, gzputc, gzgetc, gztell, gzeof, gzseek, gzrewind and |
| 168 | gzsetparams (thanks to Roland Giersig and Kevin Ruland for some of this code) |
| 169 | - Fix a deflate bug occuring only with compression level 0 (thanks to |
| 170 | Andy Buckler for finding this one). |
| 171 | - In minigzip, pass transparently also the first byte for .Z files. |
| 172 | - return Z_BUF_ERROR instead of Z_OK if output buffer full in uncompress() |
| 173 | - check Z_FINISH in inflate (thanks to Marc Schluper) |
| 174 | - Implement deflateCopy (thanks to Adam Costello) |
| 175 | - make static libraries by default in configure, add --shared option. |
| 176 | - move MSDOS or Windows specific files to directory msdos |
| 177 | - suppress the notion of partial flush to simplify the interface |
| 178 | (but the symbol Z_PARTIAL_FLUSH is kept for compatibility with 1.0.4) |
| 179 | - suppress history buffer provided by application to simplify the interface |
| 180 | (this feature was not implemented anyway in 1.0.4) |
| 181 | - next_in and avail_in must be initialized before calling inflateInit or |
| 182 | inflateInit2 |
| 183 | - add EXPORT in all exported functions (for Windows DLL) |
| 184 | - added Makefile.nt (thanks to Stephen Williams) |
| 185 | - added the unsupported "contrib" directory: |
| 186 | contrib/asm386/ by Gilles Vollant <info@winimage.com> |
| 187 | 386 asm code replacing longest_match(). |
| 188 | contrib/iostream/ by Kevin Ruland <kevin@rodin.wustl.edu> |
| 189 | A C++ I/O streams interface to the zlib gz* functions |
| 190 | contrib/iostream2/ by Tyge Løvset <Tyge.Lovset@cmr.no> |
| 191 | Another C++ I/O streams interface |
| 192 | contrib/untgz/ by "Pedro A. Aranda Guti\irrez" <paag@tid.es> |
| 193 | A very simple tar.gz file extractor using zlib |
| 194 | contrib/visual-basic.txt by Carlos Rios <c_rios@sonda.cl> |
| 195 | How to use compress(), uncompress() and the gz* functions from VB. |
| 196 | - pass params -f (filtered data), -h (huffman only), -1 to -9 (compression |
| 197 | level) in minigzip (thanks to Tom Lane) |
| 198 | |
| 199 | - use const for rommable constants in deflate |
| 200 | - added test for gzseek and gztell in example.c |
| 201 | - add undocumented function inflateSyncPoint() (hack for Paul Mackerras) |
| 202 | - add undocumented function zError to convert error code to string |
| 203 | (for Tim Smithers) |
| 204 | - Allow compilation of gzio with -DNO_DEFLATE to avoid the compression code. |
| 205 | - Use default memcpy for Symantec MSDOS compiler. |
| 206 | - Add EXPORT keyword for check_func (needed for Windows DLL) |
| 207 | - add current directory to LD_LIBRARY_PATH for "make test" |
| 208 | - create also a link for libz.so.1 |
| 209 | - added support for FUJITSU UXP/DS (thanks to Toshiaki Nomura) |
| 210 | - use $(SHAREDLIB) instead of libz.so in Makefile.in (for HPUX) |
| 211 | - added -soname for Linux in configure (Chun-Chung Chen, |
| 212 | - assign numbers to the exported functions in zlib.def (for Windows DLL) |
| 213 | - add advice in zlib.h for best usage of deflateSetDictionary |
| 214 | - work around compiler bug on Atari (cast Z_NULL in call of s->checkfn) |
| 215 | - allow compilation with ANSI keywords only enabled for TurboC in large model |
| 216 | - avoid "versionString"[0] (Borland bug) |
| 217 | - add NEED_DUMMY_RETURN for Borland |
| 218 | - use variable z_verbose for tracing in debug mode (L. Peter Deutsch). |
| 219 | - allow compilation with CC |
| 220 | - defined STDC for OS/2 (David Charlap) |
| 221 | - limit external names to 8 chars for MVS (Thomas Lund) |
| 222 | - in minigzip.c, use static buffers only for 16-bit systems |
| 223 | - fix suffix check for "minigzip -d foo.gz" |
| 224 | - do not return an error for the 2nd of two consecutive gzflush() (Felix Lee) |
| 225 | - use _fdopen instead of fdopen for MSC >= 6.0 (Thomas Fanslau) |
| 226 | - added makelcc.bat for lcc-win32 (Tom St Denis) |
| 227 | - in Makefile.dj2, use copy and del instead of install and rm (Frank Donahoe) |
| 228 | - Avoid expanded $Id$. Use "rcs -kb" or "cvs admin -kb" to avoid Id expansion. |
| 229 | - check for unistd.h in configure (for off_t) |
| 230 | - remove useless check parameter in inflate_blocks_free |
| 231 | - avoid useless assignment of s->check to itself in inflate_blocks_new |
| 232 | - do not flush twice in gzclose (thanks to Ken Raeburn) |
| 233 | - rename FOPEN as F_OPEN to avoid clash with /usr/include/sys/file.h |
| 234 | - use NO_ERRNO_H instead of enumeration of operating systems with errno.h |
| 235 | - work around buggy fclose on pipes for HP/UX |
| 236 | - support zlib DLL with BORLAND C++ 5.0 (thanks to Glenn Randers-Pehrson) |
| 237 | - fix configure if CC is already equal to gcc |
| 238 | |
| 239 | Changes in 1.0.5 (3 Jan 98) |
| 240 | - Fix inflate to terminate gracefully when fed corrupted or invalid data |
| 241 | - Use const for rommable constants in inflate |
| 242 | - Eliminate memory leaks on error conditions in inflate |
| 243 | - Removed some vestigial code in inflate |
| 244 | - Update web address in README |
| 245 | |
| 246 | Changes in 1.0.4 (24 Jul 96) |
| 247 | - In very rare conditions, deflate(s, Z_FINISH) could fail to produce an EOF |
| 248 | bit, so the decompressor could decompress all the correct data but went |
| 249 | on to attempt decompressing extra garbage data. This affected minigzip too. |
| 250 | - zlibVersion and gzerror return const char* (needed for DLL) |
| 251 | - port to RISCOS (no fdopen, no multiple dots, no unlink, no fileno) |
| 252 | - use z_error only for DEBUG (avoid problem with DLLs) |
| 253 | |
| 254 | Changes in 1.0.3 (2 Jul 96) |
| 255 | - use z_streamp instead of z_stream *, which is now a far pointer in MSDOS |
| 256 | small and medium models; this makes the library incompatible with previous |
| 257 | versions for these models. (No effect in large model or on other systems.) |
| 258 | - return OK instead of BUF_ERROR if previous deflate call returned with |
| 259 | avail_out as zero but there is nothing to do |
| 260 | - added memcmp for non STDC compilers |
| 261 | - define NO_DUMMY_DECL for more Mac compilers (.h files merged incorrectly) |
| 262 | - define __32BIT__ if __386__ or i386 is defined (pb. with Watcom and SCO) |
| 263 | - better check for 16-bit mode MSC (avoids problem with Symantec) |
| 264 | |
| 265 | Changes in 1.0.2 (23 May 96) |
| 266 | - added Windows DLL support |
| 267 | - added a function zlibVersion (for the DLL support) |
| 268 | - fixed declarations using Bytef in infutil.c (pb with MSDOS medium model) |
| 269 | - Bytef is define's instead of typedef'd only for Borland C |
| 270 | - avoid reading uninitialized memory in example.c |
| 271 | - mention in README that the zlib format is now RFC1950 |
| 272 | - updated Makefile.dj2 |
| 273 | - added algorithm.doc |
| 274 | |
| 275 | Changes in 1.0.1 (20 May 96) [1.0 skipped to avoid confusion] |
| 276 | - fix array overlay in deflate.c which sometimes caused bad compressed data |
| 277 | - fix inflate bug with empty stored block |
| 278 | - fix MSDOS medium model which was broken in 0.99 |
| 279 | - fix deflateParams() which could generated bad compressed data. |
| 280 | - Bytef is define'd instead of typedef'ed (work around Borland bug) |
| 281 | - added an INDEX file |
| 282 | - new makefiles for DJGPP (Makefile.dj2), 32-bit Borland (Makefile.b32), |
| 283 | Watcom (Makefile.wat), Amiga SAS/C (Makefile.sas) |
| 284 | - speed up adler32 for modern machines without auto-increment |
| 285 | - added -ansi for IRIX in configure |
| 286 | - static_init_done in trees.c is an int |
| 287 | - define unlink as delete for VMS |
| 288 | - fix configure for QNX |
| 289 | - add configure branch for SCO and HPUX |
| 290 | - avoid many warnings (unused variables, dead assignments, etc...) |
| 291 | - no fdopen for BeOS |
| 292 | - fix the Watcom fix for 32 bit mode (define FAR as empty) |
| 293 | - removed redefinition of Byte for MKWERKS |
| 294 | - work around an MWKERKS bug (incorrect merge of all .h files) |
| 295 | |
| 296 | Changes in 0.99 (27 Jan 96) |
| 297 | - allow preset dictionary shared between compressor and decompressor |
| 298 | - allow compression level 0 (no compression) |
| 299 | - add deflateParams in zlib.h: allow dynamic change of compression level |
| 300 | and compression strategy. |
| 301 | - test large buffers and deflateParams in example.c |
| 302 | - add optional "configure" to build zlib as a shared library |
| 303 | - suppress Makefile.qnx, use configure instead |
| 304 | - fixed deflate for 64-bit systems (detected on Cray) |
| 305 | - fixed inflate_blocks for 64-bit systems (detected on Alpha) |
| 306 | - declare Z_DEFLATED in zlib.h (possible parameter for deflateInit2) |
| 307 | - always return Z_BUF_ERROR when deflate() has nothing to do |
| 308 | - deflateInit and inflateInit are now macros to allow version checking |
| 309 | - prefix all global functions and types with z_ with -DZ_PREFIX |
| 310 | - make falloc completely reentrant (inftrees.c) |
| 311 | - fixed very unlikely race condition in ct_static_init |
| 312 | - free in reverse order of allocation to help memory manager |
| 313 | - use zlib-1.0/* instead of zlib/* inside the tar.gz |
| 314 | - make zlib warning-free with "gcc -O3 -Wall -Wwrite-strings -Wpointer-arith |
| 315 | -Wconversion -Wstrict-prototypes -Wmissing-prototypes" |
| 316 | - allow gzread on concatenated .gz files |
| 317 | - deflateEnd now returns Z_DATA_ERROR if it was premature |
| 318 | - deflate is finally (?) fully deterministic (no matches beyond end of input) |
| 319 | - Document Z_SYNC_FLUSH |
| 320 | - add uninstall in Makefile |
| 321 | - Check for __cpluplus in zlib.h |
| 322 | - Better test in ct_align for partial flush |
| 323 | - avoid harmless warnings for Borland C++ |
| 324 | - initialize hash_head in deflate.c |
| 325 | - avoid warning on fdopen (gzio.c) for HP cc -Aa |
| 326 | - include stdlib.h for STDC compilers |
| 327 | - include errno.h for Cray |
| 328 | - ignore error if ranlib doesn't exist |
| 329 | - call ranlib twice for NeXTSTEP |
| 330 | - use exec_prefix instead of prefix for libz.a |
| 331 | - renamed ct_* as _tr_* to avoid conflict with applications |
| 332 | - clear z->msg in inflateInit2 before any error return |
| 333 | - initialize opaque in example.c, gzio.c, deflate.c and inflate.c |
| 334 | - fixed typo in zconf.h (_GNUC__ => __GNUC__) |
| 335 | - check for WIN32 in zconf.h and zutil.c (avoid farmalloc in 32-bit mode) |
| 336 | - fix typo in Make_vms.com (f$trnlnm -> f$getsyi) |
| 337 | - in fcalloc, normalize pointer if size > 65520 bytes |
| 338 | - don't use special fcalloc for 32 bit Borland C++ |
| 339 | - use STDC instead of __GO32__ to avoid redeclaring exit, calloc, etc... |
| 340 | - use Z_BINARY instead of BINARY |
| 341 | - document that gzclose after gzdopen will close the file |
| 342 | - allow "a" as mode in gzopen. |
| 343 | - fix error checking in gzread |
| 344 | - allow skipping .gz extra-field on pipes |
| 345 | - added reference to Perl interface in README |
| 346 | - put the crc table in FAR data (I dislike more and more the medium model :) |
| 347 | - added get_crc_table |
| 348 | - added a dimension to all arrays (Borland C can't count). |
| 349 | - workaround Borland C bug in declaration of inflate_codes_new & inflate_fast |
| 350 | - guard against multiple inclusion of *.h (for precompiled header on Mac) |
| 351 | - Watcom C pretends to be Microsoft C small model even in 32 bit mode. |
| 352 | - don't use unsized arrays to avoid silly warnings by Visual C++: |
| 353 | warning C4746: 'inflate_mask' : unsized array treated as '__far' |
| 354 | (what's wrong with far data in far model?). |
| 355 | - define enum out of inflate_blocks_state to allow compilation with C++ |
| 356 | |
| 357 | Changes in 0.95 (16 Aug 95) |
| 358 | - fix MSDOS small and medium model (now easier to adapt to any compiler) |
| 359 | - inlined send_bits |
| 360 | - fix the final (:-) bug for deflate with flush (output was correct but |
| 361 | not completely flushed in rare occasions). |
| 362 | - default window size is same for compression and decompression |
| 363 | (it's now sufficient to set MAX_WBITS in zconf.h). |
| 364 | - voidp -> voidpf and voidnp -> voidp (for consistency with other |
| 365 | typedefs and because voidnp was not near in large model). |
| 366 | |
| 367 | Changes in 0.94 (13 Aug 95) |
| 368 | - support MSDOS medium model |
| 369 | - fix deflate with flush (could sometimes generate bad output) |
| 370 | - fix deflateReset (zlib header was incorrectly suppressed) |
| 371 | - added support for VMS |
| 372 | - allow a compression level in gzopen() |
| 373 | - gzflush now calls fflush |
| 374 | - For deflate with flush, flush even if no more input is provided. |
| 375 | - rename libgz.a as libz.a |
| 376 | - avoid complex expression in infcodes.c triggering Turbo C bug |
| 377 | - work around a problem with gcc on Alpha (in INSERT_STRING) |
| 378 | - don't use inline functions (problem with some gcc versions) |
| 379 | - allow renaming of Byte, uInt, etc... with #define. |
| 380 | - avoid warning about (unused) pointer before start of array in deflate.c |
| 381 | - avoid various warnings in gzio.c, example.c, infblock.c, adler32.c, zutil.c |
| 382 | - avoid reserved word 'new' in trees.c |
| 383 | |
| 384 | Changes in 0.93 (25 June 95) |
| 385 | - temporarily disable inline functions |
| 386 | - make deflate deterministic |
| 387 | - give enough lookahead for PARTIAL_FLUSH |
| 388 | - Set binary mode for stdin/stdout in minigzip.c for OS/2 |
| 389 | - don't even use signed char in inflate (not portable enough) |
| 390 | - fix inflate memory leak for segmented architectures |
| 391 | |
| 392 | Changes in 0.92 (3 May 95) |
| 393 | - don't assume that char is signed (problem on SGI) |
| 394 | - Clear bit buffer when starting a stored block |
| 395 | - no memcpy on Pyramid |
| 396 | - suppressed inftest.c |
| 397 | - optimized fill_window, put longest_match inline for gcc |
| 398 | - optimized inflate on stored blocks. |
| 399 | - untabify all sources to simplify patches |
| 400 | |
| 401 | Changes in 0.91 (2 May 95) |
| 402 | - Default MEM_LEVEL is 8 (not 9 for Unix) as documented in zlib.h |
| 403 | - Document the memory requirements in zconf.h |
| 404 | - added "make install" |
| 405 | - fix sync search logic in inflateSync |
| 406 | - deflate(Z_FULL_FLUSH) now works even if output buffer too short |
| 407 | - after inflateSync, don't scare people with just "lo world" |
| 408 | - added support for DJGPP |
| 409 | |
| 410 | Changes in 0.9 (1 May 95) |
| 411 | - don't assume that zalloc clears the allocated memory (the TurboC bug |
| 412 | was Mark's bug after all :) |
| 413 | - let again gzread copy uncompressed data unchanged (was working in 0.71) |
| 414 | - deflate(Z_FULL_FLUSH), inflateReset and inflateSync are now fully implemented |
| 415 | - added a test of inflateSync in example.c |
| 416 | - moved MAX_WBITS to zconf.h because users might want to change that. |
| 417 | - document explicitly that zalloc(64K) on MSDOS must return a normalized |
| 418 | pointer (zero offset) |
| 419 | - added Makefiles for Microsoft C, Turbo C, Borland C++ |
| 420 | - faster crc32() |
| 421 | |
| 422 | Changes in 0.8 (29 April 95) |
| 423 | - added fast inflate (inffast.c) |
| 424 | - deflate(Z_FINISH) now returns Z_STREAM_END when done. Warning: this |
| 425 | is incompatible with previous versions of zlib which returned Z_OK. |
| 426 | - work around a TurboC compiler bug (bad code for b << 0, see infutil.h) |
| 427 | (actually that was not a compiler bug, see 0.81 above) |
| 428 | - gzread no longer reads one extra byte in certain cases |
| 429 | - In gzio destroy(), don't reference a freed structure |
| 430 | - avoid many warnings for MSDOS |
| 431 | - avoid the ERROR symbol which is used by MS Windows |
| 432 | |
| 433 | Changes in 0.71 (14 April 95) |
| 434 | - Fixed more MSDOS compilation problems :( There is still a bug with |
| 435 | TurboC large model. |
| 436 | |
| 437 | Changes in 0.7 (14 April 95) |
| 438 | - Added full inflate support. |
| 439 | - Simplified the crc32() interface. The pre- and post-conditioning |
| 440 | (one's complement) is now done inside crc32(). WARNING: this is |
| 441 | incompatible with previous versions; see zlib.h for the new usage. |
| 442 | |
| 443 | Changes in 0.61 (12 April 95) |
| 444 | - workaround for a bug in TurboC. example and minigzip now work on MSDOS. |
| 445 | |
| 446 | Changes in 0.6 (11 April 95) |
| 447 | - added minigzip.c |
| 448 | - added gzdopen to reopen a file descriptor as gzFile |
| 449 | - added transparent reading of non-gziped files in gzread. |
| 450 | - fixed bug in gzread (don't read crc as data) |
| 451 | - fixed bug in destroy (gzio.c) (don't return Z_STREAM_END for gzclose). |
| 452 | - don't allocate big arrays in the stack (for MSDOS) |
| 453 | - fix some MSDOS compilation problems |
| 454 | |
| 455 | Changes in 0.5: |
| 456 | - do real compression in deflate.c. Z_PARTIAL_FLUSH is supported but |
| 457 | not yet Z_FULL_FLUSH. |
| 458 | - support decompression but only in a single step (forced Z_FINISH) |
| 459 | - added opaque object for zalloc and zfree. |
| 460 | - added deflateReset and inflateReset |
| 461 | - added a variable zlib_version for consistency checking. |
| 462 | - renamed the 'filter' parameter of deflateInit2 as 'strategy'. |
| 463 | Added Z_FILTERED and Z_HUFFMAN_ONLY constants. |
| 464 | |
| 465 | Changes in 0.4: |
| 466 | - avoid "zip" everywhere, use zlib instead of ziplib. |
| 467 | - suppress Z_BLOCK_FLUSH, interpret Z_PARTIAL_FLUSH as block flush |
| 468 | if compression method == 8. |
| 469 | - added adler32 and crc32 |
| 470 | - renamed deflateOptions as deflateInit2, call one or the other but not both |
| 471 | - added the method parameter for deflateInit2. |
| 472 | - added inflateInit2 |
| 473 | - simplied considerably deflateInit and inflateInit by not supporting |
| 474 | user-provided history buffer. This is supported only in deflateInit2 |
| 475 | and inflateInit2. |
| 476 | |
| 477 | Changes in 0.3: |
| 478 | - prefix all macro names with Z_ |
| 479 | - use Z_FINISH instead of deflateEnd to finish compression. |
| 480 | - added Z_HUFFMAN_ONLY |
| 481 | - added gzerror() |