summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* refactored --list functionYann Collet2019-04-224-93/+111
| | | | | | | better handling of special conditions, better scoping of variables. Also : updated man page
* fixed C90 complianceYann Collet2019-04-224-68/+74
| | | | re-structure code, have everything into a single section of lz4io.c
* Merge pull request #690 from gabrielstedman/devYann Collet2019-04-225-4/+110
|\ | | | | Implement --list
| * FR #598 - Correctly initialize cfinfo & cast malloc res to (char*)gabrielstedman2019-04-221-2/+2
| |
| * FR #598 - Make fileSize unsigned long longgabrielstedman2019-04-222-4/+4
| |
| * FR #598 - Move LZ4F_compFileInfo_t def to lz4frame.h discard output_filegabrielstedman2019-04-224-15/+24
| | | | | | | | assert if in om_list mode
| * Merge https://github.com/lz4/lz4 into devgabrielstedman2019-04-225-56/+64
| |\ | |/ |/|
* | Merge pull request #686 from lz4/clistdoutYann Collet2019-04-224-46/+62
|\ \ | | | | | | cli: warning for stdout as default output
| * | ensure tests work when `stdout` is not the consoleYann Collet2019-04-224-18/+18
| | | | | | | | | | | | | | | | | | | | | ensure this case is continuously tested on travis. Update documentation on implicit output, invite to not rely on implicit output in scripts.
| * | tests/Makefile : created CMP variableYann Collet2019-04-211-6/+8
| | | | | | | | | | | | | | | | | | for potential redirection, if need be. note : should probably converge all comparison operations onto CMP
| * | cli: display a warning whenever default output is stdout while input != stdinYann Collet2019-04-202-24/+38
|/ / | | | | | | | | | | | | | | | | | | | | | | | | 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`.
| * 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
|/
* bumped version numberYann Collet2019-04-194-5/+10
| | | | to v1.9.1
* Merge pull request #684 from lz4/cxxlz4fYann Collet2019-04-193-6/+8
|\ | | | | lz4frame: initializers compatibility with C++
| * lz4frame: initializers compatibility with C++Yann Collet2019-04-193-6/+8
|/ | | | fix #679, reported by @degski
* Merge pull request #683 from lz4/fuzasanYann Collet2019-04-193-103/+112
|\ | | | | fixed read-after input in LZ4_decompress_safe()
| * fixed read-after input in LZ4_decompress_safe()Yann Collet2019-04-193-103/+112
| |
* | Merge pull request #682 from lz4/visualYann Collet2019-04-198-107/+123
|\ \ | |/ | | fix minor Visual warnings
| * ensure list of names is large enoughYann Collet2019-04-191-10/+9
| |
| * fuzzer : reduced stack usageYann Collet2019-04-191-18/+18
| |
| * fuzzer: reduce stack usage to please Visual static analyzerYann Collet2019-04-191-58/+66
| |
| * address a few minor Visual warningsYann Collet2019-04-187-26/+35
|/ | | | and created target cxx17build
* Merge pull request #678 from lz4/decFastYann Collet2019-04-186-87/+107
|\ | | | | Fix out-of-bound read in LZ4_decompress_fast()
| * fix several minor static analyzer warningsYann Collet2019-04-184-40/+52
| |
| * fuzzer: fixed scan-build leak warningYann Collet2019-04-181-19/+10
| | | | | | | | | | the program exit(), so there is no need to track and dealloc every buffer.
| * fuzzer: fix explicit cast for C++Yann Collet2019-04-171-1/+1
| |
| * re-enable FORCE_INLINEYann Collet2019-04-171-3/+0
| | | | | | | | was disabled for tests
| * fix out-of-bound read within LZ4_decompress_fast()Yann Collet2019-04-172-11/+23
| | | | | | | | | | | | | | | | | | | | | | and deprecate LZ4_decompress_fast(), with deprecation warnings enabled by default. Note that, as a consequence of the fix, LZ4_decompress_fast is now __slower__ than LZ4_decompress_safe(). That's because, since it doesn't know the input buffer size, it must progress more cautiously into the input buffer to ensure to out-of-bound read.
| * fuzzer: added tests to detect LZ4_decompress_fast() out of bound readYann Collet2019-04-171-19/+27
|/
* Merge pull request #674 from nrgiii/devYann Collet2019-04-172-0/+10
|\ | | | | Fix
| * Merge branch 'fuzzerAix' into devNorm Green2019-04-172-0/+10
| |\ |/ /
| * Fix AIX errors/warningsNorm Green2019-04-172-0/+10
|/
* fixed version number for lz4hcYann Collet2019-04-171-1/+1
|
* minor benchmark updateYann Collet2019-04-162-4/+4
| | | | was using wrong memory timing
* ensure consistent definition and usage of FREEMEMYann Collet2019-04-162-6/+6
| | | | as suggested by @sloutsky in #671
* minor news updateYann Collet2019-04-161-1/+1
| | | | for msys2
* updated NEWS for v1.9.0Yann Collet2019-04-161-0/+12
|
* Merge pull request #669 from lz4/fixframeYann Collet2019-04-154-74/+67
|\ | | | | Fix lz4frame inefficiency
| * simplified output_directiveYann Collet2019-04-151-15/+17
| |
| * fix comma for pedanticYann Collet2019-04-151-1/+1
| |
| * Merge branch 'dev' into fixframeYann Collet2019-04-151-1/+1
| |\ | |/ |/|
* | added a fake initialization to please an analyzerYann Collet2019-04-151-1/+1
| | | | | | | | | | which is unable to understand that the variable is necessarily initialized in spite of an assert just before.
| * fix fuzzer tests on dirty contextYann Collet2019-04-151-3/+3
| | | | | | | | | | | | context is no longer dirty after a failed compressed block. Actually, all indexes are fine. It remains compatible with continued streaming, and reset*_fast().
| * unified limitedOutput_directiveYann Collet2019-04-152-35/+27
| | | | | | | | | | | | | | | | | | | | | | between lz4.c and lz4hc.c . was left in a strange state after the "amalgamation" patch. Now only 3 directives remain, same name across both implementations, single definition place. Might allow some light simplification due to reduced nb of states possible.
| * Merge branch 'dev' into fixframeYann Collet2019-04-151-5/+4
| |\ | |/ |/|
* | added more margin for canary in frametestYann Collet2019-04-151-5/+4
| |
| * decompress*_fast() function do not generate deprecation warningsYann Collet2019-04-151-13/+14
| | | | | | | | | | | | | | | | | | they are classified as deprecated in the API documentation (lz4.h) but do not yet trigger a warning, to give time to existing applications to move away. Also, the _fast() variants are still ~5% faster than the _safe() ones after Dave's patch.