- 16 1月, 2017 2 次提交
-
-
由 Mark Adler 提交于
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.
-
由 Mark Adler 提交于
-
- 03 1月, 2017 1 次提交
-
-
由 Mark Adler 提交于
-
- 02 1月, 2017 2 次提交
-
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
-
- 01 1月, 2017 2 次提交
-
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
-
- 31 12月, 2016 2 次提交
-
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
Per request, but its utility is likely to be very limited. See the comments in zlib.h.
-
- 05 12月, 2016 2 次提交
-
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
-
- 04 12月, 2016 4 次提交
-
-
由 Mark Adler 提交于
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.
-
由 Mark Adler 提交于
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.
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
-
- 30 10月, 2016 1 次提交
-
-
由 Mark Adler 提交于
-
- 25 10月, 2016 1 次提交
-
-
由 Mark Adler 提交于
-
- 15 10月, 2016 1 次提交
-
-
由 Mark Adler 提交于
Recursive macro calls are normally caught by the preprocessor and avoided. This commit avoids the possibility of a problem entirely.
-
- 12 10月, 2016 1 次提交
-
-
由 Mark Adler 提交于
-
- 22 9月, 2016 1 次提交
-
-
由 Mark Adler 提交于
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."
-
- 21 9月, 2016 1 次提交
-
-
由 Mark Adler 提交于
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.
-
- 06 9月, 2015 1 次提交
-
-
由 Mark Adler 提交于
-
- 02 8月, 2015 2 次提交
-
-
由 Mark Adler 提交于
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.
-
由 Mark Adler 提交于
-
- 29 7月, 2015 3 次提交
-
-
由 Mark Adler 提交于
It previously could have been misinterpreted to mean that parameter changes after deflateInit2() would be reversed, which is not the case.
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
-
- 06 7月, 2015 1 次提交
-
-
由 Mark Adler 提交于
-
- 26 4月, 2014 1 次提交
-
-
由 Mark Adler 提交于
-
- 03 5月, 2013 1 次提交
-
-
由 Mark Adler 提交于
-
- 29 4月, 2013 3 次提交
-
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
-
- 14 4月, 2013 3 次提交
-
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
-
- 13 4月, 2013 1 次提交
-
-
由 Mark Adler 提交于
-
- 25 3月, 2013 1 次提交
-
-
由 Mark Adler 提交于
-
- 24 3月, 2013 2 次提交
-
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
-