Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add deflateUsed() function to get the used bits in the last byte. | Mark Adler | 2024-07-01 | 17 | -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 Shanker | 2024-06-28 | 1 | -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 Adler | 2024-06-04 | 1 | -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 Adler | 2024-05-16 | 1 | -5/+5 |
| | |||||
* | Replace autotools macro AC_HELP_STRING with AS_HELP_STRING. | Matthieu Longo | 2024-04-29 | 1 | -1/+1 |
| | | | | In minizip's configure.ac. AC_HELP_STRING is obsolete. | ||||
* | Use z_const for setting msg to literal strings. | Lwisce Zeng | 2024-04-01 | 5 | -58/+58 |
| | |||||
* | Make z_off_t 64 bits by default. | Mark Adler | 2024-03-31 | 3 | -3/+3 |
| | |||||
* | Add -fPIC to compiler options for static library build on Android. | qyt | 2024-03-29 | 1 | -2/+2 |
| | |||||
* | Avert minizip warnings for MSVC. | Mark Adler | 2024-03-29 | 5 | -37/+56 |
| | |||||
* | Avoid conversion warning on 32-bit architectures in minizip. | Mark Adler | 2024-03-22 | 1 | -1/+1 |
| | |||||
* | Use long long offsets for MinGW. | Mark Adler | 2024-03-22 | 3 | -0/+6 |
| | |||||
* | Improve detection of UNIX-style systems in minizip. | Alexander Miller | 2024-03-16 | 4 | -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 Adler | 2024-03-15 | 1 | -1/+1 |
| | |||||
* | Avoid signed shift in minizip zip.c. | Mark Adler | 2024-03-12 | 1 | -1/+1 |
| | |||||
* | Improve random number seeding in skipset.h. | Mark Adler | 2024-03-10 | 1 | -1/+2 |
| | |||||
* | Add zipAlreadyThere() to minizip zip.c to help avoid duplicates. | Mark Adler | 2024-03-10 | 3 | -10/+612 |
| | |||||
* | Permit changing minizip Makefile optimization with CFLAGS. | Mark Adler | 2024-03-09 | 1 | -1/+1 |
| | |||||
* | Make deflateBound() more conservative and handle Z_STREAM_END. | Mark Adler | 2024-03-09 | 1 | -4/+4 |
| | |||||
* | Reduce Windows header inclusion to speed up compilation. | Mark Adler | 2024-02-28 | 1 | -5/+10 |
| | |||||
* | Use lseek under WinCE. | Mark Adler | 2024-02-13 | 1 | -4/+2 |
| | |||||
* | Remove conversion warning from msdos/Makefile.dj2. | Mark Adler | 2024-02-12 | 1 | -1/+1 |
| | |||||
* | Correct argument types for 64-bit combine functions. | Mark Adler | 2024-02-11 | 2 | -8/+7 |
| | |||||
* | Use 64-bit offsets in DJGPP. | Mark Adler | 2024-02-11 | 3 | -15/+15 |
| | |||||
* | Include unistd.h on DJGPP. | Mark Adler | 2024-02-10 | 3 | -18/+6 |
| | |||||
* | Add github workflow to build with all available C standards. | pmqs | 2024-02-10 | 1 | -0/+208 |
| | |||||
* | Add warnings and error on warning to configure and cmake tests. | pmqs | 2024-02-10 | 2 | -2/+11 |
| | |||||
* | Further address Microsoft deprecation warnings. | Mark Adler | 2024-02-09 | 7 | -29/+45 |
| | |||||
* | Keep lines short in gzread.c. | Mark Adler | 2024-02-09 | 1 | -1/+2 |
| | |||||
* | Avoid signedness change warning in test/minigzip.c. | Mark Adler | 2024-02-09 | 1 | -1/+1 |
| | |||||
* | Correct a variable type in deflate.c. | Mark Adler | 2024-02-09 | 1 | -1/+2 |
| | |||||
* | One more github actions version update. | Mark Adler | 2024-02-09 | 1 | -1/+1 |
| | |||||
* | Update github actions versions. | Mark Adler | 2024-02-09 | 3 | -4/+4 |
| | |||||
* | Include share.h on Windows for _SH_DENYNO. | Mark Adler | 2024-02-09 | 1 | -0/+1 |
| | |||||
* | Address Microsoft deprecation warnings. | Mark Adler | 2024-02-08 | 6 | -13/+25 |
| | |||||
* | Fix broken links. | Justin Dhillon | 2024-02-07 | 6 | -579/+579 |
| | |||||
* | Correct printf formats in test/infcover.c to %zu. | Mark Adler | 2024-02-07 | 1 | -3/+3 |
| | |||||
* | Expand on the deflate strategy parameter in zlib.h. | Mark Adler | 2024-02-07 | 1 | -12/+15 |
| | |||||
* | Assume no snprintf() or vsnprintf() if C89/90 in gzguts.h. | Mark Adler | 2024-02-06 | 1 | -19/+14 |
| | | | | | | Those functions were introduced in C99. However it is assumed that they are there if under Windows, since Visual C claims C89/90, but does have those functions, or variants. | ||||
* | Avoid use of snprintf() in test/minigzip.c. | Mark Adler | 2024-02-06 | 1 | -29/+27 |
| | | | | | It was being used only as a safe version of strcpy(). Instead, use a safe alternative to strcpy(). | ||||
* | Use _POSIX_C_SOURCE in gzguts.h, instead of _POSIX_SOURCE. | Mark Adler | 2024-02-06 | 1 | -2/+2 |
| | |||||
* | Enable fileno() for POSIX system in minigzip.c. | Paul Marquess | 2024-02-05 | 1 | -0/+4 |
| | |||||
* | Update zran version. | Mark Adler | 2024-02-04 | 2 | -4/+8 |
| | |||||
* | Allocate the dictionaries in examples/zran.c. | Mark Adler | 2024-02-04 | 2 | -22/+27 |
| | | | | | This reduces the memory needed for dictionaries, and avoids the need to reallocate the index at the end to return unused memory. | ||||
* | Provide a reusable inflate engine in the index in example/zran.c. | Mark Adler | 2024-02-04 | 2 | -76/+78 |
| | | | | | Avoids the overhead of creating a new inflate engine for each random access extraction. | ||||
* | Stop decoding in zran.c once request is satisfied. | Mark Adler | 2024-02-04 | 1 | -2/+6 |
| | |||||
* | Set returned index to NULL on an index build error in zran.c. | Mark Adler | 2024-02-04 | 2 | -1/+5 |
| | | | | | | An attempt to use the returned pointer in deflate_index_extract() will now return cleanly with an error. The returned pointer can now also be used with deflate_index_free() even on error. | ||||
* | Fix cmake build directory interference issue. | Mark Adler | 2024-01-28 | 1 | -2/+6 |
| | |||||
* | Fix version numbers in vstudio definition files. | Mark Adler | 2024-01-28 | 6 | -6/+6 |
| | | | | They can only have a major and a minor version. | ||||
* | Update copyright years in LICENSE file. | Mark Adler | 2024-01-24 | 1 | -1/+1 |
| | |||||
* | Enable build of shared library on AIX. | Aleksei Shpakovskii | 2024-01-23 | 1 | -0/+1 |
| |