Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Clean up type conversions. | Mark Adler | 2016-10-11 | 1 | -0/+1 |
| | |||||
* | Remove dummy structure declarations for old buggy compilers. | Mark Adler | 2016-09-21 | 1 | -5/+0 |
| | | | | | | | | | | | | | | While woolly mammoths still roamed the Earth and before Atlantis sunk into the ocean, there were C compilers that could not handle forward structure references, e.g. "struct name;". zlib dutifully provided a work-around for such compilers. That work-around is no longer needed, and, per the recommendation of a security audit of the zlib code by Trail of Bits and TrustInSoft, in support of the Mozilla Foundation, should be removed since what a compiler will do with this is technically undefined. From the report: "there is no telling what interactions the bug could have in the future with link-time optimizations and type-based alias analyses, both features that are present (but not default) in clang." | ||||
* | Add option to not compute or check check values. | Mark Adler | 2016-09-20 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | The undocumented (except in these commit comments) function inflateValidate(strm, check) can be called after an inflateInit(), inflateInit2(), or inflateReset2() with check equal to zero to turn off the check value (CRC-32 or Adler-32) computation and comparison. Calling with check not equal to zero turns checking back on. This should only be called immediately after the init or reset function. inflateReset() does not change the state, so a previous inflateValidate() setting will remain in effect. This also turns off validation of the gzip header CRC when present. This should only be used when a zlib or gzip stream has already been checked, and repeated decompressions of the same stream no longer need to be validated. | ||||
* | Clean up portability for shifts and integer sizes. | Mark Adler | 2015-09-05 | 1 | -1/+1 |
| | |||||
* | Align deflateParams() and its documentation in zlib.h. | Mark Adler | 2015-08-02 | 1 | -12/+26 |
| | | | | | | | | This updates the documentation to reflect the behavior of deflateParams() when it is not able to compress all of the input data provided so far due to insufficient output space. It also assures that data provided is compressed before the parameter changes, even if at the beginning of the stream. | ||||
* | Compile the gzopen_w() function when __CYGWIN__ defined. | Mark Adler | 2015-08-01 | 1 | -1/+1 |
| | |||||
* | Clarify deflateReset() documentation. | Mark Adler | 2015-07-28 | 1 | -4/+4 |
| | | | | | | It previously could have been misinterpreted to mean that parameter changes after deflateInit2() would be reversed, which is not the case. | ||||
* | Avoid use of DEBUG macro -- change to ZLIB_DEBUG. | Mark Adler | 2015-07-28 | 1 | -1/+1 |
| | |||||
* | Add comment about not using windowBits of 8 for deflate(). | Mark Adler | 2015-07-28 | 1 | -0/+8 |
| | |||||
* | Improve speed of gzprintf() in transparent mode. | Mark Adler | 2015-07-05 | 1 | -4/+3 |
| | |||||
* | Note in zlib.h that compress() uses Z_DEFAULT_COMPRESSION. | Mark Adler | 2014-04-26 | 1 | -1/+2 |
| | |||||
* | Change version number to 1.2.8.1. | Mark Adler | 2013-05-02 | 1 | -4/+4 |
| | |||||
* | zlib 1.2.8v1.2.8 | Mark Adler | 2013-04-28 | 1 | -2/+2 |
| | |||||
* | Correct spelling error in zlib.h. | Mark Adler | 2013-04-28 | 1 | -1/+1 |
| | |||||
* | Change version number to 1.2.8. | Mark Adler | 2013-04-28 | 1 | -5/+5 |
| | |||||
* | zlib 1.2.7.3v1.2.7.3 | Mark Adler | 2013-04-13 | 1 | -2/+2 |
| | |||||
* | Change version number to 1.2.7.3. | Mark Adler | 2013-04-13 | 1 | -4/+4 |
| | |||||
* | zlib 1.2.7.2v1.2.7.2 | Mark Adler | 2013-04-13 | 1 | -1/+1 |
| | |||||
* | Change version number to 1.2.7.2. | Mark Adler | 2013-04-13 | 1 | -4/+4 |
| | |||||
* | zlib 1.2.7.1v1.2.7.1 | Mark Adler | 2013-03-24 | 1 | -3/+3 |
| | |||||
* | Clean up the addition of gzvprintf. | Mark Adler | 2013-03-23 | 1 | -2/+3 |
| | |||||
* | Clean up the addition of inflateGetDictionary. | Mark Adler | 2013-03-23 | 1 | -1/+1 |
| | |||||
* | Add gzvprintf() as an undocumented function in zlib. | Mark Adler | 2013-03-22 | 1 | -0/+6 |
| | | | | The function is only available if stdarg.h is available. | ||||
* | Update inflateBack() comments, since inflate() can be faster. | Mark Adler | 2013-02-23 | 1 | -5/+6 |
| | |||||
* | Clean up the usage of z_const and respect const usage within zlib. | Mark Adler | 2012-08-13 | 1 | -1/+2 |
| | | | | | | | | | This patch allows zlib to compile cleanly with the -Wcast-qual gcc warning enabled, but only if ZLIB_CONST is defined, which adds const to next_in and msg in z_stream and in the in_func prototype. A --const option is added to ./configure which adds -DZLIB_CONST to the compile flags, and adds -Wcast-qual to the compile flags when ZLIBGCCWARN is set in the environment. | ||||
* | Add inflateGetDictionary() function. | Mark Adler | 2012-05-26 | 1 | -0/+15 |
| | |||||
* | Change version number to 1.2.7.1. | Mark Adler | 2012-05-02 | 1 | -4/+4 |
| | |||||
* | zlib 1.2.7v1.2.7 | Mark Adler | 2012-05-02 | 1 | -2/+2 |
| | |||||
* | Fix type mismatch between get_crc_table() and crc_table. | Mark Adler | 2012-04-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | crc_table is made using a four-byte integer (when that can be determined). However get_crc_table() returned a pointer to an unsigned long, which could be eight bytes. This fixes that by creating a new z_crc_t type for the crc_table. This type is also used for the BYFOUR crc calculations that depend on a four-byte type. The four-byte type can now be determined by ./configure, which also solves a problem where ./configure --solo would never use BYFOUR. No the Z_U4 #define indicates that four- byte integer was found either by ./configure or by zconf.h. | ||||
* | Fix gzopen_w() type and add #include for the type. | Mark Adler | 2012-03-17 | 1 | -1/+1 |
| | |||||
* | Add gzopen_w() in Windows for wide character path names. | Mark Adler | 2012-03-16 | 1 | -0/+4 |
| | |||||
* | Improve inflate() documentation on the use of Z_FINISH. | Mark Adler | 2012-03-14 | 1 | -8/+11 |
| | |||||
* | Allow the use of -Wundef when compiling or using zlib. | Mark Adler | 2012-03-13 | 1 | -3/+3 |
| | |||||
* | Add "x" (O_EXCL) and "e" (O_CLOEXEC) modes support to gzopen(). | Mark Adler | 2012-03-03 | 1 | -1/+4 |
| |