summaryrefslogtreecommitdiffstats
path: root/programs/lz4cli.c
Commit message (Collapse)AuthorAgeFilesLines
* fix: various typosDominique Pelle2022-07-311-1/+1
|
* introduced new `--no-crc` commandYann Collet2022-07-291-0/+1
| | | | which disables both frame and block checksums.
* can select validation of CRC during benchmarkYann Collet2022-07-291-2/+2
| | | | | on command line, using existing long command --no-frame-crc. Note : it's effectively more than that, since _all_ checksums are disabled.
* implement decoder-only benchmark modeYann Collet2022-07-291-3/+10
| | | | requires an LZ4 Frame as input
* fixed minor leakYann Collet2022-07-011-7/+3
|
* fixed -tmYann Collet2022-07-011-2/+4
| | | | which was broken up to now.
* fix #1086Yann Collet2022-07-011-9/+1
| | | | just remove the specific code of #704, it's not necessary and produces side effects.
* refactored logic to test special file namesYann Collet2022-07-011-3/+5
|
* fail on requesting to process 3+ file names in legacy modeYann Collet2022-07-011-26/+24
| | | | warning only if -f is selected.
* added testYann Collet2022-01-291-1/+4
| | | | for --list from stdin
* Allow '--list' with stdin if it is a regular fileWHR2021-12-141-6/+1
|
* updated license & header datesYann Collet2020-11-251-1/+1
|
* all usages of prefs within lz4io are constYann Collet2020-11-141-9/+12
|
* fix minor static analyzer warningsYann Collet2020-09-301-1/+1
| | | | | detected by scan-build and cppcheck fix #786
* Implement -m option with legacy format on cliFilipe Calasans2020-02-081-2/+9
|
* Fix lz4cli --list optionFilipe Calasans2020-02-071-1/+1
|
* bring support for Haiku up to date.Jerome Duval2019-11-071-0/+4
|
* Make benchmark compatible with dictionary compressionReto Koradi2019-11-061-9/+9
| | | | | | | | | | | | | | | Support the -D command line option for running benchmarks. The benchmark code was slightly restructured to factor out the calls that need to be different for each benchmark scenario. Since there are now 4 scenarios (all combinations of fast/HC and with/without dictionary), the logic was getting somewhat convoluted otherwise. This was done by extending the compressionParameters struct that previously contained just a single function pointer. It now contains 4 function pointers for init/reset/compress/cleanup, with the related state. The functions get a pointer to the structure as their first argument (inspired by C++), so that they can access the state values in the struct.
* lz4cli: add option '--best' as an alias of '-12'WHR2019-07-231-0/+4
|
* fix #734 : --version should output to stdoutYann Collet2019-06-241-2/+3
| | | | instead of stderr
* Handle file not existing case #704gabrielstedman2019-05-261-3/+10
|
* List mode improvements.gstedman2019-05-161-7/+14
| | | | | | | | | Improve formatting Include static assert Use UTIL_fseek to handle potential fseek limitation Be explicit when refusing to read from stdin Properly free dctx after use Include valgrind tests
* fixed C90 complianceYann Collet2019-04-221-1/+1
| | | | re-structure code, have everything into a single section of lz4io.c
* FR #598 - Move LZ4F_compFileInfo_t def to lz4frame.h discard output_filegabrielstedman2019-04-221-3/+10
| | | | assert if in om_list mode
* Merge https://github.com/lz4/lz4 into devgabrielstedman2019-04-221-19/+26
|\
| * ensure tests work when `stdout` is not the consoleYann Collet2019-04-221-2/+3
| | | | | | | | | | | | | | ensure this case is continuously tested on travis. Update documentation on implicit output, invite to not rely on implicit output in scripts.
| * cli: display a warning whenever default output is stdout while input != stdinYann Collet2019-04-201-11/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | This behavior has been preserved for compatibility with existing ecosystem. But it's problematic, as some environment start `lz4` without identifying stdout as console by default, leading to a change of behavior for a same line of script. A more sensible policy would be to default to stdout only when input is stdin. Soft change for the time being : keep the behavior, just print a warning message. User should prefer `-c` to explicitly select `stdout`. Also : updated tests in Makefile to explicitly select `stdout` with `-c`.
* | FR #598 - Make LZ4IO_getCompressedFileInfo internal and reword funcgabrielstedman2019-04-221-2/+1
| |
* | FR #598 Improve initial design, test mallocs, support C90.gabrielstedman2019-04-211-23/+3
| |
* | correctly use unisgned int for indexgabrielstedman2019-04-201-2/+2
| |
* | Add --list option to display compressed file information.gabrielstedman2019-04-201-2/+32
|/
* fixed lz4 -m -cYann Collet2019-04-121-1/+1
| | | | can compress multiple files into stdout
* added command -BI for "Independent Blocks"Yann Collet2019-04-121-11/+13
| | | | | | | | This is the reverse of `-BD`, and the current default. This command can be useful to reverse a previous `-BD` command. It may in the future be more important if `lz4` switches to generating dependent blocks by default.
* Add constant pointer annotationsTim Zakian2019-01-111-2/+2
|
* Remove a bunch of global variables that tracked settings for the IO module, ↵Tim Zakian2019-01-101-32/+34
| | | | and move them in to a struct
* Fix pass-through modeTim Zakian2019-01-101-1/+6
|
* Fix lz4 extension in input filename not causing decompressionRuben O. Chiavone2019-01-091-5/+19
|
* support custom block sizes: fix usage message & remove unused functionsBlaise Sanouillet2018-09-281-1/+1
|
* support custom block sizesBlaise Sanouillet2018-09-281-7/+7
|
* fixed minor cppcheck warnings in programsYann Collet2018-09-181-1/+1
|
* updated documentation regarding dictionary compressionYann Collet2018-09-051-1/+1
| | | | | | following suggestion from @stbrumme (#558) Also : bumped version number, regenerated man page and html doc
* Fixed invalid argument test and reformatted elseJennifer Liu2018-06-271-2/+1
|
* Fixed code based on comments from pull requestJennifer Liu2018-06-271-4/+5
|
* Added --fast command to cliJennifer Liu2018-06-261-1/+34
|
* fasterDecSpeed can be triggered from cli with --favor-decSpeedYann Collet2018-04-261-0/+2
|
* bench: introduced hidden command -SYann Collet2018-03-201-3/+7
| | | | to benchmark multiple files with separate results
* lz4cli : minor rewrite of lz4c legacy commandsYann Collet2017-10-151-12/+13
| | | | for clarity
* lz4cli : removed extension artefactsYann Collet2017-10-151-15/+7
| | | | It used to be useful for an old Windows variant which is no longer maintained.
* Add Dictionary Support to the Command Line ToolW. Felix Handte2017-10-101-0/+27
|
* fixed a bunch of -Wcomma warningsYann Collet2017-09-101-2/+5
| | | | reported by @rvandermeulen (#398)