Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use generated zconf.h in cmake build.HEADdevelop | Vollstrecker | 2025-02-18 | 1 | -3/+5 |
| | | | | | This restores the inclusion of the local zconf.h (double quoted) in normal usage. | ||||
* | CMake: Clean up spaces in required versions. | Vollstrecker | 2025-01-31 | 3 | -3/+3 |
| | |||||
* | CMake: Add the tested version of cmake (3.31). | Vollstrecker | 2025-01-31 | 3 | -3/+3 |
| | | | | Per @ClausKlein suggestion. | ||||
* | CMake: Add cmake-format.yaml and reformat the cmake files. | Vollstrecker | 2025-01-31 | 4 | -158/+169 |
| | |||||
* | CMake: Re-enable Cygwin and MSYS tests. | Vollstrecker | 2025-01-31 | 1 | -1/+1 |
| | |||||
* | CMake: Add one more alias for llvm-cov. | Vollstrecker | 2025-01-31 | 1 | -0/+1 |
| | |||||
* | CMake: Refine tests. | Vollstrecker | 2025-01-31 | 4 | -49/+59 |
| | |||||
* | CMake: Increase CMake version to 3.10 for tests. | Vollstrecker | 2025-01-31 | 3 | -4/+4 |
| | | | | And correct package name to ZLIB. | ||||
* | CMake: Prefix coverage test name with zlib. | Vollstrecker | 2025-01-31 | 1 | -8/+12 |
| | |||||
* | CMake: Add inflate coverage test. | Vollstrecker | 2025-01-31 | 1 | -0/+35 |
| | |||||
* | CMake: Correct target to minizip. | Vollstrecker | 2025-01-31 | 1 | -1/+1 |
| | |||||
* | CMake: Move testing into test/CMakeLists.txt. | Vollstrecker | 2025-01-31 | 1 | -0/+73 |
| | | | | Use the right environment to find the libraries. | ||||
* | CMake: Fix parallel testing. | Vollstrecker | 2025-01-31 | 1 | -13/+16 |
| | |||||
* | CMake: Shorten test names. | Vollstrecker | 2025-01-31 | 1 | -10/+10 |
| | |||||
* | CMake: Disable MinGW and Cygwin tests. | Vollstrecker | 2025-01-31 | 1 | -3/+6 |
| | |||||
* | CMake: Pass CC and CFLAGS to the tests. | Vollstrecker | 2025-01-31 | 1 | -0/+6 |
| | |||||
* | CMake: Set the platform and configuration for the tests. | Vollstrecker | 2025-01-31 | 1 | -32/+41 |
| | |||||
* | CMake: Add more tests. | Vollstrecker | 2025-01-31 | 4 | -7/+130 |
| | |||||
* | CMake: Add test for usage with find_package. | Vollstrecker | 2025-01-31 | 2 | -0/+68 |
| | |||||
* | Fix test/infcover.c function prototype when ZLIB_CONST defined. | Mark Adler | 2024-07-11 | 1 | -2/+2 |
| | |||||
* | Further address Microsoft deprecation warnings. | Mark Adler | 2024-02-09 | 2 | -5/+12 |
| | |||||
* | Avoid signedness change warning in test/minigzip.c. | Mark Adler | 2024-02-09 | 1 | -1/+1 |
| | |||||
* | Address Microsoft deprecation warnings. | Mark Adler | 2024-02-08 | 1 | -1/+5 |
| | |||||
* | Correct printf formats in test/infcover.c to %zu. | Mark Adler | 2024-02-07 | 1 | -3/+3 |
| | |||||
* | 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(). | ||||
* | Enable fileno() for POSIX system in minigzip.c. | Paul Marquess | 2024-02-05 | 1 | -0/+4 |
| | |||||
* | Improve portability to RISC OS. | Cameron Cawley | 2024-01-23 | 2 | -5/+9 |
| | |||||
* | Correct typos in source code. | Dimitri Papadopoulos | 2024-01-17 | 1 | -1/+1 |
| | |||||
* | Make internal functions static in the test code. | Xin LI | 2023-09-03 | 2 | -27/+28 |
| | | | | To avoid warnings when building with -Wmissing-prototypes. | ||||
* | Fix test/example.c to work with FORCE_STORED. | Mark Adler | 2023-04-18 | 1 | -5/+5 |
| | |||||
* | Fix warnings on test/infcover.c. | Mark Adler | 2023-04-17 | 1 | -2/+3 |
| | |||||
* | Remove K&R function definitions from zlib. | Mark Adler | 2023-04-15 | 2 | -197/+68 |
| | | | | | | | 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. | ||||
* | Avoid conversion warning in minigzip.c. | Mark Adler | 2022-10-01 | 1 | -1/+1 |
| | |||||
* | Have build test report library version if it doesn't match zlib.h. | Mark Adler | 2022-05-26 | 1 | -1/+2 |
| | |||||
* | Don't bother computing check value after successful inflateSync(). | Mark Adler | 2019-01-02 | 1 | -3/+2 |
| | | | | | | | | | | | inflateSync() is used to skip invalid deflate data, which means that the check value that was being computed is no longer useful. This commit turns off the check value computation, and furthermore allows a successful return if the compressed data terminated in a graceful manner. This commit also fixes a bug in the case that inflateSync() is used before a header is ever processed. In that case, there is no knowledge of a trailer, so the remainder is treated as raw. | ||||
* | zlib 1.2.9v1.2.9 | Mark Adler | 2016-12-31 | 3 | -3/+3 |
| | |||||
* | Avoid some random compiler warnings on various platforms. | Mark Adler | 2016-12-30 | 2 | -5/+6 |
| | |||||
* | Allow minigzip to compile when testing with ./configure --solo. | Mark Adler | 2016-12-30 | 1 | -1/+1 |
| | |||||
* | Use snprintf() for later versions of Microsoft C. | Mark Adler | 2016-12-30 | 1 | -1/+1 |
| | |||||
* | Create z_size_t and z_ssize_t types. | Mark Adler | 2016-12-04 | 1 | -1/+1 |
| | | | | | | Normally these are set to size_t and ssize_t. But if they do not exist, then they are set to the smallest integer type that can contain a pointer. size_t is unsigned and ssize_t is signed. | ||||
* | Make globals in examples local to compilation unit. | Mark Adler | 2016-10-14 | 2 | -4/+4 |
| | |||||
* | Avoid use of reallocf() in test/infcover.c. | Mark Adler | 2015-07-28 | 1 | -8/+8 |
| | |||||
* | Fix bug in test/example.c where error code not saved. | Mark Adler | 2014-07-02 | 1 | -1/+1 |
| | |||||
* | Clean up the usage of z_const and respect const usage within zlib. | Mark Adler | 2012-08-13 | 1 | -4/+4 |
| | | | | | | | | | This patch allows zlib to compile cleanly with the -Wcast-qual gcc warning enabled, but only if ZLIB_CONST is defined, which adds const to next_in and msg in z_stream and in the in_func prototype. A --const option is added to ./configure which adds -DZLIB_CONST to the compile flags, and adds -Wcast-qual to the compile flags when ZLIBGCCWARN is set in the environment. | ||||
* | Use _snprintf for snprintf under Microsoft C in test/minigzip.c. | Mark Adler | 2012-06-03 | 1 | -0/+4 |
| | |||||
* | Replace use of unsafe string functions with snprintf if available. | Mark Adler | 2012-05-02 | 1 | -0/+16 |
| | | | | | | | | | | | | This avoids warnings in OpenBSD that apparently can't be turned off whenever you link strcpy, strcat, or sprintf. When snprintf isn't available, the use of the "unsafe" string functions has always in fact been safe, since the lengths are all checked before those functions are called. We do not use strlcpy or strlcat, since they are not (yet) found on all systems. snprintf on the other hand is part of the C standard library and is very common. | ||||
* | Fix bug in test/minigzip.c for configure --solo. | Mark Adler | 2012-03-03 | 1 | -1/+1 |
| | |||||
* | Clean up infcover.c. | Mark Adler | 2011-11-30 | 1 | -11/+9 |
| | |||||
* | Test the inflate code with full coverage. | Mark Adler | 2011-11-27 | 1 | -0/+673 |
| | | | | | | | | | Add a cover target in Makefile and the test/infcover.c test program to cover all of the code lines in the inf*.c source files. The coverage is run with memory allocation checking in order to expose memory leaks. The coverage testing is run using: ./configure --cover && make cover | ||||
* | Move example.c and minigzip.c to test/. | Mark Adler | 2011-11-27 | 2 | -0/+1232 |