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