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