Commit Graph

570 Commits

Author SHA1 Message Date
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
Charles Allen
b664a72145 Revert "Revert "Add more descriptive frame errors""
This reverts commit 5a66527084.
2015-04-14 13:33:43 -07:00
Yann Collet
3f4f623bc9 Valgrind tests generate errors 2015-04-14 21:02:12 +01:00
Yann Collet
83e350d00b Merge branch 'dev' of github.com:Cyan4973/lz4 into dev 2015-04-14 22:00:34 +02:00
Yann Collet
066e9d31d5 Merge pull request #92 from Cyan4973/revert-89-descriptiveFrameErrors
Revert "Add more descriptive frame errors"
2015-04-14 21:59:47 +02:00
Yann Collet
5a66527084 Revert "Add more descriptive frame errors" 2015-04-14 20:21:50 +02:00
Yann Collet
0dc8308f4c Merge pull request #89 from drcrallen/descriptiveFrameErrors
Add more descriptive frame errors
2015-04-14 20:21:40 +02: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
348f5099e4 lz4io refactoring 2015-04-14 18:10:55 +01:00
Yann Collet
eabc6d8d00 New valgrind test with multiple files 2015-04-14 16:34:37 +01:00
Yann Collet
113b150f0a Fix leak issue with compression of multiple files 2015-04-14 16:05:02 +01:00
Yann Collet
c64200dd85 Improved performance when compressing a lot of small files 2015-04-14 00:07:30 +01:00
Yann Collet
cc24124014 minor compatibility fixes 2015-04-13 20:43:54 +01:00