Przemyslaw Skibinski
5ae0e789fc
Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev
2016-12-06 13:44:42 +01:00
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
6b90cfbeab
Updated man page
2016-11-28 03:43:01 -08:00
Yann Collet
009f06e01d
minor man page update
2016-11-27 23:23:40 -08:00
Takayuki MATSUOKA
544290d587
Add "man" target to Makefile
...
- `make man` makes manpage lz4.1 from lz4.1.md
- It needs `gem` and `ronn` which is same as xxhash.1.md is required.
2016-11-27 23:40:53 +09:00
Yann Collet
f4c74e6fac
library release build compatible with environment variable
2016-11-22 11:52:43 -08:00
Yann Collet
edc132b69f
lz4 release build compatible with PIE
2016-11-22 11:37:51 -08:00
Przemyslaw Skibinski
de0cf5de64
fixed LZ4IO_compressMultipleFilenames
2016-11-22 11:20:02 +01:00
Yann Collet
8b233b228d
added a few dates
2016-11-21 15:51:39 -08:00
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
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
c5cb4aa52a
Merge pull request #238 from kou/add-lz4lib-api
...
Add LZ4LIB_API
2016-09-23 08:54:24 +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
33993542af
removed test artefacts
2016-09-06 16:46:52 +02:00
Yann Collet
c8a78dba1f
datagen depends on lz4.h for version string
2016-09-05 06:49:55 -07:00
inikep
92ee3e0ea9
fixed LZ4 repository links
2016-09-05 13:39:35 +02: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
28f98647e3
lz4 version source from lz4.h
2016-09-02 22:04:16 -07:00
Yann Collet
dd51ca6300
frametest depends on standard C time.h only
2016-09-02 21:46:02 -07:00
Yann Collet
f327a8bddd
fullbench depends on standard C time.h only
2016-09-02 20:17:19 -07: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
e5b0f1ea14
CFLAGS += $(MOREFLAGS)
2016-09-03 02:05:01 +02:00
inikep
829ae75871
remove EnablePREfast=true for Win32
2016-09-03 01:35:00 +02:00
inikep
ab707e8b0d
update IncludePath
2016-09-03 01:03:04 +02:00
inikep
b3ae49c7bf
added <string.h> for strlen()
2016-09-02 23:02:30 +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
2ac9ecec68
Fixed #157 : LZ4F_getFrameInfo() fails on valid null-content frame
2016-08-11 14:55:39 +02:00
Yann Collet
45ea27949c
Minor fuzzer code refactoring
2016-08-11 12:18:45 +02:00
Yann Collet
828332d236
fixed : fuzzer test, reported by @setharnold ( #203 )
2016-08-10 09:14:11 +02:00
Yann Collet
b130fd5923
minor refactoring changes
2016-08-10 08:26:49 +02:00
Yann Collet
91cce757f5
Updated xxhash library to v0.6.1
2016-06-29 21:48:27 +02:00
Yann Collet
5540f4f93e
stronger compilation flags
2016-06-29 20:25:10 +02:00
Yann Collet
19e585cc46
modified : some more deprecated functions from lz4hc.h generate warnings
2016-06-29 18:18:34 +02:00
Yann Collet
6b1600f41e
changed : default benchmark LZ4_decompress_safe()
2016-06-29 17:48:28 +02:00
Yann Collet
410ec81543
Fixed : alignment warning
2016-06-29 17:02:09 +02:00
Yann Collet
bc342ab94c
minor refactoring
2016-06-29 16:01:24 +02:00
Yann Collet
a5508b1ad2
fixed display result issue when benchmarking multiple files
2016-06-29 14:56:50 +02:00
Yann Collet
e27e7316dd
minor code refactoring
2016-06-29 14:54:07 +02:00
Yann Collet
2d7df8b306
Reduced bench dependency to standard C <time.h>
...
Faster tests
More accurate results on systems with high resolution clocks
2016-06-29 14:35:19 +02:00
Yann Collet
8938e10742
minor compression speed improvement
2016-06-29 14:07:54 +02:00
Yann Collet
3c03326004
minor refactoring (coding style)
2016-06-29 12:54:23 +02:00
Martin Waschbüsch
7bfbccb972
Add FreeBSD to install targets
...
Add FreeBSD to install targets
2016-05-17 07:47:03 +02:00
John Zhuge
cf6652f9b9
lz4cli: print library version
2016-04-01 07:07:25 -07:00