Commit Graph

582 Commits

Author SHA1 Message Date
Yann Collet
b4348a4718 Fixed minor Visual warning 2015-05-03 18:06:01 +01:00
Yann Collet
1171303a4f Updated streaming examples 2015-05-03 18:02:48 +01:00
Yann Collet
1b17bf2ab8 New lz4 API, using LZ4_compress_fast() 2015-05-03 17:57:46 +01:00
Yann Collet
b495c916e5 Merge pull request #99 from eberge/dev
Install the lz4frame.h header in the cmake build
2015-05-03 01:43:38 +02:00
Yann Collet
791512cfdd Fixed bug 9318 2015-05-02 19:10:28 +01:00
Yann Collet
2a974d73c3 refactored lz4hc 2015-05-02 15:44:43 +01:00
Eric Berge
1e751a74f4 Install the lz4frame.h header in the cmake build 2015-04-28 09:53:08 -05: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
87a1c70ae4 Fixed minor static analyzer warning 2015-04-24 11:04:21 +01:00
Yann Collet
d6dc0a410d streaming API : Improved ring buffer management 2015-04-24 10:15:12 +01:00
Yann Collet
bda38fdcb1 Merge pull request #98 from eberge/dev
cmake support for AIX, HPUX, Solaris and Windows
2015-04-23 23:59:47 +02:00
Eric Berge
a9a24e8b7f cmake support for AIX, HPUX, Solaris and Windows
The following changes allow for builds on AIX and HPUX
with the native (non-gcc) compilers, as well as
Visual Studio 2008 and Visual Studio 2012.

Also work around a build error with gcc on Solaris
which fails due to the system detecting an attempt
to use C99 mode with an XPG mode less than XPG6.
2015-04-23 15:59:09 -05:00
Yann Collet
9c6fb8b160 Added LZ4_compress_fast_extState() 2015-04-23 07:46:35 +01:00
Yann Collet
b05d3d71a6 Frame content size disabled by default when using LZ4F_compressFrame(), to be in better coherence with the advanced API LZ4F_compress_update() 2015-04-22 00:57:39 +01:00
Yann Collet
b805d581b9 Removed obsolete functions from lz4 cli 2015-04-21 19:07:31 +01:00
Yann Collet
f11afafe23 Removed LZ4_compress() (obsolete) from lz4 2015-04-21 18:31:35 +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
cbcdd88ccb Fixed frame concatenation 2015-04-20 10:05:54 +01:00
Yann Collet
e18aa90798 Fixed frametest 2015-04-20 09:51:00 +01:00
Yann Collet
c035b7a99a Restored make-lz4 2015-04-20 09:26:16 +01:00
Yann Collet
197982ec6c Fixed unfinished frame (issue #75) 2015-04-20 09:24:25 +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
47c3040399 added --no-sparse test 2015-04-18 12:44:38 +01:00
Yann Collet
9fd4f1f9f7 Sparse file support is now enabled by default 2015-04-17 19:42:07 +01:00
Yann Collet
7644bee643 test error message in multiple files mode 2015-04-16 16:45:58 +01:00
Yann Collet
bce2eeb9df Reclassified some notification messages as errors 2015-04-16 16:27:16 +01:00
Yann Collet
9e92bee044 stronger arm tests 2015-04-16 13:34:03 +01:00
Yann Collet
2ed9dcc900 fix minor "divide by zero" risk 2015-04-16 13:18:15 +01:00
Yann Collet
633c1ca810 fixed minor leak 2015-04-16 13:09:34 +01:00
Yann Collet
0ed2e7111e Static analyzer generates error codes on bug suspicion 2015-04-16 12:48:50 +01:00
Yann Collet
2cf8a19e9d minor header refactoring 2015-04-16 09:57:46 +01:00
Yann Collet
634e4ee7ad Merge pull request #96 from t-mat/improve-pr-95
Add LZ4F_OBSOLETE_ENUM() to describe obsolete enums
2015-04-16 10:45:53 +02:00
Yann Collet
e328d41ef4 minor optimization for small files 2015-04-16 08:51:31 +01:00
Yann Collet
13c6e16333 Removed status notification in multiple-files mode 2015-04-16 07:16:48 +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
Yann Collet
a430b859cf Multiple files decompression refactoring 2015-04-15 16:24:43 +01:00
Yann Collet
4e574e7395 Updated lz4frame error names 2015-04-15 10:34:08 +01:00
Yann Collet
d37926b0b5 Merge pull request #95 from t-mat/issue/90
Modified lz4frame enum, by @t-mat
2015-04-15 10:39:38 +02:00
Yann Collet
240b554412 Merge pull request #94 from t-mat/dev
Fix LZ4_DEPRECATED() in lz4hc.h
2015-04-15 07:53:17 +02:00
Takayuki MATSUOKA
3d46d4b144 Fix LZ4_DEPRECATED() in lz4hc.h 2015-04-15 14:19:17 +09:00
Yann Collet
5f732e1701 Merge pull request #91 from t-mat/dev
Fix LZ4_DEPRECATED() for old compilers
2015-04-15 01:01:52 +02:00
Takayuki MATSUOKA
175890fe9b Issue#90 : Change old enum names to new one 2015-04-15 06:45: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
Takayuki MATSUOKA
e1283c7991 Fix LZ4_DEPRECATED() for older/non-gcc/clang/MSVC compilers 2015-04-15 06:39:05 +09:00
Takayuki MATSUOKA
d7298d2059 Replace GCC_VERSION with LZ4_GCC_VERSION 2015-04-15 06:39:04 +09:00
Yann Collet
9851583044 Merge pull request #93 from drcrallen/descriptiveFrameErrors
Revert "Revert "Add more descriptive frame errors""
2015-04-14 23:22:06 +02:00