242 Commits

Author SHA1 Message Date
Eric Biggers
2dafb65f28 Test for __ARM_NEON, not __ARM_NEON__ 2016-09-03 16:02:11 -07:00
Eric Biggers
81e45b86e2 Add SSE2 and AVX2 accelerated Adler-32 2016-08-31 23:53:25 -07:00
Eric Biggers
c4f51b1311 Rename heapsort() to heap_sort() to avoid naming collision 2016-08-29 00:09:39 -07:00
Eric Biggers
e603f7868d aligned_malloc: store pointer directly 2016-08-28 00:20:49 -07:00
Eric Biggers
18b149f52e Drop 'unsigned' from compression_level argument 2016-08-27 23:15:47 -07:00
Eric Biggers
268d2fe602 libdeflate.h: add note about thread-safety 2016-08-27 23:13:20 -07:00
Eric Biggers
3992efa340 Update API to avoid naming collisions 2016-08-27 23:11:32 -07:00
Eric Biggers
e60b238b4b README.md: add more details about building with MinGW 2016-08-26 23:29:30 -07:00
Eric Biggers
a34c5e0b14 Makefile: support plain 'gcc' being MinGW 2016-08-26 23:22:39 -07:00
Eric Biggers
94145eb14e programs: use sequential file access hints 2016-08-20 14:22:18 -07:00
Eric Biggers
3c1077a4b3 gzip: allow hard links when source file is being kept 2016-08-20 13:56:19 -07:00
Eric Biggers
bcc741cc7b Prefix non-API global symbols with "_libdeflate_" 2016-07-12 14:10:23 -05:00
Eric Biggers
f5f2a8f0cb Add lib_common.h 2016-07-12 13:49:55 -05:00
Eric Biggers
f649a4b8db Compressor updates 2016-06-11 22:41:45 -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