Yann Collet
9578ff539d
minor refactor
2016-08-20 23:59:45 +02:00
Yann Collet
a7672dc4f9
minor decompression speed gains
2016-08-20 23:52:20 +02:00
Ben Wiederhake
d3e2d80266
Use https wherever possible
2016-07-08 00:46:02 +02:00
Yann Collet
6b1600f41e
changed : default benchmark LZ4_decompress_safe()
2016-06-29 17:48:28 +02:00
Yann Collet
6923f3e230
Minor refactoring (code style)
2016-06-29 17:12:24 +02:00
Yann Collet
410ec81543
Fixed : alignment warning
2016-06-29 17:02:09 +02:00
Yann Collet
bc342ab94c
minor refactoring
2016-06-29 16:01:24 +02:00
Yann Collet
c8a573d32c
very minor decompression speed gain
2016-06-29 15:04:19 +02:00
Yann Collet
e27e7316dd
minor code refactoring
2016-06-29 14:54:07 +02:00
Yann Collet
8938e10742
minor compression speed improvement
2016-06-29 14:07:54 +02:00
Yann Collet
c77c0c1086
minor refactoring
2016-06-29 13:21:23 +02:00
Yann Collet
3c03326004
minor refactoring (coding style)
2016-06-29 12:54:23 +02:00
Irwan Djajadi
bc70a4b72e
fixed non-C99 compilers
2016-04-19 15:06:15 -05:00
Irwan Djajadi
10e3eecc56
fixed non-C99 compiler
2016-04-19 15:01:35 -05:00
Irwan Djajadi
973baa2c19
Merge branch 'heapmode_alloc_failure_fix' into dev
2016-04-19 08:22:56 -05:00
Irwan Djajadi
3e5bb67537
alloc failure fix
2016-04-18 15:51:32 -05:00
John Zhuge
cf6652f9b9
lz4cli: print library version
2016-04-01 07:07:25 -07:00
Julius Werner
dc868cd5b1
Allow for safe in-place decoding
...
Add a check to allow safe "in-place" decoding (meaning that the
beginning of the source buffer partially overlaps the end of the
destination buffer). This is usually possible as long as the output
stops at least 15 bytes before the end of the input buffer (7 to account
for the extra spill from LZ4_wildCopy, 4 for a possible block checksum,
and 4 for the terminating block header), but in some pathological edge
cases it could be possible for the output stream to overwrite a byte in
the input stream before it gets decoded. With this patch the decoder
will reliably detect those cases and return a decoding error.
Signed-off-by: Julius Werner <jwerner@chromium.org>
2016-02-12 22:52:51 -08:00
Yann Collet
2c80138121
heapmode macro option for lz4hc
2015-10-21 15:00:48 +01:00
Yann Collet
fb6fece770
Updated Makefile and .travis
2015-09-01 15:59:24 +01:00
Yann Collet
9aa5504f0c
New unalign access method
2015-08-19 18:16:17 +01:00
Yann Collet
d15ac1f1a7
Slightly improved compression speed on ARMv6
2015-08-16 02:33:57 +01:00
Yann Collet
0f2bf0c54e
Improved performance on ARMv6
2015-08-16 01:54:55 +01:00
Yann Collet
9517bd9234
minor simplification lz4_readarch()
2015-08-06 03:49:29 +01:00
Yann Collet
00eedb37d1
minor refactor
2015-07-16 09:38:10 +01:00
Yann Collet
3e579afa6d
Slightly improved decompression speed
...
Slightly decreased decompression stack usage in 64-bits mode
2015-07-16 09:03:55 +01:00
Yann Collet
795a2cdb1b
sligthly improved decompression speed
2015-07-16 08:55:48 +01:00
Yann Collet
91c1b9a682
Performance fix : big compression speed boost for clang (+30%)
2015-05-21 01:17:56 +01:00
Yann Collet
05c3f66bb8
Updated a few comments
2015-05-12 10:10:20 +01:00
Yann Collet
efbebd2a99
Added : LZ4_compress_destSize()
2015-05-06 02:29:04 +01:00
Yann Collet
1c3e633c48
Added compilation flag -Wcast-qual
2015-05-06 01:58:24 +01:00
Yann Collet
b4348a4718
Fixed minor Visual warning
2015-05-03 18:06:01 +01:00
Yann Collet
1b17bf2ab8
New lz4 API, using LZ4_compress_fast()
2015-05-03 17:57:46 +01:00
Yann Collet
791512cfdd
Fixed bug 9318
2015-05-02 19:10:28 +01:00
Yann Collet
d6dc0a410d
streaming API : Improved ring buffer management
2015-04-24 10:15:12 +01:00
Yann Collet
9c6fb8b160
Added LZ4_compress_fast_extState()
2015-04-23 07:46:35 +01:00
Yann Collet
f11afafe23
Removed LZ4_compress() (obsolete) from lz4
2015-04-21 18:31:35 +01:00
Takayuki MATSUOKA
d7298d2059
Replace GCC_VERSION with LZ4_GCC_VERSION
2015-04-15 06:39:04 +09:00
Yann Collet
2852b9e439
Fixed issue #84
2015-04-12 15:17:10 +01:00
Yann Collet
138673df5e
fixed minor g++ warning
2015-04-12 09:37:34 +01:00
Yann Collet
81fdd9df23
Fixed a few Valgrind warnings
2015-04-12 09:29:52 +01:00
Yann Collet
973e385fa3
Implemented obsolete warning message
2015-04-11 18:59:22 +01:00
Yann Collet
f344fbd3ca
Fixed a few warnings from -fsanitize=undefined
2015-04-09 22:59:07 +01:00
Yann Collet
2f8a4c32f9
New LZ4_compress_safe() API
2015-04-09 13:34:38 +01:00
Yann Collet
78d2dfd427
fullbench : tests of _limitedOutput variants intentionnally provides less memory space than safe (LZ4_compressBound())
2015-04-01 18:21:03 +01:00
Yann Collet
28e237e954
simplified LZ4_compress_limitedOutput()
2015-04-01 15:53:08 +01:00
Yann Collet
76a03c1035
simplified LZ4_compress_withState()
2015-04-01 14:59:42 +01:00
Yann Collet
6625068902
simplified LZ4_compress()
2015-04-01 14:48:24 +01:00
Yann Collet
a761546b1b
Fix : minor warning under Visual
2015-03-31 18:52:52 +01:00
Yann Collet
5b9fb69715
minor tweak
2015-03-30 22:39:08 +01:00
Yann Collet
4c227a487e
Added LZ4_compress_fast()
2015-03-30 21:32:25 +01:00
Yann Collet
6c69dc176c
faster compression in 64 bits mode
2015-03-30 18:34:15 +01:00
Yann Collet
a357f434f0
Fixed cast-align warnings on 32-bits
2015-03-25 18:06:40 +01:00
Yann Collet
7cf4e5c941
Updates tests & Man pages
2015-03-22 13:42:00 +01:00
Yann Collet
7d87d43e61
Updated lz4io sparse file support (alignment properties)
2015-03-17 18:02:01 +01:00
Yann Collet
bbcfe2144d
Added : clang test
2015-03-15 14:19:47 +01:00
Yann Collet
45b0642bf5
scan-build tests
2015-03-15 01:42:27 +01:00
Yann Collet
45a357fd17
Improved sparse file support
2015-03-13 02:24:08 +01:00
Yann Collet
e3f33d2579
Fixed minor warnings
2015-03-11 18:38:44 +01:00
Yann Collet
ceec6fa849
g++ compatibility
2015-03-10 16:57:42 +01:00
Yann Collet
32a85fc76d
NetBSD compatibility ( #48 )
2015-03-07 19:30:45 +01:00
Yann Collet
8a9fb8cf32
Fixed : older compiler don't like nameless unions, reported by Cheyi Lin
2014-12-16 22:03:16 +01:00
Yann Collet
95cc6cef64
Fixed : bug within LZ4 HC streaming mode, reported by James Boyle
2014-12-16 02:13:19 +01:00
Yann Collet
7a8cd69960
Fixed : GCC 4.9 bug on highest performance settings, reported by Greg Slazinski
2014-12-14 14:29:15 +01:00
Yann Collet
e68d7dcf22
Fixed : LZ4_compress_limitedOutput() bug, as reported by Christopher Speller
2014-12-10 17:58:15 +01:00
Yann Collet
3477cbac73
stronger tests for LZ4_compress_limitedOutput()
2014-12-10 09:05:44 +01:00
Yann Collet
b827ecf728
Clarified a few comments
2014-12-03 23:19:11 +01:00
Yann Collet
65ee6b09c4
Fixed : deprecated function LZ4_slideInputBufferHC()
2014-12-03 19:17:10 +01:00
Yann Collet
118296aeb0
variable ref renamed
2014-12-02 23:57:15 +01:00
Yann Collet
d008c87151
New directory structure : library source files into /lib directory
2014-11-30 23:32:12 +01:00