source: rtems/cpukit/zlib/ChangeLog @ 14287f56

4.104.115
Last change on this file since 14287f56 was 959f7df2, checked in by Ralf Corsepius <ralf.corsepius@…>, on 10/28/05 at 07:22:42

Import of zlib-1.2.2.2.tar.gz

  • Property mode set to 100644
File size: 39.3 KB
Line 
1
2                ChangeLog file for zlib
3
4Changes in 1.2.2.2 (30 December 2004)
5- Replace structure assignments in deflate.c and inflate.c with zmemcpy to
6  avoid implicit memcpy calls (portability for no-library compilation)
7- Increase sprintf() buffer size in gzdopen() to allow for large numbers
8- Add INFLATE_STRICT to check distances against zlib header
9- Improve WinCE errno handling and comments [Chang]
10- Remove comment about no gzip header processing in FAQ
11- Add Z_FIXED strategy option to deflateInit2() to force fixed trees
12- Add updated make_vms.com [Coghlan], update README
13- Create a new "examples" directory, move gzappend.c there, add zpipe.c,
14  fitblk.c, gzlog.[ch], gzjoin.c, and zlib_how.html.
15- Add FAQ entry and comments in deflate.c on uninitialized memory access
16- Add Solaris 9 make options in configure [Gilbert]
17- Allow strerror() usage in gzio.c for STDC
18- Fix DecompressBuf in contrib/delphi/ZLib.pas [ManChesTer]
19- Update contrib/masmx86/inffas32.asm and gvmat32.asm [Vollant]
20- Use z_off_t for adler32_combine() and crc32_combine() lengths
21- Make adler32() much faster for small len
22- Use OS_CODE in deflate() default gzip header
23
24Changes in 1.2.2.1 (31 October 2004)
25- Allow inflateSetDictionary() call for raw inflate
26- Fix inflate header crc check bug for file names and comments
27- Add deflateSetHeader() and gz_header structure for custom gzip headers
28- Add inflateGetheader() to retrieve gzip headers
29- Add crc32_combine() and adler32_combine() functions
30- Add alloc_func, free_func, in_func, out_func to Z_PREFIX list
31- Use zstreamp consistently in zlib.h (inflate_back functions)
32- Remove GUNZIP condition from definition of inflate_mode in inflate.h
33  and in contrib/inflate86/inffast.S [Truta, Anderson]
34- Add support for AMD64 in contrib/inflate86/inffas86.c [Anderson]
35- Update projects/README.projects and projects/visualc6 [Truta]
36- Update win32/DLL_FAQ.txt [Truta]
37- Avoid warning under NO_GZCOMPRESS in gzio.c; fix typo [Truta]
38- Deprecate Z_ASCII; use Z_TEXT instead [Truta]
39- Use a new algorithm for setting strm->data_type in trees.c [Truta]
40- Do not define an exit() prototype in zutil.c unless DEBUG defined
41- Remove prototype of exit() from zutil.c, example.c, minigzip.c [Truta]
42- Add comment in zlib.h for Z_NO_FLUSH parameter to deflate()
43- Fix Darwin build version identification [Peterson]
44
45Changes in 1.2.2 (3 October 2004)
46- Update zlib.h comments on gzip in-memory processing
47- Set adler to 1 in inflateReset() to support Java test suite [Walles]
48- Add contrib/dotzlib [Ravn]
49- Update win32/DLL_FAQ.txt [Truta]
50- Update contrib/minizip [Vollant]
51- Move contrib/visual-basic.txt to old/ [Truta]
52- Fix assembler builds in projects/visualc6/ [Truta]
53
54Changes in 1.2.1.2 (9 September 2004)
55- Update INDEX file
56- Fix trees.c to update strm->data_type (no one ever noticed!)
57- Fix bug in error case in inflate.c, infback.c, and infback9.c [Brown]
58- Add "volatile" to crc table flag declaration (for DYNAMIC_CRC_TABLE)
59- Add limited multitasking protection to DYNAMIC_CRC_TABLE
60- Add NO_vsnprintf for VMS in zutil.h [Mozilla]
61- Don't declare strerror() under VMS [Mozilla]
62- Add comment to DYNAMIC_CRC_TABLE to use get_crc_table() to initialize
63- Update contrib/ada [Anisimkov]
64- Update contrib/minizip [Vollant]
65- Fix configure to not hardcode directories for Darwin [Peterson]
66- Fix gzio.c to not return error on empty files [Brown]
67- Fix indentation; update version in contrib/delphi/ZLib.pas and
68  contrib/pascal/zlibpas.pas [Truta]
69- Update mkasm.bat in contrib/masmx86 [Truta]
70- Update contrib/untgz [Truta]
71- Add projects/README.projects [Truta]
72- Add project for MS Visual C++ 6.0 in projects/visualc6 [Cadieux, Truta]
73- Update win32/DLL_FAQ.txt [Truta]
74- Update list of Z_PREFIX symbols in zconf.h [Randers-Pehrson, Truta]
75- Remove an unnecessary assignment to curr in inftrees.c [Truta]
76- Add OS/2 to exe builds in configure [Poltorak]
77- Remove err dummy parameter in zlib.h [Kientzle]
78
79Changes in 1.2.1.1 (9 January 2004)
80- Update email address in README
81- Several FAQ updates
82- Fix a big fat bug in inftrees.c that prevented decoding valid
83  dynamic blocks with only literals and no distance codes --
84  Thanks to "Hot Emu" for the bug report and sample file
85- Add a note to puff.c on no distance codes case.
86
87Changes in 1.2.1 (17 November 2003)
88- Remove a tab in contrib/gzappend/gzappend.c
89- Update some interfaces in contrib for new zlib functions
90- Update zlib version number in some contrib entries
91- Add Windows CE definition for ptrdiff_t in zutil.h [Mai, Truta]
92- Support shared libraries on Hurd and KFreeBSD [Brown]
93- Fix error in NO_DIVIDE option of adler32.c
94
95Changes in 1.2.0.8 (4 November 2003)
96- Update version in contrib/delphi/ZLib.pas and contrib/pascal/zlibpas.pas
97- Add experimental NO_DIVIDE #define in adler32.c
98    - Possibly faster on some processors (let me know if it is)
99- Correct Z_BLOCK to not return on first inflate call if no wrap
100- Fix strm->data_type on inflate() return to correctly indicate EOB
101- Add deflatePrime() function for appending in the middle of a byte
102- Add contrib/gzappend for an example of appending to a stream
103- Update win32/DLL_FAQ.txt [Truta]
104- Delete Turbo C comment in README [Truta]
105- Improve some indentation in zconf.h [Truta]
106- Fix infinite loop on bad input in configure script [Church]
107- Fix gzeof() for concatenated gzip files [Johnson]
108- Add example to contrib/visual-basic.txt [Michael B.]
109- Add -p to mkdir's in Makefile.in [vda]
110- Fix configure to properly detect presence or lack of printf functions
111- Add AS400 support [Monnerat]
112- Add a little Cygwin support [Wilson]
113
114Changes in 1.2.0.7 (21 September 2003)
115- Correct some debug formats in contrib/infback9
116- Cast a type in a debug statement in trees.c
117- Change search and replace delimiter in configure from % to # [Beebe]
118- Update contrib/untgz to 0.2 with various fixes [Truta]
119- Add build support for Amiga [Nikl]
120- Remove some directories in old that have been updated to 1.2
121- Add dylib building for Mac OS X in configure and Makefile.in
122- Remove old distribution stuff from Makefile
123- Update README to point to DLL_FAQ.txt, and add comment on Mac OS X
124- Update links in README
125
126Changes in 1.2.0.6 (13 September 2003)
127- Minor FAQ updates
128- Update contrib/minizip to 1.00 [Vollant]
129- Remove test of gz functions in example.c when GZ_COMPRESS defined [Truta]
130- Update POSTINC comment for 68060 [Nikl]
131- Add contrib/infback9 with deflate64 decoding (unsupported)
132- For MVS define NO_vsnprintf and undefine FAR [van Burik]
133- Add pragma for fdopen on MVS [van Burik]
134
135Changes in 1.2.0.5 (8 September 2003)
136- Add OF to inflateBackEnd() declaration in zlib.h
137- Remember start when using gzdopen in the middle of a file
138- Use internal off_t counters in gz* functions to properly handle seeks
139- Perform more rigorous check for distance-too-far in inffast.c
140- Add Z_BLOCK flush option to return from inflate at block boundary
141- Set strm->data_type on return from inflate
142    - Indicate bits unused, if at block boundary, and if in last block
143- Replace size_t with ptrdiff_t in crc32.c, and check for correct size
144- Add condition so old NO_DEFLATE define still works for compatibility
145- FAQ update regarding the Windows DLL [Truta]
146- INDEX update: add qnx entry, remove aix entry [Truta]
147- Install zlib.3 into mandir [Wilson]
148- Move contrib/zlib_dll_FAQ.txt to win32/DLL_FAQ.txt; update [Truta]
149- Adapt the zlib interface to the new DLL convention guidelines [Truta]
150- Introduce ZLIB_WINAPI macro to allow the export of functions using
151  the WINAPI calling convention, for Visual Basic [Vollant, Truta]
152- Update msdos and win32 scripts and makefiles [Truta]
153- Export symbols by name, not by ordinal, in win32/zlib.def [Truta]
154- Add contrib/ada [Anisimkov]
155- Move asm files from contrib/vstudio/vc70_32 to contrib/asm386 [Truta]
156- Rename contrib/asm386 to contrib/masmx86 [Truta, Vollant]
157- Add contrib/masm686 [Truta]
158- Fix offsets in contrib/inflate86 and contrib/masmx86/inffas32.asm
159  [Truta, Vollant]
160- Update contrib/delphi; rename to contrib/pascal; add example [Truta]
161- Remove contrib/delphi2; add a new contrib/delphi [Truta]
162- Avoid inclusion of the nonstandard <memory.h> in contrib/iostream,
163  and fix some method prototypes [Truta]
164- Fix the ZCR_SEED2 constant to avoid warnings in contrib/minizip
165  [Truta]
166- Avoid the use of backslash (\) in contrib/minizip [Vollant]
167- Fix file time handling in contrib/untgz; update makefiles [Truta]
168- Update contrib/vstudio/vc70_32 to comply with the new DLL guidelines
169  [Vollant]
170- Remove contrib/vstudio/vc15_16 [Vollant]
171- Rename contrib/vstudio/vc70_32 to contrib/vstudio/vc7 [Truta]
172- Update README.contrib [Truta]
173- Invert the assignment order of match_head and s->prev[...] in
174  INSERT_STRING [Truta]
175- Compare TOO_FAR with 32767 instead of 32768, to avoid 16-bit warnings
176  [Truta]
177- Compare function pointers with 0, not with NULL or Z_NULL [Truta]
178- Fix prototype of syncsearch in inflate.c [Truta]
179- Introduce ASMINF macro to be enabled when using an ASM implementation
180  of inflate_fast [Truta]
181- Change NO_DEFLATE to NO_GZCOMPRESS [Truta]
182- Modify test_gzio in example.c to take a single file name as a
183  parameter [Truta]
184- Exit the example.c program if gzopen fails [Truta]
185- Add type casts around strlen in example.c [Truta]
186- Remove casting to sizeof in minigzip.c; give a proper type
187  to the variable compared with SUFFIX_LEN [Truta]
188- Update definitions of STDC and STDC99 in zconf.h [Truta]
189- Synchronize zconf.h with the new Windows DLL interface [Truta]
190- Use SYS16BIT instead of __32BIT__ to distinguish between
191  16- and 32-bit platforms [Truta]
192- Use far memory allocators in small 16-bit memory models for
193  Turbo C [Truta]
194- Add info about the use of ASMV, ASMINF and ZLIB_WINAPI in
195  zlibCompileFlags [Truta]
196- Cygwin has vsnprintf [Wilson]
197- In Windows16, OS_CODE is 0, as in MSDOS [Truta]
198- In Cygwin, OS_CODE is 3 (Unix), not 11 (Windows32) [Wilson]
199
200Changes in 1.2.0.4 (10 August 2003)
201- Minor FAQ updates
202- Be more strict when checking inflateInit2's windowBits parameter
203- Change NO_GUNZIP compile option to NO_GZIP to cover deflate as well
204- Add gzip wrapper option to deflateInit2 using windowBits
205- Add updated QNX rule in configure and qnx directory [Bonnefoy]
206- Make inflate distance-too-far checks more rigorous
207- Clean up FAR usage in inflate
208- Add casting to sizeof() in gzio.c and minigzip.c
209
210Changes in 1.2.0.3 (19 July 2003)
211- Fix silly error in gzungetc() implementation [Vollant]
212- Update contrib/minizip and contrib/vstudio [Vollant]
213- Fix printf format in example.c
214- Correct cdecl support in zconf.in.h [Anisimkov]
215- Minor FAQ updates
216
217Changes in 1.2.0.2 (13 July 2003)
218- Add ZLIB_VERNUM in zlib.h for numerical preprocessor comparisons
219- Attempt to avoid warnings in crc32.c for pointer-int conversion
220- Add AIX to configure, remove aix directory [Bakker]
221- Add some casts to minigzip.c
222- Improve checking after insecure sprintf() or vsprintf() calls
223- Remove #elif's from crc32.c
224- Change leave label to inf_leave in inflate.c and infback.c to avoid
225  library conflicts
226- Remove inflate gzip decoding by default--only enable gzip decoding by
227  special request for stricter backward compatibility
228- Add zlibCompileFlags() function to return compilation information
229- More typecasting in deflate.c to avoid warnings
230- Remove leading underscore from _Capital #defines [Truta]
231- Fix configure to link shared library when testing
232- Add some Windows CE target adjustments [Mai]
233- Remove #define ZLIB_DLL in zconf.h [Vollant]
234- Add zlib.3 [Rodgers]
235- Update RFC URL in deflate.c and algorithm.txt [Mai]
236- Add zlib_dll_FAQ.txt to contrib [Truta]
237- Add UL to some constants [Truta]
238- Update minizip and vstudio [Vollant]
239- Remove vestigial NEED_DUMMY_RETURN from zconf.in.h
240- Expand use of NO_DUMMY_DECL to avoid all dummy structures
241- Added iostream3 to contrib [Schwardt]
242- Replace rewind() with fseek() for WinCE [Truta]
243- Improve setting of zlib format compression level flags
244    - Report 0 for huffman and rle strategies and for level == 0 or 1
245    - Report 2 only for level == 6
246- Only deal with 64K limit when necessary at compile time [Truta]
247- Allow TOO_FAR check to be turned off at compile time [Truta]
248- Add gzclearerr() function [Souza]
249- Add gzungetc() function
250
251Changes in 1.2.0.1 (17 March 2003)
252- Add Z_RLE strategy for run-length encoding [Truta]
253    - When Z_RLE requested, restrict matches to distance one
254    - Update zlib.h, minigzip.c, gzopen(), gzdopen() for Z_RLE
255- Correct FASTEST compilation to allow level == 0
256- Clean up what gets compiled for FASTEST
257- Incorporate changes to zconf.in.h [Vollant]
258    - Refine detection of Turbo C need for dummy returns
259    - Refine ZLIB_DLL compilation
260    - Include additional header file on VMS for off_t typedef
261- Try to use _vsnprintf where it supplants vsprintf [Vollant]
262- Add some casts in inffast.c
263- Enchance comments in zlib.h on what happens if gzprintf() tries to
264  write more than 4095 bytes before compression
265- Remove unused state from inflateBackEnd()
266- Remove exit(0) from minigzip.c, example.c
267- Get rid of all those darn tabs
268- Add "check" target to Makefile.in that does the same thing as "test"
269- Add "mostlyclean" and "maintainer-clean" targets to Makefile.in
270- Update contrib/inflate86 [Anderson]
271- Update contrib/testzlib, contrib/vstudio, contrib/minizip [Vollant]
272- Add msdos and win32 directories with makefiles [Truta]
273- More additions and improvements to the FAQ
274
275Changes in 1.2.0 (9 March 2003)
276- New and improved inflate code
277    - About 20% faster
278    - Does not allocate 32K window unless and until needed
279    - Automatically detects and decompresses gzip streams
280    - Raw inflate no longer needs an extra dummy byte at end
281    - Added inflateBack functions using a callback interface--even faster
282      than inflate, useful for file utilities (gzip, zip)
283    - Added inflateCopy() function to record state for random access on
284      externally generated deflate streams (e.g. in gzip files)
285    - More readable code (I hope)
286- New and improved crc32()
287    - About 50% faster, thanks to suggestions from Rodney Brown
288- Add deflateBound() and compressBound() functions
289- Fix memory leak in deflateInit2()
290- Permit setting dictionary for raw deflate (for parallel deflate)
291- Fix const declaration for gzwrite()
292- Check for some malloc() failures in gzio.c
293- Fix bug in gzopen() on single-byte file 0x1f
294- Fix bug in gzread() on concatenated file with 0x1f at end of buffer
295  and next buffer doesn't start with 0x8b
296- Fix uncompress() to return Z_DATA_ERROR on truncated input
297- Free memory at end of example.c
298- Remove MAX #define in trees.c (conflicted with some libraries)
299- Fix static const's in deflate.c, gzio.c, and zutil.[ch]
300- Declare malloc() and free() in gzio.c if STDC not defined
301- Use malloc() instead of calloc() in zutil.c if int big enough
302- Define STDC for AIX
303- Add aix/ with approach for compiling shared library on AIX
304- Add HP-UX support for shared libraries in configure
305- Add OpenUNIX support for shared libraries in configure
306- Use $cc instead of gcc to build shared library
307- Make prefix directory if needed when installing
308- Correct Macintosh avoidance of typedef Byte in zconf.h
309- Correct Turbo C memory allocation when under Linux
310- Use libz.a instead of -lz in Makefile (assure use of compiled library)
311- Update configure to check for snprintf or vsnprintf functions and their
312  return value, warn during make if using an insecure function
313- Fix configure problem with compile-time knowledge of HAVE_UNISTD_H that
314  is lost when library is used--resolution is to build new zconf.h
315- Documentation improvements (in zlib.h):
316    - Document raw deflate and inflate
317    - Update RFCs URL
318    - Point out that zlib and gzip formats are different
319    - Note that Z_BUF_ERROR is not fatal
320    - Document string limit for gzprintf() and possible buffer overflow
321    - Note requirement on avail_out when flushing
322    - Note permitted values of flush parameter of inflate()
323- Add some FAQs (and even answers) to the FAQ
324- Add contrib/inflate86/ for x86 faster inflate
325- Add contrib/blast/ for PKWare Data Compression Library decompression
326- Add contrib/puff/ simple inflate for deflate format description
327
328Changes in 1.1.4 (11 March 2002)
329- ZFREE was repeated on same allocation on some error conditions.
330  This creates a security problem described in
331  http://www.zlib.org/advisory-2002-03-11.txt
332- Returned incorrect error (Z_MEM_ERROR) on some invalid data
333- Avoid accesses before window for invalid distances with inflate window
334  less than 32K.
335- force windowBits > 8 to avoid a bug in the encoder for a window size
336  of 256 bytes. (A complete fix will be available in 1.1.5).
337
338Changes in 1.1.3 (9 July 1998)
339- fix "an inflate input buffer bug that shows up on rare but persistent
340  occasions" (Mark)
341- fix gzread and gztell for concatenated .gz files (Didier Le Botlan)
342- fix gzseek(..., SEEK_SET) in write mode
343- fix crc check after a gzeek (Frank Faubert)
344- fix miniunzip when the last entry in a zip file is itself a zip file
345  (J Lillge)
346- add contrib/asm586 and contrib/asm686 (Brian Raiter)
347  See http://www.muppetlabs.com/~breadbox/software/assembly.html
348- add support for Delphi 3 in contrib/delphi (Bob Dellaca)
349- add support for C++Builder 3 and Delphi 3 in contrib/delphi2 (Davide Moretti)
350- do not exit prematurely in untgz if 0 at start of block (Magnus Holmgren)
351- use macro EXTERN instead of extern to support DLL for BeOS (Sander Stoks)
352- added a FAQ file
353
354- Support gzdopen on Mac with Metrowerks (Jason Linhart)
355- Do not redefine Byte on Mac (Brad Pettit & Jason Linhart)
356- define SEEK_END too if SEEK_SET is not defined (Albert Chin-A-Young)
357- avoid some warnings with Borland C (Tom Tanner)
358- fix a problem in contrib/minizip/zip.c for 16-bit MSDOS (Gilles Vollant)
359- emulate utime() for WIN32 in contrib/untgz  (Gilles Vollant)
360- allow several arguments to configure (Tim Mooney, Frodo Looijaard)
361- use libdir and includedir in Makefile.in (Tim Mooney)
362- support shared libraries on OSF1 V4 (Tim Mooney)
363- remove so_locations in "make clean"  (Tim Mooney)
364- fix maketree.c compilation error (Glenn, Mark)
365- Python interface to zlib now in Python 1.5 (Jeremy Hylton)
366- new Makefile.riscos (Rich Walker)
367- initialize static descriptors in trees.c for embedded targets (Nick Smith)
368- use "foo-gz" in example.c for RISCOS and VMS (Nick Smith)
369- add the OS/2 files in Makefile.in too (Andrew Zabolotny)
370- fix fdopen and halloc macros for Microsoft C 6.0 (Tom Lane)
371- fix maketree.c to allow clean compilation of inffixed.h (Mark)
372- fix parameter check in deflateCopy (Gunther Nikl)
373- cleanup trees.c, use compressed_len only in debug mode (Christian Spieler)
374- Many portability patches by Christian Spieler:
375  . zutil.c, zutil.h: added "const" for zmem*
376  . Make_vms.com: fixed some typos
377  . Make_vms.com: msdos/Makefile.*: removed zutil.h from some dependency lists
378  . msdos/Makefile.msc: remove "default rtl link library" info from obj files
379  . msdos/Makefile.*: use model-dependent name for the built zlib library
380  . msdos/Makefile.emx, nt/Makefile.emx, nt/Makefile.gcc:
381     new makefiles, for emx (DOS/OS2), emx&rsxnt and mingw32 (Windows 9x / NT)
382- use define instead of typedef for Bytef also for MSC small/medium (Tom Lane)
383- replace __far with _far for better portability (Christian Spieler, Tom Lane)
384- fix test for errno.h in configure (Tim Newsham)
385
386Changes in 1.1.2 (19 March 98)
387- added contrib/minzip, mini zip and unzip based on zlib (Gilles Vollant)
388  See http://www.winimage.com/zLibDll/unzip.html
389- preinitialize the inflate tables for fixed codes, to make the code
390  completely thread safe (Mark)
391- some simplifications and slight speed-up to the inflate code (Mark)
392- fix gzeof on non-compressed files (Allan Schrum)
393- add -std1 option in configure for OSF1 to fix gzprintf (Martin Mokrejs)
394- use default value of 4K for Z_BUFSIZE for 16-bit MSDOS (Tim Wegner + Glenn)
395- added os2/Makefile.def and os2/zlib.def (Andrew Zabolotny)
396- add shared lib support for UNIX_SV4.2MP (MATSUURA Takanori)
397- do not wrap extern "C" around system includes (Tom Lane)
398- mention zlib binding for TCL in README (Andreas Kupries)
399- added amiga/Makefile.pup for Amiga powerUP SAS/C PPC (Andreas Kleinert)
400- allow "make install prefix=..." even after configure (Glenn Randers-Pehrson)
401- allow "configure --prefix $HOME" (Tim Mooney)
402- remove warnings in example.c and gzio.c (Glenn Randers-Pehrson)
403- move Makefile.sas to amiga/Makefile.sas
404
405Changes in 1.1.1 (27 Feb 98)
406- fix macros _tr_tally_* in deflate.h for debug mode  (Glenn Randers-Pehrson)
407- remove block truncation heuristic which had very marginal effect for zlib
408  (smaller lit_bufsize than in gzip 1.2.4) and degraded a little the
409  compression ratio on some files. This also allows inlining _tr_tally for
410  matches in deflate_slow.
411- added msdos/Makefile.w32 for WIN32 Microsoft Visual C++ (Bob Frazier)
412
413Changes in 1.1.0 (24 Feb 98)
414- do not return STREAM_END prematurely in inflate (John Bowler)
415- revert to the zlib 1.0.8 inflate to avoid the gcc 2.8.0 bug (Jeremy Buhler)
416- compile with -DFASTEST to get compression code optimized for speed only
417- in minigzip, try mmap'ing the input file first (Miguel Albrecht)
418- increase size of I/O buffers in minigzip.c and gzio.c (not a big gain
419  on Sun but significant on HP)
420
421- add a pointer to experimental unzip library in README (Gilles Vollant)
422- initialize variable gcc in configure (Chris Herborth)
423
424Changes in 1.0.9 (17 Feb 1998)
425- added gzputs and gzgets functions
426- do not clear eof flag in gzseek (Mark Diekhans)
427- fix gzseek for files in transparent mode (Mark Diekhans)
428- do not assume that vsprintf returns the number of bytes written (Jens Krinke)
429- replace EXPORT with ZEXPORT to avoid conflict with other programs
430- added compress2 in zconf.h, zlib.def, zlib.dnt
431- new asm code from Gilles Vollant in contrib/asm386
432- simplify the inflate code (Mark):
433 . Replace ZALLOC's in huft_build() with single ZALLOC in inflate_blocks_new()
434 . ZALLOC the length list in inflate_trees_fixed() instead of using stack
435 . ZALLOC the value area for huft_build() instead of using stack
436 . Simplify Z_FINISH check in inflate()
437
438- Avoid gcc 2.8.0 comparison bug a little differently than zlib 1.0.8
439- in inftrees.c, avoid cc -O bug on HP (Farshid Elahi)
440- in zconf.h move the ZLIB_DLL stuff earlier to avoid problems with
441  the declaration of FAR (Gilles VOllant)
442- install libz.so* with mode 755 (executable) instead of 644 (Marc Lehmann)
443- read_buf buf parameter of type Bytef* instead of charf*
444- zmemcpy parameters are of type Bytef*, not charf* (Joseph Strout)
445- do not redeclare unlink in minigzip.c for WIN32 (John Bowler)
446- fix check for presence of directories in "make install" (Ian Willis)
447
448Changes in 1.0.8 (27 Jan 1998)
449- fixed offsets in contrib/asm386/gvmat32.asm (Gilles Vollant)
450- fix gzgetc and gzputc for big endian systems (Markus Oberhumer)
451- added compress2() to allow setting the compression level
452- include sys/types.h to get off_t on some systems (Marc Lehmann & QingLong)
453- use constant arrays for the static trees in trees.c instead of computing
454  them at run time (thanks to Ken Raeburn for this suggestion). To create
455  trees.h, compile with GEN_TREES_H and run "make test".
456- check return code of example in "make test" and display result
457- pass minigzip command line options to file_compress
458- simplifying code of inflateSync to avoid gcc 2.8 bug
459
460- support CC="gcc -Wall" in configure -s (QingLong)
461- avoid a flush caused by ftell in gzopen for write mode (Ken Raeburn)
462- fix test for shared library support to avoid compiler warnings
463- zlib.lib -> zlib.dll in msdos/zlib.rc (Gilles Vollant)
464- check for TARGET_OS_MAC in addition to MACOS (Brad Pettit)
465- do not use fdopen for Metrowerks on Mac (Brad Pettit))
466- add checks for gzputc and gzputc in example.c
467- avoid warnings in gzio.c and deflate.c (Andreas Kleinert)
468- use const for the CRC table (Ken Raeburn)
469- fixed "make uninstall" for shared libraries
470- use Tracev instead of Trace in infblock.c
471- in example.c use correct compressed length for test_sync
472- suppress +vnocompatwarnings in configure for HPUX (not always supported)
473
474Changes in 1.0.7 (20 Jan 1998)
475- fix gzseek which was broken in write mode
476- return error for gzseek to negative absolute position
477- fix configure for Linux (Chun-Chung Chen)
478- increase stack space for MSC (Tim Wegner)
479- get_crc_table and inflateSyncPoint are EXPORTed (Gilles Vollant)
480- define EXPORTVA for gzprintf (Gilles Vollant)
481- added man page zlib.3 (Rick Rodgers)
482- for contrib/untgz, fix makedir() and improve Makefile
483
484- check gzseek in write mode in example.c
485- allocate extra buffer for seeks only if gzseek is actually called
486- avoid signed/unsigned comparisons (Tim Wegner, Gilles Vollant)
487- add inflateSyncPoint in zconf.h
488- fix list of exported functions in nt/zlib.dnt and mdsos/zlib.def
489
490Changes in 1.0.6 (19 Jan 1998)
491- add functions gzprintf, gzputc, gzgetc, gztell, gzeof, gzseek, gzrewind and
492  gzsetparams (thanks to Roland Giersig and Kevin Ruland for some of this code)
493- Fix a deflate bug occuring only with compression level 0 (thanks to
494  Andy Buckler for finding this one).
495- In minigzip, pass transparently also the first byte for .Z files.
496- return Z_BUF_ERROR instead of Z_OK if output buffer full in uncompress()
497- check Z_FINISH in inflate (thanks to Marc Schluper)
498- Implement deflateCopy (thanks to Adam Costello)
499- make static libraries by default in configure, add --shared option.
500- move MSDOS or Windows specific files to directory msdos
501- suppress the notion of partial flush to simplify the interface
502  (but the symbol Z_PARTIAL_FLUSH is kept for compatibility with 1.0.4)
503- suppress history buffer provided by application to simplify the interface
504  (this feature was not implemented anyway in 1.0.4)
505- next_in and avail_in must be initialized before calling inflateInit or
506  inflateInit2
507- add EXPORT in all exported functions (for Windows DLL)
508- added Makefile.nt (thanks to Stephen Williams)
509- added the unsupported "contrib" directory:
510   contrib/asm386/ by Gilles Vollant <info@winimage.com>
511        386 asm code replacing longest_match().
512   contrib/iostream/ by Kevin Ruland <kevin@rodin.wustl.edu>
513        A C++ I/O streams interface to the zlib gz* functions
514   contrib/iostream2/  by Tyge Løvset <Tyge.Lovset@cmr.no>
515        Another C++ I/O streams interface
516   contrib/untgz/  by "Pedro A. Aranda Guti\irrez" <paag@tid.es>
517        A very simple tar.gz file extractor using zlib
518   contrib/visual-basic.txt by Carlos Rios <c_rios@sonda.cl>
519        How to use compress(), uncompress() and the gz* functions from VB.
520- pass params -f (filtered data), -h (huffman only), -1 to -9 (compression
521  level) in minigzip (thanks to Tom Lane)
522
523- use const for rommable constants in deflate
524- added test for gzseek and gztell in example.c
525- add undocumented function inflateSyncPoint() (hack for Paul Mackerras)
526- add undocumented function zError to convert error code to string
527  (for Tim Smithers)
528- Allow compilation of gzio with -DNO_DEFLATE to avoid the compression code.
529- Use default memcpy for Symantec MSDOS compiler.
530- Add EXPORT keyword for check_func (needed for Windows DLL)
531- add current directory to LD_LIBRARY_PATH for "make test"
532- create also a link for libz.so.1
533- added support for FUJITSU UXP/DS (thanks to Toshiaki Nomura)
534- use $(SHAREDLIB) instead of libz.so in Makefile.in (for HPUX)
535- added -soname for Linux in configure (Chun-Chung Chen,
536- assign numbers to the exported functions in zlib.def (for Windows DLL)
537- add advice in zlib.h for best usage of deflateSetDictionary
538- work around compiler bug on Atari (cast Z_NULL in call of s->checkfn)
539- allow compilation with ANSI keywords only enabled for TurboC in large model
540- avoid "versionString"[0] (Borland bug)
541- add NEED_DUMMY_RETURN for Borland
542- use variable z_verbose for tracing in debug mode (L. Peter Deutsch).
543- allow compilation with CC
544- defined STDC for OS/2 (David Charlap)
545- limit external names to 8 chars for MVS (Thomas Lund)
546- in minigzip.c, use static buffers only for 16-bit systems
547- fix suffix check for "minigzip -d foo.gz"
548- do not return an error for the 2nd of two consecutive gzflush() (Felix Lee)
549- use _fdopen instead of fdopen for MSC >= 6.0 (Thomas Fanslau)
550- added makelcc.bat for lcc-win32 (Tom St Denis)
551- in Makefile.dj2, use copy and del instead of install and rm (Frank Donahoe)
552- Avoid expanded $Id$. Use "rcs -kb" or "cvs admin -kb" to avoid Id expansion.
553- check for unistd.h in configure (for off_t)
554- remove useless check parameter in inflate_blocks_free
555- avoid useless assignment of s->check to itself in inflate_blocks_new
556- do not flush twice in gzclose (thanks to Ken Raeburn)
557- rename FOPEN as F_OPEN to avoid clash with /usr/include/sys/file.h
558- use NO_ERRNO_H instead of enumeration of operating systems with errno.h
559- work around buggy fclose on pipes for HP/UX
560- support zlib DLL with BORLAND C++ 5.0 (thanks to Glenn Randers-Pehrson)
561- fix configure if CC is already equal to gcc
562
563Changes in 1.0.5 (3 Jan 98)
564- Fix inflate to terminate gracefully when fed corrupted or invalid data
565- Use const for rommable constants in inflate
566- Eliminate memory leaks on error conditions in inflate
567- Removed some vestigial code in inflate
568- Update web address in README
569
570Changes in 1.0.4 (24 Jul 96)
571- In very rare conditions, deflate(s, Z_FINISH) could fail to produce an EOF
572  bit, so the decompressor could decompress all the correct data but went
573  on to attempt decompressing extra garbage data. This affected minigzip too.
574- zlibVersion and gzerror return const char* (needed for DLL)
575- port to RISCOS (no fdopen, no multiple dots, no unlink, no fileno)
576- use z_error only for DEBUG (avoid problem with DLLs)
577
578Changes in 1.0.3 (2 Jul 96)
579- use z_streamp instead of z_stream *, which is now a far pointer in MSDOS
580  small and medium models; this makes the library incompatible with previous
581  versions for these models. (No effect in large model or on other systems.)
582- return OK instead of BUF_ERROR if previous deflate call returned with
583  avail_out as zero but there is nothing to do
584- added memcmp for non STDC compilers
585- define NO_DUMMY_DECL for more Mac compilers (.h files merged incorrectly)
586- define __32BIT__ if __386__ or i386 is defined (pb. with Watcom and SCO)
587- better check for 16-bit mode MSC (avoids problem with Symantec)
588
589Changes in 1.0.2 (23 May 96)
590- added Windows DLL support
591- added a function zlibVersion (for the DLL support)
592- fixed declarations using Bytef in infutil.c (pb with MSDOS medium model)
593- Bytef is define's instead of typedef'd only for Borland C
594- avoid reading uninitialized memory in example.c
595- mention in README that the zlib format is now RFC1950
596- updated Makefile.dj2
597- added algorithm.doc
598
599Changes in 1.0.1 (20 May 96) [1.0 skipped to avoid confusion]
600- fix array overlay in deflate.c which sometimes caused bad compressed data
601- fix inflate bug with empty stored block
602- fix MSDOS medium model which was broken in 0.99
603- fix deflateParams() which could generated bad compressed data.
604- Bytef is define'd instead of typedef'ed (work around Borland bug)
605- added an INDEX file
606- new makefiles for DJGPP (Makefile.dj2), 32-bit Borland (Makefile.b32),
607  Watcom (Makefile.wat), Amiga SAS/C (Makefile.sas)
608- speed up adler32 for modern machines without auto-increment
609- added -ansi for IRIX in configure
610- static_init_done in trees.c is an int
611- define unlink as delete for VMS
612- fix configure for QNX
613- add configure branch for SCO and HPUX
614- avoid many warnings (unused variables, dead assignments, etc...)
615- no fdopen for BeOS
616- fix the Watcom fix for 32 bit mode (define FAR as empty)
617- removed redefinition of Byte for MKWERKS
618- work around an MWKERKS bug (incorrect merge of all .h files)
619
620Changes in 0.99 (27 Jan 96)
621- allow preset dictionary shared between compressor and decompressor
622- allow compression level 0 (no compression)
623- add deflateParams in zlib.h: allow dynamic change of compression level
624  and compression strategy.
625- test large buffers and deflateParams in example.c
626- add optional "configure" to build zlib as a shared library
627- suppress Makefile.qnx, use configure instead
628- fixed deflate for 64-bit systems (detected on Cray)
629- fixed inflate_blocks for 64-bit systems (detected on Alpha)
630- declare Z_DEFLATED in zlib.h (possible parameter for deflateInit2)
631- always return Z_BUF_ERROR when deflate() has nothing to do
632- deflateInit and inflateInit are now macros to allow version checking
633- prefix all global functions and types with z_ with -DZ_PREFIX
634- make falloc completely reentrant (inftrees.c)
635- fixed very unlikely race condition in ct_static_init
636- free in reverse order of allocation to help memory manager
637- use zlib-1.0/* instead of zlib/* inside the tar.gz
638- make zlib warning-free with "gcc -O3 -Wall -Wwrite-strings -Wpointer-arith
639  -Wconversion -Wstrict-prototypes -Wmissing-prototypes"
640- allow gzread on concatenated .gz files
641- deflateEnd now returns Z_DATA_ERROR if it was premature
642- deflate is finally (?) fully deterministic (no matches beyond end of input)
643- Document Z_SYNC_FLUSH
644- add uninstall in Makefile
645- Check for __cpluplus in zlib.h
646- Better test in ct_align for partial flush
647- avoid harmless warnings for Borland C++
648- initialize hash_head in deflate.c
649- avoid warning on fdopen (gzio.c) for HP cc -Aa
650- include stdlib.h for STDC compilers
651- include errno.h for Cray
652- ignore error if ranlib doesn't exist
653- call ranlib twice for NeXTSTEP
654- use exec_prefix instead of prefix for libz.a
655- renamed ct_* as _tr_* to avoid conflict with applications
656- clear z->msg in inflateInit2 before any error return
657- initialize opaque in example.c, gzio.c, deflate.c and inflate.c
658- fixed typo in zconf.h (_GNUC__ => __GNUC__)
659- check for WIN32 in zconf.h and zutil.c (avoid farmalloc in 32-bit mode)
660- fix typo in Make_vms.com (f$trnlnm -> f$getsyi)
661- in fcalloc, normalize pointer if size > 65520 bytes
662- don't use special fcalloc for 32 bit Borland C++
663- use STDC instead of __GO32__ to avoid redeclaring exit, calloc, etc...
664- use Z_BINARY instead of BINARY
665- document that gzclose after gzdopen will close the file
666- allow "a" as mode in gzopen.
667- fix error checking in gzread
668- allow skipping .gz extra-field on pipes
669- added reference to Perl interface in README
670- put the crc table in FAR data (I dislike more and more the medium model :)
671- added get_crc_table
672- added a dimension to all arrays (Borland C can't count).
673- workaround Borland C bug in declaration of inflate_codes_new & inflate_fast
674- guard against multiple inclusion of *.h (for precompiled header on Mac)
675- Watcom C pretends to be Microsoft C small model even in 32 bit mode.
676- don't use unsized arrays to avoid silly warnings by Visual C++:
677     warning C4746: 'inflate_mask' : unsized array treated as  '__far'
678     (what's wrong with far data in far model?).
679- define enum out of inflate_blocks_state to allow compilation with C++
680
681Changes in 0.95 (16 Aug 95)
682- fix MSDOS small and medium model (now easier to adapt to any compiler)
683- inlined send_bits
684- fix the final (:-) bug for deflate with flush (output was correct but
685  not completely flushed in rare occasions).
686- default window size is same for compression and decompression
687  (it's now sufficient to set MAX_WBITS in zconf.h).
688- voidp -> voidpf and voidnp -> voidp (for consistency with other
689  typedefs and because voidnp was not near in large model).
690
691Changes in 0.94 (13 Aug 95)
692- support MSDOS medium model
693- fix deflate with flush (could sometimes generate bad output)
694- fix deflateReset (zlib header was incorrectly suppressed)
695- added support for VMS
696- allow a compression level in gzopen()
697- gzflush now calls fflush
698- For deflate with flush, flush even if no more input is provided.
699- rename libgz.a as libz.a
700- avoid complex expression in infcodes.c triggering Turbo C bug
701- work around a problem with gcc on Alpha (in INSERT_STRING)
702- don't use inline functions (problem with some gcc versions)
703- allow renaming of Byte, uInt, etc... with #define.
704- avoid warning about (unused) pointer before start of array in deflate.c
705- avoid various warnings in gzio.c, example.c, infblock.c, adler32.c, zutil.c
706- avoid reserved word 'new' in trees.c
707
708Changes in 0.93 (25 June 95)
709- temporarily disable inline functions
710- make deflate deterministic
711- give enough lookahead for PARTIAL_FLUSH
712- Set binary mode for stdin/stdout in minigzip.c for OS/2
713- don't even use signed char in inflate (not portable enough)
714- fix inflate memory leak for segmented architectures
715
716Changes in 0.92 (3 May 95)
717- don't assume that char is signed (problem on SGI)
718- Clear bit buffer when starting a stored block
719- no memcpy on Pyramid
720- suppressed inftest.c
721- optimized fill_window, put longest_match inline for gcc
722- optimized inflate on stored blocks.
723- untabify all sources to simplify patches
724
725Changes in 0.91 (2 May 95)
726- Default MEM_LEVEL is 8 (not 9 for Unix) as documented in zlib.h
727- Document the memory requirements in zconf.h
728- added "make install"
729- fix sync search logic in inflateSync
730- deflate(Z_FULL_FLUSH) now works even if output buffer too short
731- after inflateSync, don't scare people with just "lo world"
732- added support for DJGPP
733
734Changes in 0.9 (1 May 95)
735- don't assume that zalloc clears the allocated memory (the TurboC bug
736  was Mark's bug after all :)
737- let again gzread copy uncompressed data unchanged (was working in 0.71)
738- deflate(Z_FULL_FLUSH), inflateReset and inflateSync are now fully implemented
739- added a test of inflateSync in example.c
740- moved MAX_WBITS to zconf.h because users might want to change that.
741- document explicitly that zalloc(64K) on MSDOS must return a normalized
742  pointer (zero offset)
743- added Makefiles for Microsoft C, Turbo C, Borland C++
744- faster crc32()
745
746Changes in 0.8 (29 April 95)
747- added fast inflate (inffast.c)
748- deflate(Z_FINISH) now returns Z_STREAM_END when done. Warning: this
749  is incompatible with previous versions of zlib which returned Z_OK.
750- work around a TurboC compiler bug (bad code for b << 0, see infutil.h)
751  (actually that was not a compiler bug, see 0.81 above)
752- gzread no longer reads one extra byte in certain cases
753- In gzio destroy(), don't reference a freed structure
754- avoid many warnings for MSDOS
755- avoid the ERROR symbol which is used by MS Windows
756
757Changes in 0.71 (14 April 95)
758- Fixed more MSDOS compilation problems :( There is still a bug with
759  TurboC large model.
760
761Changes in 0.7 (14 April 95)
762- Added full inflate support.
763- Simplified the crc32() interface. The pre- and post-conditioning
764  (one's complement) is now done inside crc32(). WARNING: this is
765  incompatible with previous versions; see zlib.h for the new usage.
766
767Changes in 0.61 (12 April 95)
768- workaround for a bug in TurboC. example and minigzip now work on MSDOS.
769
770Changes in 0.6 (11 April 95)
771- added minigzip.c
772- added gzdopen to reopen a file descriptor as gzFile
773- added transparent reading of non-gziped files in gzread.
774- fixed bug in gzread (don't read crc as data)
775- fixed bug in destroy (gzio.c) (don't return Z_STREAM_END for gzclose).
776- don't allocate big arrays in the stack (for MSDOS)
777- fix some MSDOS compilation problems
778
779Changes in 0.5:
780- do real compression in deflate.c. Z_PARTIAL_FLUSH is supported but
781  not yet Z_FULL_FLUSH.
782- support decompression but only in a single step (forced Z_FINISH)
783- added opaque object for zalloc and zfree.
784- added deflateReset and inflateReset
785- added a variable zlib_version for consistency checking.
786- renamed the 'filter' parameter of deflateInit2 as 'strategy'.
787  Added Z_FILTERED and Z_HUFFMAN_ONLY constants.
788
789Changes in 0.4:
790- avoid "zip" everywhere, use zlib instead of ziplib.
791- suppress Z_BLOCK_FLUSH, interpret Z_PARTIAL_FLUSH as block flush
792  if compression method == 8.
793- added adler32 and crc32
794- renamed deflateOptions as deflateInit2, call one or the other but not both
795- added the method parameter for deflateInit2.
796- added inflateInit2
797- simplied considerably deflateInit and inflateInit by not supporting
798  user-provided history buffer. This is supported only in deflateInit2
799  and inflateInit2.
800
801Changes in 0.3:
802- prefix all macro names with Z_
803- use Z_FINISH instead of deflateEnd to finish compression.
804- added Z_HUFFMAN_ONLY
805- added gzerror()
Note: See TracBrowser for help on using the repository browser.