Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix decision on the emission of Zip64 end records in minizip. | Mark Adler | 2023-11-07 | 1 | -1/+1 |
| | | | | | | | | | | The appnote says that if the number of entries in the end record is 0xffff, then the actual number of entries will be found in the Zip64 end record. Therefore if the number of entries is equal to 0xffff, it can't be in the end record by itself, since that is an instruction to get the number from the Zip64 end record. This code would just store 0xffff in the end record in that case, not making a Zip64 end record. This commit fixes that. | ||||
* | Add LIT_MEM define to use more memory for a small deflate speedup. | Mark Adler | 2023-09-21 | 3 | -3/+67 |
| | | | | | | | | | A bug fix in zlib 1.2.12 resulted in a slight slowdown (1-2%) of deflate. This commit provides the option to #define LIT_MEM, which uses more memory to reverse most of that slowdown. The memory for the pending buffer and symbol buffers is increased by 25%, which increases the total memory usage with the default parameters by about 6%. | ||||
* | 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 bug in inflateSync() for data held in bit buffer. | Mark Adler | 2023-08-24 | 1 | -1/+1 |
| | |||||
* | Update miniunz version. | tbeu | 2023-08-20 | 1 | -1/+1 |
| | |||||
* | Update version and date in contrib/nuget. | Mark Adler | 2023-08-19 | 1 | -2/+2 |
| | |||||
* | Update version numbers and year in contrib/vstudio/vc17. | Mark Adler | 2023-08-19 | 2 | -5/+5 |
| | |||||
* | Update vc directory in contrib/nuget. | Mark Adler | 2023-08-19 | 1 | -8/+8 |
| | |||||
* | Rename contrib/vstudio/vc143 to vc17. | Mark Adler | 2023-08-19 | 9 | -0/+0 |
| | | | | | This makes it consistent with the other vstudio projects, which use the version number. | ||||
* | Reject overflows of zip header fields in minizip. | Hans Wennborg | 2023-08-19 | 1 | -0/+11 |
| | | | | | | | | This checks the lengths of the file name, extra field, and comment that would be put in the zip headers, and rejects them if they are too long. They are each limited to 65535 bytes in length by the zip format. This also avoids possible buffer overflows if the provided fields are too long. | ||||
* | Remove Windows ARM and ARM64 builds from cmake workflow. | Mark Adler | 2023-08-19 | 1 | -10/+0 |
| | | | | They were added in the VS2022 commit, but failed when run. | ||||
* | Add project and solution files for building a nuget package. | AraHaan | 2023-08-19 | 3 | -1/+76 |
| | |||||
* | Add VS2022 project files. | AraHaan | 2023-08-19 | 11 | -1/+3559 |
| | | | | Also replaced Itanium with ARM and ARM64 configurations. | ||||
* | Remove carriage returns from contrib/vstudio/readme.txt. | Mark Adler | 2023-08-19 | 1 | -75/+75 |
| | |||||
* | Limit the length of Darwin shared library version number. | Mark Adler | 2023-08-18 | 1 | -2/+2 |
| | |||||
* | Fix version numbering for Darwin shared library. | Mark Adler | 2023-08-18 | 1 | -2/+3 |
| | |||||
* | Change version number on develop branch to 1.3.0.1. | Mark Adler | 2023-08-18 | 22 | -46/+49 |
| | |||||
* | zlib 1.3v1.3 | Mark Adler | 2023-08-18 | 31 | -74/+87 |
| | |||||
* | Use original make and options when Makefile runs make. | Mark Adler | 2023-08-17 | 1 | -2/+2 |
| | | | | Also avoid the use of the -C option for non-GNU make. | ||||
* | Avoid uninitialized and unused warnings in contrib/minizip. | Mark Adler | 2023-08-17 | 2 | -2/+8 |
| | |||||
* | Fix typo in preceding reversion commit. | Mark Adler | 2023-08-17 | 1 | -1/+1 |
| | |||||
* | Revert flipping of load flags in Makefile.in for z/OS. | Mark Adler | 2023-08-17 | 1 | -6/+6 |
| | | | | | It looked innocuous enough and worked on macOS, but failed on Ubuntu. | ||||
* | Look for a cross-compile libtool first in configure. | OldWorldOrdr | 2023-08-17 | 1 | -1/+3 |
| | | | | Permit cross-compilation for Darwin. | ||||
* | Avoid cmake deprecation warning. | Bruno S Marques | 2023-08-17 | 1 | -1/+1 |
| | |||||
* | Clarify requirement in zlib.h to avoid multiple flush markers. | Mark Adler | 2023-08-17 | 1 | -2/+2 |
| | |||||
* | Move load flags before object file in Makefile.in for Z/OS. | Mark Adler | 2023-08-17 | 1 | -6/+6 |
| | |||||
* | Add license to contrib/untgz. | Bastian Germann | 2023-08-17 | 1 | -0/+16 |
| | | | | A zlib license was agreed to by the authors. | ||||
* | zlib now uses ANSI C function prototypes, so zlib2ansi not needed. | Mark Adler | 2023-08-17 | 1 | -152/+0 |
| | |||||
* | Fix bug when using gzflush() with a very small buffer. | Mark Adler | 2023-08-14 | 1 | -2/+2 |
| | |||||
* | Fix typos in contrib/ada. | Dimitri Papadopoulos | 2023-08-14 | 2 | -3/+3 |
| | |||||
* | Remove redundant includes in minizip. | Mark Adler | 2023-08-13 | 2 | -4/+0 |
| | |||||
* | Remove TRYFREE macro from minizip. | Mark Adler | 2023-08-13 | 2 | -25/+19 |
| | |||||
* | Replace gcc-9 with gcc-11 for macOS testing. | Dimitri Papadopoulos | 2023-08-13 | 2 | -2/+2 |
| | | | | | At some point, macos-latest stopped supporting gcc-9, and moved to gcc-11 and gcc-12. | ||||
* | Suppress MSAN detections in deflate's slide_hash(). | Andrzej Hunt | 2023-08-12 | 1 | -0/+5 |
| | | | | | | slide_hash() knowingly reads potentially uninitialized memory, see comment lower down about prev[n] potentially being garbage. In this case, the result is never used. | ||||
* | Add memory sanitizer to configure (--memory). | Mark Adler | 2023-08-12 | 1 | -5/+11 |
| | | | | | | This also adds --address for the address sanitizer, in addition to the existing --sanitizer. -fno-omit-frame-pointer has been added for both sanitizers to improve the error reporting. | ||||
* | Fix bug when gzungetc() is used immediately after gzopen(). | Mark Adler | 2023-08-11 | 1 | -0/+4 |
| | |||||
* | Fix some spelling errors. | Dimitri Papadopoulos | 2023-08-03 | 13 | -17/+17 |
| | |||||
* | Add minizip testing to Makefile. | Mark Adler | 2023-08-03 | 1 | -1/+7 |
| | |||||
* | Read multiple bytes instead of byte-by-byte in minizip unzip.c. | Eugene Golushkov | 2023-08-03 | 1 | -96/+38 |
| | | | | | Use a single ZREAD64 call in the unz64local_getShort/Long/Long64 implementation, rather than read it byte by byte. | ||||
* | Support Haiku in minizip. | Gilles Vollant | 2023-08-03 | 4 | -4/+4 |
| | |||||
* | Correct dummy filetime() prototype in minizip.c. | Xiang Xiao | 2023-08-03 | 1 | -1/+1 |
| | | | | Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | ||||
* | Match sign of printf directive to sign of argument in testzlib. | Mark Adler | 2023-07-29 | 1 | -1/+1 |
| | |||||
* | Match sign of printf directive to sign of argument in minizip. | Mark Adler | 2023-07-29 | 1 | -1/+1 |
| | |||||
* | Fix logic error in minizip argument processing. | Mark Adler | 2023-07-29 | 1 | -1/+1 |
| | |||||
* | Fix typos found by codespell in minizip | Dimitri Papadopoulos | 2023-07-29 | 8 | -36/+36 |
| | |||||
* | Fix reading disk number start on zip64 files in minizip. | Mark Adler | 2023-07-29 | 1 | -4/+2 |
| | |||||
* | Remove duplicated code #806 | Gilles Vollant | 2023-07-29 | 1 | -1/+0 |
| | |||||
* | minizip: Fix being unable to open empty zip file | RedworkDE | 2023-07-29 | 1 | -22/+26 |
| | |||||
* | Avoid compiler complaints if _TIME_BITS defined when building zlib. | Mark Adler | 2023-07-29 | 1 | -3/+2 |
| | | | | | | zlib does not use time_t, so _TIME_BITS is irrelevant. However it may be defined anyway as part of a sledgehammer indiscriminately applied to all builds. | ||||
* | Document in zlib.h the initialization of stream fields by the Init | Mark Adler | 2023-07-10 | 1 | -3/+5 |
| | | | | and Reset functions. |