Commit Graph

612 Commits

Author SHA1 Message Date
Yann Collet
23af1d776d updated man page 2022-08-11 14:33:27 -07:00
Yann Collet
18b293d9fd updated documentation in anticipation for v1.9.4 release 2022-08-11 14:06:30 -07:00
Dominique Pelle
3347485307 fix: various typos 2022-07-31 17:47:00 +02:00
Yann Collet
9978bb90cf fixed minor pedantic warning 2022-07-29 23:31:08 +02:00
Yann Collet
5797d57018 extend disabling checksum validation to normal lz4 CLI decompression
note : it's unlikely to improve speed, as in most cases I/O is slower than lz4 decompression,
but maybe in extreme scenarios, it might show a difference.
2022-07-29 23:21:40 +02:00
Yann Collet
8f18b4b4e6 introduced new --no-crc command
which disables both frame and block checksums.
2022-07-29 22:22:27 +02:00
Yann Collet
f01b7b5209 can select validation of CRC during benchmark
on command line, using existing long command --no-frame-crc.
Note : it's effectively more than that, since _all_ checksums are disabled.
2022-07-29 22:13:38 +02:00
Yann Collet
4f4d09a0d1 implement decoder-only benchmark mode
requires an LZ4 Frame as input
2022-07-29 19:22:59 +02:00
Yann Collet
cd96e3e7a5 minor refactor
to prepare bench.c for multiple decoding functions.
2022-07-29 15:24:50 +02:00
Yann Collet
df4bb410e3 updated documentation of bench unit 2022-07-29 14:51:52 +02:00
Yann Collet
598eafde2d minor : fix conversion warnings 2022-07-29 14:34:53 +02:00
Yann Collet
6784e78e00 support skippable frames within pipe
fix #977

fseek() doesn't work for pipe,
switch to "read and forget" mode in such case.
2022-07-15 19:30:53 +02:00
Yann Collet
49e63cd522 fixed minor leak 2022-07-01 02:55:47 -07:00
Yann Collet
149644df49 fixed -tm
which was broken up to now.
2022-07-01 02:21:44 -07:00
Yann Collet
fcbf585598 minor refactor : EXM_THROW -> END_PROCESS 2022-07-01 02:07:43 -07:00
Yann Collet
e23700d263 fix #1086
just remove the specific code of #704, it's not necessary and produces side effects.
2022-07-01 01:45:12 -07:00
Yann Collet
35565bf0dc refactored logic to test special file names 2022-07-01 01:36:32 -07:00
Yann Collet
24b50935f9 fail on requesting to process 3+ file names in legacy mode
warning only if -f is selected.
2022-06-30 21:53:29 -07:00
WHR
8331b32321 Correct unit prefix names in programs/lz4io.c 2022-05-24 12:04:55 +08:00
Yann Collet
fbc61cde65 --test and --list return an error when parsing invalid file
fix #1045
2022-01-28 23:31:51 -08:00
Yann Collet
573fa33d1d added test
for --list from stdin
2022-01-28 17:08:44 -08:00
WHR
540b52ea7b Allow '--list' with stdin if it is a regular file 2021-12-14 19:41:09 +08:00
Dimitri Papadopoulos
4bdfb08b95
Fix typos found by codespell 2021-11-25 15:32:37 +01:00
Yann Collet
596c747211 make UNAME externally definable
on top of providing a central definition place, which eases maintenance,
it might also help for #1021.

Also : updated doc
2021-08-16 16:43:17 -07:00
Nate
0c78292335
nit(programs/platform.h): replace Unicode character #1018
On line 83, U+2013 was replaced with U+002D in order to improve compatibility with MSVC 2019 and older compilers.
2021-08-07 06:32:31 -04:00
Yann Collet
aeac6227d2
Merge pull request #999 from pekdon/solaris-10
add -lrt on Solaris 10, required for nanosleep
2021-08-06 19:10:00 +02:00
Eddy Jansson
eba110ad5b Print target directories during 'make install'.
This takes #975 to its logical conclusion.
2021-07-24 17:20:37 +02:00
Claes Nästén
c756d90da9 add -lrt on Solaris 10, required for nanosleep 2021-06-02 09:09:16 +02:00
Yann Collet
28ff53b868 fix minor pedantic warnings
initialization and conversion
2020-12-01 08:11:35 -08:00
Yann Collet
5a551754cf Merge branch 'dev' into Makefile
remove `LN_S`
2020-11-30 16:09:22 -08:00
Yann Collet
e585a438c7 refactor Makefile
remove usage of include Makefile.inc in too Makefile
as it seems to somehow unexport CFLAGS ...
2020-11-30 16:06:50 -08:00
Yann Collet
165fdddc28 install links over existing install
ensures links are created
2020-11-30 05:13:38 -08:00
Yann Collet
87a80acbe7 updated license & header dates 2020-11-25 14:45:14 -08:00
Yann Collet
0760724577 update doc 2020-11-15 01:31:09 -08:00
Yann Collet
0bd7dafc93
Merge pull request #953 from lz4/vs2005
better MSVC conformance
2020-11-15 01:23:40 -08:00
Yann Collet
e0f85f2fc8 better visual conformance
only include <intrin.h> on vs2005+ (#947)
remove some useless #pragma
fix a few minor Visual warnings
2020-11-14 16:27:57 -08:00
Yann Collet
be13653ad0 fix minor parse warning 2020-11-14 12:44:18 -08:00
Yann Collet
36eadb205a all usages of prefs within lz4io are const 2020-11-14 12:40:17 -08:00
Yann Collet
7315c6e7a0 LZ4IO_openDstFile() doesn't need pref mutability 2020-11-14 11:13:08 -08:00
Yann Collet
849ebae524 fixed force --sparse mode 2020-11-14 10:52:19 -08:00
Yann Collet
5fa6417b2e dictionary functions don't need prefs mutability 2020-11-13 22:20:49 -08:00
Yann Collet
772a312b00 LZ4IO_createDict() doesn't need prefs 2020-11-13 22:16:39 -08:00
Yann Collet
8af38013e0 LZ4IO_decompressSrcFile() doesn't need mutable prefs 2020-11-13 21:51:08 -08:00
Yann Collet
2b3445a269 selectDecoder() doesn't need mutable prefs 2020-11-13 21:49:43 -08:00
Yann Collet
8d37662e48 LZ4IO_passThrough() doesn't need prefs 2020-11-13 21:47:17 -08:00
Yann Collet
c8c3f8e62e LZ4IO_decompressLZ4F() doesn't need mutable prefs 2020-11-13 20:57:26 -08:00
Yann Collet
a203cb2a6e LZ4IO_decodeLegacyStream() doesn't need mutable prefs 2020-11-13 20:51:49 -08:00
Yann Collet
f81f3a254e LZ4IO_fwriteSparse doesn't need writable prefs 2020-11-13 16:44:39 -08:00
Yann Collet
22729ecb8b minor refactor
mostly on the compression code path
2020-11-13 11:55:33 -08:00
Yann Collet
b7c6fc9f61 minor refactor of lz4io
for readability.
Mostly around --list capability
2020-11-13 10:57:40 -08:00