Commit Graph

89 Commits

Author SHA1 Message Date
Yann Collet
5eb547a608 fix #283 : implement LZ4_versionString(). 2016-12-04 20:05:36 +01:00
Yann Collet
a9a8dbf7c1 fixed minor display error when using -r 2016-11-28 04:01:02 -08:00
Yann Collet
8b233b228d added a few dates 2016-11-21 15:51:39 -08:00
Yann Collet
00fa1b9c01 fixed double ;; for Visual 2016-11-15 15:06:56 -08:00
Yann Collet
d2be69b144 fixed minor coverity warnings 2016-11-15 14:46:57 -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
Przemyslaw Skibinski
2278d1f02f custom block size 2016-11-10 16:31:10 +01: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
85f861fc49 bench.c: support notification level 2016-11-08 13:50:27 +01:00
Przemyslaw Skibinski
0f73ed5726 new Travis tests 2016-11-08 09:19:09 +01:00
Przemyslaw Skibinski
ef54f9f9dd added --rm option 2016-11-07 14:50:58 +01:00
Przemyslaw Skibinski
ef9d1b2d41 fixed --test 2016-11-07 12:13:12 +01:00
Yann Collet
473acf5aa9 Merge pull request #252 from inikep/dev
Dev
2016-11-04 13:54:19 -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
e8a6067e8a updated lz4cli.c 2016-11-04 14:46:45 +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
Przemyslaw Skibinski
84cedb4632 updated links to LZ4 repository 2016-11-03 15:12:57 +01:00
inikep
58a1616d7b Merge remote-tracking branch 'refs/remotes/Cyan4973/dev' into dev
# Conflicts:
#	programs/Makefile
2016-09-03 08:10:16 +02:00
Yann Collet
32a31663c3 fuzzer depends on standard C time.h only 2016-09-02 19:48:24 -07:00
Yann Collet
64f556e610 lz4cli version number from lz4.h 2016-09-02 19:32:06 -07:00
inikep
ab707e8b0d update IncludePath 2016-09-03 01:03:04 +02:00
inikep
2cf32ef0f1 -b# and -e# options from zstd 2016-09-02 22:59:18 +02:00
inikep
c1864f69e8 fix mingw64 compilation warnings 2016-09-02 21:50:57 +02:00
Georg Sauthoff
584e1fe92a request POSIX.2001 definitions for fileno()
this also fixes compilation on Solaris 10

cf. feature_test_macros(7) Linux man page:

> _POSIX_SOURCE
>   Defining this obsolete macro with any value is equivalent to  defin‐
>   ing _POSIX_C_SOURCE with the value 1.
>
>   Since  this macro is obsolete, its usage is generally not documented
>   when discussing feature test macro requirements in the man pages.
2016-08-27 15:24:33 +02:00
Yann Collet
3c03326004 minor refactoring (coding style) 2016-06-29 12:54:23 +02:00
John Zhuge
cf6652f9b9 lz4cli: print library version 2016-04-01 07:07:25 -07:00
Daniel Colascione
4f1ff58f82 Tweak error message 2015-09-02 18:57:19 -07:00
Daniel Colascione
975c06b1ad Improve error messages for attempted console IO 2015-09-02 18:57:19 -07:00
Yann Collet
4a5a003c42 updated cli help 2015-08-20 14:57:35 +01:00
Yann Collet
81f19264ab lz4cli : add one malloc test 2015-06-28 20:05:33 -08:00
Yann Collet
caba2cc0f5 staticAnalyze use same compilation flags as normal build 2015-06-27 13:21:33 -08:00
Yann Collet
2ce2e60083 Minor doc clarification on sparse mode support 2015-06-21 20:00:44 -08:00
Yann Collet
7f3d82def8 Merge pull request #114 from lpsantil/djgpp
Djgpp
2015-05-28 03:04:17 +02:00
Louis P. Santillan
b2bbb2790d Fixup programs/{Makefile,lz4cli.c,lz4io.c} to build with Andrew Wu's build-djgpp cross compilers. Add some documentation in README.DJ 2015-05-25 21:41:45 -07:00
Yann Collet
acae59a739 Fixed : default sparse mode disabled on stdout, to support >> redirection scenario reported by Takayuki Matsuoka (#110) 2015-05-25 07:50:41 +01:00
Yann Collet
58b5aadb1f Fixed sparse issue with non seekable streams (#105) 2015-05-18 22:09:37 +01:00
Yann Collet
1c3e633c48 Added compilation flag -Wcast-qual 2015-05-06 01:58:24 +01:00
Yann Collet
9fd4f1f9f7 Sparse file support is now enabled by default 2015-04-17 19:42:07 +01:00
Yann Collet
13c6e16333 Removed status notification in multiple-files mode 2015-04-16 07:16:48 +01:00
Yann Collet
cc24124014 minor compatibility fixes 2015-04-13 20:43:54 +01:00
Yann Collet
ccba7a0a29 Merge pull request #86 from KyleJHarper/origin/r129/multiple_inputs_patch
Origin/r129/multiple inputs patch
2015-04-13 21:03:51 +02:00
Kyle J Harper
7f2f1fcd55 Added support for continuation of file compression and decompression if input files are missing. Should more closely match gzip/bzip2/xz and so forth. Also removed a debug print accidentally left in. 2015-04-12 18:41:55 -05:00