Commit Graph

374 Commits

Author SHA1 Message Date
Yann Collet
a38cbf9f62 fixed : shadow global variable on gcc 4.4 (minor) 2016-11-18 18:00:54 -08:00
Yann Collet
c0e55ec05f fixed versionsTest 2016-11-17 14:54:30 -08:00
Yann Collet
1abecbc33c fix 32-bits mode.
Large File support for Mac OS-X in 32-bits mode
Fixed potential undefined behavior
Changed makefile for 32-bits mode
2016-11-17 13:02:06 -08:00
Przemyslaw Skibinski
632ab3b8d4 updated programs\README.md 2016-11-16 10:53:06 +01:00
Przemyslaw Skibinski
7b6a9d8638 Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev 2016-11-16 09:01:45 +01:00
Yann Collet
f094f53144 silence a minor msan warning 2016-11-14 14:38:46 -08:00
Yann Collet
5a5ebeec15 clang and g++ tests restricted to native only on Travis CI Ubuntu v12 environment 2016-11-14 08:51:28 -08:00
Yann Collet
d5c9b39ddd minor code refactoring 2016-11-13 20:50:58 -08:00
Yann Collet
f42130ee44 cli : add --help command 2016-11-12 17:21:29 -08:00
Nick Terrell
5b37837e6e Fix license and remove references to zstd 2016-11-10 17:27:56 -08:00
Yann Collet
5e13a6ec46 improved man on compression level 2016-11-10 12:22:37 -08:00
Przemyslaw Skibinski
2278d1f02f custom block size 2016-11-10 16:31:10 +01:00
Przemyslaw Skibinski
767a23160b changed FUZZER_TIME 2016-11-10 09:04:40 +01:00
Yann Collet
924f00c86c fix empty body 2016-11-09 18:05:03 -08:00
Yann Collet
f34808e4ae fixed some static analyzer warning 2016-11-09 17:39:53 -08:00
Yann Collet
46f74d79b7 fixed sparse on stdout 2016-11-09 16:57:33 -08:00
Yann Collet
fe48cef50e fixed multiples files on lz4cat (#184, by @libor-m) 2016-11-09 16:37:16 -08:00
Yann Collet
1b16805941 fix unused variable warning 2016-11-09 15:10:39 -08:00
Yann Collet
1b95d60c66 fixed synthetic benchmark mode
slightly optimized test mode
2016-11-09 15:04:55 -08:00
Yann Collet
acc48a3f85 fixed lz4cat
changed lz4-test order
2016-11-09 14:36:42 -08:00
Przemyslaw Skibinski
7df658ec1b removed LZ4_DLL_EXPORT=1 (2) 2016-11-09 12:52:27 +01:00
Przemyslaw Skibinski
85f861fc49 bench.c: support notification level 2016-11-08 13:50:27 +01:00
Przemyslaw Skibinski
d06ab4f415 test powerpc64 2016-11-08 11:16:16 +01:00
Przemyslaw Skibinski
2302649138 tests\Makefile: added test-platform 2016-11-08 10:43:18 +01:00
Przemyslaw Skibinski
0f73ed5726 new Travis tests 2016-11-08 09:19:09 +01:00
Yann Collet
00c6370ad2 Fix #243 : detect and report fread() errors, by @iyokan 2016-11-07 12:34:10 -08:00
Przemyslaw Skibinski
ef54f9f9dd added --rm option 2016-11-07 14:50:58 +01:00
Przemyslaw Skibinski
98be008479 Copy owner, file permissions and modification time 2016-11-07 12:41:14 +01:00
Przemyslaw Skibinski
ef9d1b2d41 fixed --test 2016-11-07 12:13:12 +01:00
Yann Collet
8195ba8f7b Updated man page 2016-11-04 18:29:07 -07:00
Yann Collet
473acf5aa9 Merge pull request #252 from inikep/dev
Dev
2016-11-04 13:54:19 -07:00
Nick Terrell
86a24c80f4 Fix typo in lz4 manpage 2016-11-04 12:46:39 -07:00
Nick Terrell
374090c7a7 Return error if input file does not exist.
Make `lz4 file-does-not-exist` return non-zero.
2016-11-04 11:58:10 -07:00
Przemyslaw Skibinski
fbede33fd7 fixed Travis tests 2016-11-04 16:56:01 +01:00
Przemyslaw Skibinski
8ddaddc2d6 updated #include in util.h 2016-11-04 15:52:34 +01:00
Przemyslaw Skibinski
e8a6067e8a updated lz4cli.c 2016-11-04 14:46:45 +01:00
Przemyslaw Skibinski
8b8c726a5c bench.c based on zstd 2016-11-04 14:26:12 +01:00
Przemyslaw Skibinski
e06fcd9039 redefined VOID for Windows/MSYS 2016-11-04 13:32:36 +01:00
Przemyslaw Skibinski
e7648f4fcc added -r option 2016-11-04 13:30:09 +01:00
Nick Terrell
136caa552b Rename passThrough to testMode 2016-11-03 18:50:25 -07:00
Nick Terrell
3dcafd35d4 Fix test mode and write to null
Fix test mode to not always return success.
Don't ask for permission to overwrite `nulmark`.

Before:

    > echo "hello world" > file
    > lz4 -t file
    successfully decoded 12 bytes
    > lz4 -tf file
    successfully decoded 12 bytes
    > lz4 file null
    Warning : /dev/null already exists
    Overwrite ? (Y/n) : n
    Error 12 : No. Operation aborted : /dev/null already exists
    > lz4 file /dev/null
    Warning : /dev/null already exists
    Overwrite ? (Y/n) : n
    Error 12 : No. Operation aborted : /dev/null already exists

After:

    > lz4 -t file
    Error 44 : Unrecognized header : file cannot be decoded
    > lz4 -tf file
    Error 44 : Unrecognized header : file cannot be decoded
    > lz4 file null
    Compressed 12 bytes into 31 bytes ==> 258.33%
    > lz4 file /dev/null
    Compressed 12 bytes into 31 bytes ==> 258.33%
2016-11-03 15:41:09 -07:00
Yann Collet
99d11120bd Merge pull request #249 from inikep/dev
Dev
2016-11-03 10:49:33 -07:00
Yann Collet
46b49af37c fixed clang conversion warning 2016-11-03 10:39:35 -07:00
Yann Collet
c66108ceb2 check fread() operation results (#243) 2016-11-03 09:27:35 -07:00
Przemyslaw Skibinski
8847faffbf updated programs/README.md 2016-11-03 16:17:38 +01:00
Przemyslaw Skibinski
74ba377d72 updated .travis.yml 2016-11-03 15:28:50 +01:00
Przemyslaw Skibinski
84cedb4632 updated links to LZ4 repository 2016-11-03 15:12:57 +01:00
Przemyslaw Skibinski
e624978ea2 test programs moved to tests/ 2016-11-03 15:03:43 +01:00
Yann Collet
59adfd82d6 fix for ARM platform 2016-11-01 21:04:56 -07:00
Yann Collet
67500142c1 Clarified license (#115, #244) 2016-11-01 19:14:04 -07:00