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
Yann Collet
e64a926924
Merge pull request #242 from vapier/dev
...
README: fix minor typo
2016-09-23 23:47:24 +02:00
Mike Frysinger
92408d3381
README: fix minor typo
2016-09-23 17:38:58 -04:00
Yann Collet
52cdb4a5f4
Merge pull request #241 from vapier/dev
...
add a flag to disable static libs
2016-09-23 15:59:39 +02:00
Yann Collet
c5cb4aa52a
Merge pull request #238 from kou/add-lz4lib-api
...
Add LZ4LIB_API
2016-09-23 08:54:24 +02:00
Yann Collet
544abacedc
Merge pull request #240 from kou/add-missin-ext
...
Add missing $(EXT) to lz4 program name
2016-09-23 08:51:35 +02:00
Mike Frysinger
43b631223b
add a flag to disable static libs
2016-09-22 23:59:02 -04:00
Kouhei Sutou
829941e5a8
Add missing $(EXT) to lz4 program name
2016-09-23 10:43:12 +09:00
Kouhei Sutou
59771f41cd
Use different prefix for each file to avoid conflict
2016-09-23 10:38:44 +09:00
Yann Collet
1ca408105d
Merge pull request #239 from kou/use-lower-case-for-header-name
...
Use lower case for header file name
2016-09-22 19:13:05 +02:00
Kouhei Sutou
012c66536c
Add LZ4LIB_API
...
It's based on Zstandard's ZSTDLIB_API.
See also: https://github.com/Cyan4973/lz4/issues/216#issuecomment-226245432
Deprecated functions aren't LZ4LIB_API targets. Because we don't need to
export deprecated functions from now.
There are same LZ4LIB_API definitions in each header files instead of
including a common header file because LZ4_DEPRECATED is defined so.
2016-09-23 00:39:45 +09:00
Kouhei Sutou
46a7b94e8c
Use lower case for header file name
...
"WinIoCtl.h" works on Windows because Windows uses case insensitive file
system. But it doesn't work on GNU/Linux (for cross compiling with
MinGW) because GNU/Linux uses case sensitive file system.
2016-09-23 00:34:42 +09:00
Yann Collet
3b9439ccd0
updated uninstall
2016-09-17 11:59:13 +02:00
Yann Collet
8eae1320c2
Merge pull request #236 from inikep/dev
...
fix bug #232 at https://github.com/Cyan4973/lz4/issues/232
2016-09-06 16:49:34 +02:00
Yann Collet
33993542af
removed test artefacts
2016-09-06 16:46:52 +02:00
inikep
3eb143fffa
fix bug #232 at https://github.com/Cyan4973/lz4/issues/232
2016-09-06 10:36:16 +02:00
Yann Collet
c8a78dba1f
datagen depends on lz4.h for version string
2016-09-05 06:49:55 -07:00
Yann Collet
53515b05e6
Merge pull request #235 from inikep/dev
...
updated .travis.yml
2016-09-05 05:59:58 -07:00
inikep
92ee3e0ea9
fixed LZ4 repository links
2016-09-05 13:39:35 +02:00
inikep
39be6f16a2
versionTests require 32-bit gcc libraries
2016-09-05 12:32:33 +02:00
inikep
122fdd13a3
versionTests require python3
2016-09-05 10:53:53 +02:00
inikep
6adf7392a2
updated .travis.yml
2016-09-05 10:34:58 +02:00