aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Fix typo in win32/Makefile.msc.Mark Adler2013-04-131-1/+1
|
* Change check for a four-byte type back to hexadecimal.Mark Adler2013-04-133-9/+9
|
* Change version number to 1.2.7.2.Mark Adler2013-04-1324-48/+51
|
* zlib 1.2.7.1v1.2.7.1Mark Adler2013-03-2416-20/+67
|
* Line length cleanup.Mark Adler2013-03-242-2/+3
|
* Do not return Z_BUF_ERROR if deflateParam() has nothing to write.Mark Adler2013-03-241-0/+2
| | | | | | If the compressed data was already at a block boundary, then deflateParam() would report Z_BUF_ERROR, because there was nothing to write. With this patch, Z_OK is returned in that case.
* In Makefile uninstall, don't rm if preceding cd fails.Mark Adler2013-03-241-4/+4
|
* Minor spacing cleanup in a comment in gzguts.h.Mark Adler2013-03-241-1/+1
|
* Add man pages for minizip and miniunzip.Enrico Weigelt, metux IT service2013-03-242-0/+109
|
* Add casts and consts to ease user conversion to C++.Mark Adler2013-03-246-16/+17
| | | | You would still need to run zlib2ansi on all of the *.c files.
* Clean up the addition of gzvprintf.Mark Adler2013-03-2310-3/+13
|
* Clean up the addition of inflateGetDictionary.Mark Adler2013-03-235-3/+18
|
* Remove runtime check in configure for four-byte integer type.Mark Adler2013-03-234-59/+15
| | | | | | | | | | That didn't work when cross-compiling. Simply rely on limits.h. If a compiler does not have limits.h, then zconf.h.in should be modified to define Z_U4 as an unsiged four-byte integer type in order for crc32() to be fast. This also simplifies and makes more portable to check for a four- byte type using limits.h.
* Fix configure for Sun shell.Mark Adler2013-03-231-1/+3
|
* Add gzvprintf() as an undocumented function in zlib.Mark Adler2013-03-225-7/+36
| | | | The function is only available if stdarg.h is available.
* Add vc11 and vc12 build files to contrib/vstudio.Mark Adler2013-03-2216-0/+3335
|
* Fix typos in the use of _LARGEFILE64_SOURCE in zconf.h.Mark Adler2013-02-243-6/+6
|
* Suport i686 and amd64 assembler builds in CMakeLists.txt.Like Ma2013-02-241-2/+38
| | | | | * Use -DASM686=1 to build with i686 asm. * Use -DAMD64=1 to build with amd64 asm.
* Add TOP support to win32/Makefile.msc.E. Timothy Uy2013-02-231-38/+41
| | | | | Facilitate multi-platform compilation, e.g.: nmake -f pathto\zlib\win32\Makefile.msc TOP=pathto\zlib
* Simplify contrib/vstudio/vc10 with 'd' suffix.Fredrik Orderud2013-02-231-26/+2
|
* Fix types in contrib/minizip to match result of get_crc_table().takacsd2013-02-233-6/+6
|
* Fix casting error in contrib/testzlib/testzlib.c.Jason Williams2013-02-231-2/+2
|
* Don't specify --version-script on Apple platforms in CMakeLists.txt.Will Glynn2013-02-231-1/+3
| | | | | Mac OS X's linker (derived from LLVM, not GNU binutils) does not support --version-script. Don't specify it on this platform.
* Quote --version-script argument in CMakeLists.txt.Will Glynn2013-02-231-1/+1
| | | | | Previously, spaces in ${CMAKE_CURRENT_SOURCE_PATH} would expand into multiple linker arguments.
* Add contrib/vstudio/vc10 pre-build step for static only.Greg Domjan2013-02-232-1/+17
| | | | Also correct typo for 64-bit debug build.
* Add _tr_flush_bits to the external symbols prefixed by --zprefix.Mark Adler2013-02-233-0/+3
|
* Use underscored I/O function names for WINAPI_FAMILY.Mark Adler2013-02-231-0/+7
| | | | Suggested by E. Timothy Uy.
* Update inflateBack() comments, since inflate() can be faster.Mark Adler2013-02-231-5/+6
|
* Fix serious but very rare decompression bug in inftrees.c.Mark Adler2013-02-181-4/+4
| | | | | | | | | | | | inftrees.c compared the number of used table entries to the maximum allowed value using >= instead of >. This patch fixes those to use >. The bug was discovered by Ignat Kolesnichenko of Yandex LC where they have run petabytes of data through zlib. Triggering the bug is apparently very rare, seeing as how it has been out there in the wild for almost three years before being discovered. The bug is instantiated only if the exact maximum number of decoding table entries, ENOUGH_DISTS or ENOUGH_LENS is used by the block being decoded, resulting in the false positive of overflowing the table.