summaryrefslogtreecommitdiff
path: root/zlib.h
AgeCommit message (Collapse)Author
2021-12-24Version 2.0.6Hans Kristian Rosbach
- Fix hangs on macOS #1031 - Fix minideflate write buffers being overwritten #1060 - Fix deflateBound and compressBound returning too small size estimates #1049 #1071 - Fix incorrect function declaration warning #1080 - Fix build problems when building outside of source dir #1049 - Fix build problems on arm2-7 #1030 - Fixed some compile warnings #1020 #1036 #1037 #1048 - Improved posix memalign support #888 - Improvements to testing #637 #1026 #1032 #1035 #1049 #1051 #1056 #1063 #1067 #1079 - Improvements for integration into other projects #1022 #1042 - Code style fixes #637 #1040 #1050 #1075
2021-08-11Fix Z_SOLO modeBernhard Rosenkränzer
Without this patch, #include <zlib.h> with Z_SOLO defined (e.g. while building perl 5.34.0) fails because of use of undefined types.
2021-06-25Version 2.0.5Hans Kristian Rosbach
- Fix inflate corruption on aarch64 #1008 - Fix MSVC warnings #1002 #1013 - Minor chunkset improvements #1000 #994 #1015 - Minor cleanup #997 - Add CI test for pigz on aarch64 #1004 - Cmake improvements #996
2021-06-11Version 2.0.4Hans Kristian Rosbach
- Fix inflate corruption #982 - Minor code cleanup #983 #984 - Fix mpicc compilation #959 - Fix build on NetBSD #964 - Fix build on OpenBSD #970 - Fix build on Cygwin #972 #974 - Fix linter warnings in configure #975 - Spelling fixes #961 - Improve unistd.h handling #960 - Remove stdarg.h detection #976 - CI/Test improvements #977 #981 #985 - Cmake improvements #980 #989
2021-05-16Spelling fixesGreg Sjaardema
2021-05-13Version 2.0.3Hans Kristian Rosbach
- Include porting guide in release packages #917 - Documentation improvements #913 #949 - Added Windows ARM binaries in release packages #916 - Fix crash on ARMv7 #927 - Fix building on FreeBSD #921 - Fix building with musl on aarch64 #936 #952 - Fix ARM float-abi detection #918 - Fix cmake detection of risc-v architectures #942 - Minor buildsystem fixes #922 #924 #933 #938 #950 - Improve zlib-compat build #915 #944 - CI/Test improvements #926 #929 #927 #937 #939 #940
2021-05-08upgrade links to HTTPSViktor Szakats
http://infozip.sourceforge.net/ is sadly not having HTTPS access enabled. Shoutout to somebody with admin access for this project: It would be nice to enable it and thus allowing secure access to these pages via https://infozip.sourceforge.io/ . The option has been there for a while now: https://sourceforge.net/blog/introducing-https-for-project-websites/ also: - follow permanent redirects - add ending slashes
2021-05-06Reintroduce Z_SOLO support for compatibility mode.Mika Lindqvist
2021-04-08Fix build if -D_FILE_OFFSET_BITS=64 is set manually.Mika Lindqvist
2021-03-23Version 2.0.2Hans Kristian Rosbach
2021-03-18Added preprocessor error guards to ensure proper library usage.Nathan Moinvaziri
2021-03-17Version 2.0.1 - HotfixHans Kristian Rosbach
2021-03-16Stable release 2.0.0Hans Kristian Rosbach
2021-02-03Explicitly note that the 32-bit check values are 32 bits.Mark Adler
2021-02-03Clarify gz* function interfaces, referring to parameter names.Mark Adler
2021-01-29Version 2.0.0 Release Candidate 2Hans Kristian Rosbach
2021-01-11Version 2.0.0 Release Candidate 1Hans Kristian Rosbach
2020-08-31Rename ZEXPORT and ZEXTERN for consistency.Nathan Moinvaziri
2020-08-23Reintroduce support for ZLIB_CONST in compat mode. (#704)Mika Lindqvist
* Reintroduce support for ZLIB_CONST in compat mode.
2020-08-20zlib.h: Use unsigned long for totals, for compatibility with zlib on 64-bit ↵Josh Triplett
Windows Stock zlib uses unsigned long for total_in and total_out. On 64-bit Windows, that isn't the same as size_t.
2020-08-14Style cleanup.Mika Lindqvist
* Remove space between function name and opening parenthesis * Remove space closing parenthesis of cast and variable name
2020-08-14Fix signature of crc32_combine(), crc32_combine64() and crc32_z() in compat ↵Mika Lindqvist
mode.
2020-08-02Style cleanup.Mika Lindqvist
* Remove space between function name and opening parenthesis * Remove space closing parenthesis of cast and variable name
2020-08-02Fix signature of adler32(), adler32_combine(), adler32_combine64() and ↵Mika Lindqvist
adler32_z() in compat mode. * See #700
2020-06-08For gzseek, gzoffset, gzopen, adler32_combine, crc32_combine and ↵Nathan Moinvaziri
crc32_combine_gen, export 32-bit and 64-bit versions for zlib-compatible api and only 64-bit version (without 64 suffix) for zlib-ng native api.
2020-06-08Clean up windows defines, use _WIN32Pavel P
+ replaced WIN32 with _WIN32 + removed unused WINDOWS/_WINDOWS defines + no need to test for __MINGW__, as _WIN32 is also defined
2020-02-07Fixed formatting, 4 spaces for code intent, 2 spaces for preprocessor ↵Nathan Moinvaziri
indent, initial function brace on the same line as definition, removed extraneous spaces and new lines.
2019-11-26Compatibility fix for crc32()Mika Lindqvist
* Use "unsigned long" externally instead of "uint32_t" for crc * Use "unsigned int" externally instead of "uint32_t" for len Fixes #483
2019-08-08Remove BUILDFIXED and MAKEFIXED. (#375)Hans Kristian Rosbach
Remove BUILDFIXED support. Split out MAKEFIXED into a separate 'makefixed' util that is easy to use if we want to regenerate/verify inffixed.h.
2019-01-15Permit a deflateParams() parameter change as soon as possible.Mark Adler
This commit allows a parameter change even if the input data has not all been compressed and copied to the application output buffer, so long as all of the input data has been compressed to the internal pending output buffer. This also allows an immediate deflateParams change so long as there have been no deflate calls since initialization or reset.
2018-12-21Cygwin does not have _wopen(), so do not create gzopen_w() there.Mark Adler
2018-12-13Correct the initialization requirements for deflateInit2().Mark Adler
2018-12-12Emphasize the need to continue decompressing gzip members.Mark Adler
2018-12-08Add crc32_combine_gen() and crc32_combine_op() for fast combines.Mark Adler
When the same len2 is used repeatedly, it is faster to use crc32_combine_gen() to generate an operator, that is then used to combine CRCs with crc32_combine_op().
2018-10-30Update zlib.hmike
2018-02-16[compat] Don't check for ZLIB_COMPATMika Lindqvist
* ZLIB_COMPAT is always implied if using zlib.h * Revert z_stream->adler to "unsigned long" to enforce correct alignment of struct members
2018-02-16[compat] Use unsigned long for size parameters of ↵Mika Lindqvist
compress/compressBound/uncompress
2018-02-16Assume WITH_GZFILEOP is defined when compatibility mode is enabled.Mika Lindqvist
2017-10-29Update zlib.hMika Lindqvist
Fix compiler warning and spelling mistake
2017-08-17ZLIB_COMPAT: add an extra 32 bits of padding in z_streamR.J.V. Bertin
zlib "stock" uses an "uLong" for zstream::adler, meaning 4 bytes in 64 bit bits. The padding makes zlib-ng a drop-in replacement for libz; without, the deflateInit2_() function returns a version error when called from dependents that were built against "stock" zlib. Committed from host : Portia.local
2017-02-13zlib 1.2.11Mark Adler
2017-02-13Permit immediate deflateParams changes before any deflate input.Mark Adler
This permits deflateParams to change the strategy and level right after deflateInit, without having to wait until a header has been written. The parameters can be changed immediately up until the first deflate call that consumes any input data.
2017-02-09Minor edits and clarifications of comments.Mark Adler
2017-02-09zlib 1.2.9Mark Adler
2017-02-09Add crc32_z() and adler32_z() functions with size_t lengths.Mark Adler
2017-02-07Fix typo from 'Add deflateGetDictionary() function' causing compilation failure.Hans Kristian Rosbach
2017-02-06Add deflateGetDictionary() function.Hans Kristian Rosbach
Per request, but its utility is likely to be very limited. See the comments in zlib.h. Based on upstream ee7d7b5dda25c111e61e19ac7b476c26aa6f3020
2017-02-06Avoid use of DEBUG macro -- change to ZLIB_DEBUG.Mark Adler
2017-02-06Add gzfwrite(), duplicating the interface of fwrite().Mark Adler
2017-02-06Add gzfread(), duplicating the interface of fread().Hans Kristian Rosbach
Based on upstream commit 44dfd831d24f9b627ab666cf0973b0dce98fabba