| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Version 1.3.2 | Mark Adler | 27 hours | 1 | -6/+6 |
| | | |||||
| * | Fix the usage of types in deflate.c for when an int is 16 bits. | Mark Adler | 9 days | 1 | -1/+4 |
| | | | | | Also clean up conversion warnings. | ||||
| * | Add _z versions of the compress and uncompress functions. | Mark Adler | 2026-01-12 | 1 | -14/+23 |
| | | | | | Provide size_t arguments for Windows, on which a long is 32 bits. | ||||
| * | Add compressBound_z and deflateBound_z functions for large values. | Mark Adler | 2026-01-05 | 1 | -2/+9 |
| | | | | | | | | These take and return size_t integers, instead of unsigned longs, for those platforms with 32-bit longs. This commit also assures that overflows of either integer type results in the maximum value for that type, instead of wrapping to small values. | ||||
| * | Prevent the use of insecure functions without an explicit request. | Mark Adler | 2026-01-05 | 1 | -8/+18 |
| | | | | | | | | | | | | ZLIB_INSECURE must be defined in order to compile code that uses the insecure functions vsprintf() or sprintf(). This would occur only if the standard vsnprintf() or snprintf() functions are not available. Providing the --insecure option to ./configure will define ZLIB_INSECURE. A flag is added to zlibCompileFlags() to indicate that gzprintf() is not implemented due to the need for the use of an insecure function, but ZLIB_INSECURE was not defined. | ||||
| * | Check for negative lengths in crc32_combine functions. | Mark Adler | 2026-01-05 | 1 | -2/+2 |
| | | | | | | Though zlib.h says that len2 must be non-negative, this avoids the possibility of an accidental infinite loop. | ||||
| * | zlib 1.3.1.2v1.3.1.2 | Mark Adler | 2025-12-08 | 1 | -5/+5 |
| | | | | | Interim version for an audit. | ||||
| * | Support non-blocking devices in the gz* routines. | Mark Adler | 2025-12-08 | 1 | -15/+58 |
| | | |||||
| * | Return all available uncompressed data on error in gzread.c. | Mark Adler | 2025-12-06 | 1 | -8/+13 |
| | | | | | | | | The error is recorded, and will be detected by the application after all of the uncompressed data has been consumed and then one more call is made to read data. The error is available immediately from gzerror() if the application would like to know earlier. | ||||
| * | Update links to the RFCs. | Mark Adler | 2025-12-06 | 1 | -1/+1 |
| | | |||||
| * | Clarify the use of inflateGetHeader(). | Mark Adler | 2025-12-06 | 1 | -14/+16 |
| | | |||||
| * | Add a "G" option to force gzip, disabling transparency in gzread(). | Mark Adler | 2025-12-06 | 1 | -1/+5 |
| | | | | | | If the input is not a gzip stream with this option, an error will be returned. | ||||
| * | Fix bug in inflatePrime() for 16-bit ints. | Mark Adler | 2025-05-13 | 1 | -9/+19 |
| | | | | | | | Also elaborate on the inflatePrime() error return in zlib.h, and assure that data_type is correct after initialization and a Z_NEED_DICT return. | ||||
| * | Note the use of gzungetc() to run a deferred seek while reading. | Mark Adler | 2025-05-13 | 1 | -0/+5 |
| | | |||||
| * | Note that gzseek() requests are deferred until the next operation. | Mark Adler | 2025-05-13 | 1 | -1/+2 |
| | | |||||
| * | Clarify the use of errnum in gzerror(). | Mark Adler | 2025-02-25 | 1 | -3/+4 |
| | | |||||
| * | Remove some unsightly spaces in zlib.h. | Mark Adler | 2025-02-21 | 1 | -3/+3 |
| | | |||||
| * | Use generated zconf.h in cmake build. | Vollstrecker | 2025-02-18 | 1 | -1/+5 |
| | | | | | | This restores the inclusion of the local zconf.h (double quoted) in normal usage. | ||||
| * | Do not look for zconf.h in the source directory. | Vollstrecker | 2025-02-13 | 1 | -1/+1 |
| | | | | | | Temporary patch for cmake, but too violent. A better solution will need to be found. | ||||
| * | 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.1 | 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 |
| | | |||||
