W. Felix Handte
|
d7347f9eea
|
Add API for Attaching Dictionaries
|
2018-04-20 14:59:34 -04:00 |
|
W. Felix Handte
|
0a2abacd90
|
Use Fast Reset in LZ4F Again
|
2018-04-19 20:54:35 -04:00 |
|
W. Felix Handte
|
61c7ceffed
|
Use Fast Reset API in LZ4F
|
2018-04-19 20:54:35 -04:00 |
|
W. Felix Handte
|
6289ff4fb1
|
Call LZ4F_applyCDict Even on NULL CDict
|
2018-04-19 20:54:35 -04:00 |
|
W. Felix Handte
|
fdeead0b09
|
Set dictCtx Rather than memcpy'ing Ctx
|
2018-04-19 20:54:35 -04:00 |
|
W. Felix Handte
|
e75153f508
|
Add Debug Log Statements to HC
|
2018-04-19 20:54:35 -04:00 |
|
W. Felix Handte
|
51a56c47c0
|
Minor Fixes
|
2018-04-11 18:06:48 -04:00 |
|
W. Felix Handte
|
3a0c571272
|
Add a LZ4_STATIC_LINKING_ONLY Macro to Guard Experimental APIs
|
2018-04-11 18:06:10 -04:00 |
|
W. Felix Handte
|
afa52c9b95
|
Expose dictCtx Functionality in LZ4
|
2018-04-11 16:28:56 -04:00 |
|
W. Felix Handte
|
21f0c9700b
|
Rename _extState_noReset -> _extState_fastReset and Edit Comments
|
2018-04-11 15:13:01 -04:00 |
|
W. Felix Handte
|
59c7d95121
|
Expose a Faster Stream Reset Function
|
2018-04-10 13:26:17 -04:00 |
|
Yann Collet
|
863e24892d
|
fix comment style
|
2018-03-21 07:07:24 -07:00 |
|
W. Felix Handte
|
c852f20c39
|
Switch ALLOC() to ALLOC_AND_ZERO() to Paper Over Existing Uninitialized Read
|
2018-03-13 17:47:34 -04:00 |
|
W. Felix Handte
|
995756f218
|
Split lz4CtxLevel into Two Fields
|
2018-03-13 17:45:09 -04:00 |
|
W. Felix Handte
|
640db34e43
|
Another Allocation Fail Check
|
2018-03-13 17:35:44 -04:00 |
|
W. Felix Handte
|
f9fef255a1
|
Renames and Comment Fixes
|
2018-03-12 18:34:41 -04:00 |
|
W. Felix Handte
|
1df5d911aa
|
Hoist LZ4F Dictionary Setup into Helper LZ4F_applyCDict()
|
2018-03-12 16:11:55 -04:00 |
|
W. Felix Handte
|
3ecc1d7a5b
|
Minor Style Fixes
|
2018-03-12 16:11:44 -04:00 |
|
W. Felix Handte
|
efc419a6d4
|
Replace calloc() Calls With malloc() Where Possible
|
2018-03-12 14:58:43 -04:00 |
|
W. Felix Handte
|
9dcd9abc14
|
Make LZ4F_compressFrame_usingCDict Take a Compression Context
|
2018-03-12 14:58:43 -04:00 |
|
W. Felix Handte
|
68c6bd17b8
|
Set Dictionary Context Pointer Rather than Copying the Context In
|
2018-03-12 14:58:43 -04:00 |
|
W. Felix Handte
|
7060bcabf0
|
Only Re-Alloc / Reset When Needed When Switching Between Regular and High Compression Modes
|
2018-03-12 14:58:43 -04:00 |
|
W. Felix Handte
|
b3628cb0c5
|
Avoid Resetting the Context When Possible
|
2018-03-12 14:58:43 -04:00 |
|
Yann Collet
|
87fb7a1d03
|
refactored frameCompress example
to better reflect LZ4F API usage.
|
2018-01-31 14:33:16 -08:00 |
|
Yann Collet
|
5e7780d2d8
|
lz4frame : removed some intermediate stage from LZ4F_decompress()
ensure some strange jump cases are not possible
(they were already not possible, but static analyzer couldn't understand it).
|
2018-01-14 00:15:07 -08:00 |
|
Yann Collet
|
18b4c66d25
|
ensure a ptr is non-null
with an assert()
to help static analyzer understanding this condition.
|
2018-01-13 22:47:46 -08:00 |
|
Yann Collet
|
4d61ebc9c8
|
modified formulation for LZ4F_compressBound()
previous version used an intentional overflow,
which is defined since it uses unsigned type,
but static analyzer complain about it.
|
2018-01-13 22:39:39 -08:00 |
|
Nick Terrell
|
c2dd686e96
|
[lz4f] Skip memcpy() on empty dictionary
|
2018-01-05 14:30:49 -08:00 |
|
Yann Collet
|
89821ac7a1
|
minor comment edit
|
2017-11-03 11:49:56 -07:00 |
|
Yann Collet
|
87968517f9
|
fixed decoding block checksum in lz4frame
|
2017-10-04 15:24:08 -07:00 |
|
Yann Collet
|
ceb868f442
|
minor lz4frame code refactor
try to improve code readability.
minor optimization on condition to preserve history.
|
2017-09-23 15:06:24 -07:00 |
|
W. Felix Handte
|
77f7245ea7
|
Fix Segfault When Copying Dict
dctx must have been initialized before we can copy the dictionary in.
|
2017-09-22 13:20:49 -07:00 |
|
Yann Collet
|
c10863b98e
|
fix : asan error in dctx, due to increased maximum frame header size, reported by Craig Young
|
2017-08-17 10:55:30 -07:00 |
|
Yann Collet
|
77f99d2922
|
restored block checksum capability at lz4frame API level
|
2017-08-11 17:46:52 -07:00 |
|
Yann Collet
|
757497ae3d
|
implemented lz4frame decompression API
|
2017-08-10 16:53:57 -07:00 |
|
Yann Collet
|
4531637ecd
|
support dictionary compression with independent blocks
|
2017-08-10 12:12:53 -07:00 |
|
Yann Collet
|
d8aafe2c52
|
dictionary compression correctly uses compression level
Not obvious : copying the state was copying cdict's compression level
|
2017-08-10 00:48:19 -07:00 |
|
Yann Collet
|
ca2fb166ab
|
fixed C++ conversion warnings
|
2017-08-09 18:22:26 -07:00 |
|
Yann Collet
|
bf8daa2fd5
|
fixed uninitialization error in lz4frame
|
2017-08-09 18:00:48 -07:00 |
|
Yann Collet
|
31f2cdf4d2
|
implemented dictionary compression in lz4frame
note : only compression API is implemented and tested
still to do : decompression API
|
2017-08-09 16:51:19 -07:00 |
|
Yann Collet
|
a82dadfbae
|
added dictID inside LZ4F_frameInfo_t
Compressor can set dictID on LZ4F_compressBegin()
Decompressor can retrieve it using LZ4F_getFrameInfo()
|
2017-08-08 17:43:11 -07:00 |
|
Chocobo1
|
a4ec7fa7b7
|
Fix gcc7 Wimplicit-fallthrough warnings
For the default Wimplicit-fallthrough=3 level,
the comment should start with "fall*"
|
2017-06-19 13:57:35 +08:00 |
|
Yann Collet
|
e60cbb5cac
|
added test for LZ4F_resetDecompressionContext()
|
2017-05-10 16:28:36 -07:00 |
|
Yann Collet
|
fe932c4527
|
expose LZ4F_resetDecompressionContext()
|
2017-05-10 12:25:05 -07:00 |
|
Yann Collet
|
e2c9b19122
|
lz4frame : Added negative compression levels
|
2017-04-09 01:41:36 -07:00 |
|
Yann Collet
|
7eecd32c07
|
ensure lz4f_cctx internal buffer size remain valid in case of malloc error
|
2017-04-09 01:11:39 -07:00 |
|
Yann Collet
|
e169edac05
|
lz4frame : control lz4 context creation success
|
2017-04-08 18:27:31 -07:00 |
|
Yann Collet
|
6226d52eab
|
fixed minor Visual warning
|
2017-03-29 14:18:10 -07:00 |
|
Yann Collet
|
b88df6b1b0
|
Improved comments on LZ4F_getFrameInfo()
and added LZ4F_resetCompressionContext()
|
2017-03-29 12:51:08 -07:00 |
|
Yann Collet
|
f0a7651fce
|
Safer LZ4_getFrameInfo()
LZ4_getFrameInfo() is now guaranteed to keep dctx state clean,
even in case of failure.
|
2017-03-28 17:10:01 -07:00 |
|