Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add address checking in clang to -w option of configure. | Mark Adler | 2017-02-18 | 1 | -2/+2 | |
| | ||||||
* | Return an error if the gzputs string length can't fit in an int. | Mark Adler | 2017-02-15 | 1 | -4/+7 | |
| | ||||||
* | Small speedup to inflate [psumbera]. | Mark Adler | 2017-02-15 | 1 | -14/+14 | |
| | | | | | | Seeing a few percent speedup by using a pointer instead of an assigned structure. This seems to help the compiler to optimize better. | |||||
* | Update use of errno for newer Windows CE versions. | Mark Adler | 2017-02-15 | 1 | -2/+2 | |
| | ||||||
* | Avoid some conversion warnings in gzread.c and gzwrite.c. | Mark Adler | 2017-02-15 | 2 | -8/+6 | |
| | ||||||
* | Have Makefile return non-zero error code on test failure. | Mark Adler | 2017-02-15 | 1 | -6/+6 | |
| | ||||||
* | Avoid a conversion error in gzseek when off_t type too small. | Mark Adler | 2017-02-15 | 1 | -2/+2 | |
| | | | | | | | | 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. | |||||
* | Fix CLEAR_HASH macro to be usable as a single statement. | Mark Adler | 2017-02-15 | 1 | -2/+5 | |
| | | | | As it is used in deflateParams(). | |||||
* | Fix bug when window full in deflate_stored(). | Mark Adler | 2017-02-15 | 1 | -1/+1 | |
| | ||||||
* | Limit hash table inserts after switch from stored deflate. | Mark Adler | 2017-02-15 | 1 | -1/+9 | |
| | | | | | | | 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. | |||||
* | Permit a deflateParams() parameter change as soon as possible. | Mark Adler | 2017-02-15 | 2 | -8/+9 | |
| | | | | | | | | | 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. | |||||
* | Cygwin does not have _wopen(), so do not create gzopen_w() there. | Mark Adler | 2017-01-16 | 2 | -2/+2 | |
| | ||||||
* | Change version number to 1.2.11.1. | Mark Adler | 2017-01-15 | 25 | -48/+51 | |
| | ||||||
* | zlib 1.2.11v1.2.11 | Mark Adler | 2017-01-15 | 29 | -54/+58 | |
| | ||||||
* | Permit immediate deflateParams changes before any deflate input. | Mark Adler | 2017-01-15 | 2 | -5/+7 | |
| | | | | | | | 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. | |||||
* | Update high water mark in deflate_stored. | Mark Adler | 2017-01-15 | 1 | -0/+4 | |
| | | | | | | | 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 ... | |||||
* | Update vestigial comment from very old Info-ZIP deflate. | Mark Adler | 2017-01-15 | 1 | -2/+2 | |
| | ||||||
* | Fix deflate stored bug when pulling last block from window. | Mark Adler | 2017-01-15 | 1 | -5/+5 | |
| | | | | And some cosmetic cleanups. | |||||
* | Update location of Visual Studio project files. | Mark Adler | 2017-01-15 | 1 | -1/+1 | |
| | ||||||
* | Delete user-specific Visual Studio project files. | Mark Adler | 2017-01-15 | 6 | -24/+0 | |
| | ||||||
* | Change version number to 1.2.10.1. | Mark Adler | 2017-01-15 | 27 | -53/+53 | |
| | ||||||
* | zlib 1.2.10v1.2.10 | Mark Adler | 2017-01-02 | 25 | -54/+58 | |
| | ||||||
* | Fix compilation with --solo and --debug combined. | Mark Adler | 2017-01-02 | 1 | -1/+1 | |
| | | | | | However this ends up not really being solo, since it has to include external libraries. | |||||
* | Add warnings when compiling with assembler code. | Mark Adler | 2017-01-02 | 2 | -1/+4 | |
| | | | | | | | 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. | |||||
* | Remove files to be installed before copying them in Makefile.in. | Mark Adler | 2017-01-02 | 1 | -0/+5 | |
| | ||||||
* | Fix bug in gzwrite.c that produced corrupt gzip files. | Mark Adler | 2017-01-02 | 1 | -0/+1 | |
| | ||||||
* | Fix bug in deflate_stored() for zero-length input. | Mark Adler | 2017-01-02 | 1 | -18/+19 | |
| | ||||||
* | Minor edits and clarifications of comments. | Mark Adler | 2017-01-01 | 1 | -7/+8 | |
| | ||||||
* | Avoid warnings on snprintf() return value. | Mark Adler | 2017-01-01 | 1 | -4/+4 | |
| | ||||||
* | Change version number to zlib 1.2.9.1. | Mark Adler | 2017-01-01 | 25 | -62/+65 | |
| | ||||||
* | Fix some stray 1.2.8.1 version numbers. | Mark Adler | 2017-01-01 | 2 | -4/+4 | |
| | ||||||
* | zlib 1.2.9v1.2.9 | Mark Adler | 2016-12-31 | 55 | -580/+777 | |
| | ||||||
* | Update Visual Studio project files (AraHaan). | Mark Adler | 2016-12-31 | 31 | -13/+5706 | |
| | ||||||
* | Add crc32_z() and adler32_z() functions with size_t lengths. | Mark Adler | 2016-12-31 | 3 | -8/+38 | |
| | ||||||
* | Make z_size_t unsigned long for non-standard C. | Mark Adler | 2016-12-31 | 3 | -9/+21 | |
| | | | | Also declare z_size_t when compiling solo. | |||||
* | Avoid the need for ssize_t. | Mark Adler | 2016-12-31 | 6 | -67/+19 | |
| | | | | | | | | 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. | |||||
* | Use a uniform approach for the largest value of an unsigned type. | Mark Adler | 2016-12-31 | 3 | -3/+3 | |
| | ||||||
* | Use intptr_t for z_ssize_t on MSVC. | Mark Adler | 2016-12-30 | 3 | -3/+18 | |
| | ||||||
* | Avoid some random compiler warnings on various platforms. | Mark Adler | 2016-12-30 | 6 | -12/+14 | |
| | ||||||
* | Allow minigzip to compile when testing with ./configure --solo. | Mark Adler | 2016-12-30 | 1 | -1/+1 | |
| | ||||||
* | Replace as400 with os400 for OS/400 support (Monnerat). | Mark Adler | 2016-12-30 | 7 | -444/+518 | |
| | ||||||
* | Detect clang in cc version. | Mark Adler | 2016-12-30 | 1 | -0/+1 | |
| | ||||||
* | Fix init macros to use z_ prefix when requested. | Mark Adler | 2016-12-30 | 4 | -16/+47 | |
| | ||||||
* | Fix character encoding and link in contrib README. | Mark Adler | 2016-12-30 | 1 | -2/+2 | |
| | ||||||
* | Use snprintf() for later versions of Microsoft C. | Mark Adler | 2016-12-30 | 2 | -5/+4 | |
| | ||||||
* | Add deflateGetDictionary() function. | Mark Adler | 2016-12-30 | 2 | -0/+43 | |
| | | | | | Per request, but its utility is likely to be very limited. See the comments in zlib.h. | |||||
* | No need to check for NULL argument to free(). | Mark Adler | 2016-12-30 | 1 | -4/+2 | |
| | ||||||
* | Add gzfwrite(), duplicating the interface of fwrite(). | Mark Adler | 2016-12-04 | 2 | -40/+112 | |
| | ||||||
* | Add gzfread(), duplicating the interface of fread(). | Mark Adler | 2016-12-04 | 2 | -40/+126 | |
| | ||||||
* | Fix compile option for when z_size_t needs to be a long long. | Mark Adler | 2016-12-04 | 4 | -1/+7 | |
| |