summaryrefslogtreecommitdiffstats
path: root/programs
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * 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-223-9/+24
| |
| * --list can resume after a failed fileYann Collet2019-04-222-44/+61
| |
| * refactored --list functionYann Collet2019-04-223-93/+110
| | | | | | | | | | | | | | better handling of special conditions, better scoping of variables. Also : updated man page
| * fixed C90 complianceYann Collet2019-04-223-61/+74
| | | | | | | | 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-223-15/+17
| | | | | | | | assert if in om_list mode
| * Merge https://github.com/lz4/lz4 into devgabrielstedman2019-04-223-35/+41
| |\
| * | FR #598 - Make LZ4IO_getCompressedFileInfo internal and reword funcgabrielstedman2019-04-223-76/+68
| | |
| * | FR #598 Improve initial design, test mallocs, support C90.gabrielstedman2019-04-214-60/+94
| | |
| * | correctly use unisgned int for indexgabrielstedman2019-04-201-2/+2
| | |
| * | Add --list option to display compressed file information.gabrielstedman2019-04-203-3/+82
| | |
* | | Merge pull request #689 from JPeterMugaas/jpm-makefileYann Collet2019-04-221-12/+2
|\ \ \ | |_|/ |/| | Jpm makefile - as described in https://github.com/lz4/lz4/issues/688
| * | Make programs/Makefile use the includes.JPeterMugaas2019-04-221-42/+1
| | |
| * | Initial commits from diff I submitted earlierJPeterMugaas2019-04-221-5/+36
| | |
* | | ensure tests work when `stdout` is not the consoleYann Collet2019-04-222-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 != 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`.
* | ensure list of names is large enoughYann Collet2019-04-191-10/+9
| |
* | fix several minor static analyzer warningsYann Collet2019-04-181-6/+6
|/
* and even more visual conversion warningsYann Collet2019-04-131-1/+5
|
* some more Visual conversion warningYann Collet2019-04-131-1/+3
|
* fixed minor Visual conversion warningsYann Collet2019-04-131-6/+6
|
* added tests for -d -m -cYann Collet2019-04-121-3/+8
| | | | seems to work properly
* fixed lz4 -m -cYann Collet2019-04-123-13/+34
| | | | can compress multiple files into stdout
* added command -BI for "Independent Blocks"Yann Collet2019-04-123-13/+22
| | | | | | | | 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.
* updated man pageYann Collet2019-04-122-6/+16
| | | | with --favor-decSpeed
* updated doc to underline difference between block and frameYann Collet2019-04-121-3/+11
| | | | as this is a very frequent source of confusion for new users.
* improved documentation for LZ4 dictionary compressionYann Collet2019-04-111-4/+9
|
* introduce LZ4_DISTANCE_MAX build macroYann Collet2019-04-111-1/+1
| | | | | | | | | | make it possible to generate LZ4-compressed block with a controlled maximum offset (necessarily <= 65535). This could be useful for compatibility with decoders using a very limited memory budget (<64 KB). Answer #154
* Merge pull request #652 from vtorri/devYann Collet2019-03-031-1/+1
|\ | | | | Allow installation of lz4 for Windows 10 with MSYS2
| * Allow installation of lz4 for Windows 10 with MSYS2Vincent Torri2019-03-031-1/+1
| |
* | Add cast around mallocTim Zakian2019-01-111-1/+1
| |
* | Add constant pointer annotationsTim Zakian2019-01-113-54/+55
| |
* | Remove a bunch of global variables that tracked settings for the IO module, ↵Tim Zakian2019-01-103-166/+209
| | | | | | | | and move them in to a struct
* | Fix pass-through modeTim Zakian2019-01-103-2/+20
| |
* | Fix lz4 extension in input filename not causing decompressionRuben O. Chiavone2019-01-091-5/+19
|/
* Allow installation of lz4 for Windows (MSYS2 or when cross-compiling)Vincent Torri2018-11-201-1/+1
|
* support custom block sizes: fix usage message & remove unused functionsBlaise Sanouillet2018-09-282-2/+1
|
* support custom block sizes - fix typesBlaise Sanouillet2018-09-281-1/+1
|
* support custom block sizesBlaise Sanouillet2018-09-283-10/+33
|
* tried to clean another bunch of cppcheck warningsYann Collet2018-09-191-16/+24
| | | | | | | | | | | | so "funny" thing with cppcheck is that no 2 versions give the same list of warnings. On Mac, I'm using v1.81, which had all warnings fixed. On Travis CI, it's v1.61, and it complains about a dozen more/different things. On Linux, it's v1.72, and it finds a completely different list of a half dozen warnings. Some of these seems to be bugs/limitations in cppcheck itself. The TravisCI version v1.61 seems unable to understand %zu correctly, and seems to assume it means %u.
* fixed minor cppcheck warnings in programsYann Collet2018-09-182-21/+29
|
* Add support for MidnightBSDLucas Holt2018-09-082-2/+2
|
* Merge pull request #563 from lz4/docDictYann Collet2018-09-063-11/+25
|\ | | | | updated documentation for dictionary compression
| * updated documentation regarding dictionary compressionYann Collet2018-09-053-11/+25
| | | | | | | | | | | | following suggestion from @stbrumme (#558) Also : bumped version number, regenerated man page and html doc