Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add deflateUsed() function to get the used bits in the last byte. | Mark Adler | 2024-07-01 | 1 | -0/+12 |
| | | | | | This returns the number of used bits in the last byte of a stream that has just been compressed with deflate. | ||||
* | Correct typo in zlib.h comment. | Mark Adler | 2024-05-16 | 1 | -5/+5 |
| | |||||
* | Correct argument types for 64-bit combine functions. | Mark Adler | 2024-02-11 | 1 | -3/+3 |
| | |||||
* | Expand on the deflate strategy parameter in zlib.h. | Mark Adler | 2024-02-07 | 1 | -12/+15 |
| | |||||
* | Change version number on develop branch to 1.3.1.1. | Mark Adler | 2024-01-22 | 1 | -4/+4 |
| | |||||
* | zlib 1.3.1v1.3.1master | Mark Adler | 2024-01-22 | 1 | -6/+6 |
| | |||||
* | Note that the len2 argument of crc_combine*() must be non-negative. | Mark Adler | 2024-01-13 | 1 | -2/+2 |
| | | | | If it is negative, then the code will enter an infinite loop. | ||||
* | Correct repeated words in source file comments and a readme. | Paul Ivanov | 2023-11-14 | 1 | -4/+4 |
| | |||||
* | Change version number on develop branch to 1.3.0.1. | Mark Adler | 2023-08-18 | 1 | -4/+4 |
| | |||||
* | zlib 1.3v1.3 | Mark Adler | 2023-08-18 | 1 | -7/+7 |
| | |||||
* | Clarify requirement in zlib.h to avoid multiple flush markers. | Mark Adler | 2023-08-17 | 1 | -2/+2 |
| | |||||
* | Document in zlib.h the initialization of stream fields by the Init | Mark Adler | 2023-07-10 | 1 | -3/+5 |
| | | | | and Reset functions. | ||||
* | Correct comment in zlib.h on os setting in gzip header. | Mark Adler | 2023-05-16 | 1 | -2/+3 |
| | | | | | | The comment said that the os is set to 255, when in fact it has been set to the current os since zlib 1.2.3. Or at least our best guess at the os made at compile time. | ||||
* | Remove duplicate "the" in zlib.h. | Paul Marquess | 2023-05-01 | 1 | -1/+1 |
| | |||||
* | Remove K&R function definitions from zlib. | Mark Adler | 2023-04-15 | 1 | -174/+174 |
| | | | | | | | C2X has removed K&R definitions from the C function syntax. Though the standard has not yet been approved, some high-profile compilers are now issuing warnings when such definitions are encountered. | ||||
* | Change version number on develop branch to 1.2.13.1. | Mark Adler | 2022-10-15 | 1 | -4/+4 |
| | |||||
* | zlib 1.2.13v1.2.13 | Mark Adler | 2022-10-12 | 1 | -5/+5 |
| | |||||
* | Minor formatting improvements. | Mark Adler | 2022-10-05 | 1 | -1/+1 |
| | | | | No code changes. | ||||
* | Fix some typos. | Mark Adler | 2022-08-23 | 1 | -5/+5 |
| | | | | No code changes. | ||||
* | Change version number on develop branch to 1.2.12.1. | Mark Adler | 2022-03-27 | 1 | -4/+4 |
| | |||||
* | zlib 1.2.12v1.2.12 | Mark Adler | 2022-03-27 | 1 | -7/+7 |
| | |||||
* | Clarify gz* function interfaces, referring to parameter names. | Mark Adler | 2020-08-31 | 1 | -77/+76 |
| | |||||
* | Explicitly note that the 32-bit check values are 32 bits. | Mark Adler | 2019-04-05 | 1 | -5/+7 |
| | |||||
* | Speed up software CRC-32 computation by a factor of 1.5 to 3. | Mark Adler | 2018-12-26 | 1 | -12/+10 |
| | | | | | | | | Use the interleaved method of Kadatch and Jenkins in order to make use of pipelined instructions through multiple ALUs in a single core. This also speeds up and simplifies the combination of CRCs, and updates the functions to pre-calculate and use an operator for CRC combination. | ||||
* | Add crc32_combine_gen() and crc32_combine_op() for fast combines. | Mark Adler | 2018-11-04 | 1 | -0/+22 |
| | | | | | | When the same len2 is used repeatedly, it is faster to use crc32_combine_gen() to generate an operator, that is then used to combine CRCs with crc32_combine_op(). | ||||
* | Correct the initialization requirements for deflateInit2(). | Mark Adler | 2018-01-31 | 1 | -2/+1 |
| | |||||
* | Emphasize the need to continue decompressing gzip members. | Mark Adler | 2018-01-08 | 1 | -3/+5 |
| | |||||
* | Make the names in functions declarations identical to definitions. | Mark Adler | 2017-10-12 | 1 | -1/+1 |
| | |||||
* | Permit a deflateParams() parameter change as soon as possible. | Mark Adler | 2017-02-15 | 1 | -5/+6 |
| | | | | | | | | | 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 | 1 | -1/+1 |
| | |||||
* | Change version number to 1.2.11.1. | Mark Adler | 2017-01-15 | 1 | -4/+4 |
| | |||||
* | zlib 1.2.11v1.2.11 | Mark Adler | 2017-01-15 | 1 | -5/+5 |
| | |||||
* | Permit immediate deflateParams changes before any deflate input. | Mark Adler | 2017-01-15 | 1 | -4/+5 |
| | | | | | | | 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. | ||||
* | Change version number to 1.2.10.1. | Mark Adler | 2017-01-15 | 1 | -4/+4 |
| | |||||
* | zlib 1.2.10v1.2.10 | Mark Adler | 2017-01-02 | 1 | -5/+5 |
| | |||||
* | Minor edits and clarifications of comments. | Mark Adler | 2017-01-01 | 1 | -7/+8 |
| | |||||
* | Change version number to zlib 1.2.9.1. | Mark Adler | 2017-01-01 | 1 | -5/+5 |
| | |||||
* | zlib 1.2.9v1.2.9 | Mark Adler | 2016-12-31 | 1 | -6/+6 |
| | |||||
* | Add crc32_z() and adler32_z() functions with size_t lengths. | Mark Adler | 2016-12-31 | 1 | -0/+12 |
| | |||||
* | Fix init macros to use z_ prefix when requested. | Mark Adler | 2016-12-30 | 1 | -13/+29 |
| | |||||
* | Add deflateGetDictionary() function. | Mark Adler | 2016-12-30 | 1 | -0/+22 |
| | | | | | Per request, but its utility is likely to be very limited. See the comments in zlib.h. | ||||
* | Add gzfwrite(), duplicating the interface of fwrite(). | Mark Adler | 2016-12-04 | 1 | -0/+14 |
| | |||||
* | Add gzfread(), duplicating the interface of fread(). | Mark Adler | 2016-12-04 | 1 | -1/+29 |
| | |||||
* | Clean up gz* function return values. | Mark Adler | 2016-12-04 | 1 | -12/+14 |
| | | | | | | | 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. | ||||
* | Assure that deflateParams() will not switch functions mid-block. | Mark Adler | 2016-12-04 | 1 | -17/+18 |
| | | | | | | | 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. | ||||
* | Add uncompress2() function, which returns the input size used. | Mark Adler | 2016-12-04 | 1 | -1/+9 |
| | |||||
* | Minor edits to the documentation in source file contents. | Mark Adler | 2016-12-04 | 1 | -90/+106 |
| | |||||
* | Fix some typos. | Mark Adler | 2016-10-30 | 1 | -2/+2 |
| | |||||
* | Document the rejection of 256-byte window requests in zlib.h. | Mark Adler | 2016-10-24 | 1 | -0/+4 |
| | |||||
* | Avoid recursive gzgetc() macro call. | Mark Adler | 2016-10-14 | 1 | -2/+2 |
| | | | | | Recursive macro calls are normally caught by the preprocessor and avoided. This commit avoids the possibility of a problem entirely. |