aboutsummaryrefslogtreecommitdiff
path: root/zlib.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add deflateUsed() function to get the used bits in the last byte.Mark Adler2024-07-011-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 Adler2024-05-161-5/+5
|
* Correct argument types for 64-bit combine functions.Mark Adler2024-02-111-3/+3
|
* Expand on the deflate strategy parameter in zlib.h.Mark Adler2024-02-071-12/+15
|
* Change version number on develop branch to 1.3.1.1.Mark Adler2024-01-221-4/+4
|
* zlib 1.3.1v1.3.1masterMark Adler2024-01-221-6/+6
|
* Note that the len2 argument of crc_combine*() must be non-negative.Mark Adler2024-01-131-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 Ivanov2023-11-141-4/+4
|
* Change version number on develop branch to 1.3.0.1.Mark Adler2023-08-181-4/+4
|
* zlib 1.3v1.3Mark Adler2023-08-181-7/+7
|
* Clarify requirement in zlib.h to avoid multiple flush markers.Mark Adler2023-08-171-2/+2
|
* Document in zlib.h the initialization of stream fields by the InitMark Adler2023-07-101-3/+5
| | | | and Reset functions.
* Correct comment in zlib.h on os setting in gzip header.Mark Adler2023-05-161-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 Marquess2023-05-011-1/+1
|
* Remove K&R function definitions from zlib.Mark Adler2023-04-151-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 Adler2022-10-151-4/+4
|
* zlib 1.2.13v1.2.13Mark Adler2022-10-121-5/+5
|
* Minor formatting improvements.Mark Adler2022-10-051-1/+1
| | | | No code changes.
* Fix some typos.Mark Adler2022-08-231-5/+5
| | | | No code changes.
* Change version number on develop branch to 1.2.12.1.Mark Adler2022-03-271-4/+4
|
* zlib 1.2.12v1.2.12Mark Adler2022-03-271-7/+7
|
* Clarify gz* function interfaces, referring to parameter names.Mark Adler2020-08-311-77/+76
|
* Explicitly note that the 32-bit check values are 32 bits.Mark Adler2019-04-051-5/+7
|
* Speed up software CRC-32 computation by a factor of 1.5 to 3.Mark Adler2018-12-261-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 Adler2018-11-041-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 Adler2018-01-311-2/+1
|
* Emphasize the need to continue decompressing gzip members.Mark Adler2018-01-081-3/+5
|
* Make the names in functions declarations identical to definitions.Mark Adler2017-10-121-1/+1
|
* Permit a deflateParams() parameter change as soon as possible.Mark Adler2017-02-151-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 Adler2017-01-161-1/+1
|
* Change version number to 1.2.11.1.Mark Adler2017-01-151-4/+4
|
* zlib 1.2.11v1.2.11Mark Adler2017-01-151-5/+5
|
* Permit immediate deflateParams changes before any deflate input.Mark Adler2017-01-151-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 Adler2017-01-151-4/+4
|
* zlib 1.2.10v1.2.10Mark Adler2017-01-021-5/+5
|
* Minor edits and clarifications of comments.Mark Adler2017-01-011-7/+8
|
* Change version number to zlib 1.2.9.1.Mark Adler2017-01-011-5/+5
|
* zlib 1.2.9v1.2.9Mark Adler2016-12-311-6/+6
|
* Add crc32_z() and adler32_z() functions with size_t lengths.Mark Adler2016-12-311-0/+12
|
* Fix init macros to use z_ prefix when requested.Mark Adler2016-12-301-13/+29
|
* Add deflateGetDictionary() function.Mark Adler2016-12-301-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 Adler2016-12-041-0/+14
|
* Add gzfread(), duplicating the interface of fread().Mark Adler2016-12-041-1/+29
|
* Clean up gz* function return values.Mark Adler2016-12-041-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 Adler2016-12-041-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 Adler2016-12-041-1/+9
|
* Minor edits to the documentation in source file contents.Mark Adler2016-12-041-90/+106
|
* Fix some typos.Mark Adler2016-10-301-2/+2
|
* Document the rejection of 256-byte window requests in zlib.h.Mark Adler2016-10-241-0/+4
|
* Avoid recursive gzgetc() macro call.Mark Adler2016-10-141-2/+2
| | | | | Recursive macro calls are normally caught by the preprocessor and avoided. This commit avoids the possibility of a problem entirely.