summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Check for invalid code length codes in contrib/puff.Mark Adler2013-01-213-6/+9
| | | | | Without this fix, it would be possible to construct inputs to puff that would cause it to segfault.
* Fix comparisons of differently signed integers in contrib/blast.Mark Adler2012-10-241-1/+2
|
* Add note to contrib/blast to use binary mode in stdio.Mark Adler2012-10-242-4/+9
|
* Check for input buffer malloc failure in examples/gzappend.c.Mark Adler2012-10-111-7/+10
|
* Fix bug in gzclose() when gzwrite() runs out of memory.Mark Adler2012-10-011-5/+6
| | | | | | If the deflateInit2() called for the first gzwrite() failed with a Z_MEM_ERROR, then a subsequent gzclose() would try to free an already freed pointer. This fixes that.
* Fix bug where gzopen(), gzclose() would write an empty file.Mark Adler2012-09-291-8/+7
| | | | | | | A gzopen() to write (mode "w") followed immediately by a gzclose() would output an empty zero-length file. What it should do is write an empty gzip file, with the gzip header, empty deflate content, and gzip trailer totalling 20 bytes. This fixes it to do that.
* Fix memory allocation error in examples/zran.c [Nor].Mark Adler2012-09-291-3/+8
|
* Fix unintialized value bug in gzputc() introduced by const patches.Mark Adler2012-08-241-8/+10
| | | | | | | | | | | Avoid the use of an uninitialized value when the write buffers have not been initialized. A recent change to avoid the use of strm-> next_in in order to resolve some const conflicts added the use of state->in in its place. This patch avoids the use of state->in when it is not initialized. Nothing bad would actually happen, since two variables set to the same unintialized value are subtracted. However valgrind was rightly complaining. So this fixes that.
* Avoid shift equal to bits in type (caused endless loop).Mark Adler2012-08-181-18/+21
| | | | | | | | | | | Also clean up comparisons between different types, and some odd indentation problems that showed up somehow. A new endless loop was introduced by the clang compiler, which apparently does odd things when the right operand of << is equal to or greater than the number of bits in the type. The C standard in fact states that the behavior of << is undefined in that case. The loop was rewritten to use single-bit shifts.
* Clean up examples/gzlog.[ch] comparisons of different types.Mark Adler2012-08-182-7/+9
|
* Clean up examples/gzjoin.c for z_const usage.Mark Adler2012-08-141-6/+7
|
* Fix example/gzappend.c for proper z_const usage.Mark Adler2012-08-141-4/+5
|
* Update examples/gun.c for proper z_const usage.Mark Adler2012-08-131-5/+6
|
* Clean up the usage of z_const and respect const usage within zlib.Mark Adler2012-08-1316-70/+76
| | | | | | | | | 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.
* Fix argument checks in gzlog_compress() and gzlog_write().Mark Adler2012-07-082-7/+8
|
* Remove unused variable in infback9.c.Mark Adler2012-07-081-2/+0
|