summaryrefslogtreecommitdiffstats
path: root/programs/lz4io.c
Commit message (Collapse)AuthorAgeFilesLines
* extend disabling checksum validation to normal lz4 CLI decompressionYann Collet2022-07-291-4/+25
| | | | | 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.
* support skippable frames within pipeYann Collet2022-07-151-3/+22
| | | | | | | fix #977 fseek() doesn't work for pipe, switch to "read and forget" mode in such case.
* fixed -tmYann Collet2022-07-011-2/+2
| | | | which was broken up to now.
* minor refactor : EXM_THROW -> END_PROCESSYann Collet2022-07-011-76/+70
|
* refactored logic to test special file namesYann Collet2022-07-011-42/+60
|
* fail on requesting to process 3+ file names in legacy modeYann Collet2022-07-011-1/+1
| | | | warning only if -f is selected.
* Correct unit prefix names in programs/lz4io.cWHR2022-05-241-5/+5
|
* --test and --list return an error when parsing invalid fileYann Collet2022-01-291-32/+55
| | | | fix #1045
* added testYann Collet2022-01-291-1/+1
| | | | for --list from stdin
* Allow '--list' with stdin if it is a regular fileWHR2021-12-141-1/+1
|
* Fix typos found by codespellDimitri Papadopoulos2021-11-251-4/+4
|
* updated license & header datesYann Collet2020-11-251-1/+1
|
* fix minor parse warningYann Collet2020-11-141-1/+1
|
* all usages of prefs within lz4io are constYann Collet2020-11-141-31/+31
|
* LZ4IO_openDstFile() doesn't need pref mutabilityYann Collet2020-11-141-30/+33
|
* fixed force --sparse modeYann Collet2020-11-141-1/+1
|
* dictionary functions don't need prefs mutabilityYann Collet2020-11-141-4/+5
|
* LZ4IO_createDict() doesn't need prefsYann Collet2020-11-141-27/+30
|
* LZ4IO_decompressSrcFile() doesn't need mutable prefsYann Collet2020-11-141-5/+5
|
* selectDecoder() doesn't need mutable prefsYann Collet2020-11-141-4/+4
|
* LZ4IO_passThrough() doesn't need prefsYann Collet2020-11-141-9/+14
|
* LZ4IO_decompressLZ4F() doesn't need mutable prefsYann Collet2020-11-141-4/+14
|
* LZ4IO_decodeLegacyStream() doesn't need mutable prefsYann Collet2020-11-141-9/+9
|
* LZ4IO_fwriteSparse doesn't need writable prefsYann Collet2020-11-141-5/+10
|
* minor refactorYann Collet2020-11-131-32/+28
| | | | mostly on the compression code path
* minor refactor of lz4ioYann Collet2020-11-131-96/+95
| | | | | for readability. Mostly around --list capability
* fix minor static analyzer warningsYann Collet2020-09-301-12/+10
| | | | | detected by scan-build and cppcheck fix #786
* Use fstat() to determine file size.Niklas Hambüchen2020-08-241-2/+2
| | | | | | | | | | | | This allows us to get the file size even when the input file is passed via stdin. This fixes `--content-size` not working in situations like $ lz4 -v --content-size < /tmp/test > /tmp/test.lz4 Warning : cannot determine input content size With this change, it works. Also helps with #904.
* Implement -m option with legacy format on cliFilipe Calasans2020-02-081-2/+49
|
* Fix lz4cli --list optionFilipe Calasans2020-02-071-4/+5
|
* bumped version number to v1.9.2Yann Collet2019-07-011-8/+8
| | | | to reduce risks that future bug reports in `dev` branch report `v1.9.1` as the failing version.
* List mode improvements.gstedman2019-05-161-182/+190
| | | | | | | | | 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
* Add multiframe report to --list commandgstedman2019-05-151-92/+285
|
* fix: no leak when LZ4F_dctx creation failsYann Collet2019-04-221-9/+4
| | | | | strange, because it previous implementation, it would `exit()`, so it should not matter ...
* updated code commentsYann Collet2019-04-221-4/+5
|
* --list gives block typeYann Collet2019-04-221-5/+21
|
* --list can resume after a failed fileYann Collet2019-04-221-43/+60
|
* refactored --list functionYann Collet2019-04-221-79/+97
| | | | | | | better handling of special conditions, better scoping of variables. Also : updated man page
* fixed C90 complianceYann Collet2019-04-221-58/+69
| | | | re-structure code, have everything into a single section of lz4io.c
* FR #598 - Correctly initialize cfinfo & cast malloc res to (char*)gabrielstedman2019-04-221-2/+2
|
* FR #598 - Make fileSize unsigned long longgabrielstedman2019-04-221-2/+2
|
* FR #598 - Move LZ4F_compFileInfo_t def to lz4frame.h discard output_filegabrielstedman2019-04-221-4/+7
| | | | assert if in om_list mode
* FR #598 - Make LZ4IO_getCompressedFileInfo internal and reword funcgabrielstedman2019-04-221-68/+64
|
* FR #598 Improve initial design, test mallocs, support C90.gabrielstedman2019-04-211-33/+79
|
* Add --list option to display compressed file information.gabrielstedman2019-04-201-1/+39
|
* added tests for -d -m -cYann Collet2019-04-121-3/+8
| | | | seems to work properly
* fixed lz4 -m -cYann Collet2019-04-121-12/+30
| | | | can compress multiple files into stdout
* Add cast around mallocTim Zakian2019-01-111-1/+1
|
* Add constant pointer annotationsTim Zakian2019-01-111-34/+35
|
* Remove a bunch of global variables that tracked settings for the IO module, ↵Tim Zakian2019-01-101-117/+150
| | | | and move them in to a struct