1. 15 4月, 2022 1 次提交
  2. 11 3月, 2021 1 次提交
  3. 09 9月, 2020 1 次提交
  4. 16 1月, 2017 1 次提交
  5. 01 1月, 2017 1 次提交
  6. 31 12月, 2016 1 次提交
  7. 04 12月, 2016 2 次提交
    • M
      Increase verbosity required to warn about bit length overflow. · 21c66cd5
      Mark Adler 提交于
      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.
      21c66cd5
    • M
      Use memcpy for stored blocks. · a456d898
      Mark Adler 提交于
      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.
      a456d898
  8. 12 10月, 2016 1 次提交
  9. 16 8月, 2015 1 次提交
  10. 29 7月, 2015 1 次提交
  11. 13 8月, 2012 1 次提交
    • M
      Clean up the usage of z_const and respect const usage within zlib. · 62d6112a
      Mark Adler 提交于
      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.
      62d6112a
  12. 08 1月, 2012 3 次提交
    • M
      Write out all of the available bits when using Z_BLOCK. · 0b828b4a
      Mark Adler 提交于
      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
    • M
      Remove second empty static block for Z_PARTIAL_FLUSH. · 8f5eceef
      Mark Adler 提交于
      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
    • M
      Allow deflatePrime() to insert bits in the middle of a stream. · 263b1a05
      Mark Adler 提交于
      This allows the insertion of multiple empty static blocks for the
      purpose of efficiently bringing a stream to a byte boundary.
      263b1a05
  13. 10 9月, 2011 25 次提交