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
Przemyslaw Skibinski
9f15a4c6e6
updated Visual Studio projects
2016-11-03 15:18:59 +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
Przemyslaw Skibinski
88cef262ec
documentation moved to doc/
2016-11-03 13:25:20 +01:00
Przemyslaw Skibinski
b768da8ad8
Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev
2016-11-03 13:12:51 +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
Yann Collet
f173027690
moved cmake and debian directories to contrib ( #245 )
2016-11-01 17:29:15 -07:00
Yann Collet
d05ca2ff6d
fixed #247 , reported by Felix Bolte
2016-11-01 16:54:33 -07:00
Yann Collet
7e112cfa5c
fixes static compilation under Windows ( #246 )
2016-10-21 09:49:30 -07:00