Commit Graph

874 Commits

Author SHA1 Message Date
Przemyslaw Skibinski
7fbb163f3f added "make c_standards" 2016-11-07 17:43:37 +01:00
Przemyslaw Skibinski
b6c407886f condensed travis.yml 2016-11-07 16:46:39 +01:00
Przemyslaw Skibinski
2fbd7a5120 updated travis.yml 2016-11-07 16:15:22 +01:00
Przemyslaw Skibinski
ef54f9f9dd added --rm option 2016-11-07 14:50:58 +01:00
Przemyslaw Skibinski
d61bb74f20 updated declaration of LZ4F_freeDecompressionContext 2016-11-07 14:14:42 +01:00
Przemyslaw Skibinski
7a98db266b added datagen.c to lz4.vcxproj 2016-11-07 14:04:43 +01:00
Przemyslaw Skibinski
4b29af350c TreatWarningAsError=true only for debug 2016-11-07 14:00:30 +01:00
Przemyslaw Skibinski
90d4401fe0 fixed appveyor.yml (3) 2016-11-07 13:47:48 +01:00
Przemyslaw Skibinski
434d1230e0 fixed appveyor.yml (2) 2016-11-07 13:43:25 +01:00
Przemyslaw Skibinski
58ead8dd27 fixed appveyor.yml 2016-11-07 13:00:08 +01:00
Przemyslaw Skibinski
98be008479 Copy owner, file permissions and modification time 2016-11-07 12:41:14 +01:00
Przemyslaw Skibinski
1581567299 util.h requires CharacterSet=MultiByte 2016-11-07 12:13:35 +01:00
Przemyslaw Skibinski
ef9d1b2d41 fixed --test 2016-11-07 12:13:12 +01:00
Przemyslaw Skibinski
112499a73a Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev 2016-11-06 11:11:55 +01:00
Yann Collet
58d7a619a5 Merge pull request #254 from terrelln/dev
Fix LZ4_decompress_fast_continue() bug
2016-11-05 02:11:35 -07:00
Nick Terrell
920bf21714 Fix LZ4_decompress_fast_continue() bug
It specified the external dictionary location incorrectly.
Add tests that expose this bug with both normal compilation and ASAN.
2016-11-04 20:01:23 -07:00
Yann Collet
8195ba8f7b Updated man page 2016-11-04 18:29:07 -07:00
Yann Collet
96565816bd restricted deprecation warning to fairly recent gcc versions (>=6.0) 2016-11-04 17:11:06 -07:00
Yann Collet
eaad740ac7 lz4frame obsolete enum should trigger deprecation warnings (on supported compilers) 2016-11-04 16:58:34 -07:00
Yann Collet
079d5dd54b removed support for old error code enums from lz4frame_static.h, to free up namespace.
note : lz4frame_static.h does not guaranteed API stability.
note 2 : the macro to enable old error code enums is still present. Just needs to comment one line to re-enable them.
2016-11-04 16:29:43 -07:00
Yann Collet
473acf5aa9 Merge pull request #252 from inikep/dev
Dev
2016-11-04 13:54:19 -07:00
Yann Collet
10c5d5eee3 Merge pull request #253 from terrelln/exit-code
Return error if input file does not exist.
2016-11-04 13:49:19 -07:00
Nick Terrell
86a24c80f4 Fix typo in lz4 manpage 2016-11-04 12:46:39 -07:00
Nick Terrell
f30c56c083 Quiet gcc-4.6.3 narrowing warning 2016-11-04 12:34:28 -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
Yann Collet
f878c08b76 better correctness on big-endian 64-bits platforms 2016-11-04 07:24:21 -07:00
Yann Collet
26dec498cf small compression speed improvement on 64-bits systems 2016-11-04 07:18:03 -07: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
Przemyslaw Skibinski
6ebf8859e3 Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev 2016-11-04 10:22:32 +01:00
Przemyslaw Skibinski
4c496fabaa Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev 2016-11-04 10:06:45 +01:00
Yann Collet
6d6a3e0fb5 Merge pull request #250 from terrelln/test-mode
Fix test mode and write to null
2016-11-03 21:08:06 -07:00
Yann Collet
4c6610709e minor code refactoring 2016-11-03 20:32:51 -07:00
Nick Terrell
136caa552b Rename passThrough to testMode 2016-11-03 18:50:25 -07:00
Yann Collet
eda8c4eb1c fix #198 : no longer requires to restart streaming decompression from where it stopped.
It permits relocating remaining data into another memory space.
Still, the same content must be presented.
2016-11-03 18:46:07 -07:00
Nick Terrell
04d728b87b Fix tests for test mode 2016-11-03 18:19:14 -07:00
Yann Collet
4791cda04a fixed strict warnings 2016-11-03 17:31:41 -07:00
Yann Collet
258a5e7fa4 updated comments 2016-11-03 17:14: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
6f68a1692e fixed travis badges 2016-11-03 10:52:03 -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
f38adde9e0 versionsTests moved to tests/ 2016-11-03 16:01:50 +01:00
Przemyslaw Skibinski
74ba377d72 updated .travis.yml 2016-11-03 15:28:50 +01:00