platform/upstream/zlib.git
7 years agoAdd license file 59/121359/1 tizen
DongHun Kwak [Tue, 28 Mar 2017 01:08:42 +0000 (10:08 +0900)]
Add license file

 - Add license file all packages
[Model] ALL
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A

[Problem] license file does not exist at package
[Cause & Measure] add license file at each package
[Checking Method] N/A

[Team] Open Source Management and Setting Part
[Developer] dh0128.kwak
[Solution company] Samsung
[Change Type] N/A

Change-Id: I1c03e81e756532198d650a1a1d487035fd941b7f

7 years agominizip: do not declare NOUNCRYPT 83/116983/1 submit/tizen/20170315.045224
WaLyong Cho [Thu, 19 Nov 2015 07:31:44 +0000 (16:31 +0900)]
minizip: do not declare NOUNCRYPT

NOUNCRYPT is added to reduce code size. And this file was not maintaied
very long time also on upstream.
Now, we need this to unzip password protected file.
Further, many of major linux distributions also disable this.

Change-Id: I530d56f02a92361d4c02b3d9ee6338dfd9e841dd
Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
8 years agoAdd license file(Zlib) 65/55465/1 accepted/tizen_common accepted/tizen/common/20160323.183936 submit/tizen/20160322.015940
DongHun Kwak [Thu, 24 Dec 2015 01:58:02 +0000 (10:58 +0900)]
Add license file(Zlib)

Change-Id: I11924dc5903d18261063e3672dabf6e5a12c41c9
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
8 years agoChange symbolic link for bootstrap 12/54312/1 accepted/tizen_3.0.m2_base accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable tizen_3.0.m2_base accepted/tizen/3.0.m2/base/20170104.081915 accepted/tizen/3.0/base/20161028.103358 accepted/tizen/base/20151223.052230 accepted/tizen/common/20160107.114014 accepted/tizen/mobile/20151216.104813 accepted/tizen/tv/20151216.104830 accepted/tizen/wearable/20151216.104847 submit/tizen/20151215.014141 submit/tizen_3.0.m2_base/20170104.073748 submit/tizen_3.0_base/20161028.062326 submit/tizen_base/20151223.111112 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718 submit/tizen_common/20160104.112601
DongHun Kwak [Tue, 15 Dec 2015 01:34:49 +0000 (10:34 +0900)]
Change symbolic link for bootstrap

Change-Id: Iea31cf5732d7287e5f10f1e9ca651eb9e6e4f069
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
9 years agoBump to version 1.2.8 accepted/tizen_3.0_ivi accepted/tizen_ivi sandbox/kevinthierry/bump-1.2.8 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common tizen_3.0.m1_mobile tizen_3.0.m1_tv tizen_3.0_ivi accepted/tizen/common/20150107.100653 accepted/tizen/ivi/20150114.121601 accepted/tizen/mobile/20150114.130233 accepted/tizen/tv/20150112.114017 accepted/tizen/wearable/20150112.054905 submit/tizen_common/20150106.091156 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_ivi/20150112.222222 submit/tizen_mobile/20150109.000000 submit/tizen_mobile/20150112.000000 submit/tizen_tv/20150109.000000 submit/tizen_wearable/20150109.000000 submit/tizen_wearable/20150116.000000 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release tizen_3.0_ivi_release
Kévin THIERRY [Fri, 31 Oct 2014 12:23:48 +0000 (13:23 +0100)]
Bump to version 1.2.8

Use upstream git repo instead of pristin-tar.

Also clean spec file.

Bug-Tizen: TC-1882
Change-Id: I92c6cf2df8ab9cd5d2f8b8caee4de31fc6c9ce07
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
9 years agoresetting manifest requested domain to floor
Alexandru Cornea [Sat, 29 Jun 2013 04:13:59 +0000 (07:13 +0300)]
resetting manifest requested domain to floor

9 years agofixed package groups
Anas Nashif [Fri, 22 Mar 2013 19:17:03 +0000 (12:17 -0700)]
fixed package groups

9 years agoFixed package groups
Anas Nashif [Fri, 22 Mar 2013 17:55:27 +0000 (10:55 -0700)]
Fixed package groups

9 years agofix minizip dependencies
Anas Nashif [Sat, 29 Dec 2012 05:33:51 +0000 (21:33 -0800)]
fix minizip dependencies

