aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix cast in minizip's ioapi.c for Windows.Mark Adler2023-04-171-1/+1
|
* No include file is needed for __int64 type on Windows.Mark Adler2023-04-173-3/+3
|
* Remove use of OF() from contrib/untgz and render it compilable.Mark Adler2023-04-151-35/+12
|
* Remove K&R function definitions from contrib/minizip.Mark Adler2023-04-1512-759/+514
|
* Remove K&R function definitions from infback9.Mark Adler2023-04-154-37/+20
|
* Remove K&R function definitions from zlib.Mark Adler2023-04-1524-1644/+931
| | | | | | | 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.
* Turn off C2X warning about deprecated K&R function syntax.Mark Adler2023-04-131-2/+2
| | | | This is a temporary workaround before excising the K&R prototypes.
* Add a NOPRIME #define to zran.c to not use inflatePrime().Mark Adler2023-04-131-2/+91
| | | | | This supports zlib versions earlier than 1.2.3 (July 2005), as well as incomplete clones of zlib that do not have inflatePrime().
* Rewrite of zran in examples. See version history in zran.c.Mark Adler2023-02-182-372/+348
|
* Assure that inflatePrime() can't shift a 32-bit integer by 32 bits.Mark Adler2023-02-171-0/+2
| | | | | | | | | The inflate() functions never leave state->bits greater than 24, so an inflatePrime() call could not cause this. The only way this could have happened would be by using inflatePrime() to fill the bit buffer with 32 bits, and then calling inflatePrime() a *second* time asking to insert zero bits, for some reason. This commit assures that a shift by 32 bits does not occur even in that case.
* Make z_size_t 64 bits when compiling on Windows with Z_SOLO.Mark Adler2023-01-253-3/+15
| | | | | | | 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.
* Update zlib_how.html to match the web page, and add a license.Mark Adler2023-01-241-11/+15
|
* Fix crash when gzsetparams() attempted for transparent write.Mark Adler2022-12-261-1/+1
| | | | gzsetparams() now returns a Z_STREAM_ERROR in this case.
* Fix bug in deflateBound() for level 0 and memLevel 9.Mark Adler2022-12-151-1/+2
| | | | | | | memLevel 9 would cause deflateBound() to assume the use of fixed blocks, even if the compression level was 0, which forces stored blocks. That could result in a bound less than the size of the compressed data. Now level 0 always uses the stored blocks bound.
* Update broken article link in README.Mark Adler2022-11-081-1/+1
| | | | Signed-off-by: Marcus Müller <mueller_sourcecodinglib@baseband.digital>
* Change version number on develop branch to 1.2.13.1.Mark Adler2022-10-1524-48/+51
|
* zlib 1.2.13v1.2.13Mark Adler2022-10-1225-52/+61
|
* CI: Add instance for GCC on Windows.Nathan Moinvaziri2022-10-111-0/+10
|
* CI: Add instances for S390X using QEMU in configure workflow.Nathan Moinvaziri2022-10-111-0/+10
|
* CI: Add instance for Clang on macOS in configure workflow.Nathan Moinvaziri2022-10-111-0/+5
|
* CI: Add instances for PPC using QEMU in configure workflow.Nathan Moinvaziri2022-10-111-0/+30
|
* CI: Run test applications against QEMU.Nathan Moinvaziri2022-10-112-4/+6
|
* CI: Add instances for ARM using QEMU in configure workflow.Nathan Moinvaziri2022-10-111-0/+31
|
* CI: Add instance for GCC -O3 on Ubuntu in cmake workflow.Nathan Moinvaziri2022-10-111-0/+6
|
* CI: Run infcover during test runs.Nathan Moinvaziri2022-10-111-1/+3
|
* CI: Upload build errors on failure.Nathan Moinvaziri2022-10-112-0/+19
|
* CI: Make in-source builds default so we can upload failure logs.Nathan Moinvaziri2022-10-112-12/+14
|
* Minor formatting changes in configure.Mark Adler2022-10-101-24/+25
| | | | No code changes.
* Fix linking on AIX with gcc.Mark Adler2022-10-101-0/+2
|
* Turn off RWX segment warnings on sparc systems.Mark Adler2022-10-102-3/+10
|
* Find other BSD's without *64 functions in contrib/minizip/ioapi.h.Mark Adler2022-10-101-1/+1
|
* Avoid C89 warning in contrib/minizip/crypt.h.Mark Adler2022-10-101-1/+1
|
* Comment out unused code in contrib/minizip/minizip.c.Mark Adler2022-10-091-2/+2
|
* Remove vestigial line from configure.Mark Adler2022-10-091-1/+0
|
* Don't try to include unistd.h on Windows with LLVM.Mark Adler2022-10-093-9/+30
|
* Search for system name in CHOST instead of trying to extract it.Mark Adler2022-10-091-5/+5
|
* Remove bypass of MinGW gcc case in configure.Mark Adler2022-10-091-3/+1
|
* Add continuous integration workflows. [nmoinvaz]Mark Adler2022-10-063-0/+133
| | | | | These workflows will be run to verify that project generation, source file compilation, and test cases run successfully.
* Add a separate LICENSE file to the distribution.Mark Adler2022-10-061-0/+22
|
* Remove some harmless semicolons in minizip.Mark Adler2022-10-062-2/+2
|
* Provide missing function prototypes in CRC-32 code. [fredgan]Mark Adler2022-10-062-3/+13
|
* Avoid undefined negation behavior if windowBits is INT_MIN.Mark Adler2022-10-062-0/+4
|
* Security and warning fixes for minizip. [gvollant]Mark Adler2022-10-062-7/+4
| | | | Remove unused code and unnecessary test for free().
* Fix incorrect cast in minizip's ioapi.c.Mark Adler2022-10-061-1/+1
|
* Fix c89 compatibility in minizip's ioapi.c. [gvollant]Mark Adler2022-10-061-10/+10
|
* Remove redundant check in gz_look().Mark Adler2022-10-061-5/+3
|
* Remove deleted assembler code references.Mark Adler2022-10-0630-615/+192
| | | | | | The code was removed, but the builds that used the code were not updated. This fixes that. Thanks to Adenilson and toxieainc for the patches.
* Remove -pedantic from configure -w compile options.Mark Adler2022-10-061-2/+2
|
* Update copyright year in win32/zlib1.rc.Mark Adler2022-10-051-1/+1
|
* Add missing symbols to os400/bndsrc.Mark Adler2022-10-051-0/+8
|