216 Commits

Author SHA1 Message Date
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
Eric Biggers
4325101bb9 Makefile: should use ln -f 2016-01-26 22:06:57 -06:00
Eric Biggers
596bd3c661 Add gzip program and improve MinGW builds 2016-01-24 16:09:32 -06:00
Eric Biggers
d5e5933979 decompress: fix incorrect length check 2016-01-23 11:41:46 -06:00
Eric Biggers
ee1535ecc1 Make decompress API functions return a result code rather than a 'bool' 2016-01-23 11:38:56 -06:00
Eric Biggers
be419e24fa Improve deflate_decompress() documentation 2016-01-23 11:05:43 -06:00
Eric Biggers
e43a7171de Add compress bound functions 2016-01-23 10:32:35 -06:00
Eric Biggers
a8ace6e46a gzip_decompress: ISIZE is mod 2^32 of the actual size 2016-01-23 09:41:52 -06:00
Eric Biggers
7be1effacc Make decompression routines optionally provide the actual uncompressd size 2016-01-23 01:04:28 -06:00
Eric Biggers
e731f4b510 Choose BMI2-optimized decompression routine at runtime 2016-01-23 00:29:05 -06:00
Eric Biggers
16f3b420a0 Various decompression updates and optimizations 2016-01-23 00:21:44 -06:00
Eric Biggers
caa41f200f Fix match extension when CPU_IS_BIG_ENDIAN && UNALIGNED_ACCESS_IS_FAST 2015-12-05 00:49:29 -06:00
Eric Biggers
de7c13c659 Add MIPS test script 2015-12-05 00:33:59 -06:00
Eric Biggers
d747d2a0c3 Add ARM NEON support 2015-12-04 01:17:23 -06:00
Eric Biggers
06923e432f libdeflate.h: update comment about compression levels 2015-12-03 23:42:43 -06:00