Commit Graph

649 Commits

Author SHA1 Message Date
Yann Collet
cdb136d960 cosmetic changes, 2nd try 2015-05-15 16:51:07 +02:00
Yann Collet
c779c8004c minor cosmetic changes for Takayuki's testVersions 2015-05-15 15:44:37 +01:00
Yann Collet
26021db061 Merge branch 'dev' of github.com:Cyan4973/lz4 into dev 2015-05-15 14:51:13 +02:00
Yann Collet
e3b5bf33f9 Merge pull request #104 from t-mat/issue/103pr2
Add compatibility test between releases (resolves issue #103 )
2015-05-15 14:45:46 +02:00
Takayuki MATSUOKA
fe11e0b142 Issue #103 : Add compatibility test between releases
Add forward/backward compatibility test between all versions

 - Add new Makefile target "versionstest".
 - Standard test procedure like "make versionstest && make clean"
   works properly.

test/test-lz4-versions.py

 - This script creates test/lz4test and checkout all
   Release tagged versions.  After that, compile all versions of
   lz4c and lz4c32 and compress/decompress between all versions.

 - This test clones entire git repository to checkout all tags.
    - Since Travis's default command does not clone entire repository,
      we could not checkout all tags from Travis' default clone.

 - After that, test script shows all unique .lz4 files.  In this list,
   'r999' means 'head' of current working copy.
2015-05-15 09:27:44 +09:00
Yann Collet
f02c4671cd Added a few more interoperability tests (32bits vs 64 bits) 2015-05-13 15:22:33 +01:00
Yann Collet
05c3f66bb8 Updated a few comments 2015-05-12 10:10:20 +01:00
Yann Collet
96078481d7 Fixed minor typo 2015-05-07 13:03:07 +01:00
Yann Collet
45e1995c40 minor introduction update 2015-05-07 13:00:21 +01:00
Yann Collet
7d182b816a Merge pull request #102 from Cyan4973/dev
Dev
2015-05-07 13:23:39 +02:00
Yann Collet
fdd0029c37 minor parsing update 2015-05-06 20:57:35 +01:00
Yann Collet
672bfdebd0 Updated comments 2015-05-06 20:23:06 +01:00
Yann Collet
b4ef93a837 Fixed typo 2015-05-06 10:26:59 +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
05b0aa62a7 Updated readme 2015-05-04 14:43:37 +01:00
Yann Collet
e05088d0eb Updated lz4hc API 2015-05-03 20:57:21 +01:00
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