summaryrefslogtreecommitdiff
path: root/trees.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* zlib 1.2.9v1.2.9Mark Adler2016-12-311-1/+1
|
* Avoid some random compiler warnings on various platforms.Mark Adler2016-12-301-1/+1
|
* Increase verbosity required to warn about bit length overflow.Mark Adler2016-12-041-2/+2
| | | | | | | When debugging the Huffman coding would warn about resulting codes greater than 15 bits in length. This is handled properly, and is not uncommon. This increases the verbosity of the warning by one, so that it is not displayed by default.
* Use memcpy for stored blocks.Mark Adler2016-12-041-30/+7
| | | | | | | | | This speeds up level 0 by about a factor of three, as compared to the previous byte-at-a-time loop. We can do much better though. A later commit avoids this copy for level 0 with large buffers, instead copying directly from the input to the output. This commit still speeds up storing incompressible data found when compressing normally.
* Clean up type conversions.Mark Adler2016-10-111-10/+10
|
* Use const for static tree descriptions in deflate.Mark Adler2015-08-151-3/+3
| | | | This is in order to permit shared memory for these structures.
* Avoid use of DEBUG macro -- change to ZLIB_DEBUG.Mark Adler2015-07-281-16/+16
|
* Clean up the usage of z_const and respect const usage within zlib.Mark Adler2012-08-131-6/+8
| | | | | | | | | 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.
* Write out all of the available bits when using Z_BLOCK.Mark Adler2012-01-071-0/+9
| | | | | | | | Previously, the bit buffer would hold 1 to 16 bits after "all" of the output is provided after a Z_BLOCK deflate() call. Now at most seven bits remain in the output buffer after Z_BLOCK. flush_pending() now flushes the bit buffer before copying out the byte buffer, in order for it to really flush as much as possible.
* Remove second empty static block for Z_PARTIAL_FLUSH.Mark Adler2012-01-071-24/+0
| | | | | | | | | Z_PARTIAL_FLUSH would sometimes emit two empty static blocks instead of one in order to provide enough lookahead for inflate to be able to decode what was last compressed. inflate no longer needs that much lookahead, so this removes the possibility of emitting the second empty static block. Z_PARTIAL_FLUSH will now emit only one empty static block.
* Allow deflatePrime() to insert bits in the middle of a stream.Mark Adler2012-01-071-6/+1
| | | | | This allows the insertion of multiple empty static blocks for the purpose of efficiently bringing a stream to a byte boundary.
* zlib 1.2.5v1.2.5Mark Adler2011-09-091-3/+4
|
* zlib 1.2.4.5v1.2.4.5Mark Adler2011-09-091-5/+5
|
* zlib 1.2.4-pre1v1.2.4-pre1Mark Adler2011-09-091-10/+10
|
* zlib 1.2.3.4v1.2.3.4Mark Adler2011-09-091-5/+5
|
* zlib 1.2.3.1v1.2.3.1Mark Adler2011-09-091-15/+39
|
* zlib 1.2.2.4v1.2.2.4Mark Adler2011-09-091-2/+2
|
* zlib 1.2.2.2v1.2.2.2Mark Adler2011-09-091-17/+1
|
* zlib 1.2.2.1v1.2.2.1Mark Adler2011-09-091-14/+34
|
* zlib 1.2.1.2v1.2.1.2Mark Adler2011-09-091-2/+2
|
* zlib 1.2.0.7v1.2.0.7Mark Adler2011-09-091-1/+2
|
* zlib 1.2.0.1v1.2.0.1Mark Adler2011-09-091-38/+38
|
* zlib 1.2.0v1.2.0Mark Adler2011-09-091-4/+4
|
* zlib 1.1.4v1.1.4Mark Adler2011-09-091-1/+1
|
* zlib 1.1.3v1.1.3Mark Adler2011-09-091-27/+25
|
* zlib 1.1.1v1.1.1Mark Adler2011-09-091-1/+3
|
* zlib 1.1.0v1.1.0Mark Adler2011-09-091-19/+12
|
* zlib 1.0.8v1.0.8Mark Adler2011-09-091-16/+96
|
* zlib 1.0.7v1.0.7Mark Adler2011-09-091-9/+9
|
* zlib 1.0.4v1.0.4Mark Adler2011-09-091-2/+2
|
* zlib 1.0.2v1.0.2Mark Adler2011-09-091-1/+1
|
* zlib 1.0.1v1.0.1Mark Adler2011-09-091-18/+18
|
* zlib 1.0-prev1.0-preMark Adler2011-09-091-17/+17
|
* zlib 0.99v0.99Mark Adler2011-09-091-60/+74
|
* zlib 0.95v0.95Mark Adler2011-09-091-42/+98
|
* zlib 0.94v0.94Mark Adler2011-09-091-31/+31
|
* zlib 0.93v0.93Mark Adler2011-09-091-0/+11
|
* zlib 0.92v0.92Mark Adler2011-09-091-21/+21
|
* zlib 0.9v0.9Mark Adler2011-09-091-12/+24
|
* zlib 0.8v0.8Mark Adler2011-09-091-2/+2
|
* zlib 0.79v0.79Mark Adler2011-09-091-1/+1
|
* zlib 0.71v0.71Mark Adler2011-09-091-0/+1048