diff options
| author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:35:10 -0700 |
|---|---|---|
| committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:35:10 -0700 |
| commit | 9712272c78b9d9c93746d9c8e156a3728c65ca72 (patch) | |
| tree | 61cc13495f0688608e4f368ab5b8385f6ca0f858 | |
| parent | 73014202489f913dbffc91d22089ea8a8920c054 (diff) | |
| download | zlib-1.2.5.tar.gz zlib-1.2.5.tar.bz2 zlib-1.2.5.zip | |
zlib 1.2.5v1.2.5
| -rw-r--r-- | ChangeLog | 7 | ||||
| -rw-r--r-- | Makefile.in | 2 | ||||
| -rw-r--r-- | README | 4 | ||||
| -rwxr-xr-x | configure | 6 | ||||
| -rw-r--r-- | contrib/delphi/ZLib.pas | 2 | ||||
| -rw-r--r-- | contrib/dotzlib/DotZLib/UnitTests.cs | 2 | ||||
| -rw-r--r-- | contrib/infback9/inftree9.c | 4 | ||||
| -rw-r--r-- | contrib/pascal/zlibpas.pas | 2 | ||||
| -rw-r--r-- | contrib/vstudio/vc10/zlib.rc | 6 | ||||
| -rw-r--r-- | contrib/vstudio/vc9/zlib.rc | 6 | ||||
| -rw-r--r-- | crc32.c | 2 | ||||
| -rw-r--r-- | deflate.c | 2 | ||||
| -rw-r--r-- | deflate.h | 2 | ||||
| -rw-r--r-- | inffast.c | 2 | ||||
| -rw-r--r-- | inffast.h | 2 | ||||
| -rw-r--r-- | inftrees.c | 4 | ||||
| -rw-r--r-- | inftrees.h | 2 | ||||
| -rw-r--r-- | qnx/package.qpg | 10 | ||||
| -rw-r--r-- | treebuild.xml | 4 | ||||
| -rw-r--r-- | trees.c | 7 | ||||
| -rw-r--r-- | win32/Makefile.gcc | 3 | ||||
| -rw-r--r-- | zlib.3 | 4 | ||||
| -rw-r--r-- | zlib.3.pdf | bin | 8680 -> 8686 bytes | |||
| -rw-r--r-- | zlib.h | 10 | ||||
| -rw-r--r-- | zutil.c | 2 |
25 files changed, 55 insertions, 42 deletions
| @@ -1,6 +1,13 @@ | |||
| 1 | 1 | ||
| 2 | ChangeLog file for zlib | 2 | ChangeLog file for zlib |
| 3 | 3 | ||
| 4 | Changes in 1.2.5 (19 Apr 2010) | ||
| 5 | - Disable visibility attribute in win32/Makefile.gcc [Bar-Lev] | ||
| 6 | - Default to libdir as sharedlibdir in configure [Nieder] | ||
| 7 | - Update copyright dates on modified source files | ||
| 8 | - Update trees.c to be able to generate modified trees.h | ||
| 9 | - Exit configure for MinGW, suggesting win32/Makefile.gcc | ||
| 10 | |||
| 4 | Changes in 1.2.4.5 (18 Apr 2010) | 11 | Changes in 1.2.4.5 (18 Apr 2010) |
| 5 | - Set sharedlibdir in configure [Torok] | 12 | - Set sharedlibdir in configure [Torok] |
| 6 | - Set LDFLAGS in Makefile.in [Bar-Lev] | 13 | - Set LDFLAGS in Makefile.in [Bar-Lev] |
diff --git a/Makefile.in b/Makefile.in index 00e109f..5b15bd0 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -32,7 +32,7 @@ CPP=$(CC) -E | |||
| 32 | 32 | ||
| 33 | STATICLIB=libz.a | 33 | STATICLIB=libz.a |
| 34 | SHAREDLIB=libz.so | 34 | SHAREDLIB=libz.so |
| 35 | SHAREDLIBV=libz.so.1.2.4.5 | 35 | SHAREDLIBV=libz.so.1.2.5 |
| 36 | SHAREDLIBM=libz.so.1 | 36 | SHAREDLIBM=libz.so.1 |
| 37 | LIBS=$(STATICLIB) $(SHAREDLIBV) | 37 | LIBS=$(STATICLIB) $(SHAREDLIBV) |
| 38 | 38 | ||
| @@ -1,6 +1,6 @@ | |||
| 1 | ZLIB DATA COMPRESSION LIBRARY | 1 | ZLIB DATA COMPRESSION LIBRARY |
| 2 | 2 | ||
| 3 | zlib 1.2.4.5 is a general purpose data compression library. All the code is | 3 | zlib 1.2.5 is a general purpose data compression library. All the code is |
| 4 | thread safe. The data format used by the zlib library is described by RFCs | 4 | thread safe. The data format used by the zlib library is described by RFCs |
| 5 | (Request for Comments) 1950 to 1952 in the files | 5 | (Request for Comments) 1950 to 1952 in the files |
| 6 | http://www.ietf.org/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate format) | 6 | http://www.ietf.org/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate format) |
| @@ -31,7 +31,7 @@ Mark Nelson <markn@ieee.org> wrote an article about zlib for the Jan. 1997 | |||
| 31 | issue of Dr. Dobb's Journal; a copy of the article is available at | 31 | issue of Dr. Dobb's Journal; a copy of the article is available at |
| 32 | http://marknelson.us/1997/01/01/zlib-engine/ . | 32 | http://marknelson.us/1997/01/01/zlib-engine/ . |
| 33 | 33 | ||
| 34 | The changes made in version 1.2.4.5 are documented in the file ChangeLog. | 34 | The changes made in version 1.2.5 are documented in the file ChangeLog. |
| 35 | 35 | ||
| 36 | Unsupported third party contributions are provided in directory contrib/ . | 36 | Unsupported third party contributions are provided in directory contrib/ . |
| 37 | 37 | ||
| @@ -49,7 +49,7 @@ LDSHAREDLIBC="${LDSHAREDLIBC--lc}" | |||
| 49 | prefix=${prefix-/usr/local} | 49 | prefix=${prefix-/usr/local} |
| 50 | exec_prefix=${exec_prefix-'${prefix}'} | 50 | exec_prefix=${exec_prefix-'${prefix}'} |
| 51 | libdir=${libdir-'${exec_prefix}/lib'} | 51 | libdir=${libdir-'${exec_prefix}/lib'} |
| 52 | sharedlibdir=${sharedlibdir-'${exec_prefix}/lib'} | 52 | sharedlibdir=${sharedlibdir-'${libdir}'} |
| 53 | includedir=${includedir-'${prefix}/include'} | 53 | includedir=${includedir-'${prefix}/include'} |
| 54 | mandir=${mandir-'${prefix}/share/man'} | 54 | mandir=${mandir-'${prefix}/share/man'} |
| 55 | shared_ext='.so' | 55 | shared_ext='.so' |
| @@ -122,6 +122,10 @@ if test "$gcc" -eq 1 && ($cc -c $cflags $test.c) 2>/dev/null; then | |||
| 122 | CYGWIN* | Cygwin* | cygwin* | OS/2*) | 122 | CYGWIN* | Cygwin* | cygwin* | OS/2*) |
| 123 | EXE='.exe' ;; | 123 | EXE='.exe' ;; |
| 124 | MINGW*|mingw*) | 124 | MINGW*|mingw*) |
| 125 | # temporary bypass | ||
| 126 | rm -f $test.[co] $test $test$shared_ext | ||
| 127 | echo "Please use win32/Makefile.gcc instead." | ||
| 128 | exit 1 | ||
| 125 | LDSHARED=${LDSHARED-"$cc -shared"} | 129 | LDSHARED=${LDSHARED-"$cc -shared"} |
| 126 | LDSHAREDLIBC="" | 130 | LDSHAREDLIBC="" |
| 127 | EXE='.exe' ;; | 131 | EXE='.exe' ;; |
diff --git a/contrib/delphi/ZLib.pas b/contrib/delphi/ZLib.pas index 0496ee4..0d86fb5 100644 --- a/contrib/delphi/ZLib.pas +++ b/contrib/delphi/ZLib.pas | |||
| @@ -152,7 +152,7 @@ procedure DecompressToUserBuf(const InBuf: Pointer; InBytes: Integer; | |||
| 152 | const OutBuf: Pointer; BufSize: Integer); | 152 | const OutBuf: Pointer; BufSize: Integer); |
| 153 | 153 | ||
| 154 | const | 154 | const |
| 155 | zlib_version = '1.2.4.5'; | 155 | zlib_version = '1.2.5'; |
| 156 | 156 | ||
| 157 | type | 157 | type |
| 158 | EZlibError = class(Exception); | 158 | EZlibError = class(Exception); |
diff --git a/contrib/dotzlib/DotZLib/UnitTests.cs b/contrib/dotzlib/DotZLib/UnitTests.cs index 4531408..3bbcc8c 100644 --- a/contrib/dotzlib/DotZLib/UnitTests.cs +++ b/contrib/dotzlib/DotZLib/UnitTests.cs | |||
| @@ -156,7 +156,7 @@ namespace DotZLibTests | |||
| 156 | public void Info_Version() | 156 | public void Info_Version() |
| 157 | { | 157 | { |
| 158 | Info info = new Info(); | 158 | Info info = new Info(); |
| 159 | Assert.AreEqual("1.2.4.5", Info.Version); | 159 | Assert.AreEqual("1.2.5", Info.Version); |
| 160 | Assert.AreEqual(32, info.SizeOfUInt); | 160 | Assert.AreEqual(32, info.SizeOfUInt); |
| 161 | Assert.AreEqual(32, info.SizeOfULong); | 161 | Assert.AreEqual(32, info.SizeOfULong); |
| 162 | Assert.AreEqual(32, info.SizeOfPointer); | 162 | Assert.AreEqual(32, info.SizeOfPointer); |
diff --git a/contrib/infback9/inftree9.c b/contrib/infback9/inftree9.c index c01cc1e..306c5f1 100644 --- a/contrib/infback9/inftree9.c +++ b/contrib/infback9/inftree9.c | |||
| @@ -9,7 +9,7 @@ | |||
| 9 | #define MAXBITS 15 | 9 | #define MAXBITS 15 |
| 10 | 10 | ||
| 11 | const char inflate9_copyright[] = | 11 | const char inflate9_copyright[] = |
| 12 | " inflate9 1.2.4.5 Copyright 1995-2010 Mark Adler "; | 12 | " inflate9 1.2.5 Copyright 1995-2010 Mark Adler "; |
| 13 | /* | 13 | /* |
| 14 | If you use the zlib library in a product, an acknowledgment is welcome | 14 | If you use the zlib library in a product, an acknowledgment is welcome |
| 15 | in the documentation of your product. If for some reason you cannot | 15 | in the documentation of your product. If for some reason you cannot |
| @@ -64,7 +64,7 @@ unsigned short FAR *work; | |||
| 64 | static const unsigned short lext[31] = { /* Length codes 257..285 extra */ | 64 | static const unsigned short lext[31] = { /* Length codes 257..285 extra */ |
| 65 | 128, 128, 128, 128, 128, 128, 128, 128, 129, 129, 129, 129, | 65 | 128, 128, 128, 128, 128, 128, 128, 128, 129, 129, 129, 129, |
| 66 | 130, 130, 130, 130, 131, 131, 131, 131, 132, 132, 132, 132, | 66 | 130, 130, 130, 130, 131, 131, 131, 131, 132, 132, 132, 132, |
| 67 | 133, 133, 133, 133, 144, 75, 75}; | 67 | 133, 133, 133, 133, 144, 73, 195}; |
| 68 | static const unsigned short dbase[32] = { /* Distance codes 0..31 base */ | 68 | static const unsigned short dbase[32] = { /* Distance codes 0..31 base */ |
| 69 | 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, | 69 | 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, |
| 70 | 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, | 70 | 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, |
diff --git a/contrib/pascal/zlibpas.pas b/contrib/pascal/zlibpas.pas index 2bbf956..637ae3a 100644 --- a/contrib/pascal/zlibpas.pas +++ b/contrib/pascal/zlibpas.pas | |||
| @@ -10,7 +10,7 @@ unit zlibpas; | |||
| 10 | interface | 10 | interface |
| 11 | 11 | ||
| 12 | const | 12 | const |
| 13 | ZLIB_VERSION = '1.2.4.5'; | 13 | ZLIB_VERSION = '1.2.5'; |
| 14 | 14 | ||
| 15 | type | 15 | type |
| 16 | alloc_func = function(opaque: Pointer; items, size: Integer): Pointer; | 16 | alloc_func = function(opaque: Pointer; items, size: Integer): Pointer; |
diff --git a/contrib/vstudio/vc10/zlib.rc b/contrib/vstudio/vc10/zlib.rc index b2196d9..f822450 100644 --- a/contrib/vstudio/vc10/zlib.rc +++ b/contrib/vstudio/vc10/zlib.rc | |||
| @@ -2,8 +2,8 @@ | |||
| 2 | 2 | ||
| 3 | #define IDR_VERSION1 1 | 3 | #define IDR_VERSION1 1 |
| 4 | IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE | 4 | IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE |
| 5 | FILEVERSION 1,2,4,5 | 5 | FILEVERSION 1,2,5,0 |
| 6 | PRODUCTVERSION 1,2,4,5 | 6 | PRODUCTVERSION 1,2,5,0 |
| 7 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK | 7 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK |
| 8 | FILEFLAGS 0 | 8 | FILEFLAGS 0 |
| 9 | FILEOS VOS_DOS_WINDOWS32 | 9 | FILEOS VOS_DOS_WINDOWS32 |
| @@ -17,7 +17,7 @@ BEGIN | |||
| 17 | 17 | ||
| 18 | BEGIN | 18 | BEGIN |
| 19 | VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0" | 19 | VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0" |
| 20 | VALUE "FileVersion", "1.2.4.5\0" | 20 | VALUE "FileVersion", "1.2.5\0" |
| 21 | VALUE "InternalName", "zlib\0" | 21 | VALUE "InternalName", "zlib\0" |
| 22 | VALUE "OriginalFilename", "zlib.dll\0" | 22 | VALUE "OriginalFilename", "zlib.dll\0" |
| 23 | VALUE "ProductName", "ZLib.DLL\0" | 23 | VALUE "ProductName", "ZLib.DLL\0" |
diff --git a/contrib/vstudio/vc9/zlib.rc b/contrib/vstudio/vc9/zlib.rc index b2196d9..f822450 100644 --- a/contrib/vstudio/vc9/zlib.rc +++ b/contrib/vstudio/vc9/zlib.rc | |||
| @@ -2,8 +2,8 @@ | |||
| 2 | 2 | ||
| 3 | #define IDR_VERSION1 1 | 3 | #define IDR_VERSION1 1 |
| 4 | IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE | 4 | IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE |
| 5 | FILEVERSION 1,2,4,5 | 5 | FILEVERSION 1,2,5,0 |
| 6 | PRODUCTVERSION 1,2,4,5 | 6 | PRODUCTVERSION 1,2,5,0 |
| 7 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK | 7 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK |
| 8 | FILEFLAGS 0 | 8 | FILEFLAGS 0 |
| 9 | FILEOS VOS_DOS_WINDOWS32 | 9 | FILEOS VOS_DOS_WINDOWS32 |
| @@ -17,7 +17,7 @@ BEGIN | |||
| 17 | 17 | ||
| 18 | BEGIN | 18 | BEGIN |
| 19 | VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0" | 19 | VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0" |
| 20 | VALUE "FileVersion", "1.2.4.5\0" | 20 | VALUE "FileVersion", "1.2.5\0" |
| 21 | VALUE "InternalName", "zlib\0" | 21 | VALUE "InternalName", "zlib\0" |
| 22 | VALUE "OriginalFilename", "zlib.dll\0" | 22 | VALUE "OriginalFilename", "zlib.dll\0" |
| 23 | VALUE "ProductName", "ZLib.DLL\0" | 23 | VALUE "ProductName", "ZLib.DLL\0" |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* crc32.c -- compute the CRC-32 of a data stream | 1 | /* crc32.c -- compute the CRC-32 of a data stream |
| 2 | * Copyright (C) 1995-2006 Mark Adler | 2 | * Copyright (C) 1995-2006, 2010 Mark Adler |
| 3 | * For conditions of distribution and use, see copyright notice in zlib.h | 3 | * For conditions of distribution and use, see copyright notice in zlib.h |
| 4 | * | 4 | * |
| 5 | * Thanks to Rodney Brown <rbrown64@csc.com.au> for his contribution of faster | 5 | * Thanks to Rodney Brown <rbrown64@csc.com.au> for his contribution of faster |
| @@ -52,7 +52,7 @@ | |||
| 52 | #include "deflate.h" | 52 | #include "deflate.h" |
| 53 | 53 | ||
| 54 | const char deflate_copyright[] = | 54 | const char deflate_copyright[] = |
| 55 | " deflate 1.2.4.5 Copyright 1995-2010 Jean-loup Gailly and Mark Adler "; | 55 | " deflate 1.2.5 Copyright 1995-2010 Jean-loup Gailly and Mark Adler "; |
| 56 | /* | 56 | /* |
| 57 | If you use the zlib library in a product, an acknowledgment is welcome | 57 | If you use the zlib library in a product, an acknowledgment is welcome |
| 58 | in the documentation of your product. If for some reason you cannot | 58 | in the documentation of your product. If for some reason you cannot |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* deflate.h -- internal compression state | 1 | /* deflate.h -- internal compression state |
| 2 | * Copyright (C) 1995-2009 Jean-loup Gailly | 2 | * Copyright (C) 1995-2010 Jean-loup Gailly |
| 3 | * For conditions of distribution and use, see copyright notice in zlib.h | 3 | * For conditions of distribution and use, see copyright notice in zlib.h |
| 4 | */ | 4 | */ |
| 5 | 5 | ||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* inffast.c -- fast decoding | 1 | /* inffast.c -- fast decoding |
| 2 | * Copyright (C) 1995-2008 Mark Adler | 2 | * Copyright (C) 1995-2008, 2010 Mark Adler |
| 3 | * For conditions of distribution and use, see copyright notice in zlib.h | 3 | * For conditions of distribution and use, see copyright notice in zlib.h |
| 4 | */ | 4 | */ |
| 5 | 5 | ||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* inffast.h -- header to use inffast.c | 1 | /* inffast.h -- header to use inffast.c |
| 2 | * Copyright (C) 1995-2003 Mark Adler | 2 | * Copyright (C) 1995-2003, 2010 Mark Adler |
| 3 | * For conditions of distribution and use, see copyright notice in zlib.h | 3 | * For conditions of distribution and use, see copyright notice in zlib.h |
| 4 | */ | 4 | */ |
| 5 | 5 | ||
| @@ -9,7 +9,7 @@ | |||
| 9 | #define MAXBITS 15 | 9 | #define MAXBITS 15 |
| 10 | 10 | ||
| 11 | const char inflate_copyright[] = | 11 | const char inflate_copyright[] = |
| 12 | " inflate 1.2.4.5 Copyright 1995-2010 Mark Adler "; | 12 | " inflate 1.2.5 Copyright 1995-2010 Mark Adler "; |
| 13 | /* | 13 | /* |
| 14 | If you use the zlib library in a product, an acknowledgment is welcome | 14 | If you use the zlib library in a product, an acknowledgment is welcome |
| 15 | in the documentation of your product. If for some reason you cannot | 15 | in the documentation of your product. If for some reason you cannot |
| @@ -62,7 +62,7 @@ unsigned short FAR *work; | |||
| 62 | 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0}; | 62 | 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0}; |
| 63 | static const unsigned short lext[31] = { /* Length codes 257..285 extra */ | 63 | static const unsigned short lext[31] = { /* Length codes 257..285 extra */ |
| 64 | 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, | 64 | 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, |
| 65 | 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 75, 75}; | 65 | 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 73, 195}; |
| 66 | static const unsigned short dbase[32] = { /* Distance codes 0..29 base */ | 66 | static const unsigned short dbase[32] = { /* Distance codes 0..29 base */ |
| 67 | 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, | 67 | 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, |
| 68 | 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, | 68 | 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* inftrees.h -- header to use inftrees.c | 1 | /* inftrees.h -- header to use inftrees.c |
| 2 | * Copyright (C) 1995-2005 Mark Adler | 2 | * Copyright (C) 1995-2005, 2010 Mark Adler |
| 3 | * For conditions of distribution and use, see copyright notice in zlib.h | 3 | * For conditions of distribution and use, see copyright notice in zlib.h |
| 4 | */ | 4 | */ |
| 5 | 5 | ||
diff --git a/qnx/package.qpg b/qnx/package.qpg index 2cf9bb9..2bc63b2 100644 --- a/qnx/package.qpg +++ b/qnx/package.qpg | |||
| @@ -25,10 +25,10 @@ | |||
| 25 | <QPG:Files> | 25 | <QPG:Files> |
| 26 | <QPG:Add file="../zconf.h" install="/opt/include/" user="root:sys" permission="644"/> | 26 | <QPG:Add file="../zconf.h" install="/opt/include/" user="root:sys" permission="644"/> |
| 27 | <QPG:Add file="../zlib.h" install="/opt/include/" user="root:sys" permission="644"/> | 27 | <QPG:Add file="../zlib.h" install="/opt/include/" user="root:sys" permission="644"/> |
| 28 | <QPG:Add file="../libz.so.1.2.4.5" install="/opt/lib/" user="root:bin" permission="644"/> | 28 | <QPG:Add file="../libz.so.1.2.5" install="/opt/lib/" user="root:bin" permission="644"/> |
| 29 | <QPG:Add file="libz.so" install="/opt/lib/" component="dev" filetype="symlink" linkto="libz.so.1.2.4.5"/> | 29 | <QPG:Add file="libz.so" install="/opt/lib/" component="dev" filetype="symlink" linkto="libz.so.1.2.5"/> |
| 30 | <QPG:Add file="libz.so.1" install="/opt/lib/" filetype="symlink" linkto="libz.so.1.2.4.5"/> | 30 | <QPG:Add file="libz.so.1" install="/opt/lib/" filetype="symlink" linkto="libz.so.1.2.5"/> |
| 31 | <QPG:Add file="../libz.so.1.2.4.5" install="/opt/lib/" component="slib"/> | 31 | <QPG:Add file="../libz.so.1.2.5" install="/opt/lib/" component="slib"/> |
| 32 | </QPG:Files> | 32 | </QPG:Files> |
| 33 | 33 | ||
| 34 | <QPG:PackageFilter> | 34 | <QPG:PackageFilter> |
| @@ -63,7 +63,7 @@ | |||
| 63 | </QPM:ProductDescription> | 63 | </QPM:ProductDescription> |
| 64 | 64 | ||
| 65 | <QPM:ReleaseDescription> | 65 | <QPM:ReleaseDescription> |
| 66 | <QPM:ReleaseVersion>1.2.4.5</QPM:ReleaseVersion> | 66 | <QPM:ReleaseVersion>1.2.5</QPM:ReleaseVersion> |
| 67 | <QPM:ReleaseUrgency>Medium</QPM:ReleaseUrgency> | 67 | <QPM:ReleaseUrgency>Medium</QPM:ReleaseUrgency> |
| 68 | <QPM:ReleaseStability>Stable</QPM:ReleaseStability> | 68 | <QPM:ReleaseStability>Stable</QPM:ReleaseStability> |
| 69 | <QPM:ReleaseNoteMinor></QPM:ReleaseNoteMinor> | 69 | <QPM:ReleaseNoteMinor></QPM:ReleaseNoteMinor> |
diff --git a/treebuild.xml b/treebuild.xml index f96757f..6b8f542 100644 --- a/treebuild.xml +++ b/treebuild.xml | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | <?xml version="1.0" ?> | 1 | <?xml version="1.0" ?> |
| 2 | <package name="zlib" version="1.2.4.5"> | 2 | <package name="zlib" version="1.2.5"> |
| 3 | <library name="zlib" dlversion="1.2.4.5" dlname="z"> | 3 | <library name="zlib" dlversion="1.2.5" dlname="z"> |
| 4 | <property name="description"> zip compression library </property> | 4 | <property name="description"> zip compression library </property> |
| 5 | <property name="include-target-dir" value="$(@PACKAGE/install-includedir)" /> | 5 | <property name="include-target-dir" value="$(@PACKAGE/install-includedir)" /> |
| 6 | 6 | ||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* trees.c -- output deflated data using Huffman coding | 1 | /* trees.c -- output deflated data using Huffman coding |
| 2 | * Copyright (C) 1995-2009 Jean-loup Gailly | 2 | * Copyright (C) 1995-2010 Jean-loup Gailly |
| 3 | * detect_data_type() function provided freely by Cosmin Truta, 2006 | 3 | * detect_data_type() function provided freely by Cosmin Truta, 2006 |
| 4 | * For conditions of distribution and use, see copyright notice in zlib.h | 4 | * For conditions of distribution and use, see copyright notice in zlib.h |
| 5 | */ | 5 | */ |
| @@ -351,13 +351,14 @@ void gen_trees_header() | |||
| 351 | static_dtree[i].Len, SEPARATOR(i, D_CODES-1, 5)); | 351 | static_dtree[i].Len, SEPARATOR(i, D_CODES-1, 5)); |
| 352 | } | 352 | } |
| 353 | 353 | ||
| 354 | fprintf(header, "const uch _dist_code[DIST_CODE_LEN] = {\n"); | 354 | fprintf(header, "const uch ZLIB_INTERNAL _dist_code[DIST_CODE_LEN] = {\n"); |
| 355 | for (i = 0; i < DIST_CODE_LEN; i++) { | 355 | for (i = 0; i < DIST_CODE_LEN; i++) { |
| 356 | fprintf(header, "%2u%s", _dist_code[i], | 356 | fprintf(header, "%2u%s", _dist_code[i], |
| 357 | SEPARATOR(i, DIST_CODE_LEN-1, 20)); | 357 | SEPARATOR(i, DIST_CODE_LEN-1, 20)); |
| 358 | } | 358 | } |
| 359 | 359 | ||
| 360 | fprintf(header, "const uch _length_code[MAX_MATCH-MIN_MATCH+1]= {\n"); | 360 | fprintf(header, |
| 361 | "const uch ZLIB_INTERNAL _length_code[MAX_MATCH-MIN_MATCH+1]= {\n"); | ||
| 361 | for (i = 0; i < MAX_MATCH-MIN_MATCH+1; i++) { | 362 | for (i = 0; i < MAX_MATCH-MIN_MATCH+1; i++) { |
| 362 | fprintf(header, "%2u%s", _length_code[i], | 363 | fprintf(header, "%2u%s", _length_code[i], |
| 363 | SEPARATOR(i, MAX_MATCH-MIN_MATCH, 20)); | 364 | SEPARATOR(i, MAX_MATCH-MIN_MATCH, 20)); |
diff --git a/win32/Makefile.gcc b/win32/Makefile.gcc index 3333c01..0a33bf6 100644 --- a/win32/Makefile.gcc +++ b/win32/Makefile.gcc | |||
| @@ -38,6 +38,7 @@ SHARED_MODE=0 | |||
| 38 | PREFIX = | 38 | PREFIX = |
| 39 | CC = $(PREFIX)gcc | 39 | CC = $(PREFIX)gcc |
| 40 | CFLAGS = $(LOC) -O3 -Wall | 40 | CFLAGS = $(LOC) -O3 -Wall |
| 41 | EXTRA_CFLAGS = -DNO_VIZ | ||
| 41 | 42 | ||
| 42 | AS = $(CC) | 43 | AS = $(CC) |
| 43 | ASFLAGS = $(LOC) -Wall | 44 | ASFLAGS = $(LOC) -Wall |
| @@ -76,7 +77,7 @@ testdll: example_d.exe minigzip_d.exe | |||
| 76 | echo hello world | ./minigzip_d | ./minigzip_d -d | 77 | echo hello world | ./minigzip_d | ./minigzip_d -d |
| 77 | 78 | ||
| 78 | .c.o: | 79 | .c.o: |
| 79 | $(CC) $(CFLAGS) -c -o $@ $< | 80 | $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $< |
| 80 | 81 | ||
| 81 | .S.o: | 82 | .S.o: |
| 82 | $(AS) $(ASFLAGS) -c -o $@ $< | 83 | $(AS) $(ASFLAGS) -c -o $@ $< |
| @@ -1,4 +1,4 @@ | |||
| 1 | .TH ZLIB 3 "18 Apr 2010" | 1 | .TH ZLIB 3 "19 Apr 2010" |
| 2 | .SH NAME | 2 | .SH NAME |
| 3 | zlib \- compression/decompression library | 3 | zlib \- compression/decompression library |
| 4 | .SH SYNOPSIS | 4 | .SH SYNOPSIS |
| @@ -125,7 +125,7 @@ before asking for help. | |||
| 125 | Send questions and/or comments to zlib@gzip.org, | 125 | Send questions and/or comments to zlib@gzip.org, |
| 126 | or (for the Windows DLL version) to Gilles Vollant (info@winimage.com). | 126 | or (for the Windows DLL version) to Gilles Vollant (info@winimage.com). |
| 127 | .SH AUTHORS | 127 | .SH AUTHORS |
| 128 | Version 1.2.4.5 | 128 | Version 1.2.5 |
| 129 | Copyright (C) 1995-2010 Jean-loup Gailly (jloup@gzip.org) | 129 | Copyright (C) 1995-2010 Jean-loup Gailly (jloup@gzip.org) |
| 130 | and Mark Adler (madler@alumni.caltech.edu). | 130 | and Mark Adler (madler@alumni.caltech.edu). |
| 131 | .LP | 131 | .LP |
| Binary files differ | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* zlib.h -- interface of the 'zlib' general purpose compression library | 1 | /* zlib.h -- interface of the 'zlib' general purpose compression library |
| 2 | version 1.2.4.5, April 18th, 2010 | 2 | version 1.2.5, April 19th, 2010 |
| 3 | 3 | ||
| 4 | Copyright (C) 1995-2010 Jean-loup Gailly and Mark Adler | 4 | Copyright (C) 1995-2010 Jean-loup Gailly and Mark Adler |
| 5 | 5 | ||
| @@ -37,12 +37,12 @@ | |||
| 37 | extern "C" { | 37 | extern "C" { |
| 38 | #endif | 38 | #endif |
| 39 | 39 | ||
| 40 | #define ZLIB_VERSION "1.2.4.5" | 40 | #define ZLIB_VERSION "1.2.5" |
| 41 | #define ZLIB_VERNUM 0x1245 | 41 | #define ZLIB_VERNUM 0x1250 |
| 42 | #define ZLIB_VER_MAJOR 1 | 42 | #define ZLIB_VER_MAJOR 1 |
| 43 | #define ZLIB_VER_MINOR 2 | 43 | #define ZLIB_VER_MINOR 2 |
| 44 | #define ZLIB_VER_REVISION 4 | 44 | #define ZLIB_VER_REVISION 5 |
| 45 | #define ZLIB_VER_SUBREVISION 5 | 45 | #define ZLIB_VER_SUBREVISION 0 |
| 46 | 46 | ||
| 47 | /* | 47 | /* |
| 48 | The 'zlib' compression library provides in-memory compression and | 48 | The 'zlib' compression library provides in-memory compression and |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* zutil.c -- target dependent utility functions for the compression library | 1 | /* zutil.c -- target dependent utility functions for the compression library |
| 2 | * Copyright (C) 1995-2005 Jean-loup Gailly. | 2 | * Copyright (C) 1995-2005, 2010 Jean-loup Gailly. |
| 3 | * For conditions of distribution and use, see copyright notice in zlib.h | 3 | * For conditions of distribution and use, see copyright notice in zlib.h |
| 4 | */ | 4 | */ |
| 5 | 5 | ||
