1. 21 Dec, 2015 3 commits
  2. 18 Apr, 2015 1 commit
  3. 06 Apr, 2015 2 commits
  4. 02 Jun, 2012 1 commit
  5. 14 Jan, 2012 1 commit
    • Mark Adler's avatar
      Insert the first two strings in the hash table after a flush. · 4f5779a8
      Mark Adler authored
      This allows deflate to generate the same output when continuing after
      a Z_SYNC_FLUSH vs. using deflateSetDictionary() after a Z_FULL_FLUSH
      or a deflateReset().  It also slightly improves compression when
      flushing by providing two more strings to possibly match at the start
      of the new block.
      4f5779a8
  6. 07 Jan, 2012 3 commits
    • Mark Adler's avatar
      Write out all of the available bits when using Z_BLOCK. · 0b828b4a
      Mark Adler authored
      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.
      0b828b4a
    • Mark Adler's avatar
      Remove second empty static block for Z_PARTIAL_FLUSH. · 8f5eceef
      Mark Adler authored
      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.
      8f5eceef
    • Mark Adler's avatar
      Allow deflatePrime() to insert bits in the middle of a stream. · 263b1a05
      Mark Adler authored
      This allows the insertion of multiple empty static blocks for the
      purpose of efficiently bringing a stream to a byte boundary.
      263b1a05
  7. 11 Sep, 2011 1 commit
  8. 10 Sep, 2011 27 commits