summaryrefslogtreecommitdiff
path: root/programs
AgeCommit message (Collapse)AuthorFilesLines
2020-11-15update docYann Collet1-1/+1
2020-11-15Merge pull request #953 from lz4/vs2005Yann Collet1-3/+3
better MSVC conformance
2020-11-14better visual conformanceYann Collet1-3/+3
only include <intrin.h> on vs2005+ (#947) remove some useless #pragma fix a few minor Visual warnings
2020-11-14fix minor parse warningYann Collet1-1/+1
2020-11-14all usages of prefs within lz4io are constYann Collet3-45/+48
2020-11-14LZ4IO_openDstFile() doesn't need pref mutabilityYann Collet2-33/+36
2020-11-14fixed force --sparse modeYann Collet1-1/+1
2020-11-13dictionary functions don't need prefs mutabilityYann Collet1-4/+5
2020-11-13LZ4IO_createDict() doesn't need prefsYann Collet1-27/+30
2020-11-13LZ4IO_decompressSrcFile() doesn't need mutable prefsYann Collet1-5/+5
2020-11-13selectDecoder() doesn't need mutable prefsYann Collet1-4/+4
2020-11-13LZ4IO_passThrough() doesn't need prefsYann Collet1-9/+14
2020-11-13LZ4IO_decompressLZ4F() doesn't need mutable prefsYann Collet1-4/+14
2020-11-13LZ4IO_decodeLegacyStream() doesn't need mutable prefsYann Collet1-9/+9
2020-11-13LZ4IO_fwriteSparse doesn't need writable prefsYann Collet1-5/+10
2020-11-13minor refactorYann Collet1-32/+28
mostly on the compression code path
2020-11-13minor refactor of lz4ioYann Collet1-96/+95
for readability. Mostly around --list capability
2020-09-29fix minor static analyzer warningsYann Collet3-17/+15
detected by scan-build and cppcheck fix #786
2020-08-25fixup: Portable fileno()Niklas Hambüchen1-1/+10
2020-08-25fixup: C90 compliance, clean up stat() types/callsNiklas Hambüchen1-27/+31
2020-08-24Use fstat() to determine file size.Niklas Hambüchen2-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.
2020-08-11added target lz4-wlibYann Collet2-6/+21
variant of lz4 linking to liblz4 dynamic library requires the dynamic library to expose static-only symbols (experimental API) Example for #888
2020-02-07Implement -m option with legacy format on cliFilipe Calasans2-4/+58
2020-02-06Fix lz4cli --list optionFilipe Calasans2-5/+6
2019-11-07bring support for Haiku up to date.Jerome Duval2-1/+6
2019-11-05Make benchmark compatible with dictionary compressionReto Koradi3-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.
2019-09-10util.h: Remove deprecated utime for non-WindowsRosen Penev2-6/+20
utime was deprecated in POSIX 2008.
2019-07-23lz4cli: add option '--best' as an alias of '-12'WHR3-0/+11
2019-07-01bumped version number to v1.9.2Yann Collet2-9/+9
to reduce risks that future bug reports in `dev` branch report `v1.9.1` as the failing version.
2019-06-24fix #734 : --version should output to stdoutYann Collet1-2/+3
instead of stderr
2019-05-26Handle file not existing case #704gabrielstedman1-3/+10
2019-05-16List mode improvements.gstedman2-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
2019-05-15Add multiframe report to --list commandgstedman2-92/+287
2019-04-23More build imrpvementsJPeterMugaas2-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.
2019-04-22Merge pull request #691 from lz4/listYann Collet5-18/+175
--list
2019-04-22fix: no leak when LZ4F_dctx creation failsYann Collet1-9/+4
strange, because it previous implementation, it would `exit()`, so it should not matter ...
2019-04-22Merge pull request #689 from JPeterMugaas/jpm-makefileYann Collet1-12/+2
Jpm makefile - as described in https://github.com/lz4/lz4/issues/688
2019-04-22updated code commentsYann Collet1-4/+5
2019-04-22--list gives block typeYann Collet3-9/+24
2019-04-22--list can resume after a failed fileYann Collet2-44/+61
2019-04-22Make programs/Makefile use the includes.JPeterMugaas1-42/+1
2019-04-22refactored --list functionYann Collet3-93/+110
better handling of special conditions, better scoping of variables. Also : updated man page
2019-04-22fixed C90 complianceYann Collet3-61/+74
re-structure code, have everything into a single section of lz4io.c
2019-04-22Initial commits from diff I submitted earlierJPeterMugaas1-5/+36
2019-04-22FR #598 - Correctly initialize cfinfo & cast malloc res to (char*)gabrielstedman1-2/+2
2019-04-22FR #598 - Make fileSize unsigned long longgabrielstedman1-2/+2
2019-04-22FR #598 - Move LZ4F_compFileInfo_t def to lz4frame.h discard output_filegabrielstedman3-15/+17
assert if in om_list mode
2019-04-22Merge https://github.com/lz4/lz4 into devgabrielstedman3-35/+41
2019-04-22FR #598 - Make LZ4IO_getCompressedFileInfo internal and reword funcgabrielstedman3-76/+68
2019-04-21ensure tests work when `stdout` is not the consoleYann Collet2-16/+16
ensure this case is continuously tested on travis. Update documentation on implicit output, invite to not rely on implicit output in scripts.