2
2
ChangeLog file for zlib
4
Changes in 1.2.8 (28 Apr 2013)
5
- Update contrib/minizip/iowin32.c for Windows RT [Vollant]
6
- Do not force Z_CONST for C++
7
- Clean up contrib/vstudio [Ro�]
8
- Correct spelling error in zlib.h
9
- Fix mixed line endings in contrib/vstudio
11
Changes in 1.2.7.3 (13 Apr 2013)
12
- Fix version numbers and DLL names in contrib/vstudio/*/zlib.rc
14
Changes in 1.2.7.2 (13 Apr 2013)
15
- Change check for a four-byte type back to hexadecimal
16
- Fix typo in win32/Makefile.msc
17
- Add casts in gzwrite.c for pointer differences
19
Changes in 1.2.7.1 (24 Mar 2013)
20
- Replace use of unsafe string functions with snprintf if available
21
- Avoid including stddef.h on Windows for Z_SOLO compile [Niessink]
22
- Fix gzgetc undefine when Z_PREFIX set [Turk]
23
- Eliminate use of mktemp in Makefile (not always available)
24
- Fix bug in 'F' mode for gzopen()
25
- Add inflateGetDictionary() function
26
- Correct comment in deflate.h
27
- Use _snprintf for snprintf in Microsoft C
28
- On Darwin, only use /usr/bin/libtool if libtool is not Apple
29
- Delete "--version" file if created by "ar --version" [Richard G.]
30
- Fix configure check for veracity of compiler error return codes
31
- Fix CMake compilation of static lib for MSVC2010 x64
32
- Remove unused variable in infback9.c
33
- Fix argument checks in gzlog_compress() and gzlog_write()
34
- Clean up the usage of z_const and respect const usage within zlib
35
- Clean up examples/gzlog.[ch] comparisons of different types
36
- Avoid shift equal to bits in type (caused endless loop)
37
- Fix unintialized value bug in gzputc() introduced by const patches
38
- Fix memory allocation error in examples/zran.c [Nor]
39
- Fix bug where gzopen(), gzclose() would write an empty file
40
- Fix bug in gzclose() when gzwrite() runs out of memory
41
- Check for input buffer malloc failure in examples/gzappend.c
42
- Add note to contrib/blast to use binary mode in stdio
43
- Fix comparisons of differently signed integers in contrib/blast
44
- Check for invalid code length codes in contrib/puff
45
- Fix serious but very rare decompression bug in inftrees.c
46
- Update inflateBack() comments, since inflate() can be faster
47
- Use underscored I/O function names for WINAPI_FAMILY
48
- Add _tr_flush_bits to the external symbols prefixed by --zprefix
49
- Add contrib/vstudio/vc10 pre-build step for static only
50
- Quote --version-script argument in CMakeLists.txt
51
- Don't specify --version-script on Apple platforms in CMakeLists.txt
52
- Fix casting error in contrib/testzlib/testzlib.c
53
- Fix types in contrib/minizip to match result of get_crc_table()
54
- Simplify contrib/vstudio/vc10 with 'd' suffix
55
- Add TOP support to win32/Makefile.msc
56
- Suport i686 and amd64 assembler builds in CMakeLists.txt
57
- Fix typos in the use of _LARGEFILE64_SOURCE in zconf.h
58
- Add vc11 and vc12 build files to contrib/vstudio
59
- Add gzvprintf() as an undocumented function in zlib
60
- Fix configure for Sun shell
61
- Remove runtime check in configure for four-byte integer type
62
- Add casts and consts to ease user conversion to C++
63
- Add man pages for minizip and miniunzip
64
- In Makefile uninstall, don't rm if preceding cd fails
65
- Do not return Z_BUF_ERROR if deflateParam() has nothing to write
67
Changes in 1.2.7 (2 May 2012)
68
- Replace use of memmove() with a simple copy for portability
69
- Test for existence of strerror
70
- Restore gzgetc_ for backward compatibility with 1.2.6
71
- Fix build with non-GNU make on Solaris
72
- Require gcc 4.0 or later on Mac OS X to use the hidden attribute
73
- Include unistd.h for Watcom C
74
- Use __WATCOMC__ instead of __WATCOM__
75
- Do not use the visibility attribute if NO_VIZ defined
76
- Improve the detection of no hidden visibility attribute
77
- Avoid using __int64 for gcc or solo compilation
78
- Cast to char * in gzprintf to avoid warnings [Zinser]
79
- Fix make_vms.com for VAX [Zinser]
80
- Don't use library or built-in byte swaps
81
- Simplify test and use of gcc hidden attribute
82
- Fix bug in gzclose_w() when gzwrite() fails to allocate memory
83
- Add "x" (O_EXCL) and "e" (O_CLOEXEC) modes support to gzopen()
84
- Fix bug in test/minigzip.c for configure --solo
85
- Fix contrib/vstudio project link errors [Mohanathas]
86
- Add ability to choose the builder in make_vms.com [Schweda]
87
- Add DESTDIR support to mingw32 win32/Makefile.gcc
88
- Fix comments in win32/Makefile.gcc for proper usage
89
- Allow overriding the default install locations for cmake
90
- Generate and install the pkg-config file with cmake
91
- Build both a static and a shared version of zlib with cmake
92
- Include version symbols for cmake builds
93
- If using cmake with MSVC, add the source directory to the includes
94
- Remove unneeded EXTRA_CFLAGS from win32/Makefile.gcc [Truta]
95
- Move obsolete emx makefile to old [Truta]
96
- Allow the use of -Wundef when compiling or using zlib
97
- Avoid the use of the -u option with mktemp
98
- Improve inflate() documentation on the use of Z_FINISH
99
- Recognize clang as gcc
100
- Add gzopen_w() in Windows for wide character path names
101
- Rename zconf.h in CMakeLists.txt to move it out of the way
102
- Add source directory in CMakeLists.txt for building examples
103
- Look in build directory for zlib.pc in CMakeLists.txt
104
- Remove gzflags from zlibvc.def in vc9 and vc10
105
- Fix contrib/minizip compilation in the MinGW environment
106
- Update ./configure for Solaris, support --64 [Mooney]
107
- Remove -R. from Solaris shared build (possible security issue)
108
- Avoid race condition for parallel make (-j) running example
109
- Fix type mismatch between get_crc_table() and crc_table
110
- Fix parsing of version with "-" in CMakeLists.txt [Snider, Ziegler]
111
- Fix the path to zlib.map in CMakeLists.txt
112
- Force the native libtool in Mac OS X to avoid GNU libtool [Beebe]
113
- Add instructions to win32/Makefile.gcc for shared install [Torri]
115
Changes in 1.2.6.1 (12 Feb 2012)
116
- Avoid the use of the Objective-C reserved name "id"
117
- Include io.h in gzguts.h for Microsoft compilers
118
- Fix problem with ./configure --prefix and gzgetc macro
119
- Include gz_header definition when compiling zlib solo
120
- Put gzflags() functionality back in zutil.c
121
- Avoid library header include in crc32.c for Z_SOLO
122
- Use name in GCC_CLASSIC as C compiler for coverage testing, if set
123
- Minor cleanup in contrib/minizip/zip.c [Vollant]
124
- Update make_vms.com [Zinser]
125
- Remove unnecessary gzgetc_ function
126
- Use optimized byte swap operations for Microsoft and GNU [Snyder]
127
- Fix minor typo in zlib.h comments [Rzesniowiecki]
129
Changes in 1.2.6 (29 Jan 2012)
130
- Update the Pascal interface in contrib/pascal
131
- Fix function numbers for gzgetc_ in zlibvc.def files
132
- Fix configure.ac for contrib/minizip [Schiffer]
133
- Fix large-entry detection in minizip on 64-bit systems [Schiffer]
134
- Have ./configure use the compiler return code for error indication
135
- Fix CMakeLists.txt for cross compilation [McClure]
136
- Fix contrib/minizip/zip.c for 64-bit architectures [Dalsnes]
137
- Fix compilation of contrib/minizip on FreeBSD [Marquez]
138
- Correct suggested usages in win32/Makefile.msc [Shachar, Horvath]
139
- Include io.h for Turbo C / Borland C on all platforms [Truta]
140
- Make version explicit in contrib/minizip/configure.ac [Bosmans]
141
- Avoid warning for no encryption in contrib/minizip/zip.c [Vollant]
142
- Minor cleanup up contrib/minizip/unzip.c [Vollant]
143
- Fix bug when compiling minizip with C++ [Vollant]
144
- Protect for long name and extra fields in contrib/minizip [Vollant]
145
- Avoid some warnings in contrib/minizip [Vollant]
146
- Add -I../.. -L../.. to CFLAGS for minizip and miniunzip
147
- Add missing libs to minizip linker command
148
- Add support for VPATH builds in contrib/minizip
149
- Add an --enable-demos option to contrib/minizip/configure
150
- Add the generation of configure.log by ./configure
151
- Exit when required parameters not provided to win32/Makefile.gcc
152
- Have gzputc return the character written instead of the argument
153
- Use the -m option on ldconfig for BSD systems [Tobias]
154
- Correct in zlib.map when deflateResetKeep was added
156
Changes in 1.2.5.3 (15 Jan 2012)
157
- Restore gzgetc function for binary compatibility
158
- Do not use _lseeki64 under Borland C++ [Truta]
159
- Update win32/Makefile.msc to build test/*.c [Truta]
160
- Remove old/visualc6 given CMakefile and other alternatives
161
- Update AS400 build files and documentation [Monnerat]
162
- Update win32/Makefile.gcc to build test/*.c [Truta]
163
- Permit stronger flushes after Z_BLOCK flushes
164
- Avoid extraneous empty blocks when doing empty flushes
165
- Permit Z_NULL arguments to deflatePending
166
- Allow deflatePrime() to insert bits in the middle of a stream
167
- Remove second empty static block for Z_PARTIAL_FLUSH
168
- Write out all of the available bits when using Z_BLOCK
169
- Insert the first two strings in the hash table after a flush
171
Changes in 1.2.5.2 (17 Dec 2011)
172
- fix ld error: unable to find version dependency 'ZLIB_1.2.5'
173
- use relative symlinks for shared libs
174
- Avoid searching past window for Z_RLE strategy
175
- Assure that high-water mark initialization is always applied in deflate
176
- Add assertions to fill_window() in deflate.c to match comments
177
- Update python link in README
178
- Correct spelling error in gzread.c
179
- Fix bug in gzgets() for a concatenated empty gzip stream
180
- Correct error in comment for gz_make()
181
- Change gzread() and related to ignore junk after gzip streams
182
- Allow gzread() and related to continue after gzclearerr()
183
- Allow gzrewind() and gzseek() after a premature end-of-file
184
- Simplify gzseek() now that raw after gzip is ignored
185
- Change gzgetc() to a macro for speed (~40% speedup in testing)
186
- Fix gzclose() to return the actual error last encountered
187
- Always add large file support for windows
188
- Include zconf.h for windows large file support
189
- Include zconf.h.cmakein for windows large file support
190
- Update zconf.h.cmakein on make distclean
191
- Merge vestigial vsnprintf determination from zutil.h to gzguts.h
192
- Clarify how gzopen() appends in zlib.h comments
193
- Correct documentation of gzdirect() since junk at end now ignored
194
- Add a transparent write mode to gzopen() when 'T' is in the mode
195
- Update python link in zlib man page
196
- Get inffixed.h and MAKEFIXED result to match
197
- Add a ./config --solo option to make zlib subset with no libary use
198
- Add undocumented inflateResetKeep() function for CAB file decoding
199
- Add --cover option to ./configure for gcc coverage testing
200
- Add #define ZLIB_CONST option to use const in the z_stream interface
201
- Add comment to gzdopen() in zlib.h to use dup() when using fileno()
202
- Note behavior of uncompress() to provide as much data as it can
203
- Add files in contrib/minizip to aid in building libminizip
204
- Split off AR options in Makefile.in and configure
205
- Change ON macro to Z_ARG to avoid application conflicts
206
- Facilitate compilation with Borland C++ for pragmas and vsnprintf
207
- Include io.h for Turbo C / Borland C++
208
- Move example.c and minigzip.c to test/
209
- Simplify incomplete code table filling in inflate_table()
210
- Remove code from inflate.c and infback.c that is impossible to execute
211
- Test the inflate code with full coverage
212
- Allow deflateSetDictionary, inflateSetDictionary at any time (in raw)
213
- Add deflateResetKeep and fix inflateResetKeep to retain dictionary
214
- Fix gzwrite.c to accommodate reduced memory zlib compilation
215
- Have inflate() with Z_FINISH avoid the allocation of a window
216
- Do not set strm->adler when doing raw inflate
217
- Fix gzeof() to behave just like feof() when read is not past end of file
218
- Fix bug in gzread.c when end-of-file is reached
219
- Avoid use of Z_BUF_ERROR in gz* functions except for premature EOF
220
- Document gzread() capability to read concurrently written files
221
- Remove hard-coding of resource compiler in CMakeLists.txt [Blammo]
223
Changes in 1.2.5.1 (10 Sep 2011)
224
- Update FAQ entry on shared builds (#13)
225
- Avoid symbolic argument to chmod in Makefile.in
226
- Fix bug and add consts in contrib/puff [Oberhumer]
227
- Update contrib/puff/zeros.raw test file to have all block types
228
- Add full coverage test for puff in contrib/puff/Makefile
229
- Fix static-only-build install in Makefile.in
230
- Fix bug in unzGetCurrentFileInfo() in contrib/minizip [Kuno]
231
- Add libz.a dependency to shared in Makefile.in for parallel builds
232
- Spell out "number" (instead of "nb") in zlib.h for total_in, total_out
233
- Replace $(...) with `...` in configure for non-bash sh [Bowler]
234
- Add darwin* to Darwin* and solaris* to SunOS\ 5* in configure [Groffen]
235
- Add solaris* to Linux* in configure to allow gcc use [Groffen]
236
- Add *bsd* to Linux* case in configure [Bar-Lev]
237
- Add inffast.obj to dependencies in win32/Makefile.msc
238
- Correct spelling error in deflate.h [Kohler]
239
- Change libzdll.a again to libz.dll.a (!) in win32/Makefile.gcc
240
- Add test to configure for GNU C looking for gcc in output of $cc -v
241
- Add zlib.pc generation to win32/Makefile.gcc [Weigelt]
242
- Fix bug in zlib.h for _FILE_OFFSET_BITS set and _LARGEFILE64_SOURCE not
243
- Add comment in zlib.h that adler32_combine with len2 < 0 makes no sense
244
- Make NO_DIVIDE option in adler32.c much faster (thanks to John Reiser)
245
- Make stronger test in zconf.h to include unistd.h for LFS
246
- Apply Darwin patches for 64-bit file offsets to contrib/minizip [Slack]
247
- Fix zlib.h LFS support when Z_PREFIX used
248
- Add updated as400 support (removed from old) [Monnerat]
249
- Avoid deflate sensitivity to volatile input data
250
- Avoid division in adler32_combine for NO_DIVIDE
251
- Clarify the use of Z_FINISH with deflateBound() amount of space
252
- Set binary for output file in puff.c
253
- Use u4 type for crc_table to avoid conversion warnings
254
- Apply casts in zlib.h to avoid conversion warnings
255
- Add OF to prototypes for adler32_combine_ and crc32_combine_ [Miller]
256
- Improve inflateSync() documentation to note indeterminancy
257
- Add deflatePending() function to return the amount of pending output
258
- Correct the spelling of "specification" in FAQ [Randers-Pehrson]
259
- Add a check in configure for stdarg.h, use for gzprintf()
260
- Check that pointers fit in ints when gzprint() compiled old style
261
- Add dummy name before $(SHAREDLIBV) in Makefile [Bar-Lev, Bowler]
262
- Delete line in configure that adds -L. libz.a to LDFLAGS [Weigelt]
263
- Add debug records in assmebler code [Londer]
264
- Update RFC references to use http://tools.ietf.org/html/... [Li]
265
- Add --archs option, use of libtool to configure for Mac OS X [Borstel]
267
Changes in 1.2.5 (19 Apr 2010)
268
- Disable visibility attribute in win32/Makefile.gcc [Bar-Lev]
269
- Default to libdir as sharedlibdir in configure [Nieder]
270
- Update copyright dates on modified source files
271
- Update trees.c to be able to generate modified trees.h
272
- Exit configure for MinGW, suggesting win32/Makefile.gcc
273
- Check for NULL path in gz_open [Homurlu]
275
Changes in 1.2.4.5 (18 Apr 2010)
276
- Set sharedlibdir in configure [Torok]
277
- Set LDFLAGS in Makefile.in [Bar-Lev]
278
- Avoid mkdir objs race condition in Makefile.in [Bowler]
279
- Add ZLIB_INTERNAL in front of internal inter-module functions and arrays
280
- Define ZLIB_INTERNAL to hide internal functions and arrays for GNU C
281
- Don't use hidden attribute when it is a warning generator (e.g. Solaris)
283
Changes in 1.2.4.4 (18 Apr 2010)
284
- Fix CROSS_PREFIX executable testing, CHOST extract, mingw* [Torok]
285
- Undefine _LARGEFILE64_SOURCE in zconf.h if it is zero, but not if empty
286
- Try to use bash or ksh regardless of functionality of /bin/sh
287
- Fix configure incompatibility with NetBSD sh
288
- Remove attempt to run under bash or ksh since have better NetBSD fix
289
- Fix win32/Makefile.gcc for MinGW [Bar-Lev]
290
- Add diagnostic messages when using CROSS_PREFIX in configure
291
- Added --sharedlibdir option to configure [Weigelt]
292
- Use hidden visibility attribute when available [Frysinger]
294
Changes in 1.2.4.3 (10 Apr 2010)
295
- Only use CROSS_PREFIX in configure for ar and ranlib if they exist
296
- Use CROSS_PREFIX for nm [Bar-Lev]
297
- Assume _LARGEFILE64_SOURCE defined is equivalent to true
298
- Avoid use of undefined symbols in #if with && and ||
299
- Make *64 prototypes in gzguts.h consistent with functions
300
- Add -shared load option for MinGW in configure [Bowler]
301
- Move z_off64_t to public interface, use instead of off64_t
302
- Remove ! from shell test in configure (not portable to Solaris)
303
- Change +0 macro tests to -0 for possibly increased portability
305
Changes in 1.2.4.2 (9 Apr 2010)
306
- Add consistent carriage returns to readme.txt's in masmx86 and masmx64
307
- Really provide prototypes for *64 functions when building without LFS
308
- Only define unlink() in minigzip.c if unistd.h not included
309
- Update README to point to contrib/vstudio project files
310
- Move projects/vc6 to old/ and remove projects/
311
- Include stdlib.h in minigzip.c for setmode() definition under WinCE
312
- Clean up assembler builds in win32/Makefile.msc [Rowe]
313
- Include sys/types.h for Microsoft for off_t definition
314
- Fix memory leak on error in gz_open()
315
- Symbolize nm as $NM in configure [Weigelt]
316
- Use TEST_LDSHARED instead of LDSHARED to link test programs [Weigelt]
317
- Add +0 to _FILE_OFFSET_BITS and _LFS64_LARGEFILE in case not defined
318
- Fix bug in gzeof() to take into account unused input data
319
- Avoid initialization of structures with variables in puff.c
320
- Updated win32/README-WIN32.txt [Rowe]
322
Changes in 1.2.4.1 (28 Mar 2010)
323
- Remove the use of [a-z] constructs for sed in configure [gentoo 310225]
324
- Remove $(SHAREDLIB) from LIBS in Makefile.in [Creech]
325
- Restore "for debugging" comment on sprintf() in gzlib.c
326
- Remove fdopen for MVS from gzguts.h
327
- Put new README-WIN32.txt in win32 [Rowe]
328
- Add check for shell to configure and invoke another shell if needed
329
- Fix big fat stinking bug in gzseek() on uncompressed files
330
- Remove vestigial F_OPEN64 define in zutil.h
331
- Set and check the value of _LARGEFILE_SOURCE and _LARGEFILE64_SOURCE
332
- Avoid errors on non-LFS systems when applications define LFS macros
333
- Set EXE to ".exe" in configure for MINGW [Kahle]
334
- Match crc32() in crc32.c exactly to the prototype in zlib.h [Sherrill]
335
- Add prefix for cross-compilation in win32/makefile.gcc [Bar-Lev]
336
- Add DLL install in win32/makefile.gcc [Bar-Lev]
337
- Allow Linux* or linux* from uname in configure [Bar-Lev]
338
- Allow ldconfig to be redefined in configure and Makefile.in [Bar-Lev]
339
- Add cross-compilation prefixes to configure [Bar-Lev]
340
- Match type exactly in gz_load() invocation in gzread.c
341
- Match type exactly of zcalloc() in zutil.c to zlib.h alloc_func
342
- Provide prototypes for *64 functions when building zlib without LFS
343
- Don't use -lc when linking shared library on MinGW
344
- Remove errno.h check in configure and vestigial errno code in zutil.h
346
Changes in 1.2.4 (14 Mar 2010)
347
- Fix VER3 extraction in configure for no fourth subversion
348
- Update zlib.3, add docs to Makefile.in to make .pdf out of it
349
- Add zlib.3.pdf to distribution
350
- Don't set error code in gzerror() if passed pointer is NULL
351
- Apply destination directory fixes to CMakeLists.txt [Lowman]
352
- Move #cmakedefine's to a new zconf.in.cmakein
353
- Restore zconf.h for builds that don't use configure or cmake
354
- Add distclean to dummy Makefile for convenience
355
- Update and improve INDEX, README, and FAQ
356
- Update CMakeLists.txt for the return of zconf.h [Lowman]
357
- Update contrib/vstudio/vc9 and vc10 [Vollant]
358
- Change libz.dll.a back to libzdll.a in win32/Makefile.gcc
359
- Apply license and readme changes to contrib/asm686 [Raiter]
360
- Check file name lengths and add -c option in minigzip.c [Li]
361
- Update contrib/amd64 and contrib/masmx86/ [Vollant]
362
- Avoid use of "eof" parameter in trees.c to not shadow library variable
363
- Update make_vms.com for removal of zlibdefs.h [Zinser]
364
- Update assembler code and vstudio projects in contrib [Vollant]
365
- Remove outdated assembler code contrib/masm686 and contrib/asm586
366
- Remove old vc7 and vc8 from contrib/vstudio
367
- Update win32/Makefile.msc, add ZLIB_VER_SUBREVISION [Rowe]
368
- Fix memory leaks in gzclose_r() and gzclose_w(), file leak in gz_open()
369
- Add contrib/gcc_gvmat64 for longest_match and inflate_fast [Vollant]
370
- Remove *64 functions from win32/zlib.def (they're not 64-bit yet)
371
- Fix bug in void-returning vsprintf() case in gzwrite.c
372
- Fix name change from inflate.h in contrib/inflate86/inffas86.c
373
- Check if temporary file exists before removing in make_vms.com [Zinser]
374
- Fix make install and uninstall for --static option
375
- Fix usage of _MSC_VER in gzguts.h and zutil.h [Truta]
376
- Update readme.txt in contrib/masmx64 and masmx86 to assemble
378
Changes in 1.2.3.9 (21 Feb 2010)
380
- Move as400 build information to old
381
- Fix updates in contrib/minizip and contrib/vstudio
382
- Add const to vsnprintf test in configure to avoid warnings [Weigelt]
383
- Delete zconf.h (made by configure) [Weigelt]
384
- Change zconf.in.h to zconf.h.in per convention [Weigelt]
385
- Check for NULL buf in gzgets()
386
- Return empty string for gzgets() with len == 1 (like fgets())
387
- Fix description of gzgets() in zlib.h for end-of-file, NULL return
388
- Update minizip to 1.1 [Vollant]
389
- Avoid MSVC loss of data warnings in gzread.c, gzwrite.c
390
- Note in zlib.h that gzerror() should be used to distinguish from EOF
391
- Remove use of snprintf() from gzlib.c
392
- Fix bug in gzseek()
393
- Update contrib/vstudio, adding vc9 and vc10 [Kuno, Vollant]
394
- Fix zconf.h generation in CMakeLists.txt [Lowman]
395
- Improve comments in zconf.h where modified by configure
397
Changes in 1.2.3.8 (13 Feb 2010)
398
- Clean up text files (tabs, trailing whitespace, etc.) [Oberhumer]
399
- Use z_off64_t in gz_zero() and gz_skip() to match state->skip
400
- Avoid comparison problem when sizeof(int) == sizeof(z_off64_t)
401
- Revert to Makefile.in from 1.2.3.6 (live with the clutter)
402
- Fix missing error return in gzflush(), add zlib.h note
403
- Add *64 functions to zlib.map [Levin]
404
- Fix signed/unsigned comparison in gz_comp()
405
- Use SFLAGS when testing shared linking in configure
406
- Add --64 option to ./configure to use -m64 with gcc
407
- Fix ./configure --help to correctly name options
408
- Have make fail if a test fails [Levin]
409
- Avoid buffer overrun in contrib/masmx64/gvmat64.asm [Simpson]
410
- Remove assembler object files from contrib
412
Changes in 1.2.3.7 (24 Jan 2010)
413
- Always gzopen() with O_LARGEFILE if available
414
- Fix gzdirect() to work immediately after gzopen() or gzdopen()
415
- Make gzdirect() more precise when the state changes while reading
416
- Improve zlib.h documentation in many places
417
- Catch memory allocation failure in gz_open()
418
- Complete close operation if seek forward in gzclose_w() fails
419
- Return Z_ERRNO from gzclose_r() if close() fails
420
- Return Z_STREAM_ERROR instead of EOF for gzclose() being passed NULL
421
- Return zero for gzwrite() errors to match zlib.h description
422
- Return -1 on gzputs() error to match zlib.h description
423
- Add zconf.in.h to allow recovery from configure modification [Weigelt]
424
- Fix static library permissions in Makefile.in [Weigelt]
425
- Avoid warnings in configure tests that hide functionality [Weigelt]
426
- Add *BSD and DragonFly to Linux case in configure [gentoo 123571]
427
- Change libzdll.a to libz.dll.a in win32/Makefile.gcc [gentoo 288212]
428
- Avoid access of uninitialized data for first inflateReset2 call [Gomes]
429
- Keep object files in subdirectories to reduce the clutter somewhat
430
- Remove default Makefile and zlibdefs.h, add dummy Makefile
431
- Add new external functions to Z_PREFIX, remove duplicates, z_z_ -> z_
432
- Remove zlibdefs.h completely -- modify zconf.h instead
434
Changes in 1.2.3.6 (17 Jan 2010)
435
- Avoid void * arithmetic in gzread.c and gzwrite.c
436
- Make compilers happier with const char * for gz_error message
437
- Avoid unused parameter warning in inflate.c
438
- Avoid signed-unsigned comparison warning in inflate.c
439
- Indent #pragma's for traditional C
440
- Fix usage of strwinerror() in glib.c, change to gz_strwinerror()
441
- Correct email address in configure for system options
442
- Update make_vms.com and add make_vms.com to contrib/minizip [Zinser]
443
- Update zlib.map [Brown]
444
- Fix Makefile.in for Solaris 10 make of example64 and minizip64 [Torok]
445
- Apply various fixes to CMakeLists.txt [Lowman]
446
- Add checks on len in gzread() and gzwrite()
447
- Add error message for no more room for gzungetc()
448
- Remove zlib version check in gzwrite()
449
- Defer compression of gzprintf() result until need to
450
- Use snprintf() in gzdopen() if available
451
- Remove USE_MMAP configuration determination (only used by minigzip)
452
- Remove examples/pigz.c (available separately)
453
- Update examples/gun.c to 1.6
455
Changes in 1.2.3.5 (8 Jan 2010)
456
- Add space after #if in zutil.h for some compilers
457
- Fix relatively harmless bug in deflate_fast() [Exarevsky]
458
- Fix same problem in deflate_slow()
459
- Add $(SHAREDLIBV) to LIBS in Makefile.in [Brown]
460
- Add deflate_rle() for faster Z_RLE strategy run-length encoding
461
- Add deflate_huff() for faster Z_HUFFMAN_ONLY encoding
462
- Change name of "write" variable in inffast.c to avoid library collisions
463
- Fix premature EOF from gzread() in gzio.c [Brown]
464
- Use zlib header window size if windowBits is 0 in inflateInit2()
465
- Remove compressBound() call in deflate.c to avoid linking compress.o
466
- Replace use of errno in gz* with functions, support WinCE [Alves]
467
- Provide alternative to perror() in minigzip.c for WinCE [Alves]
468
- Don't use _vsnprintf on later versions of MSVC [Lowman]
469
- Add CMake build script and input file [Lowman]
470
- Update contrib/minizip to 1.1 [Svensson, Vollant]
471
- Moved nintendods directory from contrib to .
472
- Replace gzio.c with a new set of routines with the same functionality
473
- Add gzbuffer(), gzoffset(), gzclose_r(), gzclose_w() as part of above
474
- Update contrib/minizip to 1.1b
475
- Change gzeof() to return 0 on error instead of -1 to agree with zlib.h
477
Changes in 1.2.3.4 (21 Dec 2009)
478
- Use old school .SUFFIXES in Makefile.in for FreeBSD compatibility
479
- Update comments in configure and Makefile.in for default --shared
480
- Fix test -z's in configure [Marquess]
481
- Build examplesh and minigzipsh when not testing
482
- Change NULL's to Z_NULL's in deflate.c and in comments in zlib.h
483
- Import LDFLAGS from the environment in configure
484
- Fix configure to populate SFLAGS with discovered CFLAGS options
485
- Adapt make_vms.com to the new Makefile.in [Zinser]
486
- Add zlib2ansi script for C++ compilation [Marquess]
487
- Add _FILE_OFFSET_BITS=64 test to make test (when applicable)
488
- Add AMD64 assembler code for longest match to contrib [Teterin]
489
- Include options from $SFLAGS when doing $LDSHARED
490
- Simplify 64-bit file support by introducing z_off64_t type
491
- Make shared object files in objs directory to work around old Sun cc
492
- Use only three-part version number for Darwin shared compiles
493
- Add rc option to ar in Makefile.in for when ./configure not run
494
- Add -WI,-rpath,. to LDFLAGS for OSF 1 V4*
495
- Set LD_LIBRARYN32_PATH for SGI IRIX shared compile
496
- Protect against _FILE_OFFSET_BITS being defined when compiling zlib
497
- Rename Makefile.in targets allstatic to static and allshared to shared
498
- Fix static and shared Makefile.in targets to be independent
499
- Correct error return bug in gz_open() by setting state [Brown]
500
- Put spaces before ;;'s in configure for better sh compatibility
501
- Add pigz.c (parallel implementation of gzip) to examples/
502
- Correct constant in crc32.c to UL [Leventhal]
503
- Reject negative lengths in crc32_combine()
504
- Add inflateReset2() function to work like inflateEnd()/inflateInit2()
505
- Include sys/types.h for _LARGEFILE64_SOURCE [Brown]
506
- Correct typo in doc/algorithm.txt [Janik]
507
- Fix bug in adler32_combine() [Zhu]
508
- Catch missing-end-of-block-code error in all inflates and in puff
509
Assures that random input to inflate eventually results in an error
510
- Added enough.c (calculation of ENOUGH for inftrees.h) to examples/
511
- Update ENOUGH and its usage to reflect discovered bounds
512
- Fix gzerror() error report on empty input file [Brown]
513
- Add ush casts in trees.c to avoid pedantic runtime errors
514
- Fix typo in zlib.h uncompress() description [Reiss]
515
- Correct inflate() comments with regard to automatic header detection
516
- Remove deprecation comment on Z_PARTIAL_FLUSH (it stays)
517
- Put new version of gzlog (2.0) in examples with interruption recovery
518
- Add puff compile option to permit invalid distance-too-far streams
519
- Add puff TEST command options, ability to read piped input
520
- Prototype the *64 functions in zlib.h when _FILE_OFFSET_BITS == 64, but
521
_LARGEFILE64_SOURCE not defined
522
- Fix Z_FULL_FLUSH to truly erase the past by resetting s->strstart
523
- Fix deflateSetDictionary() to use all 32K for output consistency
524
- Remove extraneous #define MIN_LOOKAHEAD in deflate.c (in deflate.h)
525
- Clear bytes after deflate lookahead to avoid use of uninitialized data
526
- Change a limit in inftrees.c to be more transparent to Coverity Prevent
527
- Update win32/zlib.def with exported symbols from zlib.h
528
- Correct spelling errors in zlib.h [Willem, Sobrado]
529
- Allow Z_BLOCK for deflate() to force a new block
530
- Allow negative bits in inflatePrime() to delete existing bit buffer
531
- Add Z_TREES flush option to inflate() to return at end of trees
532
- Add inflateMark() to return current state information for random access
533
- Add Makefile for NintendoDS to contrib [Costa]
534
- Add -w in configure compile tests to avoid spurious warnings [Beucler]
535
- Fix typos in zlib.h comments for deflateSetDictionary()
536
- Fix EOF detection in transparent gzread() [Maier]
538
Changes in 1.2.3.3 (2 October 2006)
539
- Make --shared the default for configure, add a --static option
540
- Add compile option to permit invalid distance-too-far streams
541
- Add inflateUndermine() function which is required to enable above
542
- Remove use of "this" variable name for C++ compatibility [Marquess]
543
- Add testing of shared library in make test, if shared library built
544
- Use ftello() and fseeko() if available instead of ftell() and fseek()
545
- Provide two versions of all functions that use the z_off_t type for
546
binary compatibility -- a normal version and a 64-bit offset version,
547
per the Large File Support Extension when _LARGEFILE64_SOURCE is
548
defined; use the 64-bit versions by default when _FILE_OFFSET_BITS
550
- Add a --uname= option to configure to perhaps help with cross-compiling
552
Changes in 1.2.3.2 (3 September 2006)
553
- Turn off silly Borland warnings [Hay]
554
- Use off64_t and define _LARGEFILE64_SOURCE when present
555
- Fix missing dependency on inffixed.h in Makefile.in
556
- Rig configure --shared to build both shared and static [Teredesai, Truta]
557
- Remove zconf.in.h and instead create a new zlibdefs.h file
558
- Fix contrib/minizip/unzip.c non-encrypted after encrypted [Vollant]
559
- Add treebuild.xml (see http://treebuild.metux.de/) [Weigelt]
561
Changes in 1.2.3.1 (16 August 2006)
562
- Add watcom directory with OpenWatcom make files [Daniel]
563
- Remove #undef of FAR in zconf.in.h for MVS [Fedtke]
564
- Update make_vms.com [Zinser]
565
- Use -fPIC for shared build in configure [Teredesai, Nicholson]
566
- Use only major version number for libz.so on IRIX and OSF1 [Reinholdtsen]
567
- Use fdopen() (not _fdopen()) for Interix in zutil.h [B�ck]
568
- Add some FAQ entries about the contrib directory
569
- Update the MVS question in the FAQ
570
- Avoid extraneous reads after EOF in gzio.c [Brown]
571
- Correct spelling of "successfully" in gzio.c [Randers-Pehrson]
572
- Add comments to zlib.h about gzerror() usage [Brown]
573
- Set extra flags in gzip header in gzopen() like deflate() does
574
- Make configure options more compatible with double-dash conventions
576
- Clean up compilation under Solaris SunStudio cc [Rowe, Reinholdtsen]
577
- Fix uninstall target in Makefile.in [Truta]
578
- Add pkgconfig support [Weigelt]
579
- Use $(DESTDIR) macro in Makefile.in [Reinholdtsen, Weigelt]
580
- Replace set_data_type() with a more accurate detect_data_type() in
581
trees.c, according to the txtvsbin.txt document [Truta]
582
- Swap the order of #include <stdio.h> and #include "zlib.h" in
583
gzio.c, example.c and minigzip.c [Truta]
584
- Shut up annoying VS2005 warnings about standard C deprecation [Rowe,
586
- Fix target "clean" from win32/Makefile.bor [Truta]
587
- Create .pdb and .manifest files in win32/makefile.msc [Ziegler, Rowe]
588
- Update zlib www home address in win32/DLL_FAQ.txt [Truta]
589
- Update contrib/masmx86/inffas32.asm for VS2005 [Vollant, Van Wassenhove]
590
- Enable browse info in the "Debug" and "ASM Debug" configurations in
591
the Visual C++ 6 project, and set (non-ASM) "Debug" as default [Truta]
592
- Add pkgconfig support [Weigelt]
593
- Add ZLIB_VER_MAJOR, ZLIB_VER_MINOR and ZLIB_VER_REVISION in zlib.h,
594
for use in win32/zlib1.rc [Polushin, Rowe, Truta]
595
- Add a document that explains the new text detection scheme to
596
doc/txtvsbin.txt [Truta]
597
- Add rfc1950.txt, rfc1951.txt and rfc1952.txt to doc/ [Truta]
598
- Move algorithm.txt into doc/ [Truta]
599
- Synchronize FAQ with website
600
- Fix compressBound(), was low for some pathological cases [Fearnley]
601
- Take into account wrapper variations in deflateBound()
602
- Set examples/zpipe.c input and output to binary mode for Windows
603
- Update examples/zlib_how.html with new zpipe.c (also web site)
604
- Fix some warnings in examples/gzlog.c and examples/zran.c (it seems
605
that gcc became pickier in 4.0)
606
- Add zlib.map for Linux: "All symbols from zlib-1.1.4 remain
607
un-versioned, the patch adds versioning only for symbols introduced in
608
zlib-1.2.0 or later. It also declares as local those symbols which are
609
not designed to be exported." [Levin]
610
- Update Z_PREFIX list in zconf.in.h, add --zprefix option to configure
611
- Do not initialize global static by default in trees.c, add a response
612
NO_INIT_GLOBAL_POINTERS to initialize them if needed [Marquess]
613
- Don't use strerror() in gzio.c under WinCE [Yakimov]
614
- Don't use errno.h in zutil.h under WinCE [Yakimov]
615
- Move arguments for AR to its usage to allow replacing ar [Marot]
616
- Add HAVE_VISIBILITY_PRAGMA in zconf.in.h for Mozilla [Randers-Pehrson]
617
- Improve inflateInit() and inflateInit2() documentation
618
- Fix structure size comment in inflate.h
619
- Change configure help option from --h* to --help [Santos]
4
621
Changes in 1.2.3 (18 July 2005)
5
622
- Apply security vulnerability fixes to contrib/infback9 as well
6
623
- Clean up some text files (carriage returns, trailing space)