Skip to content

Commit 2fa463b

Browse files
committed
zlib 1.2.9
1 parent 14e3194 commit 2fa463b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+777
-580
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON)
33

44
project(zlib C)
55

6-
set(VERSION "1.2.8.1")
6+
set(VERSION "1.2.9")
77

88
option(ASM686 "Enable building i686 assembly implementation")
99
option(AMD64 "Enable building amd64 assembly implementation")

ChangeLog

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,37 @@
11

22
ChangeLog file for zlib
33

4-
Changes in 1.2.8.1 (xx May 2013)
5-
-
4+
Changes in 1.2.9 (31 Dec 2016)
5+
- Fix contrib/minizip to permit unzipping with desktop API [Zouzou]
6+
- Improve contrib/blast to return unused bytes
7+
- Assure that gzoffset() is correct when appending
8+
- Improve compress() and uncompress() to support large lengths
9+
- Fix bug in test/example.c where error code not saved
10+
- Remedy Coverity warning [Randers-Pehrson]
11+
- Improve speed of gzprintf() in transparent mode
12+
- Fix inflateInit2() bug when windowBits is 16 or 32
13+
- Change DEBUG macro to ZLIB_DEBUG
14+
- Avoid uninitialized access by gzclose_w()
15+
- Allow building zlib outside of the source directory
16+
- Fix bug that accepted invalid zlib header when windowBits is zero
17+
- Fix gzseek() problem on MinGW due to buggy _lseeki64 there
18+
- Loop on write() calls in gzwrite.c in case of non-blocking I/O
19+
- Add --warn (-w) option to ./configure for more compiler warnings
20+
- Reject a window size of 256 bytes if not using the zlib wrapper
21+
- Fix bug when level 0 used with Z_HUFFMAN or Z_RLE
22+
- Add --debug (-d) option to ./configure to define ZLIB_DEBUG
23+
- Fix bugs in creating a very large gzip header
24+
- Add uncompress2() function, which returns the input size used
25+
- Assure that deflateParams() will not switch functions mid-block
26+
- Dramatically speed up deflation for level 0 (storing)
27+
- Add gzfread(), duplicating the interface of fread()
28+
- Add gzfwrite(), duplicating the interface of fwrite()
29+
- Add deflateGetDictionary() function
30+
- Use snprintf() for later versions of Microsoft C
31+
- Fix *Init macros to use z_ prefix when requested
32+
- Replace as400 with os400 for OS/400 support [Monnerat]
33+
- Add crc32_z() and adler32_z() functions with size_t lengths
34+
- Update Visual Studio project files [AraHaan]
635

736
Changes in 1.2.8 (28 Apr 2013)
837
- Update contrib/minizip/iowin32.c for Windows RT [Vollant]

Makefile.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Makefile for zlib
2-
# Copyright (C) 1995-2013 Jean-loup Gailly, Mark Adler
2+
# Copyright (C) 1995-2016 Jean-loup Gailly, Mark Adler
33
# For conditions of distribution and use, see copyright notice in zlib.h
44

55
# To compile and test, type:
@@ -32,7 +32,7 @@ CPP=$(CC) -E
3232

3333
STATICLIB=libz.a
3434
SHAREDLIB=libz.so
35-
SHAREDLIBV=libz.so.1.2.8.1
35+
SHAREDLIBV=libz.so.1.2.9
3636
SHAREDLIBM=libz.so.1
3737
LIBS=$(STATICLIB) $(SHAREDLIBV)
3838

README

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ZLIB DATA COMPRESSION LIBRARY
22

3-
zlib 1.2.8.1 is a general purpose data compression library. All the code is
3+
zlib 1.2.9 is a general purpose data compression library. All the code is
44
thread safe. The data format used by the zlib library is described by RFCs
55
(Request for Comments) 1950 to 1952 in the files
66
http://tools.ietf.org/html/rfc1950 (zlib format), rfc1951 (deflate format) and
@@ -31,7 +31,7 @@ Mark Nelson <[email protected]> wrote an article about zlib for the Jan. 1997
3131
issue of Dr. Dobb's Journal; a copy of the article is available at
3232
http://marknelson.us/1997/01/01/zlib-engine/ .
3333

