Commit Graph

494 Commits

Author SHA1 Message Date
Yann Collet
aea7d521ae better respect GNU standard Makefile conventions
supports lowercase directory variables
add an "Installation" section in README.md
added an INSTALL file
2017-08-14 15:13:23 -07:00
Yann Collet
930a692110 cli : restored command -BX to enable block checksum (#322) 2017-08-11 17:58:46 -07:00
Yann Collet
dba4d70a1d updated man page 2017-08-06 21:04:46 -07:00
FeRD (Frank Dana)
872f767fec Fix formatting of concatenation example
The "Concatenation of .lz4 files" section contains example commands
that are run together on one line, making them invalid. Wrap them
in a code block and clean up surrounding formatting.
2017-07-08 07:43:51 -04:00
Chocobo1
a4ec7fa7b7 Fix gcc7 Wimplicit-fallthrough warnings
For the default Wimplicit-fallthrough=3 level,
the comment should start with "fall*"
2017-06-19 13:57:35 +08:00
Yann Collet
a6fd0f9d0b -g compilation flag not by default for lz4 cli 2017-06-13 14:45:48 -07:00
Yann Collet
d18084c655 report where decompression ends (#313)
suggested by @ehem
note : only works for files < 2 GB
2017-06-12 15:47:43 -07:00
Yann Collet
03d8586fca cli accept block sizes with KB / MB prefixes 2017-05-26 14:38:47 -07:00
Yann Collet
b8575f2d2b updated Makefile
to automatically build manual files with
make all
2017-05-10 13:26:04 -07:00
Alexey Tourbin
a41df535f7 lz4cli.c: fix a comment: LZ4HC_DEFAULT_CLEVEL -> LZ4HC_CLEVEL_MAX
Actually the program only mentions LZ4HC_CLEVEL_MAX.
2017-04-29 16:18:37 +03:00
Sean Purcell
9b1f00056a Fix inline compile errors 2017-03-27 12:26:12 -07:00
Sean Purcell
afde27acf2 Fix IS_CONSOLE returning 1 for NUL on windows 2017-03-27 12:10:10 -07:00
Yann Collet
84246b974e Merge pull request #341 from iburinoc/exematch
Ignore extensions in exe name matching
2017-03-24 20:42:27 -07:00
Sean Purcell
e9c3b14f29 Ignore extensions in exe name matching 2017-03-24 16:33:14 -07:00
Dmitry V. Levin
b1daffc4e5 cli: add GNU separator -- specifying that all following arguments are files
This option is supported by other compressors with compatible cli,
so add it to lz4 as well for better compatibility.
2017-03-23 03:48:51 +00:00
Yann Collet
cd35f0d98c LZ4_compress_HC_destSize() uses LZ4HC_compress_generic() code path
Limits compression level to 10,
to remain compatible with Hash Chain.
2017-03-16 15:10:38 -07:00
Yann Collet
9144520dc9 fixed Visual compilation error
static const must be a "constant", like a macro
even if it can be determined at compile time ...
2017-03-15 18:59:26 -07:00
Yann Collet
a33bf89c62 fix #332 : do not modify /dev/null permissions 2017-03-15 17:26:50 -07:00
Przemyslaw Skibinski
cb1671955a bench.c: respect LZ4_MAX_INPUT_SIZE limit 2017-03-10 20:49:25 +01:00
Przemyslaw Skibinski
ca2c5fd3c6 CFLAGS=-I/usr/include/x86_64-linux-gnu 2017-02-16 00:17:42 +01:00
Przemyslaw Skibinski
ace22424d8 circle.yml: fixed lz4c32 target (2) 2017-02-15 23:19:30 +01:00
Przemyslaw Skibinski
68a358769e Avoid fseek()'s 2GiB barrier with MinGW 2017-02-15 17:17:57 +01:00
Przemyslaw Skibinski
40ad1e85d4 upgraded util.h 2017-02-15 17:16:15 +01:00
Przemyslaw Skibinski
c7b14967ab updated platform.h 2017-02-10 14:53:58 +01:00
Przemyslaw Skibinski
489d1618c9 added "This Makefile is validated for" 2017-01-19 16:28:08 +01:00
Chocobo1
db6f733ecc Use logical or instead of bitwise or 2017-01-13 00:43:25 +08:00
Chocobo1
44f95e92ea Fix printf specifier 2017-01-13 00:36:24 +08:00
Przemyslaw Skibinski
7a73c5c1fe changed default PREFIX and MANDIR 2016-12-28 11:34:23 +01:00
Przemyslaw Skibinski
efaa9b7bc7 Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev
# Conflicts:
#	lib/Makefile
2016-12-27 10:43:07 +01:00
Przemyslaw Skibinski
b22e2bed5e BSD: improved "make install" 2016-12-23 10:05:41 +01:00
Przemyslaw Skibinski
ea51ad0cee Solaris: working "make install" 2016-12-23 00:02:01 +01:00
Yann Collet
19c0f21b00 updated Makefile : lz4 no longer recompiled when already up-to-date 2016-12-22 18:02:09 +01:00
Przemyslaw Skibinski
9b4b081c15 "make test" is now compatible with Solaris 2016-12-22 17:18:39 +01:00
Yann Collet
b41f9bb132 Merge pull request #292 from inikep/dev
improved POSIX
2016-12-22 11:58:29 +01:00
Yann Collet
52cac9a973 updated a few macros names 2016-12-22 11:41:05 +01:00
Przemyslaw Skibinski
fea95c1567 use FindFirstFileA and FindNextFileA on Windows 2016-12-22 10:58:58 +01:00
Przemyslaw Skibinski
e6af952f84 improved comments 2016-12-21 19:49:06 +01:00
Przemyslaw Skibinski
5812450635 use fseeko for 32-bit MacOS 2016-12-21 18:46:14 +01:00
Przemyslaw Skibinski
f084b65383 test Large File support for Mac OS-X in 32-bits mode 2016-12-21 17:13:38 +01:00
Przemyslaw Skibinski
973bc79740 util.h and platform.h based on zstd 2016-12-21 16:10:09 +01:00
Przemyslaw Skibinski
2fd7eb554a fixed Visual Studio compilation 2016-12-21 11:53:16 +01:00
Przemyslaw Skibinski
64cbc4e1dc improved MinGW support 2016-12-21 10:22:40 +01:00
Przemyslaw Skibinski
9546ba62d0 executables use basic types from util.h 2016-12-21 09:44:59 +01:00
Przemyslaw Skibinski
452cc970d6 reordered definitons in platform.h 2016-12-20 23:38:32 +01:00
Przemyslaw Skibinski
090cb887a3 improved formatting (2) 2016-12-20 22:21:03 +01:00
Przemyslaw Skibinski
e1332241a5 improved formatting 2016-12-20 21:11:39 +01:00
Przemyslaw Skibinski
5f0cc8e2d0 fixed gcc warnings (2) 2016-12-20 20:52:18 +01:00
Przemyslaw Skibinski
2efedaf7dc fixed gcc warnings 2016-12-20 19:31:05 +01:00
Przemyslaw Skibinski
6adf05d1ed improved platform.h 2016-12-20 18:56:09 +01:00
Przemyslaw Skibinski
2cfef13952 executables use platform.h 2016-12-20 18:05:43 +01:00
Przemyslaw Skibinski
bb69cdf258 updated util.h 2016-12-20 18:03:30 +01:00
Przemyslaw Skibinski
45b14ab8e0 added platfom.h 2016-12-20 18:03:13 +01:00
Przemyslaw Skibinski
e7c42d757d Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev 2016-12-09 12:37:21 +01:00
Yann Collet
de93e9e5d8 fix #285 : lz4cat doesn't work with stdin (reported by @beiDei8z) 2016-12-08 14:25:04 -08:00
Przemyslaw Skibinski
20183ad7af Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev 2016-12-08 15:22:02 +01:00
Yann Collet
0280cf40dd fixed path-1, as suggested by @t-mat 2016-12-08 02:47:42 +01:00
Yann Collet
750a50cf67 fix #284, reported by @beiDei8z : added test cases for path/to/lz4cat 2016-12-07 14:49:04 -08:00
Yann Collet
01ffed25ad fix : invocation of path/to/unlz4 (#284), reported by @beiDei8z 2016-12-07 14:29:22 -08:00
Przemyslaw Skibinski
1289038240 15-bit LZ4HC_HASH_LOG 2016-12-07 14:31:46 +01:00
Przemyslaw Skibinski
1833be1cf0 fixed gcc warnings 2016-12-07 12:59:05 +01:00
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