summaryrefslogtreecommitdiff
path: root/zlib.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Clean up type conversions.Mark Adler2016-10-111-0/+1
|
* Remove dummy structure declarations for old buggy compilers.Mark Adler2016-09-211-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 Adler2016-09-201-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 Adler2015-09-051-1/+1
|
* Align deflateParams() and its documentation in zlib.h.Mark Adler2015-08-021-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 Adler2015-08-011-1/+1
|
* Clarify deflateReset() documentation.Mark Adler2015-07-281-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 Adler2015-07-281-1/+1
|
* Add comment about not using windowBits of 8 for deflate().Mark Adler2015-07-281-0/+8
|
* Improve speed of gzprintf() in transparent mode.Mark Adler2015-07-051-4/+3
|
* Note in zlib.h that compress() uses Z_DEFAULT_COMPRESSION.Mark Adler2014-04-261-1/+2
|
* Change version number to 1.2.8.1.Mark Adler2013-05-021-4/+4
|
* zlib 1.2.8v1.2.8Mark Adler2013-04-281-2/+2
|
* Correct spelling error in zlib.h.Mark Adler2013-04-281-1/+1
|
* Change version number to 1.2.8.Mark Adler2013-04-281-5/+5
|
* zlib 1.2.7.3v1.2.7.3Mark Adler2013-04-131-2/+2
|
* Change version number to 1.2.7.3.Mark Adler2013-04-131-4/+4
|
* zlib 1.2.7.2v1.2.7.2Mark Adler2013-04-131-1/+1
|
* Change version number to 1.2.7.2.Mark Adler2013-04-131-4/+4
|
* zlib 1.2.7.1v1.2.7.1Mark Adler2013-03-241-3/+3
|
* Clean up the addition of gzvprintf.Mark Adler2013-03-231-2/+3
|
* Clean up the addition of inflateGetDictionary.Mark Adler2013-03-231-1/+1
|
* Add gzvprintf() as an undocumented function in zlib.Mark Adler2013-03-221-0/+6
| | | | The function is only available if stdarg.h is available.
* Update inflateBack() comments, since inflate() can be faster.Mark Adler2013-02-231-5/+6
|
* Clean up the usage of z_const and respect const usage within zlib.Mark Adler2012-08-131-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 Adler2012-05-261-0/+15
|
* Change version number to 1.2.7.1.Mark Adler2012-05-021-4/+4
|
* zlib 1.2.7v1.2.7Mark Adler2012-05-021-2/+2
|
* Fix type mismatch between get_crc_table() and crc_table.Mark Adler2012-04-291-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 Adler2012-03-171-1/+1
|
* Add gzopen_w() in Windows for wide character path names.Mark Adler2012-03-161-0/+4
|