34-
The changes made in version 1.2.8.1 are documented in the file ChangeLog.
34+
The changes made in version 1.2.9 are documented in the file ChangeLog.
3535

3636
Unsupported third party contributions are provided in directory contrib/ .
3737

@@ -84,7 +84,7 @@ Acknowledgments:
8484

8585
Copyright notice:
8686

87-
(C) 1995-2013 Jean-loup Gailly and Mark Adler
87+
(C) 1995-2016 Jean-loup Gailly and Mark Adler
8888

8989
This software is provided 'as-is', without any express or implied
9090
warranty. In no event will the authors be held liable for any damages

adler32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* adler32.c -- compute the Adler-32 checksum of a data stream
2-
* Copyright (C) 1995-2011 Mark Adler
2+
* Copyright (C) 1995-2011, 2016 Mark Adler
33
* For conditions of distribution and use, see copyright notice in zlib.h
44
*/
55

compress.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* compress.c -- compress a memory buffer
2-
* Copyright (C) 1995-2005, 2014 Jean-loup Gailly, Mark Adler
2+
* Copyright (C) 1995-2005, 2014, 2016 Jean-loup Gailly, Mark Adler
33
* For conditions of distribution and use, see copyright notice in zlib.h
44
*/
55

contrib/delphi/ZLib.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ procedure DecompressToUserBuf(const InBuf: Pointer; InBytes: Integer;
152152
const OutBuf: Pointer; BufSize: Integer);
153153

154154
const
155-
zlib_version = '1.2.8.1';
155+
zlib_version = '1.2.9';
156156

157157
type
158158
EZlibError = class(Exception);

contrib/dotzlib/DotZLib/UnitTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public class InfoTests
156156
public void Info_Version()
157157
{
158158
Info info = new Info();
159-
Assert.AreEqual("1.2.8.1", Info.Version);
159+
Assert.AreEqual("1.2.9", Info.Version);
160160
Assert.AreEqual(32, info.SizeOfUInt);
161161
Assert.AreEqual(32, info.SizeOfULong);
162162
Assert.AreEqual(32, info.SizeOfPointer);

contrib/infback9/inftree9.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* inftree9.c -- generate Huffman trees for efficient decoding
2-
* Copyright (C) 1995-2013 Mark Adler
2+
* Copyright (C) 1995-2016 Mark Adler
33
* For conditions of distribution and use, see copyright notice in zlib.h
44
*/
55

@@ -9,7 +9,7 @@
99
#define MAXBITS 15
1010

1111
const char inflate9_copyright[] =
12-
" inflate9 1.2.8.1 Copyright 1995-2013 Mark Adler ";
12+
" inflate9 1.2.9 Copyright 1995-2016 Mark Adler ";
1313
/*
1414
If you use the zlib library in a product, an acknowledgment is welcome
1515
in the documentation of your product. If for some reason you cannot
@@ -64,7 +64,7 @@ unsigned short FAR *work;
6464
static const unsigned short lext[31] = { /* Length codes 257..285 extra */
6565
128, 128, 128, 128, 128, 128, 128, 128, 129, 129, 129, 129,
6666
130, 130, 130, 130, 131, 131, 131, 131, 132, 132, 132, 132,
67-
133, 133, 133, 133, 144, 203, 198};
67+
133, 133, 133, 133, 144, 192, 79};
6868
static const unsigned short dbase[32] = { /* Distance codes 0..31 base */
6969
1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49,
7070
65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073,

contrib/minizip/configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- Autoconf -*-
22
# Process this file with autoconf to produce a configure script.
33

4-
AC_INIT([minizip], [1.2.8.1], [bugzilla.redhat.com])
4+
AC_INIT([minizip], [1.2.9], [bugzilla.redhat.com])
55
AC_CONFIG_SRCDIR([minizip.c])
66
AM_INIT_AUTOMAKE([foreign])
77
LT_INIT

0 commit comments

Comments
 (0)