Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-06-13 | Must use safe chunk copies due to inflateBack using the same allocation for ↵ | Nathan Moinvaziri | |
output and window. In this instance if too many bytes are written it will not correctly write matches with distances close to the window size. | |||
2021-06-11 | Version 2.0.4 | Hans 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-06-11 | [CHUNKMEMSET_SAFE] Precalculate "from". | Mika Lindqvist | |
* limit len to minimum of len and left | |||
2021-06-11 | [inflate_fast] Always use safe versions of chunkcopy and chunkmemset to ↵ | Nathan Moinvaziri | |
avoid errors with optimizations enabled. | |||
2021-06-11 | [CHUNKCOPY_SAFE] Fix off-by-one error | Mika Lindqvist | |
* When chunk size was more than 8 bytes, the comparison logic failed if safe length was one less than chunk size. | |||
2021-06-11 | fix: unterminated #elif in detect-arch.c | Ilya Kurdyukov | |
``` $ gcc detect-arch.c detect-arch.c:8:6: error: #error archfound x86_64 #error archfound x86_64 ^~~~~ detect-arch.c:7:0: error: unterminated #elif #if defined(__x86_64__) || defined(_M_X64) ``` | |||
2021-06-11 | fix: SSE42CMPSTR compiled even if WITH_SSE4=OFF | Ilya Kurdyukov | |
2021-06-08 | Added pigz tests for no threads and no optimizations. | Nathan Moinvaziri | |
2021-06-08 | Added GH-979 failure test case against for inflateBack. | Nathan Moinvaziri | |
2021-06-08 | Added CMake project for building pigz. | Nathan Moinvaziri | |
Added GitHub Actions CI for testing pigz. | |||
2021-06-04 | Move MIN() macro to zbuild.h | Mika Lindqvist | |
2021-06-04 | Use SET_BAD macro in inflateBack. | Nathan Moinvaziri | |
2021-06-02 | Replace CMAKE_CURRENT_SOURCE_DIR to CMAKE_CURRENT_LIST_DIR | Vladislav Shchapov | |
2021-05-30 | Fixed trying to uncompress after compressing in gzip direct mode which is ↵ | Nathan Moinvaziri | |
not supported by gz functions. https://oss-fuzz.com/testcase-detail/6194422837542912 | |||
2021-05-30 | Fixed gz mode for compression level not using ascii numeric value. | Nathan Moinvaziri | |
2021-05-30 | Use different fuzzer bits in example_dict_fuzzer for more input value ↵ | Nathan Moinvaziri | |
combinations. | |||
2021-05-30 | Explicitly state clang version to prevent future code coverage format ↵ | Nathan Moinvaziri | |
mismatches. | |||
2021-05-30 | Use latest version of llvm-cov 11 to prevent code coverage version mismatch ↵ | Nathan Moinvaziri | |
when using clang. | |||
2021-05-29 | Only when using Visual C++, the static library name should be "zlibstatic" | Mika Lindqvist | |
* On CygWin, MSYS and MinGW, the static library name should be "z" like on other Unix-like systems | |||
2021-05-29 | Remove unnecessary test for stdarg.h | Mika Lindqvist | |
2021-05-29 | Handle HAVE_UNISTD_H defined to 0. | Paweł Wegner | |
FFmpeg during the configure stage generates a config.h file with ``` #define HAVE_UNISTD_H 0 ``` on windows. Then somewhere in FFmpeg's code there is: ``` #include "config.h" // FFmpeg's config.h #include <zlib.h> ``` which causes zlib.h to include unistd.h on windows. It is way easier to handle the issue here than in FFmpeg. Co-authored-by: Mika Lindqvist <postmaster@raasu.org> | |||
2021-05-27 | Fix warnings in configure | Mika Lindqvist | |
* Don't assign contents of variable to itself * Quote strings containing "=" | |||
2021-05-27 | Fix build under Cygwin. | Mika Lindqvist | |
2021-05-27 | OpenBSD build fix proposal | David Carlier | |
2021-05-18 | Fix build on NetBSD | Kolby Crouch | |
2021-05-18 | Remove redundancy; apple is unix | Greg Sjaardema | |
2021-05-18 | Fix compiler detection to avoid bad mpicc match | Greg Sjaardema | |
2021-05-16 | Spelling fixes | Greg Sjaardema | |
2021-05-13 | Version 2.0.3 | Hans 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-09 | [ARM/AArch64] More thorough testing of getauxval() macros and includes | Mika Lindqvist | |
* 32-bit ARM and AArch64 use slightly different macros for CRC32 and NEON feature bits * 32-bit ARM sometimes requires asm/hwcap.h for AT_HWCAP2 | |||
2021-05-08 | upgrade links to HTTPS | Viktor 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-08 | Don't check for SSSE3 on non-x86 architectures. | Hans Kristian Rosbach | |
2021-05-06 | Fix cmake detection of risc-v (32 and 64 bit) | Vladimir Smirnov | |
Add a case to detect risc-v architectures. Fixes #941 | |||
2021-05-06 | Reintroduce Z_SOLO support for compatibility mode. | Mika Lindqvist | |
2021-05-03 | Add status messages in test-compress cmake script. | Nathan Moinvaziri | |
Change filenames used during test to make it more clear what stage they are apart of. | |||
2021-05-03 | Simplify cleaning up files in test-compress cmake script and always clean up ↵ | Nathan Moinvaziri | |
files on successful run. | |||
2021-05-03 | Create temporary files in CTest's Testing/Temporary directory and upload all ↵ | Nathan Moinvaziri | |
files as artifacts. | |||
2021-05-03 | Print differences between expected output in test-compress cmake script and ↵ | Nathan Moinvaziri | |
upload as artifacts. | |||
2021-05-02 | Decompress gzip compressed archive to a separate file to prevent corruption ↵ | Nathan Moinvaziri | |
issues on macOS. (#939) * Decompress gzip compressed archive to a separate file to prevent corruption issues on macOS. * Clean up fatal error messages in test-compress cmake script. | |||
2021-04-29 | crc: fix three conversion warnings | Aaron Boxer | |
2021-04-29 | Detect hwcap flags needed for runtime detection on ARM Linux | Josh Triplett | |
This allows us to provide useful warning messages from cmake or configure if the system headers don't provide the necessary flags to do runtime detection. | |||
2021-04-29 | Don't directly include asm/hwcap.h; fix compilation on musl aarch64 | Josh Triplett | |
sys/auxv.h includes the appropriate headers to provide the HWCAP constants, on both glibc and musl, which makes it unnecessary to include asm/hwcap.h directly. And on musl, asm/hwcap.h doesn't exist. | |||
2021-04-28 | Added Z_FIXED and direct gzip out modes to minigzip fuzzer. | Nathan Moinvaziri | |
2021-04-28 | Changed minigzip fuzzer outmode[3] to be determined based on a different ↵ | Nathan Moinvaziri | |
value then outmode[2] for better coverage. | |||
2021-04-27 | Fix cmake coverage detection requiring cmake 3.14 or newer. | Hans Kristian Rosbach | |
2021-04-27 | Fix build with LTO on GCC | Victor Westerhuis | |
2021-04-20 | Remove unnecessary malloc.h header include from minigzip and minigzip_fuzzer. | Nathan Moinvaziri | |
2021-04-14 | [ARM] Use temporary variable when loading more than 8 bits in ↵ | Mika Lindqvist | |
chunkmemset_neon(). * using memcpy() forbids optimizer to optimize away the temporary variable due to aliasing rules. | |||
2021-04-14 | Write generated files during tests to CMake's build directory using the name ↵ | Nathan Moinvaziri | |
of the test. Co-authored-by: Vladislav Shchapov <phprus@users.noreply.github.com> | |||
2021-04-09 | Changed auto-detection of float-abi support by removing triplet check in ↵ | Nathan Moinvaziri | |
favor of compilation and link test. #911 |