- Jan 15, 2017
-
-
Mark Adler authored
This permits deflateParams to change the strategy and level right after deflateInit, without having to wait until a header has been written. The parameters can be changed immediately up until the first deflate call that consumes any input data.
-
Mark Adler authored
This avoids unnecessary filling of bytes in the sliding window buffer when switching from level zero to a non-zero level. This also provides a consistent indication of deflate having taken input for a later commit ...
-
Mark Adler authored
-
Mark Adler authored
And some cosmetic cleanups.
-
Mark Adler authored
-
Mark Adler authored
-
Mark Adler authored
- Jan 03, 2017
-
-
Mark Adler authored
However this ends up not really being solo, since it has to include external libraries.
-
Mark Adler authored
There have been many reports of bugs in the assembler codes intended to speed up deflate and inflate. They are third-party contributions in contrib, and so are not supported by the zlib maintainers.
-
Mark Adler authored
-
Mark Adler authored
- Jan 02, 2017
-
-
Mark Adler authored
-
Mark Adler authored
-
Mark Adler authored
-
Mark Adler authored
-
Mark Adler authored
-
- Jan 01, 2017
-
-
Mark Adler authored
-
Mark Adler authored
-
Mark Adler authored
Also declare z_size_t when compiling solo.
- Dec 31, 2016
-
-
Mark Adler authored
Limit read() and write() requests to sizes that fit in an int. This allows storing the return value in an int, and avoiding the need to use or construct an ssize_t type. This is required for Microsoft C, whose _read and _write functions take an unsigned request and return an int.
-
Mark Adler authored
-
Mark Adler authored
-
Mark Adler authored
-
Mark Adler authored
-
Mark Adler authored
-
Mark Adler authored
-
Mark Adler authored
-
Mark Adler authored
-
Mark Adler authored
-
Mark Adler authored
Per request, but its utility is likely to be very limited. See the comments in zlib.h.
-
- Dec 30, 2016
-
-
Mark Adler authored
-
- Dec 05, 2016
-
-
Mark Adler authored
-
Mark Adler authored
-
Mark Adler authored
-
- Dec 04, 2016
-
-
Mark Adler authored
Normally these are set to size_t and ssize_t. But if they do not exist, then they are set to the smallest integer type that can contain a pointer. size_t is unsigned and ssize_t is signed.
-
Mark Adler authored
gzsetparams() was using Z_PARTIAL_FLUSH when it could use Z_BLOCK instead. This commit uses Z_BLOCK, which avoids emitting an unnecessary ten bits into the stream.
-
Mark Adler authored
In some cases the return values did not match the documentation, or the documentation did not document all of the return values. gzprintf() now consistently returns negative values on error, which matches the behavior of the stdio fprintf() function.
-