9 years agofix minizip dependencies
Anas Nashif [Sat, 29 Dec 2012 05:33:38 +0000 (21:33 -0800)]
fix minizip dependencies

9 years agoadd minizip package
Anas Nashif [Sat, 29 Dec 2012 02:12:44 +0000 (18:12 -0800)]
add minizip package

9 years agoadded packaging files
Anas Nashif [Thu, 11 Oct 2012 17:49:40 +0000 (10:49 -0700)]
added packaging files

11 years agozlib 1.2.8 upstream/1.2.8
Mark Adler [Sun, 28 Apr 2013 23:03:34 +0000 (16:03 -0700)]
zlib 1.2.8

11 years agoFix mixed line endings in contrib/vstudio.
Mark Adler [Mon, 29 Apr 2013 00:21:50 +0000 (17:21 -0700)]
Fix mixed line endings in contrib/vstudio.

11 years agoCorrect spelling error in zlib.h.
Mark Adler [Sun, 28 Apr 2013 22:36:25 +0000 (15:36 -0700)]
Correct spelling error in zlib.h.

11 years agoClean up contrib/vstudio [Roß].
Mark Adler [Fri, 19 Apr 2013 07:47:59 +0000 (21:47 -1000)]
Clean up contrib/vstudio [Roß].

11 years agoUpdate some copyright years.
Mark Adler [Fri, 19 Apr 2013 07:38:15 +0000 (21:38 -1000)]
Update some copyright years.

11 years agoDo not force Z_CONST for C++.
Mark Adler [Sun, 14 Apr 2013 17:31:31 +0000 (10:31 -0700)]
Do not force Z_CONST for C++.

