]> git.lizzy.rs Git - zlib.git/blob - ChangeLog
zlib 1.0.5
[zlib.git] / ChangeLog
1
2                 ChangeLog file for zlib
3
4 Changes in 1.0.5 (3 Jan 98)
5 - Fix inflate to terminate gracefully when fed corrupted or invalid data
6 - Use const for rommable constants in inflate
7 - Eliminate memory leaks on error conditions in inflate
8 - Removed some vestigial code in inflate
9 - Update web address in README
10
11 Changes in 1.0.4 (24 Jul 96)
12 - In very rare conditions, deflate(s, Z_FINISH) could fail to produce an EOF
13   bit, so the decompressor could decompress all the correct data but went
14   on to attempt decompressing extra garbage data. This affected minigzip too.
15 - zlibVersion and gzerror return const char* (needed for DLL)
16 - port to RISCOS (no fdopen, no multiple dots, no unlink, no fileno)
17 - use z_error only for DEBUG (avoid problem with DLLs)
18
19 Changes in 1.0.3 (2 Jul 96)
20 - use z_streamp instead of z_stream *, which is now a far pointer in MSDOS
21   small and medium models; this makes the library incompatible with previous
22   versions for these models. (No effect in large model or on other systems.)
23 - return OK instead of BUF_ERROR if previous deflate call returned with
24   avail_out as zero but there is nothing to do
25 - added memcmp for non STDC compilers
26 - define NO_DUMMY_DECL for more Mac compilers (.h files merged incorrectly)
27 - define __32BIT__ if __386__ or i386 is defined (pb. with Watcom and SCO)
28 - better check for 16-bit mode MSC (avoids problem with Symantec)
29
30 Changes in 1.0.2 (23 May 96)
31 - added Windows DLL support
32 - added a function zlibVersion (for the DLL support)
33 - fixed declarations using Bytef in infutil.c (pb with MSDOS medium model)
34 - Bytef is define's instead of typedef'd only for Borland C
35 - avoid reading uninitialized memory in example.c
36 - mention in README that the zlib format is now RFC1950
37 - updated Makefile.dj2
38 - added algorithm.doc
39
40 Changes in 1.0.1 (20 May 96) [1.0 skipped to avoid confusion]
41 - fix array overlay in deflate.c which sometimes caused bad compressed data
42 - fix inflate bug with empty stored block
43 - fix MSDOS medium model which was broken in 0.99
44 - fix deflateParams() which could generated bad compressed data.
45 - Bytef is define'd instead of typedef'ed (work around Borland bug)
46 - added an INDEX file
47 - new makefiles for DJGPP (Makefile.dj2), 32-bit Borland (Makefile.b32),
48   Watcom (Makefile.wat), Amiga SAS/C (Makefile.sas)
49 - speed up adler32 for modern machines without auto-increment
50 - added -ansi for IRIX in configure
51 - static_init_done in trees.c is an int
52 - define unlink as delete for VMS
53 - fix configure for QNX
54 - add configure branch for SCO and HPUX
55 - avoid many warnings (unused variables, dead assignments, etc...)
56 - no fdopen for BeOS
57 - fix the Watcom fix for 32 bit mode (define FAR as empty)
58 - removed redefinition of Byte for MKWERKS
59 - work around an MWKERKS bug (incorrect merge of all .h files)
60
61 Changes in 0.99 (27 Jan 96)
62 - allow preset dictionary shared between compressor and decompressor
63 - allow compression level 0 (no compression)
64 - add deflateParams in zlib.h: allow dynamic change of compression level
65   and compression strategy.
66 - test large buffers and deflateParams in example.c
67 - add optional "configure" to build zlib as a shared library
68 - suppress Makefile.qnx, use configure instead
69 - fixed deflate for 64-bit systems (detected on Cray)
70 - fixed inflate_blocks for 64-bit systems (detected on Alpha)
71 - declare Z_DEFLATED in zlib.h (possible parameter for deflateInit2)
72 - always return Z_BUF_ERROR when deflate() has nothing to do
73 - deflateInit and inflateInit are now macros to allow version checking
74 - prefix all global functions and types with z_ with -DZ_PREFIX
75 - make falloc completely reentrant (inftrees.c)
76 - fixed very unlikely race condition in ct_static_init
77 - free in reverse order of allocation to help memory manager
78 - use zlib-1.0/* instead of zlib/* inside the tar.gz
79 - make zlib warning-free with "gcc -O3 -Wall -Wwrite-strings -Wpointer-arith
80   -Wconversion -Wstrict-prototypes -Wmissing-prototypes"
81 - allow gzread on concatenated .gz files
82 - deflateEnd now returns Z_DATA_ERROR if it was premature
83 - deflate is finally (?) fully deterministic (no matches beyond end of input)
84 - Document Z_SYNC_FLUSH
85 - add uninstall in Makefile
86 - Check for __cpluplus in zlib.h
87 - Better test in ct_align for partial flush
88 - avoid harmless warnings for Borland C++
89 - initialize hash_head in deflate.c
90 - avoid warning on fdopen (gzio.c) for HP cc -Aa
91 - include stdlib.h for STDC compilers
92 - include errno.h for Cray
93 - ignore error if ranlib doesn't exist
94 - call ranlib twice for NeXTSTEP
95 - use exec_prefix instead of prefix for libz.a
96 - renamed ct_* as _tr_* to avoid conflict with applications
97 - clear z->msg in inflateInit2 before any error return
98 - initialize opaque in example.c, gzio.c, deflate.c and inflate.c
99 - fixed typo in zconf.h (_GNUC__ => __GNUC__)
100 - check for WIN32 in zconf.h and zutil.c (avoid farmalloc in 32-bit mode)
101 - fix typo in Make_vms.com (f$trnlnm -> f$getsyi)
102 - in fcalloc, normalize pointer if size > 65520 bytes
103 - don't use special fcalloc for 32 bit Borland C++
104 - use STDC instead of __GO32__ to avoid redeclaring exit, calloc, etc...
105 - use Z_BINARY instead of BINARY
106 - document that gzclose after gzdopen will close the file
107 - allow "a" as mode in gzopen.
108 - fix error checking in gzread
109 - allow skipping .gz extra-field on pipes
110 - added reference to Perl interface in README
111 - put the crc table in FAR data (I dislike more and more the medium model :)
112 - added get_crc_table
113 - added a dimension to all arrays (Borland C can't count).
114 - workaround Borland C bug in declaration of inflate_codes_new & inflate_fast
115 - guard against multiple inclusion of *.h (for precompiled header on Mac)
116 - Watcom C pretends to be Microsoft C small model even in 32 bit mode.
117 - don't use unsized arrays to avoid silly warnings by Visual C++:
118      warning C4746: 'inflate_mask' : unsized array treated as  '__far'
119      (what's wrong with far data in far model?).
120 - define enum out of inflate_blocks_state to allow compilation with C++
121
122 Changes in 0.95 (16 Aug 95)
123 - fix MSDOS small and medium model (now easier to adapt to any compiler)
124 - inlined send_bits
125 - fix the final (:-) bug for deflate with flush (output was correct but
126   not completely flushed in rare occasions).
127 - default window size is same for compression and decompression
128   (it's now sufficient to set MAX_WBITS in zconf.h).
129 - voidp -> voidpf and voidnp -> voidp (for consistency with other
130   typedefs and because voidnp was not near in large model).
131
132 Changes in 0.94 (13 Aug 95)
133 - support MSDOS medium model
134 - fix deflate with flush (could sometimes generate bad output)
135 - fix deflateReset (zlib header was incorrectly suppressed)
136 - added support for VMS
137 - allow a compression level in gzopen()
138 - gzflush now calls fflush
139 - For deflate with flush, flush even if no more input is provided.
140 - rename libgz.a as libz.a
141 - avoid complex expression in infcodes.c triggering Turbo C bug
142 - work around a problem with gcc on Alpha (in INSERT_STRING)
143 - don't use inline functions (problem with some gcc versions)
144 - allow renaming of Byte, uInt, etc... with #define.
145 - avoid warning about (unused) pointer before start of array in deflate.c
146 - avoid various warnings in gzio.c, example.c, infblock.c, adler32.c, zutil.c
147 - avoid reserved word 'new' in trees.c
148
149 Changes in 0.93 (25 June 95)
150 - temporarily disable inline functions
151 - make deflate deterministic
152 - give enough lookahead for PARTIAL_FLUSH
153 - Set binary mode for stdin/stdout in minigzip.c for OS/2
154 - don't even use signed char in inflate (not portable enough)
155 - fix inflate memory leak for segmented architectures
156
157 Changes in 0.92 (3 May 95)
158 - don't assume that char is signed (problem on SGI)
159 - Clear bit buffer when starting a stored block
160 - no memcpy on Pyramid
161 - suppressed inftest.c
162 - optimized fill_window, put longest_match inline for gcc
163 - optimized inflate on stored blocks.
164 - untabify all sources to simplify patches
165
166 Changes in 0.91 (2 May 95)
167 - Default MEM_LEVEL is 8 (not 9 for Unix) as documented in zlib.h
168 - Document the memory requirements in zconf.h
169 - added "make install"
170 - fix sync search logic in inflateSync
171 - deflate(Z_FULL_FLUSH) now works even if output buffer too short
172 - after inflateSync, don't scare people with just "lo world"
173 - added support for DJGPP
174
175 Changes in 0.9 (1 May 95)
176 - don't assume that zalloc clears the allocated memory (the TurboC bug
177   was Mark's bug after all :)
178 - let again gzread copy uncompressed data unchanged (was working in 0.71)
179 - deflate(Z_FULL_FLUSH), inflateReset and inflateSync are now fully implemented
180 - added a test of inflateSync in example.c
181 - moved MAX_WBITS to zconf.h because users might want to change that.
182 - document explicitly that zalloc(64K) on MSDOS must return a normalized
183   pointer (zero offset)
184 - added Makefiles for Microsoft C, Turbo C, Borland C++
185 - faster crc32()
186
187 Changes in 0.8 (29 April 95)
188 - added fast inflate (inffast.c)
189 - deflate(Z_FINISH) now returns Z_STREAM_END when done. Warning: this
190   is incompatible with previous versions of zlib which returned Z_OK.
191 - work around a TurboC compiler bug (bad code for b << 0, see infutil.h)
192   (actually that was not a compiler bug, see 0.81 above)
193 - gzread no longer reads one extra byte in certain cases
194 - In gzio destroy(), don't reference a freed structure
195 - avoid many warnings for MSDOS
196 - avoid the ERROR symbol which is used by MS Windows
197
198 Changes in 0.71 (14 April 95)
199 - Fixed more MSDOS compilation problems :( There is still a bug with
200   TurboC large model.
201
202 Changes in 0.7 (14 April 95)
203 - Added full inflate support.
204 - Simplified the crc32() interface. The pre- and post-conditioning
205   (one's complement) is now done inside crc32(). WARNING: this is
206   incompatible with previous versions; see zlib.h for the new usage.
207
208 Changes in 0.61 (12 April 95)
209 - workaround for a bug in TurboC. example and minigzip now work on MSDOS.
210
211 Changes in 0.6 (11 April 95)
212 - added minigzip.c
213 - added gzdopen to reopen a file descriptor as gzFile
214 - added transparent reading of non-gziped files in gzread.
215 - fixed bug in gzread (don't read crc as data)
216 - fixed bug in destroy (gzio.c) (don't return Z_STREAM_END for gzclose).
217 - don't allocate big arrays in the stack (for MSDOS)
218 - fix some MSDOS compilation problems
219
220 Changes in 0.5:
221 - do real compression in deflate.c. Z_PARTIAL_FLUSH is supported but
222   not yet Z_FULL_FLUSH.
223 - support decompression but only in a single step (forced Z_FINISH)
224 - added opaque object for zalloc and zfree.
225 - added deflateReset and inflateReset
226 - added a variable zlib_version for consistency checking.
227 - renamed the 'filter' parameter of deflateInit2 as 'strategy'.
228   Added Z_FILTERED and Z_HUFFMAN_ONLY constants.
229
230 Changes in 0.4:
231 - avoid "zip" everywhere, use zlib instead of ziplib.
232 - suppress Z_BLOCK_FLUSH, interpret Z_PARTIAL_FLUSH as block flush
233   if compression method == 8.
234 - added adler32 and crc32
235 - renamed deflateOptions as deflateInit2, call one or the other but not both
236 - added the method parameter for deflateInit2.
237 - added inflateInit2
238 - simplied considerably deflateInit and inflateInit by not supporting
239   user-provided history buffer. This is supported only in deflateInit2
240   and inflateInit2.
241
242 Changes in 0.3:
243 - prefix all macro names with Z_
244 - use Z_FINISH instead of deflateEnd to finish compression.
245 - added Z_HUFFMAN_ONLY
246 - added gzerror()