80 Commits

Author SHA1 Message Date
Eric Biggers
bc02ba9d2f Optimization 2 2016-06-04 13:07:42 -05:00
Eric Biggers
4c5d30387a Optimization 2016-06-04 13:07:41 -05:00
Eric Biggers
e3cfa7b5cd v0.3 v0.3 2016-05-28 16:13:30 -05:00
Eric Biggers
6ac4a94203 tools/make-windows-release: use -Werror 2016-05-28 16:13:30 -05:00
Eric Biggers
eaa2247dfa Makefile: use -Wno-pedantic-ms-format for MinGW builds 2016-05-28 16:13:30 -05:00
Eric Biggers
021e692a7b Makefile: fix order of cc-option and CFLAGS definitions 2016-05-26 23:09:39 -05:00
Eric Biggers
e8003ecd71 Warn about use of variable length arrays 2016-05-26 00:20:10 -05:00
Eric Biggers
d39f4505a1 Compatibility with older versions of GCC 2016-05-26 00:20:10 -05:00
Eric Biggers
6bcfb00c54 C99 compatibility 2016-05-26 00:14:29 -05:00
Eric Biggers
d1e4d4cab8 Halve size of struct lz_match 2016-05-23 21:24:58 -05:00
Eric Biggers
992eb78578 Move block split statistics into compressor struct 2016-05-23 20:59:32 -05:00
Eric Biggers
453a628996 Fix compiling without near-optimal parsing support 2016-05-23 20:50:02 -05:00
Eric Biggers
7458bea118 Rename optimum -> optimum_nodes 2016-05-23 20:35:38 -05:00
Eric Biggers
4d81654402 Use tighter bound on max number of nodes 2016-05-23 20:35:38 -05:00
Eric Biggers
7bfba00a19 Fix comment 2016-05-23 19:08:20 -05:00
Eric Biggers
4f7d134b39 Fix check for match cache overflow 2016-05-23 08:28:02 -05:00
Eric Biggers
3d52ac1195 README.md: note that GCC is recommended over clang 2016-05-22 14:20:50 -05:00
Eric Biggers
b3434646e0 Makefile: remove useless assignments to CC and AR
These assignments had no effect because 'make' defines default values for
these variables.
2016-05-22 14:20:47 -05:00
Eric Biggers
aaadf1421a Makefile: use ifdef/ifndef 2016-05-22 13:14:09 -05:00
Eric Biggers
7e19d17e49 Fix deflate_compress_bound() to account for extra word at end 2016-05-21 17:35:35 -05:00
Eric Biggers
dad582cd57 gzip: -s and -L are not supported options 2016-05-21 16:38:51 -05:00
Eric Biggers
c1b48b7f03 Makefile: add missing LIB_HEADERS definition 2016-05-21 16:31:43 -05:00
Eric Biggers
27125469cd v0.2 v0.2 2016-05-21 15:38:15 -05:00
Eric Biggers
f2c3a5b4e9 Various reorganization and cleanups
* Bring in common headers and program code from xpack project
* Move program code to programs/
* Move library code to lib/
* GNU89 and MSVC2010 compatibility
* Other changes
2016-05-21 15:38:15 -05:00
Eric Biggers
6acb3054f8 Add produce_gzip_benchmark_table.sh 2016-05-21 10:34:02 -05:00
Eric Biggers
92e6c1ff01 Choose cheapest block type in compressor 2016-05-21 10:34:00 -05:00
Eric Biggers
ecdcfc600b New block splitting algorithm 2016-05-21 10:33:59 -05:00
Eric Biggers
c3f68e9ba7 Slide window within hc_matchfinder functions 2016-05-21 10:33:59 -05:00
Eric Biggers
00bf9daff9 Reorganize some code in deflate_compress_near_optimal() 2016-05-21 10:33:58 -05:00
Eric Biggers
a11c44317b Try harder to find length 3 matches when doing near-optimal parsing 2016-05-21 10:33:57 -05:00
Eric Biggers
fb9016cd86 benchmark: fix display of fractional part of percentage 2016-05-09 22:31:21 -05:00
Eric Biggers
5cf3ab19ee gzip: fix some error messages 2016-04-17 15:33:40 -05:00
Eric Biggers
05079b24af Remove subdirectory from Windows releases 2016-04-11 23:24:29 -05:00
Eric Biggers
ecaa7842f8 Add .gitignore v0.1 2016-04-11 23:19:06 -05:00
Eric Biggers
f73db15203 Add tools/make-windows-releases 2016-04-11 23:19:06 -05:00
Eric Biggers
aa38ead6c4 Use standard CC0 public domain dedication 2016-04-11 20:09:11 -05:00
Eric Biggers
3f6df7e4e9 README.md: add disclaimer 2016-04-11 00:54:10 -05:00
Eric Biggers
c1b6c31da7 Document that NULL may be passed to deflate_compress_bound() 2016-02-01 22:01:54 -06:00
Eric Biggers
c1032c8dae Improved detection of clang
clang version numbers are unreliable; Apple does not use the upstream version
numbers.  Instead, there are feature-test macros that can be used.
2016-02-01 21:12:03 -06:00
Eric Biggers
4ad7bbe2df Only use __attribute__(target("bmi2")) on supported compiler versions 2016-01-30 23:36:27 -06:00
Eric Biggers
21205d0447 compress: delete deflate_init_length_slot_fast() 2016-01-30 23:03:01 -06:00
Eric Biggers
569f738807 compress: initialize static codes only when first used 2016-01-30 22:12:57 -06:00
Eric Biggers
d467d99740 ARM and MIPS test script tweaks 2016-01-30 21:54:06 -06:00
Eric Biggers
480e0310db decompress: fix handling of Huffman codes with one used symbol
The previous code did not take into account that 'lens' alias 'decode_table'.
2016-01-30 21:34:32 -06:00
Eric Biggers
3aecf2e057 Add afl-fuzz files 2016-01-30 20:42:39 -06:00
Eric Biggers
95fa3faba8 Update years 2016-01-30 17:47:55 -06:00
Eric Biggers
fb1de37c0e Support for Microsoft C / Visual Studio 2016-01-30 17:27:02 -06:00
Eric Biggers
051d55919b Make runtime CPU detection and near-optimal parsing enabled in the code by default 2016-01-28 00:24:58 -06:00
Eric Biggers
6e5ef3ea7f decompress: no extra condition is needed when calculating subtable length 2016-01-27 00:55:00 -06:00
Eric Biggers
446e2268b3 decompress: handle Huffman codes with one used symbol 2016-01-27 00:48:28 -06:00