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