Forcing Z_CONST resulted in an issue when compiling Firefox.  Now
if someone wants to compile zlib as C++ code (which it isn't), now
they will need to #define Z_CONST themselves.

11 years agoUpdate contrib/minizip/iowin32.c for Windows RT [Vollant].
Mark Adler [Sun, 14 Apr 2013 17:05:43 +0000 (10:05 -0700)]
Update contrib/minizip/iowin32.c for Windows RT [Vollant].

11 years agoChange version number to 1.2.8.
Mark Adler [Sun, 14 Apr 2013 04:38:26 +0000 (21:38 -0700)]
Change version number to 1.2.8.

11 years agozlib 1.2.7.3
Mark Adler [Sun, 14 Apr 2013 04:18:35 +0000 (21:18 -0700)]
zlib 1.2.7.3

11 years agoFix version numbers and DLL names in contrib/vstudio/*/zlib.rc.
Mark Adler [Sun, 14 Apr 2013 02:11:47 +0000 (19:11 -0700)]
Fix version numbers and DLL names in contrib/vstudio/*/zlib.rc.

11 years agoChange version number to 1.2.7.3.
Mark Adler [Sun, 14 Apr 2013 01:58:46 +0000 (18:58 -0700)]
Change version number to 1.2.7.3.

11 years agozlib 1.2.7.2
Mark Adler [Sun, 14 Apr 2013 01:15:42 +0000 (18:15 -0700)]
zlib 1.2.7.2

11 years agoAdd casts in gzwrite.c for pointer differences.
Mark Adler [Sun, 14 Apr 2013 01:04:06 +0000 (18:04 -0700)]
Add casts in gzwrite.c for pointer differences.

11 years agoFix typo in win32/Makefile.msc.
Mark Adler [Sun, 14 Apr 2013 00:54:57 +0000 (17:54 -0700)]
Fix typo in win32/Makefile.msc.

11 years agoChange check for a four-byte type back to hexadecimal.
Mark Adler [Sat, 13 Apr 2013 22:54:03 +0000 (15:54 -0700)]
Change check for a four-byte type back to hexadecimal.

11 years agoChange version number to 1.2.7.2.
Mark Adler [Sat, 13 Apr 2013 15:08:57 +0000 (08:08 -0700)]
Change version number to 1.2.7.2.

11 years agozlib 1.2.7.1
Mark Adler [Mon, 25 Mar 2013 05:46:40 +0000 (22:46 -0700)]
zlib 1.2.7.1

11 years agoLine length cleanup.
Mark Adler [Mon, 25 Mar 2013 05:30:40 +0000 (22:30 -0700)]
Line length cleanup.

11 years agoDo not return Z_BUF_ERROR if deflateParam() has nothing to write.
Mark Adler [Mon, 25 Mar 2013 05:12:31 +0000 (22:12 -0700)]
Do not return Z_BUF_ERROR if deflateParam() has nothing to write.

If the compressed data was already at a block boundary, then
deflateParam() would report Z_BUF_ERROR, because there was nothing
to write.  With this patch, Z_OK is returned in that case.

11 years agoIn Makefile uninstall, don't rm if preceding cd fails.
Mark Adler [Sun, 24 Mar 2013 23:57:32 +0000 (16:57 -0700)]
In Makefile uninstall, don't rm if preceding cd fails.

11 years agoMinor spacing cleanup in a comment in gzguts.h.
Mark Adler [Sun, 24 Mar 2013 23:56:05 +0000 (16:56 -0700)]
Minor spacing cleanup in a comment in gzguts.h.

11 years agoAdd man pages for minizip and miniunzip.
Enrico Weigelt, metux IT service [Tue, 6 Jul 2010 18:06:08 +0000 (20:06 +0200)]
Add man pages for minizip and miniunzip.

11 years agoAdd casts and consts to ease user conversion to C++.
Mark Adler [Sun, 24 Mar 2013 22:18:02 +0000 (15:18 -0700)]
Add casts and consts to ease user conversion to C++.

You would still need to run zlib2ansi on all of the *.c files.

11 years agoClean up the addition of gzvprintf.
Mark Adler [Sun, 24 Mar 2013 06:47:15 +0000 (23:47 -0700)]
Clean up the addition of gzvprintf.

11 years agoClean up the addition of inflateGetDictionary.
Mark Adler [Sun, 24 Mar 2013 05:57:27 +0000 (22:57 -0700)]
Clean up the addition of inflateGetDictionary.

11 years agoRemove runtime check in configure for four-byte integer type.
Mark Adler [Sun, 24 Mar 2013 05:27:43 +0000 (22:27 -0700)]
Remove runtime check in configure for four-byte integer type.

That didn't work when cross-compiling.  Simply rely on limits.h.
If a compiler does not have limits.h, then zconf.h.in should be
modified to define Z_U4 as an unsiged four-byte integer type in
order for crc32() to be fast.

This also simplifies and makes more portable to check for a four-
byte type using limits.h.

11 years agoFix configure for Sun shell.
Mark Adler [Sat, 23 Mar 2013 20:50:10 +0000 (13:50 -0700)]
Fix configure for Sun shell.

11 years agoAdd gzvprintf() as an undocumented function in zlib.
Mark Adler [Sat, 23 Mar 2013 01:32:37 +0000 (18:32 -0700)]
Add gzvprintf() as an undocumented function in zlib.

The function is only available if stdarg.h is available.

11 years agoAdd vc11 and vc12 build files to contrib/vstudio.
Mark Adler [Sat, 23 Mar 2013 00:38:37 +0000 (17:38 -0700)]
Add vc11 and vc12 build files to contrib/vstudio.

11 years agoFix typos in the use of _LARGEFILE64_SOURCE in zconf.h.
Mark Adler [Sun, 24 Feb 2013 08:16:24 +0000 (00:16 -0800)]
Fix typos in the use of _LARGEFILE64_SOURCE in zconf.h.

11 years agoSuport i686 and amd64 assembler builds in CMakeLists.txt.
Like Ma [Mon, 11 Feb 2013 18:41:27 +0000 (02:41 +0800)]
Suport i686 and amd64 assembler builds in CMakeLists.txt.

 * Use -DASM686=1 to build with i686 asm.
 * Use -DAMD64=1 to build with amd64 asm.

11 years agoAdd TOP support to win32/Makefile.msc.
E. Timothy Uy [Thu, 20 Dec 2012 20:36:55 +0000 (12:36 -0800)]
Add TOP support to win32/Makefile.msc.

Facilitate multi-platform compilation, e.g.:
nmake -f pathto\zlib\win32\Makefile.msc TOP=pathto\zlib

11 years agoSimplify contrib/vstudio/vc10 with 'd' suffix.
Fredrik Orderud [Tue, 11 Dec 2012 20:44:56 +0000 (21:44 +0100)]
Simplify contrib/vstudio/vc10 with 'd' suffix.

11 years agoFix types in contrib/minizip to match result of get_crc_table().
takacsd [Fri, 30 Nov 2012 18:43:50 +0000 (19:43 +0100)]
Fix types in contrib/minizip to match result of get_crc_table().

11 years agoFix casting error in contrib/testzlib/testzlib.c.
Jason Williams [Tue, 27 Nov 2012 04:27:06 +0000 (07:27 +0300)]
Fix casting error in contrib/testzlib/testzlib.c.

11 years agoDon't specify --version-script on Apple platforms in CMakeLists.txt.
Will Glynn [Tue, 13 Nov 2012 18:41:30 +0000 (12:41 -0600)]
Don't specify --version-script on Apple platforms in CMakeLists.txt.

Mac OS X's linker (derived from LLVM, not GNU binutils) does not support
--version-script. Don't specify it on this platform.

11 years agoQuote --version-script argument in CMakeLists.txt.
Will Glynn [Tue, 13 Nov 2012 18:35:50 +0000 (12:35 -0600)]
Quote --version-script argument in CMakeLists.txt.

Previously, spaces in ${CMAKE_CURRENT_SOURCE_PATH} would expand into
multiple linker arguments.

11 years agoAdd contrib/vstudio/vc10 pre-build step for static only.
Greg Domjan [Fri, 14 Sep 2012 20:48:12 +0000 (16:48 -0400)]
Add contrib/vstudio/vc10 pre-build step for static only.

Also correct typo for 64-bit debug build.

11 years agoAdd _tr_flush_bits to the external symbols prefixed by --zprefix.
Mark Adler [Sun, 24 Feb 2013 04:56:23 +0000 (20:56 -0800)]
Add _tr_flush_bits to the external symbols prefixed by --zprefix.

11 years agoUse underscored I/O function names for WINAPI_FAMILY.
Mark Adler [Sun, 24 Feb 2013 04:27:13 +0000 (20:27 -0800)]
Use underscored I/O function names for WINAPI_FAMILY.

Suggested by E. Timothy Uy.

11 years agoUpdate inflateBack() comments, since inflate() can be faster.
Mark Adler [Sun, 24 Feb 2013 04:12:20 +0000 (20:12 -0800)]
Update inflateBack() comments, since inflate() can be faster.

11 years agoFix serious but very rare decompression bug in inftrees.c.
Mark Adler [Tue, 19 Feb 2013 05:06:35 +0000 (21:06 -0800)]
Fix serious but very rare decompression bug in inftrees.c.

inftrees.c compared the number of used table entries to the maximum
allowed value using >= instead of >.  This patch fixes those to use
>.  The bug was discovered by Ignat Kolesnichenko of Yandex LC
where they have run petabytes of data through zlib.  Triggering the
bug is apparently very rare, seeing as how it has been out there in
the wild for almost three years before being discovered.  The bug
is instantiated only if the exact maximum number of decoding table
entries, ENOUGH_DISTS or ENOUGH_LENS is used by the block being
decoded, resulting in the false positive of overflowing the table.

11 years agoCheck for invalid code length codes in contrib/puff.
Mark Adler [Mon, 21 Jan 2013 18:15:51 +0000 (10:15 -0800)]
Check for invalid code length codes in contrib/puff.

Without this fix, it would be possible to construct inputs to puff
that would cause it to segfault.

11 years agoFix comparisons of differently signed integers in contrib/blast.
Mark Adler [Thu, 25 Oct 2012 05:50:23 +0000 (22:50 -0700)]
Fix comparisons of differently signed integers in contrib/blast.

11 years agoAdd note to contrib/blast to use binary mode in stdio.
Mark Adler [Thu, 25 Oct 2012 05:47:37 +0000 (22:47 -0700)]
Add note to contrib/blast to use binary mode in stdio.

11 years agoCheck for input buffer malloc failure in examples/gzappend.c.
Mark Adler [Thu, 11 Oct 2012 23:10:59 +0000 (16:10 -0700)]
Check for input buffer malloc failure in examples/gzappend.c.

11 years agoFix bug in gzclose() when gzwrite() runs out of memory.
Mark Adler [Tue, 2 Oct 2012 05:42:35 +0000 (22:42 -0700)]
Fix bug in gzclose() when gzwrite() runs out of memory.

If the deflateInit2() called for the first gzwrite() failed with a
Z_MEM_ERROR, then a subsequent gzclose() would try to free an
already freed pointer.  This fixes that.

11 years agoFix bug where gzopen(), gzclose() would write an empty file.
Mark Adler [Sun, 30 Sep 2012 05:23:47 +0000 (22:23 -0700)]
Fix bug where gzopen(), gzclose() would write an empty file.

A gzopen() to write (mode "w") followed immediately by a gzclose()
would output an empty zero-length file.  What it should do is write
an empty gzip file, with the gzip header, empty deflate content,
and gzip trailer totalling 20 bytes.  This fixes it to do that.

11 years agoFix memory allocation error in examples/zran.c [Nor].
Mark Adler [Sun, 30 Sep 2012 04:48:18 +0000 (21:48 -0700)]
Fix memory allocation error in examples/zran.c [Nor].

11 years agoFix unintialized value bug in gzputc() introduced by const patches.
Mark Adler [Fri, 24 Aug 2012 22:02:28 +0000 (15:02 -0700)]
Fix unintialized value bug in gzputc() introduced by const patches.

Avoid the use of an uninitialized value when the write buffers have
not been initialized.  A recent change to avoid the use of strm->
next_in in order to resolve some const conflicts added the use of
state->in in its place.  This patch avoids the use of state->in
when it is not initialized.  Nothing bad would actually happen,
since two variables set to the same unintialized value are
subtracted.  However valgrind was rightly complaining.  So this
fixes that.

11 years agoAvoid shift equal to bits in type (caused endless loop).
Mark Adler [Sun, 19 Aug 2012 00:59:50 +0000 (17:59 -0700)]
Avoid shift equal to bits in type (caused endless loop).

Also clean up comparisons between different types, and some odd
indentation problems that showed up somehow.

A new endless loop was introduced by the clang compiler, which
apparently does odd things when the right operand of << is equal to
or greater than the number of bits in the type.  The C standard in
fact states that the behavior of << is undefined in that case.  The
loop was rewritten to use single-bit shifts.

11 years agoClean up examples/gzlog.[ch] comparisons of different types.
Mark Adler [Tue, 14 Aug 2012 07:31:23 +0000 (00:31 -0700)]
Clean up examples/gzlog.[ch] comparisons of different types.

11 years agoClean up examples/gzjoin.c for z_const usage.
Mark Adler [Tue, 14 Aug 2012 07:30:44 +0000 (00:30 -0700)]
Clean up examples/gzjoin.c for z_const usage.

11 years agoFix example/gzappend.c for proper z_const usage.
Mark Adler [Tue, 14 Aug 2012 07:29:58 +0000 (00:29 -0700)]
Fix example/gzappend.c for proper z_const usage.

11 years agoUpdate examples/gun.c for proper z_const usage.
Mark Adler [Tue, 14 Aug 2012 04:49:10 +0000 (21:49 -0700)]
Update examples/gun.c for proper z_const usage.

11 years agoClean up the usage of z_const and respect const usage within zlib.
Mark Adler [Mon, 13 Aug 2012 01:08:52 +0000 (18:08 -0700)]
Clean up the usage of z_const and respect const usage within zlib.

This patch allows zlib to compile cleanly with the -Wcast-qual gcc
warning enabled, but only if ZLIB_CONST is defined, which adds
const to next_in and msg in z_stream and in the in_func prototype.
A --const option is added to ./configure which adds -DZLIB_CONST
to the compile flags, and adds -Wcast-qual to the compile flags
when ZLIBGCCWARN is set in the environment.

11 years agoFix argument checks in gzlog_compress() and gzlog_write().
Mark Adler [Mon, 9 Jul 2012 00:01:13 +0000 (17:01 -0700)]
Fix argument checks in gzlog_compress() and gzlog_write().

11 years agoRemove unused variable in infback9.c.
Mark Adler [Sun, 8 Jul 2012 23:48:36 +0000 (16:48 -0700)]
Remove unused variable in infback9.c.

11 years agoFix comment typos in unzip.h and unzip.c.
Birunthan Mohanathas [Wed, 6 Jun 2012 17:30:39 +0000 (20:30 +0300)]
Fix comment typos in unzip.h and unzip.c.

11 years agoUpdate copyright year in win32/zlib1.rc.
Thomas Roß [Wed, 6 Jun 2012 23:25:36 +0000 (01:25 +0200)]
Update copyright year in win32/zlib1.rc.

11 years agoFix CMake compilation of static lib for MSVC2010 x64.
Thomas Roß [Wed, 6 Jun 2012 23:23:32 +0000 (01:23 +0200)]
Fix CMake compilation of static lib for MSVC2010 x64.

11 years agoFix configure check for veracity of compiler error return codes.
Mark Adler [Sun, 10 Jun 2012 05:42:24 +0000 (22:42 -0700)]
Fix configure check for veracity of compiler error return codes.

There were two problems before that this fixes.  One was that the
check for the compiler error return code preceded the determination
of the compiler and its options.  The other was that the checks
for compiler and library characteristics could be fooled if the
error options were set to reject K&R-style C.  configure now aborts
if the compiler produces a hard error on K&R-style C.

In addition, aborts of configure are now consistent, and remove
any temporary files.

11 years agoDelete "--version" file if created by "ar --version" [Richard G.].
Mark Adler [Sun, 10 Jun 2012 02:47:55 +0000 (19:47 -0700)]
Delete "--version" file if created by "ar --version" [Richard G.].

11 years agoCleaner check for whether libtool is Apple or not on Darwin.
Mark Adler [Sun, 10 Jun 2012 05:58:06 +0000 (22:58 -0700)]
Cleaner check for whether libtool is Apple or not on Darwin.

11 years agoOn Darwin, only use /usr/bin/libtool if libtool is not Apple.
Mark Adler [Sun, 10 Jun 2012 02:15:36 +0000 (19:15 -0700)]
On Darwin, only use /usr/bin/libtool if libtool is not Apple.

The original change was to always use /usr/bin/libtool on Darwin,
in order to avoid using a GNU libtool installed by the user in the
path ahead of Apple's libtool.  However someone might install a
more recent Apple libtool ahead of /usr/bin/libtool.  This commit
checks to see if libtool is Apple, and uses /usr/bin/libtool if it
isn't.

11 years agoUse _snprintf for snprintf under Microsoft C in test/minigzip.c.
Mark Adler [Sun, 3 Jun 2012 23:28:06 +0000 (16:28 -0700)]
Use _snprintf for snprintf under Microsoft C in test/minigzip.c.

11 years agoUse _snprintf for snprinf in Microsoft C.
Mark Adler [Sun, 3 Jun 2012 19:45:55 +0000 (12:45 -0700)]
Use _snprintf for snprinf in Microsoft C.

More than a decade later, Microsoft C does not support the C99
standard.  It's good that _snprintf has a different name, since it
does not guarantee that the result is null terminated, as does
snprintf.  However where _snprintf is used under Microsoft C, the
destination string is assured to be long enough, so this will not
be a problem.  This occurs in two places, both in gzlib.c.  Where
sprintf functionality is needed by gzprintf, vsnprintf is used in
the case of Microsoft C.

11 years agoCorrect comment in deflate.h.
Mark Adler [Sat, 2 Jun 2012 17:16:43 +0000 (10:16 -0700)]
Correct comment in deflate.h.

11 years agoAdd inflateGetDictionary() function.
Mark Adler [Sat, 26 May 2012 17:37:17 +0000 (10:37 -0700)]
Add inflateGetDictionary() function.

11 years agoFix bug in 'F' mode for gzopen().
Mark Adler [Wed, 23 May 2012 05:31:19 +0000 (22:31 -0700)]
Fix bug in 'F' mode for gzopen().

11 years agoEliminate use of mktemp in Makefile (not always available).
Mark Adler [Sun, 20 May 2012 18:32:13 +0000 (11:32 -0700)]
Eliminate use of mktemp in Makefile (not always available).

11 years agoFix gzgetc undefine when Z_PREFIX set [Turk].
Mark Adler [Fri, 18 May 2012 04:13:23 +0000 (21:13 -0700)]
Fix gzgetc undefine when Z_PREFIX set [Turk].

12 years agoAvoid including stddef.h on Windows for Z_SOLO compile [Niessink].
Mark Adler [Fri, 4 May 2012 04:23:45 +0000 (21:23 -0700)]
Avoid including stddef.h on Windows for Z_SOLO compile [Niessink].

12 years agoReplace use of unsafe string functions with snprintf if available.
Mark Adler [Thu, 3 May 2012 06:18:38 +0000 (23:18 -0700)]
Replace use of unsafe string functions with snprintf if available.

This avoids warnings in OpenBSD that apparently can't be turned
off whenever you link strcpy, strcat, or sprintf.  When snprintf
isn't available, the use of the "unsafe" string functions has
always in fact been safe, since the lengths are all checked before
those functions are called.

We do not use strlcpy or strlcat, since they are not (yet) found on
all systems.  snprintf on the other hand is part of the C standard
library and is very common.

12 years agoChange version number to 1.2.7.1.
Mark Adler [Thu, 3 May 2012 05:38:26 +0000 (22:38 -0700)]
Change version number to 1.2.7.1.

12 years agozlib 1.2.7
Mark Adler [Thu, 3 May 2012 03:32:41 +0000 (20:32 -0700)]
zlib 1.2.7

12 years agoAdd instructions to win32/Makefile.gcc for shared install [Torri].
Mark Adler [Thu, 3 May 2012 03:17:59 +0000 (20:17 -0700)]
Add instructions to win32/Makefile.gcc for shared install [Torri].

12 years agoForce the native libtool in Mac OS X to avoid GNU libtool [Beebe].
Mark Adler [Wed, 2 May 2012 04:17:08 +0000 (21:17 -0700)]
Force the native libtool in Mac OS X to avoid GNU libtool [Beebe].

12 years agoFix the path to zlib.map in CMakeLists.txt.
Daniel Snider [Tue, 3 Apr 2012 14:26:07 +0000 (09:26 -0500)]
Fix the path to zlib.map in CMakeLists.txt.

12 years agoFix parsing of version with "-" in CMakeLists.txt [Snider, Ziegler].
Mark Adler [Mon, 30 Apr 2012 04:15:12 +0000 (21:15 -0700)]
Fix parsing of version with "-" in CMakeLists.txt [Snider, Ziegler].

12 years agoFix location of executable for finding a four-byte integer.
Mark Adler [Mon, 30 Apr 2012 01:23:46 +0000 (18:23 -0700)]
Fix location of executable for finding a four-byte integer.

12 years agoFix type mismatch between get_crc_table() and crc_table.
Mark Adler [Sun, 29 Apr 2012 23:18:12 +0000 (16:18 -0700)]
Fix type mismatch between get_crc_table() and crc_table.

crc_table is made using a four-byte integer (when that can be
determined).  However get_crc_table() returned a pointer to an
unsigned long, which could be eight bytes.  This fixes that by
creating a new z_crc_t type for the crc_table.

This type is also used for the BYFOUR crc calculations that depend
on a four-byte type.  The four-byte type can now be determined by
./configure, which also solves a problem where ./configure --solo
would never use BYFOUR.  No the Z_U4 #define indicates that four-
byte integer was found either by ./configure or by zconf.h.

12 years agoAvoid race condition for parallel make (-j) running example.
Mark Adler [Mon, 23 Apr 2012 05:58:06 +0000 (22:58 -0700)]
Avoid race condition for parallel make (-j) running example.

12 years agoRemove -R. from Solaris shared build (possible security issue).
Mark Adler [Mon, 23 Apr 2012 01:41:11 +0000 (18:41 -0700)]
Remove -R. from Solaris shared build (possible security issue).

12 years agoUpdate ./configure for Solaris, support --64 [Mooney].
Mark Adler [Mon, 23 Apr 2012 01:27:41 +0000 (18:27 -0700)]
Update ./configure for Solaris, support --64 [Mooney].

12 years agoAdd more comments to configure.
Mark Adler [Sun, 1 Apr 2012 15:46:37 +0000 (08:46 -0700)]
Add more comments to configure.

12 years agoFix contrib/minizip compilation in the MinGW environment.
jK [Mon, 26 Mar 2012 18:18:13 +0000 (20:18 +0200)]
Fix contrib/minizip compilation in the MinGW environment.

12 years agoRemove gzflags from zlibvc.def in vc9 and vc10.
Birunthan Mohanathas [Thu, 22 Mar 2012 16:22:01 +0000 (18:22 +0200)]
Remove gzflags from zlibvc.def in vc9 and vc10.