Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reduce Windows header inclusion to speed up compilation. | Mark Adler | 2024-02-28 | 1 | -5/+10 |
| | |||||
* | Further address Microsoft deprecation warnings. | Mark Adler | 2024-02-09 | 1 | -8/+3 |
| | |||||
* | Include share.h on Windows for _SH_DENYNO. | Mark Adler | 2024-02-09 | 1 | -0/+1 |
| | |||||
* | Address Microsoft deprecation warnings. | Mark Adler | 2024-02-08 | 1 | -2/+7 |
| | |||||
* | Assume no snprintf() or vsnprintf() if C89/90 in gzguts.h. | Mark Adler | 2024-02-06 | 1 | -19/+14 |
| | | | | | | Those functions were introduced in C99. However it is assumed that they are there if under Windows, since Visual C claims C89/90, but does have those functions, or variants. | ||||
* | Use _POSIX_C_SOURCE in gzguts.h, instead of _POSIX_SOURCE. | Mark Adler | 2024-02-06 | 1 | -2/+2 |
| | |||||
* | zlib 1.3.1v1.3.1master | Mark Adler | 2024-01-22 | 1 | -1/+1 |
| | |||||
* | Make the existence of gz_intmax() unconditional. | Milan Bulat | 2024-01-17 | 1 | -5/+1 |
| | | | | gz_intmax() is noted in zlib.map. This assures it's always there. | ||||
* | Avoid compiler complaints if _TIME_BITS defined when building zlib. | Mark Adler | 2023-07-29 | 1 | -3/+2 |
| | | | | | | zlib does not use time_t, so _TIME_BITS is irrelevant. However it may be defined anyway as part of a sledgehammer indiscriminately applied to all builds. | ||||
* | Remove K&R function definitions from zlib. | Mark Adler | 2023-04-15 | 1 | -9/+9 |
| | | | | | | | C2X has removed K&R definitions from the C function syntax. Though the standard has not yet been approved, some high-profile compilers are now issuing warnings when such definitions are encountered. | ||||
* | zlib 1.2.12v1.2.12 | Mark Adler | 2022-03-27 | 1 | -1/+1 |
| | |||||
* | Avoid adding empty gzip member after gzflush with Z_FINISH. | Mark Adler | 2019-04-13 | 1 | -0/+1 |
| | |||||
* | Cygwin does not have _wopen(), so do not create gzopen_w() there. | Mark Adler | 2017-01-16 | 1 | -1/+1 |
| | |||||
* | zlib 1.2.9v1.2.9 | Mark Adler | 2016-12-31 | 1 | -1/+1 |
| | |||||
* | Use snprintf() for later versions of Microsoft C. | Mark Adler | 2016-12-30 | 1 | -4/+3 |
| | |||||
* | Clean up and comment the use of local for static. | Mark Adler | 2016-10-26 | 1 | -1/+3 |
| | |||||
* | Compile the gzopen_w() function when __CYGWIN__ defined. | Mark Adler | 2015-08-01 | 1 | -0/+4 |
| | |||||
* | Define _POSIX_SOURCE to enable POSIX extensions on some systems. | Mark Adler | 2015-07-28 | 1 | -0/+4 |
| | |||||
* | Improve speed of gzprintf() in transparent mode. | Mark Adler | 2015-07-05 | 1 | -1/+1 |
| | |||||
* | Add casts in gzwrite.c for pointer differences. | Mark Adler | 2013-04-13 | 1 | -1/+2 |
| | |||||
* | zlib 1.2.7.1v1.2.7.1 | Mark Adler | 2013-03-24 | 1 | -1/+1 |
| | |||||
* | Minor spacing cleanup in a comment in gzguts.h. | Mark Adler | 2013-03-24 | 1 | -1/+1 |
| | |||||
* | Use underscored I/O function names for WINAPI_FAMILY. | Mark Adler | 2013-02-23 | 1 | -0/+7 |
| | | | | Suggested by E. Timothy Uy. | ||||
* | 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. | ||||
* | Fix gzopen_w() type and add #include for the type. | Mark Adler | 2012-03-17 | 1 | -0/+4 |
| | |||||
* | Add gzopen_w() in Windows for wide character path names. | Mark Adler | 2012-03-16 | 1 | -1/+1 |
| | |||||
* | Simplify test and use of gcc hidden attribute. | Mark Adler | 2012-03-03 | 1 | -1/+1 |
| | |||||
* | Improve the detection of no hidden visibility attribute. | Mark Adler | 2012-02-19 | 1 | -2/+1 |
| | |||||
* | Do not use the visibility attribute if NO_VIZ defined. | Mark Adler | 2012-02-19 | 1 | -1/+1 |
| | |||||
* | Require gcc 4.0 or later on Mac OS X to use the hidden attribute. | Mark Adler | 2012-02-18 | 1 | -1/+2 |
| | |||||
* | Test for existence of strerror. | Mark Adler | 2012-02-18 | 1 | -1/+1 |
| | | | | | | SunOS 4.1 claims that it is __STDC__, but it does not have strerror in string.h. Instead of using __STDC__, this puts a direct test for strerror in configure, and uses that information in gzguts.h. | ||||
* | Include io.h in gzguts.h for Microsoft compilers. | Mark Adler | 2012-01-29 | 1 | -2/+1 |
| | |||||
* | zlib 1.2.6v1.2.6 | Mark Adler | 2012-01-29 | 1 | -1/+1 |
| | |||||
* | Include io.h for Turbo C / Borland C on all platforms [Truta]. | Mark Adler | 2012-01-18 | 1 | -1/+1 |
| | |||||
* | Fix gzeof() to behave just like feof() when read is not past end of file. | Mark Adler | 2011-12-11 | 1 | -2/+3 |
| | | | | | | | | Before, gzeof() would return true (accurately) when the last read request went just up to the end of the uncompressed data. In the analogous case, feof() would return false, only returning true when a read request goes past the end of the file. This patch corrects gzeof() to behave in the same way as feof(), as noted in the zlib.h documentation. | ||||
* | Fix gzwrite.c to accommodate reduced memory zlib compilation. | Mark Adler | 2011-12-10 | 1 | -0/+7 |
| | | | | | | gzwrite.c had hard-coded parameters to deflateInit2() which could contradict compile-time options for the use of less memory and fewer code bits. This patch suggested by Karsten Saunte fixes that. | ||||
* | Include io.h for Turbo C / Borland C++. | Mark Adler | 2011-11-21 | 1 | -0/+4 |
| | |||||
* | Facilitate compilation with Borland C++ for pragmas and vsnprintf. | Mark Adler | 2011-11-19 | 1 | -0/+6 |
| | |||||
* | Add a transparent write mode to gzopen() when 'T' is in the mode. | Mark Adler | 2011-10-02 | 1 | -1/+1 |
| | |||||
* | Merge vestigial vsnprintf determination from zutil.h to gzguts.h. | Mark Adler | 2011-10-02 | 1 | -3/+42 |
| | | | | | | | | | This also moves some of the same from zconf.h to gzguts.h. A new function, gzflags(), was created to pass the compilation flags related to vsnprintf usage back to zlibCompileFlags() in zutil.c. In the process, various compiler configuration files were updated to include gzflags(), as well as the new gzgetc_() function added when the gzgetc() macro was introduced in a previous patch. | ||||
* | Update copyright dates on gz* source files. | Mark Adler | 2011-09-30 | 1 | -1/+1 |
| | |||||
* | Change gzgetc() to a macro for speed (~40% speedup in testing). | Mark Adler | 2011-09-26 | 1 | -3/+5 |
| | |||||
* | Simplify gzseek() now that raw after gzip is ignored. | Mark Adler | 2011-09-26 | 1 | -1/+0 |
| | |||||
* | zlib 1.2.4.5v1.2.4.5 | Mark Adler | 2011-09-09 | 1 | -4/+8 |
| | |||||
* | zlib 1.2.4.3v1.2.4.3 | Mark Adler | 2011-09-09 | 1 | -11/+5 |
| | |||||
* | zlib 1.2.4.2v1.2.4.2 | Mark Adler | 2011-09-09 | 1 | -2/+10 |
| | |||||
* | zlib 1.2.4.1v1.2.4.1 | Mark Adler | 2011-09-09 | 1 | -11/+5 |
| | |||||
* | zlib 1.2.4v1.2.4 | Mark Adler | 2011-09-09 | 1 | -1/+1 |
| | |||||
* | zlib 1.2.3.8v1.2.3.8 | Mark Adler | 2011-09-09 | 1 | -0/+11 |
| | |||||
* | zlib 1.2.3.7v1.2.3.7 | Mark Adler | 2011-09-09 | 1 | -4/+10 |
| |