aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix indent in infback.c.Mark Adler2024-12-301-1/+1
|
* Reject invalid MAX_WBITS values at compile time.Mark Adler2024-11-081-1/+3
|
* Avoid attempting to redefine z_const in zconf.h.AlexisWilke2024-10-133-12/+18
|
* Add Haiku to configure for proper LDSHARED settings.Oscar Lesta2024-10-071-1/+1
|
* Repair github workflows for their updated macOS runner gcc name.Mark Adler2024-09-012-2/+2
|
* Avoid out-of-bounds pointer arithmetic in inflateCopy().Mark Adler2024-09-011-1/+1
| | | | | | | | Though it does not matter for code correctness, clang's UBSan injects code that complains about computing a pointer from an array where the result is out-of-bounds for that array, even though the pointer is never dereferenced. Go figure. This commit avoids that possibility when computing distcode in inflateCopy().
* Remove unneeded dependency on limits.h in examples/zran.c.Mark Adler2024-09-011-4/+4
|
* Avoid the use of a reserved macro name in contrib/minizip/ioapi.h.Mark Adler2024-09-011-2/+2
|
* Add old gcc ULONG_LONG_MAX macro to find a 64-bit type in zutil.h.Mark Adler2024-07-311-0/+2
|
* Add header file dependencies to contrib/minizip/Makefile.Mark Adler2024-07-311-3/+11
|
* Avoid use of stdint.h in contrib/minizip.Mark Adler2024-07-315-51/+90
|
* Avoid use of uintmax_t in enough.c.Mark Adler2024-07-291-12/+12
|
* Add required gzguts.h dependencies in Makefile.in.Meiye-lj2024-07-291-4/+6
|
* Fix test/infcover.c function prototype when ZLIB_CONST defined.Mark Adler2024-07-111-2/+2
|
* One more correction for deflateUsed() bits in stored case.Mark Adler2024-07-051-0/+2
|
* Correct used bits from deflateUsed() for deflate_stored() case.Mark Adler2024-07-051-1/+3
|
* Add deflateUsed() function to get the used bits in the last byte.Mark Adler2024-07-0117-178/+239
| | | | | This returns the number of used bits in the last byte of a stream that has just been compressed with deflate.
* Add build folder to .gitignore.Ram Shanker2024-06-281-0/+1
| | | | | | | | A library is usually expected to be built in a folder /build at its root. Whenever this repository is added as a submodule of another project and compiled, git shows all the generated files as changes. To suppress those git messages, this ignores the build folder.
* Remedy conflict between libzip and minizip zip.h.Mark Adler2024-06-041-1/+1
| | | | | | | | | | | | minizip.pc.in would add @include@/minizip to the include path, which would permit simply #include <zip.h> to use minizip. However that conflicts with the zip.h from libzip that is put in the root include directory. This now does not add /minizip to the include path. Now when using pkg-config, #include <minizip/zip.h> must be used, where #include <zip.h> would be used for libzip. This is an incompatible change with the previous state. Users of minizip and pkg-config will need to update their code. #include <unzip.h> will need to be updated to #include <minizip/unzip.h> as well.
* Correct typo in zlib.h comment.Mark Adler2024-05-161-5/+5
|
* Replace autotools macro AC_HELP_STRING with AS_HELP_STRING.Matthieu Longo2024-04-291-1/+1
| | | | In minizip's configure.ac. AC_HELP_STRING is obsolete.
* Use z_const for setting msg to literal strings.Lwisce Zeng2024-04-015-58/+58
|
* Make z_off_t 64 bits by default.Mark Adler2024-03-313-3/+3
|
* Add -fPIC to compiler options for static library build on Android.qyt2024-03-291-2/+2
|
* Avert minizip warnings for MSVC.Mark Adler2024-03-295-37/+56
|
* Avoid conversion warning on 32-bit architectures in minizip.Mark Adler2024-03-221-1/+1
|
* Use long long offsets for MinGW.Mark Adler2024-03-223-0/+6
|
* Improve detection of UNIX-style systems in minizip.Alexander Miller2024-03-164-11/+5
| | | | | | | | | | | Not all toolchains on UNIX-style operating systems predefine "unix". For example, it's missing on NetBSD, OpenBSD/gcc, AIX, HP-UX. There is no single macro defined everywhere, but checking both "__unix__" and "__unix" should cover everything except macOS, which is already checked for using "__APPLE__". Note that case sensitivity should default to off on macOS and cygwin, so the check there is different.
* Update old comment in inflate.h.Mark Adler2024-03-151-1/+1
|
* Avoid signed shift in minizip zip.c.Mark Adler2024-03-121-1/+1
|
* Improve random number seeding in skipset.h.Mark Adler2024-03-101-1/+2
|
* Add zipAlreadyThere() to minizip zip.c to help avoid duplicates.Mark Adler2024-03-103-10/+612
|
* Permit changing minizip Makefile optimization with CFLAGS.Mark Adler2024-03-091-1/+1
|
* Make deflateBound() more conservative and handle Z_STREAM_END.Mark Adler2024-03-091-4/+4
|
* Reduce Windows header inclusion to speed up compilation.Mark Adler2024-02-281-5/+10
|
* Use lseek under WinCE.Mark Adler2024-02-131-4/+2
|
* Remove conversion warning from msdos/Makefile.dj2.Mark Adler2024-02-121-1/+1
|
* Correct argument types for 64-bit combine functions.Mark Adler2024-02-112-8/+7
|
* Use 64-bit offsets in DJGPP.Mark Adler2024-02-113-15/+15
|
* Include unistd.h on DJGPP.Mark Adler2024-02-103-18/+6
|
* Add github workflow to build with all available C standards.pmqs2024-02-101-0/+208
|
* Add warnings and error on warning to configure and cmake tests.pmqs2024-02-102-2/+11
|
* Further address Microsoft deprecation warnings.Mark Adler2024-02-097-29/+45
|
* Keep lines short in gzread.c.Mark Adler2024-02-091-1/+2
|
* Avoid signedness change warning in test/minigzip.c.Mark Adler2024-02-091-1/+1
|
* Correct a variable type in deflate.c.Mark Adler2024-02-091-1/+2
|
* One more github actions version update.Mark Adler2024-02-091-1/+1
|
* Update github actions versions.Mark Adler2024-02-093-4/+4
|
* Include share.h on Windows for _SH_DENYNO.Mark Adler2024-02-091-0/+1
|
* Address Microsoft deprecation warnings.Mark Adler2024-02-086-13/+25
|