Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixed force --sparse mode | Yann Collet | 2020-11-14 | 1 | -1/+1 |
| | |||||
* | dictionary functions don't need prefs mutability | Yann Collet | 2020-11-14 | 1 | -4/+5 |
| | |||||
* | LZ4IO_createDict() doesn't need prefs | Yann Collet | 2020-11-14 | 1 | -27/+30 |
| | |||||
* | LZ4IO_decompressSrcFile() doesn't need mutable prefs | Yann Collet | 2020-11-14 | 1 | -5/+5 |
| | |||||
* | selectDecoder() doesn't need mutable prefs | Yann Collet | 2020-11-14 | 1 | -4/+4 |
| | |||||
* | LZ4IO_passThrough() doesn't need prefs | Yann Collet | 2020-11-14 | 1 | -9/+14 |
| | |||||
* | LZ4IO_decompressLZ4F() doesn't need mutable prefs | Yann Collet | 2020-11-14 | 1 | -4/+14 |
| | |||||
* | LZ4IO_decodeLegacyStream() doesn't need mutable prefs | Yann Collet | 2020-11-14 | 1 | -9/+9 |
| | |||||
* | LZ4IO_fwriteSparse doesn't need writable prefs | Yann Collet | 2020-11-14 | 1 | -5/+10 |
| | |||||
* | minor refactor | Yann Collet | 2020-11-13 | 1 | -32/+28 |
| | | | | mostly on the compression code path | ||||
* | minor refactor of lz4io | Yann Collet | 2020-11-13 | 1 | -96/+95 |
| | | | | | for readability. Mostly around --list capability | ||||
* | fix minor static analyzer warnings | Yann Collet | 2020-09-30 | 3 | -17/+15 |
| | | | | | detected by scan-build and cppcheck fix #786 | ||||
* | fixup: Portable fileno() | Niklas Hambüchen | 2020-08-25 | 1 | -1/+10 |
| | |||||
* | fixup: C90 compliance, clean up stat() types/calls | Niklas Hambüchen | 2020-08-25 | 1 | -27/+31 |
| | |||||
* | Use fstat() to determine file size. | Niklas Hambüchen | 2020-08-24 | 2 | -3/+28 |
| | | | | | | | | | | | | 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. | ||||
* | added target lz4-wlib | Yann Collet | 2020-08-11 | 2 | -6/+21 |
| | | | | | | | | variant of lz4 linking to liblz4 dynamic library requires the dynamic library to expose static-only symbols (experimental API) Example for #888 | ||||
* | Implement -m option with legacy format on cli | Filipe Calasans | 2020-02-08 | 2 | -4/+58 |
| | |||||
* | Fix lz4cli --list option | Filipe Calasans | 2020-02-07 | 2 | -5/+6 |
| | |||||
* | bring support for Haiku up to date. | Jerome Duval | 2019-11-07 | 2 | -1/+6 |
| | |||||
* | Make benchmark compatible with dictionary compression | Reto Koradi | 2019-11-06 | 3 | -53/+244 |
| | | | | | | | | | | | | | | | 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. | ||||
* | util.h: Remove deprecated utime for non-Windows | Rosen Penev | 2019-09-10 | 2 | -6/+20 |
| | | | | utime was deprecated in POSIX 2008. | ||||
* | lz4cli: add option '--best' as an alias of '-12' | WHR | 2019-07-23 | 3 | -0/+11 |
| | |||||
* | bumped version number to v1.9.2 | Yann Collet | 2019-07-01 | 2 | -9/+9 |
| | | | | to reduce risks that future bug reports in `dev` branch report `v1.9.1` as the failing version. | ||||
* | fix #734 : --version should output to stdout | Yann Collet | 2019-06-24 | 1 | -2/+3 |
| | | | | instead of stderr | ||||
* | Handle file not existing case #704 | gabrielstedman | 2019-05-26 | 1 | -3/+10 |
| | |||||
* | List mode improvements. | gstedman | 2019-05-16 | 2 | -189/+204 |
| | | | | | | | | | 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 command | gstedman | 2019-05-15 | 2 | -92/+287 |
| | |||||
* | More build imrpvements | JPeterMugaas | 2019-04-23 | 2 | -21/+59 |
| | | | | | | Moved a few other tests to Makefiles.inc. Other things might need to go there. Made a test for symlink appropriateness. Windows can NOT handle them the same way Unix-like operating systems do (if at all). This is mostly the same as the Visual C projects. embed version info into .dll and .exes that are redistributed. | ||||
* | Merge pull request #691 from lz4/list | Yann Collet | 2019-04-23 | 5 | -18/+175 |
|\ | | | | | --list | ||||
| * | fix: no leak when LZ4F_dctx creation fails | Yann Collet | 2019-04-22 | 1 | -9/+4 |
| | | | | | | | | | | strange, because it previous implementation, it would `exit()`, so it should not matter ... | ||||
| * | updated code comments | Yann Collet | 2019-04-22 | 1 | -4/+5 |
| | | |||||
| * | --list gives block type | Yann Collet | 2019-04-22 | 3 | -9/+24 |
| | | |||||
| * | --list can resume after a failed file | Yann Collet | 2019-04-22 | 2 | -44/+61 |
| | | |||||
| * | refactored --list function | Yann Collet | 2019-04-22 | 3 | -93/+110 |
| | | | | | | | | | | | | | | better handling of special conditions, better scoping of variables. Also : updated man page | ||||
| * | fixed C90 compliance | Yann Collet | 2019-04-22 | 3 | -61/+74 |
| | | | | | | | | re-structure code, have everything into a single section of lz4io.c | ||||
| * | FR #598 - Correctly initialize cfinfo & cast malloc res to (char*) | gabrielstedman | 2019-04-22 | 1 | -2/+2 |
| | | |||||
| * | FR #598 - Make fileSize unsigned long long | gabrielstedman | 2019-04-22 | 1 | -2/+2 |
| | | |||||
| * | FR #598 - Move LZ4F_compFileInfo_t def to lz4frame.h discard output_file | gabrielstedman | 2019-04-22 | 3 | -15/+17 |
| | | | | | | | | assert if in om_list mode | ||||
| * | Merge https://github.com/lz4/lz4 into dev | gabrielstedman | 2019-04-22 | 3 | -35/+41 |
| |\ | |||||
| * | | FR #598 - Make LZ4IO_getCompressedFileInfo internal and reword func | gabrielstedman | 2019-04-22 | 3 | -76/+68 |
| | | | |||||
| * | | FR #598 Improve initial design, test mallocs, support C90. | gabrielstedman | 2019-04-21 | 4 | -60/+94 |
| | | | |||||
| * | | correctly use unisgned int for index | gabrielstedman | 2019-04-20 | 1 | -2/+2 |
| | | | |||||
| * | | Add --list option to display compressed file information. | gabrielstedman | 2019-04-20 | 3 | -3/+82 |
| | | | |||||
* | | | Merge pull request #689 from JPeterMugaas/jpm-makefile | Yann Collet | 2019-04-22 | 1 | -12/+2 |
|\ \ \ | |_|/ |/| | | Jpm makefile - as described in https://github.com/lz4/lz4/issues/688 | ||||
| * | | Make programs/Makefile use the includes. | JPeterMugaas | 2019-04-22 | 1 | -42/+1 |
| | | | |||||
| * | | Initial commits from diff I submitted earlier | JPeterMugaas | 2019-04-22 | 1 | -5/+36 |
| | | | |||||
* | | | ensure tests work when `stdout` is not the console | Yann Collet | 2019-04-22 | 2 | -16/+16 |
| | | | | | | | | | | | | | | | | | | | | | 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 != stdin | Yann Collet | 2019-04-20 | 1 | -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`. | ||||
* | | ensure list of names is large enough | Yann Collet | 2019-04-19 | 1 | -10/+9 |
| | | |||||
* | | fix several minor static analyzer warnings | Yann Collet | 2019-04-18 | 1 | -6/+6 |
|/ |