Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove unneeded dependency on limits.h in examples/zran.c. | Mark Adler | 2024-09-01 | 1 | -4/+4 |
| | |||||
* | Avoid use of uintmax_t in enough.c. | Mark Adler | 2024-07-29 | 1 | -12/+12 |
| | |||||
* | Use z_const for setting msg to literal strings. | Lwisce Zeng | 2024-04-01 | 1 | -9/+9 |
| | |||||
* | Further address Microsoft deprecation warnings. | Mark Adler | 2024-02-09 | 2 | -2/+10 |
| | |||||
* | Address Microsoft deprecation warnings. | Mark Adler | 2024-02-08 | 2 | -2/+2 |
| | |||||
* | 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 random typos over several source and text files. | THE-Spellchecker | 2024-01-17 | 1 | -1/+1 |
| | |||||
* | Fix "the the" in examples/gzlog.c. | William Leara | 2024-01-17 | 1 | -2/+2 |
| | |||||
* | Fix some spelling errors. | Dimitri Papadopoulos | 2023-08-03 | 1 | -1/+1 |
| | |||||
* | Add a NOPRIME #define to zran.c to not use inflatePrime(). | Mark Adler | 2023-04-13 | 1 | -2/+91 |
| | | | | | This supports zlib versions earlier than 1.2.3 (July 2005), as well as incomplete clones of zlib that do not have inflatePrime(). | ||||
* | Rewrite of zran in examples. See version history in zran.c. | Mark Adler | 2023-02-18 | 2 | -372/+348 |
| | |||||
* | Update zlib_how.html to match the web page, and add a license. | Mark Adler | 2023-01-24 | 1 | -11/+15 |
| | |||||
* | Fix some typos. | Mark Adler | 2022-08-23 | 6 | -8/+8 |
| | | | | No code changes. | ||||
* | Fix memory leak on error in gzlog.c. | Mark Adler | 2019-05-25 | 1 | -2/+4 |
| | | | | Thank you Adam Richter. | ||||
* | Fix the zran.c example to work on a multiple-member gzip file. | Mark Adler | 2018-10-14 | 3 | -93/+204 |
| | |||||
* | Add gznorm.c example, which normalizes gzip files. | Mark Adler | 2018-10-07 | 2 | -0/+474 |
| | |||||
* | Show all the codes for the maximum tables size in enough.c. | Mark Adler | 2018-08-05 | 1 | -160/+191 |
| | |||||
* | Clarify that prefix codes are counted in enough.c. | Mark Adler | 2018-08-05 | 1 | -15/+15 |
| | | | | | | | | There is no assurance that all prefix codes are reachable as optimal Huffman codes for the numbers of symbols encountered in a deflate block. This code considers all possible prefix codes, which might be a larger set than all possible Huffman codes, depending on the constraints. | ||||
* | Use inline function instead of macro for index in enough.c. | Mark Adler | 2018-08-05 | 1 | -4/+8 |
| | |||||
* | Clean up code style in enough.c, update version. | Mark Adler | 2018-08-01 | 1 | -211/+202 |
| | |||||
* | Use a macro for the printf format of big_t in enough.c. | Mark Adler | 2018-08-01 | 1 | -7/+3 |
| | |||||
* | Use a structure to make globals in enough.c evident. | Mark Adler | 2018-08-01 | 1 | -86/+89 |
| | |||||
* | Avoid an undefined behavior of memcpy() in gzappend(). | Mark Adler | 2017-10-12 | 1 | -1/+1 |
| | |||||
* | zlib 1.2.9v1.2.9 | Mark Adler | 2016-12-31 | 1 | -1/+1 |
| | |||||
* | Fix some typos. | Mark Adler | 2016-10-30 | 2 | -2/+2 |
| | |||||
* | Avoid use of DEBUG macro -- change to ZLIB_DEBUG. | Mark Adler | 2015-07-28 | 1 | -1/+1 |
| | |||||
* | Check for input buffer malloc failure in examples/gzappend.c. | Mark Adler | 2012-10-11 | 1 | -7/+10 |
| | |||||
* | Fix memory allocation error in examples/zran.c [Nor]. | Mark Adler | 2012-09-29 | 1 | -3/+8 |
| | |||||
* | Avoid shift equal to bits in type (caused endless loop). | Mark Adler | 2012-08-18 | 1 | -18/+21 |
| | | | | | | | | | | | Also clean up comparisons between different types, and some odd indentation problems that showed up somehow. A new endless loop was introduced by the clang compiler, which apparently does odd things when the right operand of << is equal to or greater than the number of bits in the type. The C standard in fact states that the behavior of << is undefined in that case. The loop was rewritten to use single-bit shifts. | ||||
* | Clean up examples/gzlog.[ch] comparisons of different types. | Mark Adler | 2012-08-18 | 2 | -7/+9 |
| | |||||
* | Clean up examples/gzjoin.c for z_const usage. | Mark Adler | 2012-08-14 | 1 | -6/+7 |
| | |||||
* | Fix example/gzappend.c for proper z_const usage. | Mark Adler | 2012-08-14 | 1 | -4/+5 |
| | |||||
* | Update examples/gun.c for proper z_const usage. | Mark Adler | 2012-08-13 | 1 | -5/+6 |
| | |||||
* | Fix argument checks in gzlog_compress() and gzlog_write(). | Mark Adler | 2012-07-08 | 2 | -7/+8 |
| | |||||
* | Move example.c and minigzip.c to test/. | Mark Adler | 2011-11-27 | 3 | -1241/+0 |
| | |||||
* | Move example.c and minigzip.c to examples/ directory. | Mark Adler | 2011-10-09 | 3 | -0/+1241 |
| | |||||
* | zlib 1.2.3.8v1.2.3.8 | Mark Adler | 2011-09-09 | 2 | -9/+9 |
| | |||||
* | zlib 1.2.3.6v1.2.3.6 | Mark Adler | 2011-09-09 | 3 | -476/+26 |
| | |||||
* | zlib 1.2.3.4v1.2.3.4 | Mark Adler | 2011-09-09 | 5 | -364/+2074 |
| | |||||
* | zlib 1.2.3.1v1.2.3.1 | Mark Adler | 2011-09-09 | 4 | -14/+50 |
| | |||||
* | zlib 1.2.2.4v1.2.2.4 | Mark Adler | 2011-09-09 | 5 | -21/+430 |
| | |||||
* | zlib 1.2.2.3v1.2.2.3 | Mark Adler | 2011-09-09 | 4 | -3/+704 |
| | |||||
* | zlib 1.2.2.2v1.2.2.2 | Mark Adler | 2011-09-09 | 8 | -0/+2395 |