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
Yann Collet
0863931a1c
fixed API comment for LZ4F_createCompressionContext()
...
as reported by @nh2
2017-03-24 10:34:18 -07:00
Yann Collet
0d073d4d28
added extern C
for lz4.h static section
...
should make the file more compatible with C++ compiler, such as Visual or g++
2017-03-17 15:11:09 -07:00
Yann Collet
cd35f0d98c
LZ4_compress_HC_destSize() uses LZ4HC_compress_generic() code path
...
Limits compression level to 10,
to remain compatible with Hash Chain.
2017-03-16 15:10:38 -07:00
Dmitry V. Levin
7aeecbff71
Explicitly set visibility of public API functions when gcc is used
...
Windows builds already limit exporting of functions to those marked
with LZ4LIB_API tag. The same behaviour could be achieved on other
platforms when a relatively fresh gcc is used.
This change assigns public visibility to all symbols marked with
LZ4LIB_API tag. When the library is built in -fvisibility=hidden
mode, only these marked symbols will be exported.
2017-03-10 23:35:30 +00:00
Yann Collet
04ec092696
updated comments on block sizes
2017-02-08 11:02:32 -08:00
Przemyslaw Skibinski
8e1fd97d16
lz4frame.h: added Introduction
2017-01-23 17:46:32 +01:00
Przemyslaw Skibinski
9071df0fa5
lz4frame.h: prepared to generate manual
2017-01-23 16:22:00 +01:00
Yann Collet
7cf0bb97b2
LZ4F_compressBound(0) provides upper bound for LZ4F_flush() and LZ4F_compressEnd() [ #290 , suggested by @vtermanis]
2016-12-21 14:18:01 +01:00
Yann Collet
8b233b228d
added a few dates
2016-11-21 15:51:39 -08:00
Yann Collet
742f2b683e
added doc in code comments
2016-11-21 14:13:00 -08:00
Yann Collet
bf6dda69e6
updated frametest
2016-11-11 15:11:56 -08:00
Przemyslaw Skibinski
7df658ec1b
removed LZ4_DLL_EXPORT=1 (2)
2016-11-09 12:52:27 +01:00
Przemyslaw Skibinski
d61bb74f20
updated declaration of LZ4F_freeDecompressionContext
2016-11-07 14:14:42 +01:00
Przemyslaw Skibinski
58ead8dd27
fixed appveyor.yml
2016-11-07 13:00:08 +01:00
Yann Collet
96565816bd
restricted deprecation warning to fairly recent gcc versions (>=6.0)
2016-11-04 17:11:06 -07:00
Yann Collet
eaad740ac7
lz4frame obsolete enum should trigger deprecation warnings (on supported compilers)
2016-11-04 16:58:34 -07:00
Yann Collet
eda8c4eb1c
fix #198 : no longer requires to restart streaming decompression from where it stopped.
...
It permits relocating remaining data into another memory space.
Still, the same content must be presented.
2016-11-03 18:46:07 -07:00
Yann Collet
4791cda04a
fixed strict warnings
2016-11-03 17:31:41 -07:00
Yann Collet
258a5e7fa4
updated comments
2016-11-03 17:14:25 -07:00
Przemyslaw Skibinski
84cedb4632
updated links to LZ4 repository
2016-11-03 15:12:57 +01:00
Kouhei Sutou
59771f41cd
Use different prefix for each file to avoid conflict
2016-09-23 10:38:44 +09:00
Kouhei Sutou
012c66536c
Add LZ4LIB_API
...
It's based on Zstandard's ZSTDLIB_API.
See also: https://github.com/Cyan4973/lz4/issues/216#issuecomment-226245432
Deprecated functions aren't LZ4LIB_API targets. Because we don't need to
export deprecated functions from now.
There are same LZ4LIB_API definitions in each header files instead of
including a common header file because LZ4_DEPRECATED is defined so.
2016-09-23 00:39:45 +09:00
Yann Collet
74e6afc5dc
minor comments clarification
2016-08-11 18:55:42 +02:00
Yann Collet
2ac9ecec68
Fixed #157 : LZ4F_getFrameInfo() fails on valid null-content frame
2016-08-11 14:55:39 +02:00
Julius Werner
4fcb2e17fb
Remove whitespace from ends of lines
...
I'm trying to import LZ4 code into a project with strict linting
requirements. This will make that easier.
Signed-off-by: Julius Werner <jwerner@chromium.org>
2016-02-12 22:49:52 -08:00
Yann Collet
fb6fece770
Updated Makefile and .travis
2015-09-01 15:59:24 +01:00
Yann Collet
ad2dd6df3f
moved lz4frame context types to incomplete typedef
2015-04-27 02:31:56 +01:00
Yann Collet
c9cbb8fc06
Increased aligment requirement for lz4frame context pointer
2015-04-24 14:28:06 +01:00
Yann Collet
ef55dfb000
Modified lz4frame context typedef, to enforce stricter alignment condition
2015-04-24 13:26:53 +01:00
Yann Collet
72e679438f
Updated LZ4F_freeDecompressionContext(), to provide stage hint as result
2015-04-20 12:23:33 +01:00
Yann Collet
a01e10dbdc
Changed LZ4F compressionLevel from unsigned to signed, in anticipation for LZ4_compress_fast() integration.
2015-04-20 12:12:02 +01:00
Yann Collet
409f816267
Updated LZ4F_getFrameInfo() behavior, related to uncomplete frame header decoding attempts
2015-04-19 15:23:53 +01:00
Yann Collet
2cf8a19e9d
minor header refactoring
2015-04-16 09:57:46 +01:00
Takayuki MATSUOKA
d153aaa1c2
Add LZ4F_OBSOLETE_ENUM() to describe obsolete enums
...
- Add LZ4F_OBSOLETE_ENUM() to describe obsolete enums
- Add compatible typedefs for obsolete enum types
- Remove constant macros
2015-04-16 12:42:26 +09:00
Takayuki MATSUOKA
585bab8121
Issue#90 : Change old enum to macro to maximize compatibility
2015-04-15 06:45:25 +09:00
Takayuki MATSUOKA
081bcca33b
Issue#90 : Add LZ4F_ prefix
...
- Add LZ4F_ prefix to LZ4 frame related enums.
- Also add conditional macro LZ4F_DISABLE_OLD_ENUMS for testing and users who prefer strict prefixes.
2015-04-15 06:45:24 +09:00
Yann Collet
05a46fc59a
Changes LZ4F_compressBound() definition using NULL prefsPtr to cover worst case instead of default.
2015-04-14 18:51:36 +01:00
Yann Collet
a07db74d24
Clarified lz4frame.h inline doc
2015-04-11 10:46:16 +01:00
Yann Collet
eeb8bea34c
Updated comments on LZ4F_getFrameInfo()
2015-03-30 16:36:57 +01:00
Yann Collet
8cb06d5b99
lz4frame validates contentSize during decompression
2015-03-29 13:28:32 +01:00
Yann Collet
d5da787c1b
Changed struct member to contentSize
2015-03-29 11:20:09 +01:00
Yann Collet
7ee725645b
frame content size support
2015-03-18 21:38:27 +01:00
Yann Collet
3a6832497b
skippable frames support
2015-03-16 17:52:14 +01:00
Yann Collet
45a357fd17
Improved sparse file support
2015-03-13 02:24:08 +01:00
Yann Collet
ceec6fa849
g++ compatibility
2015-03-10 16:57:42 +01:00
Yann Collet
12adbcaebc
Updated comments
2014-12-13 17:08:51 +01:00
Yann Collet
daa320f3f7
New : lz4frame integrated into liblz4 (v1.5.0)
2014-12-13 15:05:46 +01:00
Yann Collet
c5decf7562
minor refactoring
2014-12-06 17:10:54 +01:00
Yann Collet
67c25a5c1b
lz4frame.h : clarified a few comments
2014-12-01 22:00:07 +01:00