| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
worst case, designed to make the decoder overwrite into input
|
|
|
|
| |
to ensure no overflow during unit tests
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- only play listTest with `make test`, not `make all` which is limited to build
- update `clangtest`, so that it's possible to disable O3 optimization, for faster processing
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
Change test-amalgamation to follow each-rule-makes-a-single-target idiom.
Fixes: a7e8d394 ("[amalgamation] add test")
|
|
|
|
|
|
| |
Use the same compilation options to compile lz4_all.c and other object files.
Fixes: a7e8d394 ("[amalgamation] add test")
|
|
|
|
|
|
|
|
|
|
| |
Use the list of prerequisites instead of listing those files manually,
this way they will never fall out of sync.
Also update the amalgamation example to use a single cat command.
Fixes: a7e8d394 ("[amalgamation] add test")
Fixes: b192c86b ("[amalgamation] lz4frame.c")
|
|
|
|
|
|
|
| |
Add $(LZ4DIR)/lz4frame.c to the list of prerequisites as the rule uses
that file.
Fixes: b192c86b ("[amalgamation] lz4frame.c")
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
--list
|
| |
| |
| |
| |
| |
| |
| | |
better handling of special conditions,
better scoping of variables.
Also : updated man page
|
|\ \
| |/
|/| |
Jpm makefile - as described in https://github.com/lz4/lz4/issues/688
|
| | |
|
| |
| |
| |
| | |
"install" in one place to try to isolate it.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
ensure this case is continuously tested on travis.
Update documentation on implicit output,
invite to not rely on implicit output in scripts.
|
| |
| |
| |
| |
| |
| | |
for potential redirection, if need be.
note : should probably converge all comparison operations onto CMP
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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`.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
and created target cxx17build
|
| | |
|
| |
| |
| |
| |
| | |
the program exit(),
so there is no need to track and dealloc every buffer.
|
| | |
|
| | |
|
|/ |
|
|\ |
|
| |
| |
| |
| |
| | |
which is unable to understand that the variable is necessarily initialized
in spite of an assert just before.
|
|/
|
|
|
|
| |
context is no longer dirty after a failed compressed block.
Actually, all indexes are fine.
It remains compatible with continued streaming, and reset*_fast().
|
| |
|
|
|
|
| |
was a false positive, but better remove it anyway
|
|
|
|
| |
ensure canary remains within buffer limits
|
|
|
|
|
|
| |
One test could write a canary value out of bound
in exceptional conditions involving multiple flushes
triggered by -s3421 -t462948.
|
| |
|
| |
|
|
|
|
| |
seems to work properly
|
|
|
|
| |
can compress multiple files into stdout
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
by making a full initialization
instead of a fast reset.
|
|
|
|
|
| |
it is now a pure initializer, for statically allocated states.
It can initialize any memory area, and because of this, requires size.
|
|
|
|
| |
not liked by mingw
|