aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Correct the size of the inflate state in the comments.Mark Adler2016-09-201-1/+2
|
* Fix typo in blast.c.Mark Adler2016-07-101-1/+1
|
* Add configure.log to .gitignore.Mark Adler2016-06-171-0/+1
|
* Loop on write() calls in gzwrite.c in case of non-blocking I/O.Mark Adler2016-04-051-11/+16
|
* Fix gzseek() problem on MinGW due to buggy _lseeki64 there.Mark Adler2016-01-291-1/+1
|
* Fix bug that accepted invalid zlib header when windowBits is zero.Mark Adler2015-11-261-1/+1
| | | | | | | | When windowBits is zero, the size of the sliding window comes from the zlib header. The allowed values of the four-bit field are 0..7, but when windowBits is zero, values greater than 7 are permitted and acted upon, resulting in large, mostly unused memory allocations. This fix rejects such invalid zlib headers.
* Use a consistent and more modern approach to not use a parameter.Mark Adler2015-10-041-6/+10
| | | | | | A remarkably creative and diverse set of approaches to letting the compiler know that opaque was being used when it wasn't is changed by this commit to the more standard (void)opaque.
* Use UTF-8 for non-ASCII characters in ChangeLog.Mark Adler2015-09-161-3/+3
|
* Clean up portability for shifts and integer sizes.Mark Adler2015-09-053-4/+4
|
* Avoid shifts of negative values inflateMark().Mark Adler2015-09-051-2/+3
| | | | | | The C standard says that bit shifts of negative integers is undefined. This casts to unsigned values to assure a known result.
* Fix typo.Mark Adler2015-08-151-1/+1
|
* Use const for static tree descriptions in deflate.Mark Adler2015-08-152-4/+4
| | | | This is in order to permit shared memory for these structures.
* Allow building zlib outside of the source directory.Mark Adler2015-08-022-61/+197
| | | | | | | | | | 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.
* Do not initialize unsigned with -1 in compress.c uncompr.c.Mark Adler2015-08-022-2/+2
| | | | Sun compiler complained. Use (unsigned)0 - 1 instead.
* Align deflateParams() and its documentation in zlib.h.Mark Adler2015-08-022-14/+27
| | | | | | | | 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.
* Compile the gzopen_w() function when __CYGWIN__ defined.Mark Adler2015-08-013-5/+9
|
* Define _POSIX_SOURCE to enable POSIX extensions on some systems.Mark Adler2015-07-281-0/+4
|
* Clarify deflateReset() documentation.Mark Adler2015-07-281-4/+4
| | | | | | It previously could have been misinterpreted to mean that parameter changes after deflateInit2() would be reversed, which is not the case.
* Avoid uninitialized access by gzclose_w().Mark Adler2015-07-282-1/+2
|
* Avoid use of DEBUG macro -- change to ZLIB_DEBUG.Mark Adler2015-07-2814-33/+33
|
* Avoid use of reallocf() in test/infcover.c.Mark Adler2015-07-281-8/+8
|
* Fix inflateInit2() bug when windowBits is 16 or 32.Mark Adler2015-07-281-0/+2
| | | | | | | | 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.
* Add comment about not using windowBits of 8 for deflate().Mark Adler2015-07-281-0/+8
|
* Put license in zlib.3 man page.Mark Adler2015-07-072-9/+27
| | | | | Previously there was a confusing reference to a "distribution directory".
* Improve speed of gzprintf() in transparent mode.Mark Adler2015-07-054-51/+70
|
* Avoid left shift of a negative value in flush rank calculation.Mark Adler2015-07-051-1/+1
| | | | | The C standard permits an undefined result for a left shift of a negative value.
* Remedy Coverity warning. [Randers-Pehrson]Mark Adler2015-01-261-1/+1
|
* Add inflateCodesUsed() function for internal use.Mark Adler2014-12-291-0/+9
|
* Fix bug in test/example.c where error code not saved.Mark Adler2014-07-021-1/+1
|
* Note in zlib.h that compress() uses Z_DEFAULT_COMPRESSION.Mark Adler2014-04-261-1/+2
|
* Fix uncompress() to work on lengths more than a maximum unsigned.Mark Adler2014-04-261-20/+41
|
* Fix compress() to work on lengths more than a maximum unsigned.Mark Adler2014-04-261-18/+24
|
* Assure that gzoffset() is correct when appending.Mark Adler2014-04-241-1/+3
| | | | | | | 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.
* Improve contrib/blast to return unused bytes. Fix the test codeMark Adler2013-08-242-15/+43
| | | | | to report the count of unused bytes at the end correctly. Add the ability to provide initial input to blast().
* Fix contrib/minizip to permit unzipping with desktop API [Zouzou].Mark Adler2013-08-031-3/+4
|
* Spacing cleanup.Mark Adler2013-05-231-1/+1
|
* Change version number to 1.2.8.1.Mark Adler2013-05-0227-48/+51
|
* zlib 1.2.8v1.2.8Mark Adler2013-04-284-5/+9
|
* Fix mixed line endings in contrib/vstudio.Mark Adler2013-04-284-27/+27
|
* Correct spelling error in zlib.h.Mark Adler2013-04-281-1/+1
|
* Clean up contrib/vstudio [Roß].Mark Adler2013-04-2821-1138/+592
|
* Update some copyright years.Mark Adler2013-04-282-2/+2
|
* Do not force Z_CONST for C++.Mark Adler2013-04-283-3/+3
| | | | | | 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.
* Update contrib/minizip/iowin32.c for Windows RT [Vollant].Mark Adler2013-04-281-13/+85
|
* Change version number to 1.2.8.Mark Adler2013-04-2829-54/+57
|
* zlib 1.2.7.3v1.2.7.3Mark Adler2013-04-134-5/+5
|
* Fix version numbers and DLL names in contrib/vstudio/*/zlib.rc.Mark Adler2013-04-135-17/+17
|
* Change version number to 1.2.7.3.Mark Adler2013-04-1324-43/+46
|
* zlib 1.2.7.2v1.2.7.2Mark Adler2013-04-134-4/+6
|
* Add casts in gzwrite.c for pointer differences.Mark Adler2013-04-132-3/+4
|