Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Zlib
提交
cacf7f1d
T
Third Party Zlib
项目概览
OpenHarmony
/
Third Party Zlib
1 年多 前同步成功
通知
16
Star
112
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Zlib
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
cacf7f1d
编写于
1月 15, 2017
作者:
M
Mark Adler
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zlib 1.2.11
上级
cbbd2030
变更
29
隐藏空白更改
内联
并排
Showing
29 changed file
with
58 addition
and
54 deletion
+58
-54
CMakeLists.txt
CMakeLists.txt
+1
-1
ChangeLog
ChangeLog
+4
-0
Makefile.in
Makefile.in
+1
-1
README
README
+2
-2
contrib/delphi/ZLib.pas
contrib/delphi/ZLib.pas
+1
-1
contrib/dotzlib/DotZLib/UnitTests.cs
contrib/dotzlib/DotZLib/UnitTests.cs
+1
-1
contrib/infback9/inftree9.c
contrib/infback9/inftree9.c
+2
-2
contrib/minizip/configure.ac
contrib/minizip/configure.ac
+1
-1
contrib/pascal/zlibpas.pas
contrib/pascal/zlibpas.pas
+1
-1
contrib/vstudio/readme.txt
contrib/vstudio/readme.txt
+1
-1
contrib/vstudio/vc10/zlib.rc
contrib/vstudio/vc10/zlib.rc
+3
-3
contrib/vstudio/vc11/zlib.rc
contrib/vstudio/vc11/zlib.rc
+3
-3
contrib/vstudio/vc12/zlib.rc
contrib/vstudio/vc12/zlib.rc
+3
-3
contrib/vstudio/vc14/zlib.rc
contrib/vstudio/vc14/zlib.rc
+3
-3
contrib/vstudio/vc9/zlib.rc
contrib/vstudio/vc9/zlib.rc
+3
-3
deflate.c
deflate.c
+1
-1
gzlib.c
gzlib.c
+1
-1
gzwrite.c
gzwrite.c
+1
-1
inffast.c
inffast.c
+1
-1
inftrees.c
inftrees.c
+2
-2
os400/README400
os400/README400
+1
-1
os400/zlib.inc
os400/zlib.inc
+4
-4
qnx/package.qpg
qnx/package.qpg
+5
-5
treebuild.xml
treebuild.xml
+2
-2
win32/README-WIN32.txt
win32/README-WIN32.txt
+2
-2
zlib.3
zlib.3
+2
-2
zlib.3.pdf
zlib.3.pdf
+0
-0
zlib.h
zlib.h
+5
-5
zutil.c
zutil.c
+1
-1
未找到文件。
CMakeLists.txt
浏览文件 @
cacf7f1d
...
...
@@ -3,7 +3,7 @@ set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON)
project
(
zlib C
)
set
(
VERSION
"1.2.1
0.
1"
)
set
(
VERSION
"1.2.11"
)
option
(
ASM686
"Enable building i686 assembly implementation"
)
option
(
AMD64
"Enable building amd64 assembly implementation"
)
...
...
ChangeLog
浏览文件 @
cacf7f1d
ChangeLog file for zlib
Changes in 1.2.11 (15 Jan 2017)
- Fix deflate stored bug when pulling last block from window
- Permit immediate deflateParams changes before any deflate input
Changes in 1.2.10 (2 Jan 2017)
- Avoid warnings on snprintf() return value
- Fix bug in deflate_stored() for zero-length input
...
...
Makefile.in
浏览文件 @
cacf7f1d
...
...
@@ -32,7 +32,7 @@ CPP=$(CC) -E
STATICLIB
=
libz.a
SHAREDLIB
=
libz.so
SHAREDLIBV
=
libz.so.1.2.1
0.
1
SHAREDLIBV
=
libz.so.1.2.11
SHAREDLIBM
=
libz.so.1
LIBS
=
$(STATICLIB)
$(SHAREDLIBV)
...
...
README
浏览文件 @
cacf7f1d
ZLIB DATA COMPRESSION LIBRARY
zlib 1.2.1
0.
1 is a general purpose data compression library. All the code is
zlib 1.2.11 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.1
0.
1 are documented in the file ChangeLog.
The changes made in version 1.2.11 are documented in the file ChangeLog.
Unsupported third party contributions are provided in directory contrib/ .
...
...
contrib/delphi/ZLib.pas
浏览文件 @
cacf7f1d
...
...
@@ -152,7 +152,7 @@ procedure DecompressToUserBuf(const InBuf: Pointer; InBytes: Integer;
const
OutBuf
:
Pointer
;
BufSize
:
Integer
);
const
zlib_version
=
'1.2.1
0.
1'
;
zlib_version
=
'1.2.11'
;
type
EZlibError
=
class
(
Exception
);
...
...
contrib/dotzlib/DotZLib/UnitTests.cs
浏览文件 @
cacf7f1d
...
...
@@ -156,7 +156,7 @@ namespace DotZLibTests
public
void
Info_Version
()
{
Info
info
=
new
Info
();
Assert
.
AreEqual
(
"1.2.1
0.
1"
,
Info
.
Version
);
Assert
.
AreEqual
(
"1.2.11"
,
Info
.
Version
);
Assert
.
AreEqual
(
32
,
info
.
SizeOfUInt
);
Assert
.
AreEqual
(
32
,
info
.
SizeOfULong
);
Assert
.
AreEqual
(
32
,
info
.
SizeOfPointer
);
...
...
contrib/infback9/inftree9.c
浏览文件 @
cacf7f1d
...
...
@@ -9,7 +9,7 @@
#define MAXBITS 15
const
char
inflate9_copyright
[]
=
" inflate9 1.2.1
0.
1 Copyright 1995-2017 Mark Adler "
;
" inflate9 1.2.11 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
,
204
,
64
};
133
,
133
,
133
,
133
,
144
,
77
,
202
};
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
,
...
...
contrib/minizip/configure.ac
浏览文件 @
cacf7f1d
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_INIT([minizip], [1.2.1
0.
1], [bugzilla.redhat.com])
AC_INIT([minizip], [1.2.11], [bugzilla.redhat.com])
AC_CONFIG_SRCDIR([minizip.c])
AM_INIT_AUTOMAKE([foreign])
LT_INIT
...
...
contrib/pascal/zlibpas.pas
浏览文件 @
cacf7f1d
...
...
@@ -10,7 +10,7 @@ unit zlibpas;
interface
const
ZLIB_VERSION
=
'1.2.1
0.
1'
;
ZLIB_VERSION
=
'1.2.11'
;
ZLIB_VERNUM
=
$
12
a0
;
type
...
...
contrib/vstudio/readme.txt
浏览文件 @
cacf7f1d
Building instructions for the DLL versions of Zlib 1.2.1
0.
1
Building instructions for the DLL versions of Zlib 1.2.11
========================================================
This directory contains projects that build zlib and minizip using
...
...
contrib/vstudio/vc10/zlib.rc
浏览文件 @
cacf7f1d
...
...
@@ -2,8 +2,8 @@
#define IDR_VERSION1 1
IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
FILEVERSION 1, 2, 1
0, 1
PRODUCTVERSION 1, 2, 1
0, 1
FILEVERSION 1, 2, 1
1, 0
PRODUCTVERSION 1, 2, 1
1, 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.1
0.
1\0"
VALUE "FileVersion", "1.2.11\0"
VALUE "InternalName", "zlib\0"
VALUE "OriginalFilename", "zlibwapi.dll\0"
VALUE "ProductName", "ZLib.DLL\0"
...
...
contrib/vstudio/vc11/zlib.rc
浏览文件 @
cacf7f1d
...
...
@@ -2,8 +2,8 @@
#define IDR_VERSION1 1
IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
FILEVERSION 1, 2, 1
0, 1
PRODUCTVERSION 1, 2, 1
0, 1
FILEVERSION 1, 2, 1
1, 0
PRODUCTVERSION 1, 2, 1
1, 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.1
0.
1\0"
VALUE "FileVersion", "1.2.11\0"
VALUE "InternalName", "zlib\0"
VALUE "OriginalFilename", "zlibwapi.dll\0"
VALUE "ProductName", "ZLib.DLL\0"
...
...
contrib/vstudio/vc12/zlib.rc
浏览文件 @
cacf7f1d
...
...
@@ -2,8 +2,8 @@
#define IDR_VERSION1 1
IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
FILEVERSION 1, 2, 1
0, 1
PRODUCTVERSION 1, 2, 1
0, 1
FILEVERSION 1, 2, 1
1, 0
PRODUCTVERSION 1, 2, 1
1, 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.1
0.
1\0"
VALUE "FileVersion", "1.2.11\0"
VALUE "InternalName", "zlib\0"
VALUE "OriginalFilename", "zlibwapi.dll\0"
VALUE "ProductName", "ZLib.DLL\0"
...
...
contrib/vstudio/vc14/zlib.rc
浏览文件 @
cacf7f1d
...
...
@@ -2,8 +2,8 @@
#define IDR_VERSION1 1
IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
FILEVERSION 1, 2, 1
0, 1
PRODUCTVERSION 1, 2, 1
0, 1
FILEVERSION 1, 2, 1
1, 0
PRODUCTVERSION 1, 2, 1
1, 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.1
0.
1\0"
VALUE "FileVersion", "1.2.11\0"
VALUE "InternalName", "zlib\0"
VALUE "OriginalFilename", "zlibwapi.dll\0"
VALUE "ProductName", "ZLib.DLL\0"
...
...
contrib/vstudio/vc9/zlib.rc
浏览文件 @
cacf7f1d
...
...
@@ -2,8 +2,8 @@
#define IDR_VERSION1 1
IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
FILEVERSION 1, 2, 1
0, 1
PRODUCTVERSION 1, 2, 1
0, 1
FILEVERSION 1, 2, 1
1, 0
PRODUCTVERSION 1, 2, 1
1, 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.1
0.
1\0"
VALUE "FileVersion", "1.2.11\0"
VALUE "InternalName", "zlib\0"
VALUE "OriginalFilename", "zlibwapi.dll\0"
VALUE "ProductName", "ZLib.DLL\0"
...
...
deflate.c
浏览文件 @
cacf7f1d
...
...
@@ -52,7 +52,7 @@
#include "deflate.h"
const
char
deflate_copyright
[]
=
" deflate 1.2.1
0.
1 Copyright 1995-2017 Jean-loup Gailly and Mark Adler "
;
" deflate 1.2.11 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
...
...
gzlib.c
浏览文件 @
cacf7f1d
/* gzlib.c -- zlib functions common to reading and writing gzip files
* Copyright (C) 2004
, 2010, 2011, 2012, 2013, 2016
Mark Adler
* Copyright (C) 2004
-2017
Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
...
...
gzwrite.c
浏览文件 @
cacf7f1d
/* gzwrite.c -- zlib functions for writing gzip files
* Copyright (C) 2004
, 2005, 2010, 2011, 2012, 2013, 2016
Mark Adler
* Copyright (C) 2004
-2017
Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
...
...
inffast.c
浏览文件 @
cacf7f1d
/* inffast.c -- fast decoding
* Copyright (C) 1995-20
08, 2010, 2013, 2016
Mark Adler
* Copyright (C) 1995-20
17
Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
...
...
inftrees.c
浏览文件 @
cacf7f1d
...
...
@@ -9,7 +9,7 @@
#define MAXBITS 15
const
char
inflate_copyright
[]
=
" inflate 1.2.1
0.
1 Copyright 1995-2017 Mark Adler "
;
" inflate 1.2.11 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
,
204
,
64
};
19
,
19
,
19
,
19
,
20
,
20
,
20
,
20
,
21
,
21
,
21
,
21
,
16
,
77
,
202
};
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
,
...
...
os400/README400
浏览文件 @
cacf7f1d
ZLIB version 1.2.1
0.
1 for OS/400 installation instructions
ZLIB version 1.2.11 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)
...
...
os400/zlib.inc
浏览文件 @
cacf7f1d
*
ZLIB
.
INC
-
Interface
to
the
general
purpose
compression
library
*
*
ILE
RPG400
version
by
Patrick
Monnerat
,
DATASPHERE
.
*
Version
1.2.1
0.
1
*
Version
1.2.11
*
*
*
WARNING
:
...
...
@@ -22,14 +22,14 @@
*
*
Versioning
information
.
*
D
ZLIB_VERSION
C
'1.2.1
0.
1'
D
ZLIB_VERSION
C
'1.2.11'
D
ZLIB_VERNUM
C
X
'12a0'
D
ZLIB_VER_MAJOR
C
1
D
ZLIB_VER_MINOR
C
2
D
ZLIB_VER_REVISION
...
D
C
1
0
D
C
1
1
D
ZLIB_VER_SUBREVISION
...
D
C
1
D
C
0
*
*
Other
equates
.
*
...
...
qnx/package.qpg
浏览文件 @
cacf7f1d
...
...
@@ -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.1
0.
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.1
0.
1"/>
<QPG:Add file="libz.so.1" install="/opt/lib/" filetype="symlink" linkto="libz.so.1.2.1
0.
1"/>
<QPG:Add file="../libz.so.1.2.1
0.
1" install="/opt/lib/" component="slib"/>
<QPG:Add file="../libz.so.1.2.11" 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.11"/>
<QPG:Add file="libz.so.1" install="/opt/lib/" filetype="symlink" linkto="libz.so.1.2.11"/>
<QPG:Add file="../libz.so.1.2.11" install="/opt/lib/" component="slib"/>
</QPG:Files>
<QPG:PackageFilter>
...
...
@@ -63,7 +63,7 @@
</QPM:ProductDescription>
<QPM:ReleaseDescription>
<QPM:ReleaseVersion>1.2.1
0.
1</QPM:ReleaseVersion>
<QPM:ReleaseVersion>1.2.11</QPM:ReleaseVersion>
<QPM:ReleaseUrgency>Medium</QPM:ReleaseUrgency>
<QPM:ReleaseStability>Stable</QPM:ReleaseStability>
<QPM:ReleaseNoteMinor></QPM:ReleaseNoteMinor>
...
...
treebuild.xml
浏览文件 @
cacf7f1d
<?xml version="1.0" ?>
<package
name=
"zlib"
version=
"1.2.1
0.
1"
>
<library
name=
"zlib"
dlversion=
"1.2.1
0.
1"
dlname=
"z"
>
<package
name=
"zlib"
version=
"1.2.11"
>
<library
name=
"zlib"
dlversion=
"1.2.11"
dlname=
"z"
>
<property
name=
"description"
>
zip compression library
</property>
<property
name=
"include-target-dir"
value=
"$(@PACKAGE/install-includedir)"
/>
...
...
win32/README-WIN32.txt
浏览文件 @
cacf7f1d
ZLIB DATA COMPRESSION LIBRARY
zlib 1.2.1
0.
1 is a general purpose data compression library. All the code is
zlib 1.2.11 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://www.ietf.org/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate format)
...
...
@@ -22,7 +22,7 @@ before asking for help.
Manifest:
The package zlib-1.2.1
0.
1-win32-x86.zip will contain the following files:
The package zlib-1.2.11-win32-x86.zip will contain the following files:
README-WIN32.txt This document
ChangeLog Changes since previous zlib packages
...
...
zlib.3
浏览文件 @
cacf7f1d
.TH ZLIB 3 "
3
Jan 2017"
.TH ZLIB 3 "
15
Jan 2017"
.SH NAME
zlib \- compression/decompression library
.SH SYNOPSIS
...
...
@@ -105,7 +105,7 @@ before asking for help.
Send questions and/or comments to zlib@gzip.org,
or (for the Windows DLL version) to Gilles Vollant (info@winimage.com).
.SH AUTHORS AND LICENSE
Version 1.2.1
0.
1
Version 1.2.11
.LP
Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler
.LP
...
...
zlib.3.pdf
浏览文件 @
cacf7f1d
无法预览此类型文件
zlib.h
浏览文件 @
cacf7f1d
/* zlib.h -- interface of the 'zlib' general purpose compression library
version 1.2.1
0.1, January 3rd
, 2017
version 1.2.1
1, January 15th
, 2017
Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler
...
...
@@ -37,12 +37,12 @@
extern
"C"
{
#endif
#define ZLIB_VERSION "1.2.1
0.1-motley
"
#define ZLIB_VERNUM 0x12
a1
#define ZLIB_VERSION "1.2.1
1
"
#define ZLIB_VERNUM 0x12
b0
#define ZLIB_VER_MAJOR 1
#define ZLIB_VER_MINOR 2
#define ZLIB_VER_REVISION 1
0
#define ZLIB_VER_SUBREVISION
1
#define ZLIB_VER_REVISION 1
1
#define ZLIB_VER_SUBREVISION
0
/*
The 'zlib' compression library provides in-memory compression and
...
...
zutil.c
浏览文件 @
cacf7f1d
/* zutil.c -- target dependent utility functions for the compression library
* Copyright (C) 1995-20
05, 2010, 2011, 2012, 2016
Jean-loup Gailly
* Copyright (C) 1995-20
17
Jean-loup Gailly
* For conditions of distribution and use, see copyright notice in zlib.h
*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录