Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
pub
zlib
Commits
4a090ade
Commit
4a090ade
authored
8 years ago
by
Mark Adler
Browse files
Options
Download
Email Patches
Plain Diff
zlib 1.2.10
parent
e13def04
master
v1.2.11
v1.2.10
No related merge requests found
Changes
25
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
CMakeLists.txt
+1
-1
CMakeLists.txt
ChangeLog
+6
-2
ChangeLog
Makefile.in
+1
-1
Makefile.in
README
+2
-2
README
contrib/delphi/ZLib.pas
+1
-1
contrib/delphi/ZLib.pas
contrib/dotzlib/DotZLib/UnitTests.cs
+1
-1
contrib/dotzlib/DotZLib/UnitTests.cs
contrib/infback9/inftree9.c
+2
-2
contrib/infback9/inftree9.c
contrib/minizip/configure.ac
+1
-1
contrib/minizip/configure.ac
contrib/pascal/zlibpas.pas
+2
-2
contrib/pascal/zlibpas.pas
contrib/vstudio/readme.txt
+1
-1
contrib/vstudio/readme.txt
contrib/vstudio/vc10/zlib.rc
+3
-3
contrib/vstudio/vc10/zlib.rc
contrib/vstudio/vc11/zlib.rc
+3
-3
contrib/vstudio/vc11/zlib.rc
contrib/vstudio/vc12/zlib.rc
+3
-3
contrib/vstudio/vc12/zlib.rc
contrib/vstudio/vc14/zlib.rc
+3
-3
contrib/vstudio/vc14/zlib.rc
contrib/vstudio/vc9/zlib.rc
+3
-3
contrib/vstudio/vc9/zlib.rc
deflate.c
+1
-1
deflate.c
inftrees.c
+2
-2
inftrees.c
os400/README400
+1
-1
os400/README400
os400/zlib.inc
+5
-5
os400/zlib.inc
qnx/package.qpg
+5
-5
qnx/package.qpg
with
47 additions
and
43 deletions
+47
-43
CMakeLists.txt
+
1
-
1
View file @
4a090ade
...
...
@@ -3,7 +3,7 @@ set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON)
project
(
zlib C
)
set
(
VERSION
"1.2.
9.
1"
)
set
(
VERSION
"1.2.1
0
"
)
option
(
ASM686
"Enable building i686 assembly implementation"
)
option
(
AMD64
"Enable building amd64 assembly implementation"
)
...
...
This diff is collapsed.
Click to expand it.
ChangeLog
+
6
-
2
View file @
4a090ade
ChangeLog file for zlib
Changes in 1.2.9.1 (xx Jan 2017)
-
Changes in 1.2.10 (2 Jan 2017)
- Avoid warnings on snprintf() return value
- Fix bug in deflate_stored() for zero-length input
- Fix bug in gzwrite.c that produced corrupt gzip files
- Remove files to be installed before copying them in Makefile.in
- Add warnings when compiling with assembler code
Changes in 1.2.9 (31 Dec 2016)
- Fix contrib/minizip to permit unzipping with desktop API [Zouzou]
...
...
This diff is collapsed.
Click to expand it.
Makefile.in
+
1
-
1
View file @
4a090ade
...
...
@@ -32,7 +32,7 @@ CPP=$(CC) -E
STATICLIB
=
libz.a
SHAREDLIB
=
libz.so
SHAREDLIBV
=
libz.so.1.2.
9.
1
SHAREDLIBV
=
libz.so.1.2.1
0
SHAREDLIBM
=
libz.so.1
LIBS
=
$(STATICLIB)
$(SHAREDLIBV)
...
...
This diff is collapsed.
Click to expand it.
README
+
2
-
2
View file @
4a090ade
ZLIB DATA COMPRESSION LIBRARY
zlib 1.2.
9.
1 is a general purpose data compression library. All the code is
zlib 1.2.1
0
is a general purpose data compression library. All the code is
thread safe. The data format used by the zlib library is described by RFCs
(Request for Comments) 1950 to 1952 in the files
http://tools.ietf.org/html/rfc1950 (zlib format), rfc1951 (deflate format) and
...
...
@@ -31,7 +31,7 @@ Mark Nelson <markn@ieee.org> wrote an article about zlib for the Jan. 1997
issue of Dr. Dobb's Journal; a copy of the article is available at
http://marknelson.us/1997/01/01/zlib-engine/ .
The changes made in version 1.2.
9.
1 are documented in the file ChangeLog.
The changes made in version 1.2.1
0
are documented in the file ChangeLog.
Unsupported third party contributions are provided in directory contrib/ .
...
...
This diff is collapsed.
Click to expand it.
contrib/delphi/ZLib.pas
+
1
-
1
View file @
4a090ade
...
...
@@ -152,7 +152,7 @@ procedure DecompressToUserBuf(const InBuf: Pointer; InBytes: Integer;
const
OutBuf
:
Pointer
;
BufSize
:
Integer
);
const
zlib_version
=
'1.2.
9.
1'
;
zlib_version
=
'1.2.1
0
'
;
type
EZlibError
=
class
(
Exception
);
...
...
This diff is collapsed.
Click to expand it.
contrib/dotzlib/DotZLib/UnitTests.cs
+
1
-
1
View file @
4a090ade
...
...
@@ -156,7 +156,7 @@ namespace DotZLibTests
public
void
Info_Version
()
{
Info
info
=
new
Info
();
Assert
.
AreEqual
(
"1.2.
9.
1"
,
Info
.
Version
);
Assert
.
AreEqual
(
"1.2.1
0
"
,
Info
.
Version
);
Assert
.
AreEqual
(
32
,
info
.
SizeOfUInt
);
Assert
.
AreEqual
(
32
,
info
.
SizeOfULong
);
Assert
.
AreEqual
(
32
,
info
.
SizeOfPointer
);
...
...
This diff is collapsed.
Click to expand it.
contrib/infback9/inftree9.c
+
2
-
2
View file @
4a090ade
...
...
@@ -9,7 +9,7 @@
#define MAXBITS 15
const
char
inflate9_copyright
[]
=
" inflate9 1.2.
9.
1 Copyright 1995-2017 Mark Adler "
;
" inflate9 1.2.1
0
Copyright 1995-2017 Mark Adler "
;
/*
If you use the zlib library in a product, an acknowledgment is welcome
in the documentation of your product. If for some reason you cannot
...
...
@@ -64,7 +64,7 @@ unsigned short FAR *work;
static
const
unsigned
short
lext
[
31
]
=
{
/* Length codes 257..285 extra */
128
,
128
,
128
,
128
,
128
,
128
,
128
,
128
,
129
,
129
,
129
,
129
,
130
,
130
,
130
,
130
,
131
,
131
,
131
,
131
,
132
,
132
,
132
,
132
,
133
,
133
,
133
,
133
,
144
,
203
,
20
1
};
133
,
133
,
133
,
133
,
144
,
192
,
20
2
};
static
const
unsigned
short
dbase
[
32
]
=
{
/* Distance codes 0..31 base */
1
,
2
,
3
,
4
,
5
,
7
,
9
,
13
,
17
,
25
,
33
,
49
,
65
,
97
,
129
,
193
,
257
,
385
,
513
,
769
,
1025
,
1537
,
2049
,
3073
,
...
...
This diff is collapsed.
Click to expand it.
contrib/minizip/configure.ac
+
1
-
1
View file @
4a090ade
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_INIT([minizip], [1.2.
9.
1], [bugzilla.redhat.com])
AC_INIT([minizip], [1.2.1
0
], [bugzilla.redhat.com])
AC_CONFIG_SRCDIR([minizip.c])
AM_INIT_AUTOMAKE([foreign])
LT_INIT
...
...
This diff is collapsed.
Click to expand it.
contrib/pascal/zlibpas.pas
+
2
-
2
View file @
4a090ade
...
...
@@ -10,8 +10,8 @@ unit zlibpas;
interface
const
ZLIB_VERSION
=
'1.2.
9.
1'
;
ZLIB_VERNUM
=
$12
91
;
ZLIB_VERSION
=
'1.2.1
0
'
;
ZLIB_VERNUM
=
$12
a0
;
type
alloc_func
=
function
(
opaque
:
Pointer
;
items
,
size
:
Integer
):
Pointer
;
...
...
This diff is collapsed.
Click to expand it.
contrib/vstudio/readme.txt
+
1
-
1
View file @
4a090ade
Building instructions for the DLL versions of Zlib 1.2.
9.
1
Building instructions for the DLL versions of Zlib 1.2.1
0
========================================================
This directory contains projects that build zlib and minizip using
...
...
This diff is collapsed.
Click to expand it.
contrib/vstudio/vc10/zlib.rc
+
3
-
3
View file @
4a090ade
...
...
@@ -2,8 +2,8 @@
#define IDR_VERSION1 1
IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
FILEVERSION 1, 2,
9
,
1
PRODUCTVERSION 1, 2,
9
,
1
FILEVERSION 1, 2,
10
,
0
PRODUCTVERSION 1, 2,
10
,
0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEFLAGS 0
FILEOS VOS_DOS_WINDOWS32
...
...
@@ -17,7 +17,7 @@ BEGIN
BEGIN
VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0"
VALUE "FileVersion", "1.2.
9.
1\0"
VALUE "FileVersion", "1.2.1
0
\0"
VALUE "InternalName", "zlib\0"
VALUE "OriginalFilename", "zlibwapi.dll\0"
VALUE "ProductName", "ZLib.DLL\0"
...
...
This diff is collapsed.
Click to expand it.
contrib/vstudio/vc11/zlib.rc
+
3
-
3
View file @
4a090ade
...
...
@@ -2,8 +2,8 @@
#define IDR_VERSION1 1
IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
FILEVERSION 1, 2,
9
,
1
PRODUCTVERSION 1, 2,
9
,
1
FILEVERSION 1, 2,
10
,
0
PRODUCTVERSION 1, 2,
10
,
0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEFLAGS 0
FILEOS VOS_DOS_WINDOWS32
...
...
@@ -17,7 +17,7 @@ BEGIN
BEGIN
VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0"
VALUE "FileVersion", "1.2.
9.
1\0"
VALUE "FileVersion", "1.2.1
0
\0"
VALUE "InternalName", "zlib\0"
VALUE "OriginalFilename", "zlibwapi.dll\0"
VALUE "ProductName", "ZLib.DLL\0"
...
...
This diff is collapsed.
Click to expand it.
contrib/vstudio/vc12/zlib.rc
+
3
-
3
View file @
4a090ade
...
...
@@ -2,8 +2,8 @@
#define IDR_VERSION1 1
IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
FILEVERSION 1, 2,
9
,
1
PRODUCTVERSION 1, 2,
9
,
1
FILEVERSION 1, 2,
10
,
0
PRODUCTVERSION 1, 2,
10
,
0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEFLAGS 0
FILEOS VOS_DOS_WINDOWS32
...
...
@@ -17,7 +17,7 @@ BEGIN
BEGIN
VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0"
VALUE "FileVersion", "1.2.
9.
1\0"
VALUE "FileVersion", "1.2.1
0
\0"
VALUE "InternalName", "zlib\0"
VALUE "OriginalFilename", "zlibwapi.dll\0"
VALUE "ProductName", "ZLib.DLL\0"
...
...
This diff is collapsed.
Click to expand it.
contrib/vstudio/vc14/zlib.rc
+
3
-
3
View file @
4a090ade
...
...
@@ -2,8 +2,8 @@
#define IDR_VERSION1 1
IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
FILEVERSION 1, 2,
9
,
1
PRODUCTVERSION 1, 2,
9
,
1
FILEVERSION 1, 2,
10
,
0
PRODUCTVERSION 1, 2,
10
,
0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEFLAGS 0
FILEOS VOS_DOS_WINDOWS32
...
...
@@ -17,7 +17,7 @@ BEGIN
BEGIN
VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0"
VALUE "FileVersion", "1.2.
9.
1\0"
VALUE "FileVersion", "1.2.1
0
\0"
VALUE "InternalName", "zlib\0"
VALUE "OriginalFilename", "zlibwapi.dll\0"
VALUE "ProductName", "ZLib.DLL\0"
...
...
This diff is collapsed.
Click to expand it.
contrib/vstudio/vc9/zlib.rc
+
3
-
3
View file @
4a090ade
...
...
@@ -2,8 +2,8 @@
#define IDR_VERSION1 1
IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
FILEVERSION 1, 2,
9
,
1
PRODUCTVERSION 1, 2,
9
,
1
FILEVERSION 1, 2,
10
,
0
PRODUCTVERSION 1, 2,
10
,
0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEFLAGS 0
FILEOS VOS_DOS_WINDOWS32
...
...
@@ -17,7 +17,7 @@ BEGIN
BEGIN
VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0"
VALUE "FileVersion", "1.2.
9.
1\0"
VALUE "FileVersion", "1.2.1
0
\0"
VALUE "InternalName", "zlib\0"
VALUE "OriginalFilename", "zlibwapi.dll\0"
VALUE "ProductName", "ZLib.DLL\0"
...
...
This diff is collapsed.
Click to expand it.
deflate.c
+
1
-
1
View file @
4a090ade
...
...
@@ -52,7 +52,7 @@
#include
"deflate.h"
const
char
deflate_copyright
[]
=
" deflate 1.2.
9.
1 Copyright 1995-2017 Jean-loup Gailly and Mark Adler "
;
" deflate 1.2.1
0
Copyright 1995-2017 Jean-loup Gailly and Mark Adler "
;
/*
If you use the zlib library in a product, an acknowledgment is welcome
in the documentation of your product. If for some reason you cannot
...
...
This diff is collapsed.
Click to expand it.
inftrees.c
+
2
-
2
View file @
4a090ade
...
...
@@ -9,7 +9,7 @@
#define MAXBITS 15
const
char
inflate_copyright
[]
=
" inflate 1.2.
9.
1 Copyright 1995-2017 Mark Adler "
;
" inflate 1.2.1
0
Copyright 1995-2017 Mark Adler "
;
/*
If you use the zlib library in a product, an acknowledgment is welcome
in the documentation of your product. If for some reason you cannot
...
...
@@ -62,7 +62,7 @@ unsigned short FAR *work;
35
,
43
,
51
,
59
,
67
,
83
,
99
,
115
,
131
,
163
,
195
,
227
,
258
,
0
,
0
};
static
const
unsigned
short
lext
[
31
]
=
{
/* Length codes 257..285 extra */
16
,
16
,
16
,
16
,
16
,
16
,
16
,
16
,
17
,
17
,
17
,
17
,
18
,
18
,
18
,
18
,
19
,
19
,
19
,
19
,
20
,
20
,
20
,
20
,
21
,
21
,
21
,
21
,
16
,
203
,
20
1
};
19
,
19
,
19
,
19
,
20
,
20
,
20
,
20
,
21
,
21
,
21
,
21
,
16
,
192
,
20
2
};
static
const
unsigned
short
dbase
[
32
]
=
{
/* Distance codes 0..29 base */
1
,
2
,
3
,
4
,
5
,
7
,
9
,
13
,
17
,
25
,
33
,
49
,
65
,
97
,
129
,
193
,
257
,
385
,
513
,
769
,
1025
,
1537
,
2049
,
3073
,
4097
,
6145
,
...
...
This diff is collapsed.
Click to expand it.
os400/README400
+
1
-
1
View file @
4a090ade
ZLIB version 1.2.
9.
1 for OS/400 installation instructions
ZLIB version 1.2.1
0
for OS/400 installation instructions
1) Download and unpack the zlib tarball to some IFS directory.
(i.e.: /path/to/the/zlib/ifs/source/directory)
...
...
This diff is collapsed.
Click to expand it.
os400/zlib.inc
+
5
-
5
View file @
4a090ade
*
ZLIB
.
INC
-
Interface
to
the
general
purpose
compression
library
*
*
ILE
RPG400
version
by
Patrick
Monnerat
,
DATASPHERE
.
*
Version
1.2.
9.
1
*
Version
1.2.1
0
*
*
*
WARNING
:
...
...
@@ -22,14 +22,14 @@
*
*
Versioning
information
.
*
D
ZLIB_VERSION
C
'1.2.
9.
1'
D
ZLIB_VERNUM
C
X
'12
91
'
D
ZLIB_VERSION
C
'1.2.1
0
'
D
ZLIB_VERNUM
C
X
'12
a0
'
D
ZLIB_VER_MAJOR
C
1
D
ZLIB_VER_MINOR
C
2
D
ZLIB_VER_REVISION
...
D
C
9
D
C
10
D
ZLIB_VER_SUBREVISION
...
D
C
1
D
C
0
*
*
Other
equates
.
*
...
...
This diff is collapsed.
Click to expand it.
qnx/package.qpg
+
5
-
5
View file @
4a090ade
...
...
@@ -25,10 +25,10 @@
<QPG:Files>
<QPG:Add file="../zconf.h" install="/opt/include/" user="root:sys" permission="644"/>
<QPG:Add file="../zlib.h" install="/opt/include/" user="root:sys" permission="644"/>
<QPG:Add file="../libz.so.1.2.
9.
1" install="/opt/lib/" user="root:bin" permission="644"/>
<QPG:Add file="libz.so" install="/opt/lib/" component="dev" filetype="symlink" linkto="libz.so.1.2.
9.
1"/>
<QPG:Add file="libz.so.1" install="/opt/lib/" filetype="symlink" linkto="libz.so.1.2.
9.
1"/>
<QPG:Add file="../libz.so.1.2.
9.
1" install="/opt/lib/" component="slib"/>
<QPG:Add file="../libz.so.1.2.1
0
" install="/opt/lib/" user="root:bin" permission="644"/>
<QPG:Add file="libz.so" install="/opt/lib/" component="dev" filetype="symlink" linkto="libz.so.1.2.1
0
"/>
<QPG:Add file="libz.so.1" install="/opt/lib/" filetype="symlink" linkto="libz.so.1.2.1
0
"/>
<QPG:Add file="../libz.so.1.2.1
0
" install="/opt/lib/" component="slib"/>
</QPG:Files>
<QPG:PackageFilter>
...
...
@@ -63,7 +63,7 @@
</QPM:ProductDescription>
<QPM:ReleaseDescription>
<QPM:ReleaseVersion>1.2.
9.
1</QPM:ReleaseVersion>
<QPM:ReleaseVersion>1.2.1
0
</QPM:ReleaseVersion>
<QPM:ReleaseUrgency>Medium</QPM:ReleaseUrgency>
<QPM:ReleaseStability>Stable</QPM:ReleaseStability>
<QPM:ReleaseNoteMinor></QPM:ReleaseNoteMinor>
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets