Commit Graph

104 Commits

Author SHA1 Message Date
Mark Adler
21bffda72c zlib 1.2.11 2017-02-13 10:16:17 +01:00
Mark Adler
2a51c84f6c zlib 1.2.9 2017-02-09 11:39:40 +01:00
Mark Adler
23b4bb3ec4 Avoid use of DEBUG macro -- change to ZLIB_DEBUG. 2017-02-06 14:33:22 +01:00
Mark Adler
f9bb580bcb Clean up type conversions.
Based on upstream 7096424f23df1b1813237fb5f8bc8f34cfcedd0c, but
modified heavily to match zlib-ng.
2017-01-31 12:24:20 +01:00
Mika Lindqvist
9c3a280877 Type cleanup. 2015-12-14 11:00:22 +02:00
Mark Adler
9a123d5884 Use a consistent and more modern approach to not use a parameter.
A remarkably creative and diverse set of approaches to letting the
compiler know that opaque was being used when it wasn't is changed
by this commit to the more standard (void)opaque.

 Conflicts:
	zutil.c
2015-11-03 19:16:23 +01:00
Hans Kristian Rosbach
f533fd6e9b Update remaining function prototypes to ANSI C standard 2015-05-23 21:14:45 +02:00
Daniel Axtens
48f9b2a0e9 z_const -> const
Signed-off-by: Daniel Axtens <dja@axtens.net>

Conflicts:
	arch/x86/crc_folding.c
	crc32.c
2015-05-13 14:18:18 +02:00
Hans Kristian Rosbach
abae9eefc4 Convert remaining K&R function declarations to ANSI-C declarations. 2015-05-12 18:54:20 +02:00
Hans Kristian Rosbach
b3dca09caf Remove support for compiling with Z_SOLO.
Make compiling without gzip file operation support the default
 (define WITH_GZFILEOP or use --zlib-compat to enable them).
Add initial support for compiling in a zlib-compatible mode, this currently only
 enables gzip file operations and sets the ZLIB_COMPAT flag.

Conflicts:
	test/minigzip.c
2015-05-12 11:26:30 +02:00
Hans Kristian Rosbach
e5ee314ad4 Cleanup: Replace 'voidp' with 'void *' 2015-04-26 21:08:25 +02:00
Hans Kristian Rosbach
6e70386339 Drop workarounds for WinCE and Interix 2015-04-26 13:27:44 +02:00
hansr
557413fda2 Actually commit the updated README file.
Update version identifier strings to reflect fork status.
Add zlib-ng identifier string.
Remove zlib2ansi script.
2015-04-10 13:21:23 +02:00
hansr
860f6b19f7 Remove support for ASMV and ASMINF defines and clean up match.c handling.
This makes it easier to implement support for ASM replacements using
configure parameters if needed later. Also since zlib-ng uses
compiler intrinsics, this needed a cleanup in any case.
2014-11-05 14:00:25 +01:00
hansr
84002037ee Rewrite K&R-style function prototypes to ANSI-C-style.
Only internal functions, no exported functions in this commit.
2014-10-18 22:49:16 +02:00
hansr
8999d0a963 Remove FAR variants of voidpf
And a few Bytef leftovers from test/example.c
2014-10-18 12:11:48 +02:00
hansr
5fafd66cd0 Remove more workarounds for really old compilers 2014-10-15 15:10:51 +02:00
hansr
af3b462897 Remove support for compiling with -DFASTEST 2014-10-13 12:48:42 +02:00
hansr
f7e1e0130f Remove workarounds for non-ANSI-C compatible compilers (Part 1) 2014-10-12 12:38:06 +02:00
hansr
e88676a00e Remove code related to older operating systems 2014-10-09 13:28:39 +02:00
Mark Adler
62d6112a79 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.
2012-08-13 00:02:40 -07:00
Mark Adler
94acb3c1a0 zlib 1.2.6.1 2012-02-12 14:20:33 -08:00
Mark Adler
55b8b5fec1 Put gzflags() functionality back in zutil.c.
gzflags() was put in gzwrite.c in order to be compiled exactly the
same as gzprintf(), so that it was guaranteed to return the correct
information.  However that causes a static linkage to zlib to bring
in many routines that are often not used.  All that is required to
duplicate the compilation environment of gzprintf() is to include
gzguts.h.  So that is now done in zutil.c to assure that the correct
flags are returned.
2012-02-01 23:25:34 -08:00
Mark Adler
f442c1e89e Add a ./config --solo option to make zlib subset with no libary use
A common request has been the ability to compile zlib to require no
other libraries.  This --solo option provides that ability.  The price
is that the gz*, compress*, and uncompress functions are eliminated,
and that the user must provide memory allocation and free routines to
deflate and inflate when initializing.
2011-10-07 02:11:56 -07:00
Mark Adler
00c836e325 Merge vestigial vsnprintf determination from zutil.h to gzguts.h.
This also moves some of the same from zconf.h to gzguts.h. A new
function, gzflags(), was created to pass the compilation flags
related to vsnprintf usage back to zlibCompileFlags() in zutil.c.
In the process, various compiler configuration files were updated
to include gzflags(), as well as the new gzgetc_() function added
when the gzgetc() macro was introduced in a previous patch.
2011-10-02 11:15:00 -07:00
Mark Adler
10daf0d4d7 zlib 1.2.5.1 2011-09-11 11:04:49 -07:00
Mark Adler
9712272c78 zlib 1.2.5 2011-09-09 23:35:10 -07:00
Mark Adler
7301420248 zlib 1.2.4.5 2011-09-09 23:34:55 -07:00
Mark Adler
05d47d2627 zlib 1.2.4.1 2011-09-09 23:34:22 -07:00
Mark Adler
dc5a43ebfa zlib 1.2.3.6 2011-09-09 23:26:58 -07:00
Mark Adler
9c3a583021 zlib 1.2.2.4 2011-09-09 23:24:52 -07:00
Mark Adler
0484693e17 zlib 1.2.2.2 2011-09-09 23:24:33 -07:00
Mark Adler
9811b53dd9 zlib 1.2.2.1 2011-09-09 23:24:24 -07:00
Mark Adler
4b5a43a219 zlib 1.2.0.5 2011-09-09 23:22:37 -07:00
Mark Adler
086e982175 zlib 1.2.0.4 2011-09-09 23:22:30 -07:00
Mark Adler
8e34b3a802 zlib 1.2.0.2 2011-09-09 23:22:10 -07:00
Mark Adler
7c2a874e50 zlib 1.2.0 2011-09-09 23:21:47 -07:00
Mark Adler
a383133c4e zlib 1.1.4 2011-09-09 23:20:42 -07:00
Mark Adler
14763ac7c6 zlib 1.1.3 2011-09-09 23:20:29 -07:00
Mark Adler
b8c9ecb076 zlib 1.0.9 2011-09-09 23:19:21 -07:00
Mark Adler
6759211ad8 zlib 1.0.8 2011-09-09 23:18:57 -07:00
Mark Adler
7850e4e406 zlib 1.0.7 2011-09-09 23:17:33 -07:00
Mark Adler
ff11b0a61f zlib 1.0.4 2011-09-09 23:17:02 -07:00
Mark Adler
e26a448e96 zlib 1.0.2 2011-09-09 23:15:17 -07:00
Mark Adler
423eb40306 zlib 1.0.1 2011-09-09 23:14:39 -07:00
Mark Adler
8a2acbffc8 zlib 1.0-pre 2011-09-09 23:13:27 -07:00
Mark Adler
56bcb184fa zlib 0.99 2011-09-09 23:11:37 -07:00
Mark Adler
25e5325501 zlib 0.95 2011-09-09 23:10:21 -07:00
Mark Adler
23c69f1069 zlib 0.94 2011-09-09 23:09:18 -07:00
Mark Adler
bdde4e09d2 zlib 0.92 2011-09-09 23:08:07 -07:00
Mark Adler
1c71d8b13b zlib 0.91 2011-09-09 23:07:35 -07:00
Mark Adler
4ca984fb44 zlib 0.8 2011-09-09 23:03:14 -07:00
Mark Adler
913afb9174 zlib 0.79 2011-09-09 22:52:17 -07:00
Mark Adler
bcf78a2097 zlib 0.71 2011-09-09 22:36:31 -07:00