summaryrefslogtreecommitdiff
path: root/zconf.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Enable dictionary setting in middle of stream, and keeping the dictionary.Mark Adler2011-12-081-0/+1
| | | | | | | | | | | | | | | | | | | This patch adds the deflateResetKeep() function to retain the sliding window for the next deflate operation, and fixes an inflateResetKeep() problem that came from inflate() not updating the window when the stream completed. This enables constructing and decompressing a series of concatenated deflate streams where each can depend on the history of uncompressed data that precedes it. This generalizes deflateSetDictionary() and inflateSetDictionary() to permit setting the dictionary in the middle of a stream for raw deflate and inflate. This in combination with the Keep functions enables a scheme for updating files block by block with the transmission of compressed data, where blocks are sent with deflateResetKeep() to retain history for better compression, and deflateSetDictionary() is used for blocks already present at the receiver to skip compression but insert that data in the history, again for better compression. The corresponding inflate calls are done on the receiver side.
* Change ON macro to Z_ARG to avoid application conflicts.Mark Adler2011-11-131-3/+3
| | | | | | | Using "ON" was a dumb idea, since it is common to have macros with names like ON and OFF. In fact, defining the OF macro back in 1995 was a bad idea, but now we're stuck with it. Attempts to rename OF to something else breaks many applications.
* Add #define ZLIB_CONST option to use const in the z_stream interface.Mark Adler2011-10-181-0/+6
| | | | | | | | | | This permits compilers to check for the proper treatment of next_in and msg in the z_stream structure. This is an option instead of the default in order to preserve backward compatibility. Some applications make use of the z_stream structure outside of zlib, and perform operations such as free(strm->next_in), which would not be permitted when next_in is const. The #define ZLIB_CONST needs to precede the #include "zlib.h">, in order to make next_in and msg const pointers in the z_stream type.
* Add undocumented inflateResetKeep() function for CAB file decoding.Mark Adler2011-10-071-0/+1
| | | | | | | | The Microsoft CAB file format compresses each block with completed deflate streams that depend on the sliding window history of the previous block in order to decode. inflateResetKeep() does what inflateReset() does, except the sliding window history from the previous inflate operation is retained.
* Add a ./config --solo option to make zlib subset with no libary useMark Adler2011-10-071-46/+60
| | | | | | | | 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.
* Merge vestigial vsnprintf determination from zutil.h to gzguts.h.Mark Adler2011-10-021-8/+2
| | | | | | | | | 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.
* Include zconf.h for windows large file support.Mark Adler2011-10-011-1/+5
|
* zlib 1.2.5.1v1.2.5.1Mark Adler2011-09-111-2/+20
|
* zlib 1.2.4.5v1.2.4.5Mark Adler2011-09-091-4/+0
|
* zlib 1.2.4.4v1.2.4.4Mark Adler2011-09-091-1/+11
|
* zlib 1.2.4.3v1.2.4.3Mark Adler2011-09-091-1/+7
|
* zlib 1.2.4.2v1.2.4.2Mark Adler2011-09-091-1/+4
|
* zlib 1.2.4.1v1.2.4.1Mark Adler2011-09-091-5/+2
|
* zlib 1.2.4-pre1v1.2.4-pre1Mark Adler2011-09-091-0/+416
|
* zlib 1.2.3.9v1.2.3.9Mark Adler2011-09-091-412/+0
|
* zlib 1.2.3.8v1.2.3.8Mark Adler2011-09-091-0/+1
|
* zlib 1.2.3.7v1.2.3.7Mark Adler2011-09-091-9/+20
|
* zlib 1.2.3.6v1.2.3.6Mark Adler2011-09-091-13/+13
|
* zlib 1.2.3.5v1.2.3.5Mark Adler2011-09-091-0/+6
|
* zlib 1.2.3.4v1.2.3.4Mark Adler2011-09-091-1/+5
|
* zlib 1.2.3.2v1.2.3.2Mark Adler2011-09-091-8/+2
|
* zlib 1.2.3.1v1.2.3.1Mark Adler2011-09-091-29/+93
|
* zlib 1.2.2.3v1.2.2.3Mark Adler2011-09-091-3/+5
|
* zlib 1.2.2.1v1.2.2.1Mark Adler2011-09-091-0/+4
|
* zlib 1.2.1.2v1.2.1.2Mark Adler2011-09-091-40/+43
|
* zlib 1.2.0.8v1.2.0.8Mark Adler2011-09-091-3/+12
|
* zlib 1.2.0.6v1.2.0.6Mark Adler2011-09-091-0/+7
|
* zlib 1.2.0.5v1.2.0.5Mark Adler2011-09-091-64/+78
|
* zlib 1.2.0.3v1.2.0.3Mark Adler2011-09-091-2/+3
|
* zlib 1.2.0.2v1.2.0.2Mark Adler2011-09-091-45/+44
|
* zlib 1.2.0.1v1.2.0.1Mark Adler2011-09-091-9/+22
|
* zlib 1.2.0v1.2.0Mark Adler2011-09-091-46/+47
|
* zlib 1.1.4v1.1.4Mark Adler2011-09-091-1/+1
|
* zlib 1.1.3v1.1.3Mark Adler2011-09-091-22/+49
|
* zlib 1.0.9v1.0.9Mark Adler2011-09-091-20/+24
|
* zlib 1.0.8v1.0.8Mark Adler2011-09-091-1/+2
|
* zlib 1.0.7v1.0.7Mark Adler2011-09-091-7/+70
|
* zlib 1.0.4v1.0.4Mark Adler2011-09-091-12/+8
|
* zlib 1.0.2v1.0.2Mark Adler2011-09-091-6/+22
|
* zlib 1.0.1v1.0.1Mark Adler2011-09-091-12/+55
|
* zlib 1.0-prev1.0-preMark Adler2011-09-091-47/+10
|
* zlib 0.99v0.99Mark Adler2011-09-091-23/+63
|
* zlib 0.95v0.95Mark Adler2011-09-091-19/+24
|
* zlib 0.94v0.94Mark Adler2011-09-091-19/+44
|
* zlib 0.93v0.93Mark Adler2011-09-091-2/+8
|
* zlib 0.92v0.92Mark Adler2011-09-091-2/+2
|
* zlib 0.91v0.91Mark Adler2011-09-091-1/+16
|
* zlib 0.9v0.9Mark Adler2011-09-091-6/+12
|
* zlib 0.8v0.8Mark Adler2011-09-091-3/+6
|
* zlib 0.79v0.79Mark Adler2011-09-091-1/+1
|