Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Create z_size_t and z_ssize_t types. | Mark Adler | 2016-12-04 | 8 | -17/+144 |
| | | | | | | 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. | ||||
* | Don't need to emit an empty fixed block when changing parameters. | Mark Adler | 2016-12-04 | 1 | -1/+1 |
| | | | | | | 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. | ||||
* | Clean up gz* function return values. | Mark Adler | 2016-12-04 | 3 | -34/+37 |
| | | | | | | | 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. | ||||
* | Speed up deflation for level 0 (storing). | Mark Adler | 2016-12-04 | 1 | -78/+215 |
| | | | | | | | | | | | | | | | | | | The previous code slid the window and the hash table and copied every input byte three times in order to just write the data as stored blocks with no compression. This commit minimizes sliding and copying, especially for large input and output buffers. Level 0 compression is now more than 20 times faster than before the commit. Most of the speedup is due to deferring hash table slides until deflateParams() is called to change the compression level away from 0. More speedup is due to copying directly from next_in to next_out when the amounts of available input data and output space permit it, avoiding the intermediate pending buffer. Additionally, only the last 32K of the used input data is copied back to the sliding window when large input buffers are provided. | ||||
* | Assure that deflateParams() will not switch functions mid-block. | Mark Adler | 2016-12-04 | 2 | -22/+24 |
| | | | | | | | This alters the specification in zlib.h, so that deflateParams() will not change any parameters if there is not enough output space in the event that a block is emitted in order to allow switching the compression function. | ||||
* | Explicitly ignore a return value in gzwrite.c. | Mark Adler | 2016-12-04 | 1 | -1/+1 |
| | |||||
* | Increase verbosity required to warn about bit length overflow. | Mark Adler | 2016-12-04 | 1 | -2/+2 |
| | | | | | | | When debugging the Huffman coding would warn about resulting codes greater than 15 bits in length. This is handled properly, and is not uncommon. This increases the verbosity of the warning by one, so that it is not displayed by default. | ||||
* | Add uncompress2() function, which returns the input size used. | Mark Adler | 2016-12-04 | 2 | -18/+39 |
| | |||||
* | Minor edits to the documentation in source file contents. | Mark Adler | 2016-12-04 | 4 | -93/+109 |
| | |||||
* | Fix bugs in creating a very large gzip header. | Mark Adler | 2016-12-04 | 2 | -169/+191 |
| | |||||
* | Add --debug (-d) option to ./configure to define ZLIB_DEBUG. | Mark Adler | 2016-12-04 | 1 | -0/+6 |
| | |||||
* | Use memcpy for stored blocks. | Mark Adler | 2016-12-04 | 1 | -30/+7 |
| | | | | | | | | | This speeds up level 0 by about a factor of three, as compared to the previous byte-at-a-time loop. We can do much better though. A later commit avoids this copy for level 0 with large buffers, instead copying directly from the input to the output. This commit still speeds up storing incompressible data found when compressing normally. | ||||
* | Fix some typos. | Mark Adler | 2016-10-30 | 10 | -29/+29 |
| |