Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Aug 16, 2015
  1. Fix typo.

    authored
  2. Use const for static tree descriptions in deflate.

    authored
    This is in order to permit shared memory for these structures.
Commits on Aug 3, 2015
  1. Allow building zlib outside of the source directory.

    authored
    To build, simply run configure from the source directory by
    specifying its path.  That path will be used to find the source
    files.  The source directory will not be touched.  All new and
    modified files will be made in the current directory.  Discovered
    in the process that not all makes understand % or $<, and not all
    compilers understand -include or -I-.  This required a larger
    Makefile.in with explicit dependencies.
  2. Do not initialize unsigned with -1 in compress.c uncompr.c.

    authored
    Sun compiler complained.  Use (unsigned)0 - 1 instead.
Commits on Aug 2, 2015
  1. Align deflateParams() and its documentation in zlib.h.

    authored
    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.
Commits on Jul 29, 2015
  1. Clarify deflateReset() documentation.

    authored
    It previously could have been misinterpreted to mean that parameter
    changes after deflateInit2() would be reversed, which is not the
    case.
  2. Fix inflateInit2() bug when windowBits is 16 or 32.

    authored
    A windowBits value of 0, 16, or 32 gets the window bits from the
    zlib header.  However there is no zlib header for 16, or for 32
    when the input is gzip.  This commit sets the window bits for
    inflate to 15 if a gzip stream is detected and windowBits was 16
    or 32.
Commits on Jul 8, 2015
  1. Put license in zlib.3 man page.

    authored
    Previously there was a confusing reference to a "distribution
    directory".
Commits on Jul 6, 2015
Commits on Jul 5, 2015
  1. Avoid left shift of a negative value in flush rank calculation.

    authored
    The C standard permits an undefined result for a left shift of a
    negative value.
Commits on Jan 27, 2015
Commits on Dec 29, 2014
Commits on Jul 2, 2014
Commits on Apr 26, 2014
Commits on Apr 24, 2014
  1. Assure that gzoffset() is correct when appending.

    authored
    An open() with O_APPEND followed by an lseek() to determine the
    position will return zero for a non-empty file, even though the
    next write will start at the end of the file.  This commit works
    around that by doing an lseek() to the end when appending.
Commits on Aug 24, 2013
  1. Improve contrib/blast to return unused bytes. Fix the test code

    authored
    to report the count of unused bytes at the end correctly.  Add the
    ability to provide initial input to blast().
Commits on Aug 4, 2013
Commits on May 24, 2013
  1. Spacing cleanup.

    authored
Commits on May 3, 2013
Commits on Apr 29, 2013
  1. zlib 1.2.8

    authored
Commits on Apr 28, 2013
  1. Update some copyright years.

    authored
  2. Do not force Z_CONST for C++.

    authored
    Forcing Z_CONST resulted in an issue when compiling Firefox.  Now
    if someone wants to compile zlib as C++ code (which it isn't), now
    they will need to #define Z_CONST themselves.
  3. Change version number to 1.2.8.

    authored
Something went wrong with that request. Please try again.