- Feb 16, 2017
-
-
Mark Adler authored
-
Mark Adler authored
-
Mark Adler authored
This is a problem in the odd case that the second argument of LSEEK is a larger type than off_t. Apparently MinGW defines off_t to be 32 bits, but _lseeki64 has a 64-bit second argument. Also undo a previous commit to permit MinGW to use _lseeki64.
-
Mark Adler authored
As it is used in deflateParams().
-
Mark Adler authored
-
Mark Adler authored
This limits hash table inserts to the available data in the window and to the sliding window size in deflate_stored(). The hash table inserts are deferred until deflateParams() switches to a non-zero compression level.
-
Mark Adler authored
This commit allows a parameter change even if the input data has not all been compressed and copied to the application output buffer, so long as all of the input data has been compressed to the internal pending output buffer. This also allows an immediate deflateParams change so long as there have been no deflate calls since initialization or reset.
-
- Jan 16, 2017
-
-
Mark Adler authored
-
Mark Adler authored
-
- 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
-