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