Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reject invalid MAX_WBITS values at compile time. | Mark Adler | 2024-11-08 | 1 | -1/+3 |
| | |||||
* | Add old gcc ULONG_LONG_MAX macro to find a 64-bit type in zutil.h. | Mark Adler | 2024-07-31 | 1 | -0/+2 |
| | |||||
* | Correct argument types for 64-bit combine functions. | Mark Adler | 2024-02-11 | 1 | -5/+4 |
| | |||||
* | Improve portability to RISC OS. | Cameron Cawley | 2024-01-23 | 1 | -1/+1 |
| | |||||
* | zlib 1.3.1v1.3.1master | Mark Adler | 2024-01-22 | 1 | -1/+1 |
| | |||||
* | Remove fdopen #defines in zutil.h. | Mark Adler | 2024-01-13 | 1 | -22/+1 |
| | | | | fdopen() is not used by zlib anymore. The #defines are vestigial. | ||||
* | Add bounds checking to ERR_MSG() macro, used by zError(). | Mark Adler | 2024-01-13 | 1 | -1/+1 |
| | |||||
* | Remove K&R function definitions from zlib. | Mark Adler | 2023-04-15 | 1 | -10/+10 |
| | | | | | | | 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. | ||||
* | Provide missing function prototypes in CRC-32 code. [fredgan] | Mark Adler | 2022-10-06 | 1 | -0/+1 |
| | |||||
* | zlib 1.2.12v1.2.12 | Mark Adler | 2022-03-27 | 1 | -1/+1 |
| | |||||
* | Eliminate use of ULL constants. | Mark Adler | 2022-03-27 | 1 | -3/+3 |
| | | | | | | 0xffffffffffffffffULL was causing warnings for C99 usage. The suffix for the constant is not necessary anyway, so this commit removes them. | ||||
* | Speed up software CRC-32 computation by a factor of 1.5 to 3. | Mark Adler | 2018-12-26 | 1 | -0/+11 |
| | | | | | | | | Use the interleaved method of Kadatch and Jenkins in order to make use of pipelined instructions through multiple ALUs in a single core. This also speeds up and simplifies the combination of CRCs, and updates the functions to pre-calculate and use an operator for CRC combination. | ||||
* | Avoid the use of ptrdiff_t. | Mark Adler | 2017-06-03 | 1 | -8/+0 |
| | | | | | | | | | | | | | | | | | This isn't the right type anyway to assure that it contains a pointer. That type would be intptr_t or uintptr_t. However the C99 standard says that those types are optional, so their use would not be portable. This commit simply uses size_t or whatever configure decided to use for size_t. That would be the same length as ptrdiff_t, and so will work just as well. The code checks to see if the length of the type used is the same as the length of a void pointer, so there is already protection against the use of the wrong type. The use of size_t (or ptrdiff_t) will almost always work, as all modern architectures have an array size that is the same as the pointer size. Only old segmented architectures would have to fall back to the slower CRC-32 calculation, where the amount of memory that can be accessed is larger than the maximum array size. | ||||
* | zlib 1.2.9v1.2.9 | Mark Adler | 2016-12-31 | 1 | -1/+1 |
| | |||||
* | Clean up and comment the use of local for static. | Mark Adler | 2016-10-26 | 1 | -1/+3 |
| | |||||
* | Make a noble effort at setting OS_CODE correctly. | Mark Adler | 2016-10-25 | 1 | -14/+30 |
| | | | | | | | | This updates the OS_CODE determination at compile time to match as closely as possible the operating system mappings documented in the PKWare APPNOTE.TXT version 6.3.4, section 4.4.2.2. That byte in the gzip header is used by nobody for anything, as far as I can tell. However we might as well try to set it appropriately. | ||||
* | Avoid use of DEBUG macro -- change to ZLIB_DEBUG. | Mark Adler | 2015-07-28 | 1 | -1/+1 |
| | |||||
* | zlib 1.2.7.1v1.2.7.1 | Mark Adler | 2013-03-24 | 1 | -1/+1 |
| | |||||
* | Line length cleanup. | Mark Adler | 2013-03-24 | 1 | -1/+2 |
| | |||||
* | Clean up the usage of z_const and respect const usage within zlib. | Mark Adler | 2012-08-13 | 1 | -2/+2 |
| | | | | | | | | | 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. | ||||
* | Simplify test and use of gcc hidden attribute. | Mark Adler | 2012-03-03 | 1 | -1/+1 |
| | |||||
* | Don't use library or built-in byte swaps. | Mark Adler | 2012-03-03 | 1 | -13/+2 |
| | | | | | | | Using optimized byte swaps reduced portability for no real benefit, since they are in parts of the code that represent a tiny fraction of the execution time. So a simple definition of a byte swap is now used. | ||||
* | 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 |
| | |||||
* | Remove unnecessary include for byte swap built-in [Bosmans]. | Mark Adler | 2012-02-13 | 1 | -1/+0 |
| | |||||
* | Don't use built-in byte swaps if compiled solo. | Mark Adler | 2012-02-12 | 1 | -9/+12 |
| | |||||
* | zlib 1.2.6.1v1.2.6.1 | Mark Adler | 2012-02-12 | 1 | -2/+2 |
| | |||||
* | Use optimized byte swap operations for Microsoft and GNU [Snyder]. | Mark Adler | 2012-02-11 | 1 | -0/+13 |
| | |||||
* | zlib 1.2.5.2v1.2.5.2 | Mark Adler | 2011-12-18 | 1 | -1/+1 |
| | |||||
* | Facilitate compilation with Borland C++ for pragmas and vsnprintf. | Mark Adler | 2011-11-19 | 1 | -1/+1 |
| | |||||
* | Add a ./config --solo option to make zlib subset with no libary use | Mark Adler | 2011-10-07 | 1 | -21/+30 |
| | | | | | | | | A common request has been the ability to compile zlib to require no other libraries. This --solo option provides that ability. The price is that the gz*, compress*, and uncompress functions are eliminated, and that the user must provide memory allocation and free routines to deflate and inflate when initializing. | ||||
* | Merge vestigial vsnprintf determination from zutil.h to gzguts.h. | Mark Adler | 2011-10-02 | 1 | -35/+0 |
| | | | | | | | | | 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. | ||||
* | Always add large file support for windows | Tor Lillqvist | 2011-10-01 | 1 | -1/+1 |
| | |||||
* | zlib 1.2.4.5v1.2.4.5 | Mark Adler | 2011-09-09 | 1 | -8/+14 |
| | |||||
* | zlib 1.2.4.3v1.2.4.3 | Mark Adler | 2011-09-09 | 1 | -7/+1 |
| | |||||
* | zlib 1.2.4.2v1.2.4.2 | Mark Adler | 2011-09-09 | 1 | -8/+4 |
| | |||||
* | zlib 1.2.4.1v1.2.4.1 | Mark Adler | 2011-09-09 | 1 | -20/+11 |
| | |||||
* | zlib 1.2.4v1.2.4 | Mark Adler | 2011-09-09 | 1 | -1/+1 |
| | |||||
* | zlib 1.2.3.6v1.2.3.6 | Mark Adler | 2011-09-09 | 1 | -4/+4 |
| | |||||
* | zlib 1.2.3.5v1.2.3.5 | Mark Adler | 2011-09-09 | 1 | -15/+17 |
| | |||||
* | zlib 1.2.3.4v1.2.3.4 | Mark Adler | 2011-09-09 | 1 | -0/+6 |
| | |||||
* | zlib 1.2.3.3v1.2.3.3 | Mark Adler | 2011-09-09 | 1 | -0/+6 |
| | |||||
* | zlib 1.2.3.2v1.2.3.2 | Mark Adler | 2011-09-09 | 1 | -0/+6 |
| | |||||
* | zlib 1.2.3.1v1.2.3.1 | Mark Adler | 2011-09-09 | 1 | -6/+4 |
| | |||||
* | zlib 1.2.2.4v1.2.2.4 | Mark Adler | 2011-09-09 | 1 | -0/+3 |
| | |||||
* | zlib 1.2.2.3v1.2.2.3 | Mark Adler | 2011-09-09 | 1 | -3/+7 |
| | |||||
* | zlib 1.2.2.2v1.2.2.2 | Mark Adler | 2011-09-09 | 1 | -9/+8 |
| | |||||
* | zlib 1.2.2.1v1.2.2.1 | Mark Adler | 2011-09-09 | 1 | -1/+1 |
| | |||||
* | zlib 1.2.1.2v1.2.1.2 | Mark Adler | 2011-09-09 | 1 | -1/+6 |
| |