summaryrefslogtreecommitdiffstats
path: root/programs
Commit message (Collapse)AuthorAgeFilesLines
* Correct unit prefix names in programs/lz4io.cWHR2022-05-241-5/+5
|
* --test and --list return an error when parsing invalid fileYann Collet2022-01-292-34/+55
| | | | fix #1045
* added testYann Collet2022-01-292-2/+5
| | | | for --list from stdin
* Allow '--list' with stdin if it is a regular fileWHR2021-12-143-7/+27
|
* Fix typos found by codespellDimitri Papadopoulos2021-11-251-4/+4
|
* make UNAME externally definableYann Collet2021-08-161-1/+2
| | | | | | | on top of providing a central definition place, which eases maintenance, it might also help for #1021. Also : updated doc
* nit(programs/platform.h): replace Unicode character #1018Nate2021-08-071-1/+1
| | | On line 83, U+2013 was replaced with U+002D in order to improve compatibility with MSVC 2019 and older compilers.
* Merge pull request #999 from pekdon/solaris-10Yann Collet2021-08-061-1/+7
|\ | | | | add -lrt on Solaris 10, required for nanosleep
| * add -lrt on Solaris 10, required for nanosleepClaes Nästén2021-06-021-1/+7
| |
* | Print target directories during 'make install'.Eddy Jansson2021-07-241-2/+2
|/ | | | This takes #975 to its logical conclusion.
* fix minor pedantic warningsYann Collet2020-12-011-7/+9
| | | | initialization and conversion
* Merge branch 'dev' into MakefileYann Collet2020-12-011-3/+3
|\ | | | | | | remove `LN_S`
| * install links over existing installYann Collet2020-11-301-3/+3
| | | | | | | | ensures links are created
* | refactor MakefileYann Collet2020-12-011-25/+29
|/ | | | | remove usage of include Makefile.inc in too Makefile as it seems to somehow unexport CFLAGS ...
* updated license & header datesYann Collet2020-11-2511-12/+11
|
* update docYann Collet2020-11-151-1/+1
|
* Merge pull request #953 from lz4/vs2005Yann Collet2020-11-151-3/+3
|\ | | | | better MSVC conformance
| * better visual conformanceYann Collet2020-11-151-3/+3
| | | | | | | | | | | | only include <intrin.h> on vs2005+ (#947) remove some useless #pragma fix a few minor Visual warnings
* | fix minor parse warningYann Collet2020-11-141-1/+1
| |
* | all usages of prefs within lz4io are constYann Collet2020-11-143-45/+48
| |
* | LZ4IO_openDstFile() doesn't need pref mutabilityYann Collet2020-11-142-33/+36
| |
* | 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-303-17/+15
| | | | | detected by scan-build and cppcheck fix #786
* fixup: Portable fileno()Niklas Hambüchen2020-08-251-1/+10
|
* fixup: C90 compliance, clean up stat() types/callsNiklas Hambüchen2020-08-251-27/+31
|
* Use fstat() to determine file size.Niklas Hambüchen2020-08-242-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-wlibYann Collet2020-08-112-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 cliFilipe Calasans2020-02-082-4/+58
|
* Fix lz4cli --list optionFilipe Calasans2020-02-072-5/+6
|
* bring support for Haiku up to date.Jerome Duval2019-11-072-1/+6
|
* Make benchmark compatible with dictionary compressionReto Koradi2019-11-063-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-WindowsRosen Penev2019-09-102-6/+20
| | | | utime was deprecated in POSIX 2008.
* lz4cli: add option '--best' as an alias of '-12'WHR2019-07-233-0/+11
|
* bumped version number to v1.9.2Yann Collet2019-07-012-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 stdoutYann Collet2019-06-241-2/+3
| | | | instead of stderr
* Handle file not existing case #704gabrielstedman2019-05-261-3/+10
|
* List mode improvements.gstedman2019-05-162-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 commandgstedman2019-05-152-92/+287
|
* More build imrpvementsJPeterMugaas2019-04-232-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/listYann Collet2019-04-235-18/+175
|\ | | | | --list