Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| 51b7f2ab | 2024-01-22 10:14:31 | zlib 1.3.1 | ||
| 3f635df9 | 2024-01-17 18:20:32 | Remove unused Z_ARG macro. | ||
| 9b962a45 | 2023-04-17 13:59:18 | No include file is needed for __int64 type on Windows. | ||
| fa8cd50a | 2023-01-25 21:00:52 | Make z_size_t 64 bits when compiling on Windows with Z_SOLO. Z_SOLO defines z_size_t as an unsigned long. However Windows and MinGW-w64 are LLP64, where a long is 32 bits, but a size_t is 64 bits. This makes z_size_t, used by adler32_z() and crc32_z(), 64 bits on those systems. | ||
| 19f85516 | 2022-10-09 17:32:50 | Don't try to include unistd.h on Windows with LLVM. | ||
| 3e4aa458 | 2022-10-03 08:53:42 | Add new crc32 functions to z_ prefix defines. | ||
| 456775ae | 2022-10-03 08:47:03 | Add WIN32_LEAN_AND_MEAN for windows.h include. | ||
| 2fa463ba | 2016-12-31 11:41:31 | zlib 1.2.9 | ||
| 61b91f27 | 2016-12-31 16:41:36 | Make z_size_t unsigned long for non-standard C. Also declare z_size_t when compiling solo. | ||
| cca27e95 | 2016-12-31 10:03:09 | Avoid the need for ssize_t. Limit read() and write() requests to sizes that fit in an int. This allows storing the return value in an int, and avoiding the need to use or construct an ssize_t type. This is required for Microsoft C, whose _read and _write functions take an unsigned request and return an int. | ||
| f3fcb92c | 2016-12-30 23:40:43 | Use intptr_t for z_ssize_t on MSVC. | ||
| 50dca6d1 | 2016-12-30 18:18:48 | Fix init macros to use z_ prefix when requested. | ||
| 3f8c7687 | 2016-12-04 16:50:49 | Fix compile option for when z_size_t needs to be a long long. | ||
| ca50ebd4 | 2016-12-03 10:27:14 | Create z_size_t and z_ssize_t types. Normally these are set to size_t and ssize_t. But if they do not exist, then they are set to the smallest integer type that can contain a pointer. size_t is unsigned and ssize_t is signed. | ||
| 001300d0 | 2016-11-14 10:19:25 | Minor edits to the documentation in source file contents. | ||
| 3fb251b3 | 2016-09-21 20:07:37 | Remove dummy structure declarations for old buggy compilers. While woolly mammoths still roamed the Earth and before Atlantis sunk into the ocean, there were C compilers that could not handle forward structure references, e.g. "struct name;". zlib dutifully provided a work-around for such compilers. That work-around is no longer needed, and, per the recommendation of a security audit of the zlib code by Trail of Bits and TrustInSoft, in support of the Mozilla Foundation, should be removed since what a compiler will do with this is technically undefined. From the report: "there is no telling what interactions the bug could have in the future with link-time optimizations and type-based alias analyses, both features that are present (but not default) in clang." | ||
| bddc968b | 2013-04-14 10:31:31 | Do not force Z_CONST for C++. 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. | ||
| 5d33c62c | 2013-04-13 15:54:03 | Change check for a four-byte type back to hexadecimal. | ||
| 0b166094 | 2013-03-24 22:46:40 | zlib 1.2.7.1 | ||
| e9f0b784 | 2013-03-24 15:18:02 | Add casts and consts to ease user conversion to C++. You would still need to run zlib2ansi on all of the *.c files. | ||
| 0aac8cf7 | 2013-03-23 23:47:15 | Clean up the addition of gzvprintf. | ||
| 03ff48cc | 2013-03-23 22:27:43 | Remove runtime check in configure for four-byte integer type. 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. | ||
| b06dee43 | 2013-03-22 18:32:37 | Add gzvprintf() as an undocumented function in zlib. The function is only available if stdarg.h is available. | ||
| a2d71e8e | 2013-02-24 00:16:24 | Fix typos in the use of _LARGEFILE64_SOURCE in zconf.h. | ||
| 5afbdaba | 2013-02-23 20:56:23 | Add _tr_flush_bits to the external symbols prefixed by --zprefix. | ||
| dca9e1d6 | 2012-05-26 10:37:17 | Add inflateGetDictionary() function. | ||
| 3a8e3bd9 | 2012-05-03 21:23:45 | Avoid including stddef.h on Windows for Z_SOLO compile [Niessink]. | ||
| 6c9bd474 | 2012-04-29 16:18:12 | Fix type mismatch between get_crc_table() and crc_table. 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. | ||
| 8e16df2c | 2012-03-18 09:29:44 | More fixes for gzopen_w(). 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. | ||
| dbe0bed7 | 2012-03-16 20:53:09 | Add gzopen_w() in Windows for wide character path names. | ||
| 50a1738f | 2012-03-14 10:30:41 | Make sure that unistd.h is included before using _LFS64_LARGEFILE. | ||
| b18595d4 | 2012-03-14 09:18:15 | Repair some damage caused by -Wundef allowance. | ||
| 8dc21b17 | 2012-03-13 23:19:38 | Allow the use of -Wundef when compiling or using zlib. | ||
| 80f3e39e | 2012-02-20 09:24:30 | Avoid using __int64 for gcc or solo compilation. | ||
| d63c8880 | 2012-02-18 23:11:49 | Use __WATCOMC__ instead of __WATCOM__. | ||
| 10fca844 | 2012-02-18 15:21:13 | Include unistd.h for Watcom C. | ||
| d81e7213 | 2012-02-18 14:10:20 | Restore gzgetc_ for backward compatibility with 1.2.6. | ||
| 455adc30 | 2012-02-13 23:34:48 | Expunge gzgetc_ from configuration files. | ||
| 94acb3c1 | 2012-02-12 14:11:48 | zlib 1.2.6.1 | ||
| 55b8b5fe | 2012-02-01 23:25:34 | Put gzflags() functionality back in zutil.c. gzflags() was put in gzwrite.c in order to be compiled exactly the same as gzprintf(), so that it was guaranteed to return the correct information. However that causes a static linkage to zlib to bring in many routines that are often not used. All that is required to duplicate the compilation environment of gzprintf() is to include gzguts.h. So that is now done in zutil.c to assure that the correct flags are returned. | ||
| a8d23bb6 | 2012-02-01 22:41:52 | Include gz_header definition when compiling zlib solo. | ||
| afe7cf78 | 2011-12-07 23:57:37 | Enable dictionary setting in middle of stream, and keeping the dictionary. This patch adds the deflateResetKeep() function to retain the sliding window for the next deflate operation, and fixes an inflateResetKeep() problem that came from inflate() not updating the window when the stream completed. This enables constructing and decompressing a series of concatenated deflate streams where each can depend on the history of uncompressed data that precedes it. This generalizes deflateSetDictionary() and inflateSetDictionary() to permit setting the dictionary in the middle of a stream for raw deflate and inflate. This in combination with the Keep functions enables a scheme for updating files block by block with the transmission of compressed data, where blocks are sent with deflateResetKeep() to retain history for better compression, and deflateSetDictionary() is used for blocks already present at the receiver to skip compression but insert that data in the history, again for better compression. The corresponding inflate calls are done on the receiver side. | ||
| 6715208b | 2011-11-13 13:35:02 | Change ON macro to Z_ARG to avoid application conflicts. Using "ON" was a dumb idea, since it is common to have macros with names like ON and OFF. In fact, defining the OF macro back in 1995 was a bad idea, but now we're stuck with it. Attempts to rename OF to something else breaks many applications. | ||
| 5ab9f477 | 2011-10-18 23:05:37 | Add #define ZLIB_CONST option to use const in the z_stream interface. This permits compilers to check for the proper treatment of next_in and msg in the z_stream structure. This is an option instead of the default in order to preserve backward compatibility. Some applications make use of the z_stream structure outside of zlib, and perform operations such as free(strm->next_in), which would not be permitted when next_in is const. The #define ZLIB_CONST needs to precede the #include "zlib.h">, in order to make next_in and msg const pointers in the z_stream type. | ||
| 77b47d55 | 2011-10-07 23:00:42 | Add undocumented inflateResetKeep() function for CAB file decoding. The Microsoft CAB file format compresses each block with completed deflate streams that depend on the sliding window history of the previous block in order to decode. inflateResetKeep() does what inflateReset() does, except the sliding window history from the previous inflate operation is retained. | ||
| f442c1e8 | 2011-10-07 01:57:07 | Add a ./config --solo option to make zlib subset with no libary use 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. | ||
| 00c836e3 | 2011-10-02 11:15:00 | Merge vestigial vsnprintf determination from zutil.h to gzguts.h. 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. | ||
| 34538d8a | 2011-10-01 10:19:36 | Include zconf.h.cmakein for windows large file support. | ||
| 10daf0d4 | 2011-09-11 11:04:49 | zlib 1.2.5.1 | ||
| 73014202 | 2011-09-09 23:34:55 | zlib 1.2.4.5 | ||
| a7d70663 | 2011-09-09 23:34:45 | zlib 1.2.4.4 | ||
| f4498bea | 2011-09-09 23:34:38 | zlib 1.2.4.3 | ||
| 7147f24c | 2011-09-09 23:34:30 | zlib 1.2.4.2 | ||
| 05d47d26 | 2011-09-09 23:34:22 | zlib 1.2.4.1 | ||
| 67cc20d0 | 2011-09-09 23:32:36 | zlib 1.2.4-pre1 |