Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix configure check for veracity of compiler error return codes. | Mark Adler | 2012-06-09 | 1 | -58/+85 | |
| | | | | | | | | | | | | There were two problems before that this fixes. One was that the check for the compiler error return code preceded the determination of the compiler and its options. The other was that the checks for compiler and library characteristics could be fooled if the error options were set to reject K&R-style C. configure now aborts if the compiler produces a hard error on K&R-style C. In addition, aborts of configure are now consistent, and remove any temporary files. | |||||
* | Delete "--version" file if created by "ar --version" [Richard G.]. | Mark Adler | 2012-06-09 | 1 | -1/+1 | |
| | ||||||
* | Cleaner check for whether libtool is Apple or not on Darwin. | Mark Adler | 2012-06-09 | 1 | -1/+1 | |
| | ||||||
* | On Darwin, only use /usr/bin/libtool if libtool is not Apple. | Mark Adler | 2012-06-09 | 1 | -1/+5 | |
| | | | | | | | | | The original change was to always use /usr/bin/libtool on Darwin, in order to avoid using a GNU libtool installed by the user in the path ahead of Apple's libtool. However someone might install a more recent Apple libtool ahead of /usr/bin/libtool. This commit checks to see if libtool is Apple, and uses /usr/bin/libtool if it isn't. | |||||
* | Use _snprintf for snprintf under Microsoft C in test/minigzip.c. | Mark Adler | 2012-06-03 | 1 | -0/+4 | |
| | ||||||
* | Use _snprintf for snprinf in Microsoft C. | Mark Adler | 2012-06-03 | 1 | -0/+8 | |
| | | | | | | | | | | | More than a decade later, Microsoft C does not support the C99 standard. It's good that _snprintf has a different name, since it does not guarantee that the result is null terminated, as does snprintf. However where _snprintf is used under Microsoft C, the destination string is assured to be long enough, so this will not be a problem. This occurs in two places, both in gzlib.c. Where sprintf functionality is needed by gzprintf, vsnprintf is used in the case of Microsoft C. | |||||
* | Correct comment in deflate.h. | Mark Adler | 2012-06-02 | 1 | -1/+1 | |
| | ||||||
* | Add inflateGetDictionary() function. | Mark Adler | 2012-05-26 | 11 | -0/+59 | |
| | ||||||
* | Fix bug in 'F' mode for gzopen(). | Mark Adler | 2012-05-22 | 1 | -0/+2 | |
| | ||||||
* | Eliminate use of mktemp in Makefile (not always available). | Mark Adler | 2012-05-20 | 1 | -4/+4 | |
| | ||||||
* | Fix gzgetc undefine when Z_PREFIX set [Turk]. | Mark Adler | 2012-05-17 | 1 | -1/+5 | |
| | ||||||
* | Avoid including stddef.h on Windows for Z_SOLO compile [Niessink]. | Mark Adler | 2012-05-03 | 3 | -3/+9 | |
| | ||||||
* | Replace use of unsafe string functions with snprintf if available. | Mark Adler | 2012-05-02 | 2 | -0/+29 | |
| | | | | | | | | | | | | This avoids warnings in OpenBSD that apparently can't be turned off whenever you link strcpy, strcat, or sprintf. When snprintf isn't available, the use of the "unsafe" string functions has always in fact been safe, since the lengths are all checked before those functions are called. We do not use strlcpy or strlcat, since they are not (yet) found on all systems. snprintf on the other hand is part of the C standard library and is very common. | |||||
* | Change version number to 1.2.7.1. | Mark Adler | 2012-05-02 | 24 | -44/+47 | |
| | ||||||
* | zlib 1.2.7v1.2.7 | Mark Adler | 2012-05-02 | 4 | -5/+50 | |
| | ||||||
* | Add instructions to win32/Makefile.gcc for shared install [Torri]. | Mark Adler | 2012-05-02 | 1 | -0/+4 | |
| | ||||||
* | Force the native libtool in Mac OS X to avoid GNU libtool [Beebe]. | Mark Adler | 2012-05-01 | 1 | -1/+1 | |
| | ||||||
* | Fix the path to zlib.map in CMakeLists.txt. | Daniel Snider | 2012-04-29 | 1 | -1/+1 | |
| | ||||||
* | Fix parsing of version with "-" in CMakeLists.txt [Snider, Ziegler]. | Mark Adler | 2012-04-29 | 1 | -1/+1 | |
| | ||||||
* | Fix location of executable for finding a four-byte integer. | Mark Adler | 2012-04-29 | 1 | -1/+1 | |
| | ||||||
* | Fix type mismatch between get_crc_table() and crc_table. | Mark Adler | 2012-04-29 | 7 | -47/+120 | |
| | | | | | | | | | | | | | crc_table is made using a four-byte integer (when that can be determined). However get_crc_table() returned a pointer to an unsigned long, which could be eight bytes. This fixes that by creating a new z_crc_t type for the crc_table. This type is also used for the BYFOUR crc calculations that depend on a four-byte type. The four-byte type can now be determined by ./configure, which also solves a problem where ./configure --solo would never use BYFOUR. No the Z_U4 #define indicates that four- byte integer was found either by ./configure or by zconf.h. | |||||
* | Avoid race condition for parallel make (-j) running example. | Mark Adler | 2012-04-22 | 1 | -9/+12 | |
| | ||||||
* | Remove -R. from Solaris shared build (possible security issue). | Mark Adler | 2012-04-22 | 1 | -1/+1 | |
| | ||||||
* | Update ./configure for Solaris, support --64 [Mooney]. | Mark Adler | 2012-04-22 | 1 | -9/+22 | |
| | ||||||
* | Add more comments to configure. | Mark Adler | 2012-04-01 | 1 | -1/+33 | |
| | ||||||
* | Fix contrib/minizip compilation in the MinGW environment. | jK | 2012-03-26 | 2 | -2/+19 | |
| | ||||||
* | Remove gzflags from zlibvc.def in vc9 and vc10. | Birunthan Mohanathas | 2012-03-22 | 2 | -2/+0 | |
| | ||||||
* | Attempt to convert the wchar_t path in gzopen_w() for errors. | Mark Adler | 2012-03-18 | 1 | -3/+20 | |
| | | | | | | | The conversion to multi-byte will be locale-specific, but it's better than nothing and is only to provide more information in the error message returned by gz_error(). The conversion has no effect on what's opened. | |||||
* | Fix syntax error in gzlib.c. | Mark Adler | 2012-03-18 | 1 | -1/+1 | |
| | ||||||
* | Look in build directory for zlib.pc in CMakeLists.txt. | Peter Kuemmel | 2012-03-18 | 1 | -2/+3 | |
| | ||||||
* | More fixes for gzopen_w(). | Mark Adler | 2012-03-18 | 4 | -2/+15 | |
| | | | | | | Also need to #include <stddef.h> for zlib.h, and need to workaround the inability to use wide characters in constructed error messages with zlib's interface. | |||||
* | Fix gzopen_w() type and add #include for the type. | Mark Adler | 2012-03-17 | 3 | -2/+6 | |
| | ||||||
* | Add source directory in CMakeLists.txt for building examples. | Peter Kuemmel | 2012-03-17 | 1 | -1/+1 | |
| | ||||||
* | Rename zconf.h in CMakeLists.txt to move it out of the way. | Peter Kuemmel | 2012-03-17 | 1 | -5/+5 | |
| | ||||||
* | Add gzopen_w() in Windows for wide character path names. | Mark Adler | 2012-03-16 | 9 | -19/+55 | |
| | ||||||
* | Recognize clang as gcc. | Mark Adler | 2012-03-14 | 1 | -0/+1 | |
| | ||||||
* | Improve inflate() documentation on the use of Z_FINISH. | Mark Adler | 2012-03-14 | 1 | -8/+11 | |
| | ||||||
* | Make sure that unistd.h is included before using _LFS64_LARGEFILE. | Mark Adler | 2012-03-14 | 3 | -42/+48 | |
| | ||||||
* | Repair some damage caused by -Wundef allowance. | Mark Adler | 2012-03-14 | 3 | -15/+15 | |
| | ||||||
* | Avoid the use of the -u option with mktemp. | Mark Adler | 2012-03-14 | 1 | -2/+2 | |
| | ||||||
* | Allow the use of -Wundef when compiling or using zlib. | Mark Adler | 2012-03-13 | 4 | -21/+45 | |
| | ||||||
* | Move obsolete emx makefile to old [Truta]. | Mark Adler | 2012-03-12 | 1 | -0/+0 | |
| | ||||||
* | Remove unneeded EXTRA_CFLAGS from win32/Makefile.gcc [Truta]. | Mark Adler | 2012-03-12 | 1 | -4/+3 | |
| | ||||||
* | If using cmake with MSVC, add the source directory to the includes. | Christoph J. Thompson | 2012-03-12 | 1 | -0/+1 | |
| | | | | modified: CMakeLists.txt | |||||
* | Include version symbols for cmake builds. | Christoph J. Thompson | 2012-03-11 | 1 | -0/+3 | |
| | | | | Add a version variable so it gets added to the pkg-config file. | |||||
* | Build both a static and a shared version of zlib with cmake. | Christoph J. Thompson | 2012-03-11 | 1 | -8/+4 | |
| | ||||||
* | Generate and install the pkg-config file with cmake. | Christoph J. Thompson | 2012-03-11 | 3 | -2/+22 | |
| | ||||||
* | Allow overriding the default install locations for cmake. | Christoph J. Thompson | 2012-03-11 | 1 | -5/+10 | |
| | ||||||
* | Update copyright years in gzlib.c. | Mark Adler | 2012-03-10 | 1 | -1/+1 | |
| | ||||||
* | Fix comments in win32/Makefile.gcc for proper usage. | Mark Adler | 2012-03-10 | 1 | -8/+7 | |
| |