Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | updated code documentation | Yann Collet | 2018-10-15 | 3 | -26/+42 |
| | | | | to clarify #589 | ||||
* | Merge pull request #583 from khabinov/stream-dirty-context-hc | Yann Collet | 2018-10-11 | 3 | -22/+58 |
|\ | | | | | Adding information about dirty context for _HC_ family of functions | ||||
| * | Adding information about dirty context for _HC_ family of functions | Oleg Khabinov | 2018-10-10 | 3 | -22/+58 |
|/ | |||||
* | Merge pull request #592 from lz4/compressEnd | Yann Collet | 2018-10-09 | 3 | -13/+32 |
|\ | | | | | fix LZ4F_compressEnd() | ||||
| * | fixed #589 | Yann Collet | 2018-10-09 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | following recommendations by @raggi. The fix is slightly different, but achieves the same goal, and is backed by a test tool which proves that it works (generates the error before the patch, no longer after the patch). | ||||
| * | added a test for LZ4F_compressEnd() | Yann Collet | 2018-10-09 | 3 | -13/+28 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | which actively tries to make it write out of bound. For this scenario to be possible, it's necessary to set dstCapacity < LZ4F_compressBound() When a compression operation fails, the CCtx context is left in an undefined state, therefore compression cannot resume. As a consequence : - round trip tests must be aborted, since there is nothing valid to decompress - most users avoid this situation, by ensuring that dstCapacity >= LZ4F_compressBound() For these reasons, this use case was poorly tested up to now. | ||||
* | | Merge pull request #588 from khabinov/stream-dirty-followups | Yann Collet | 2018-10-09 | 3 | -14/+15 |
|\ \ | |/ |/| | Some followups and renamings | ||||
| * | Some followups and renamings | Oleg Khabinov | 2018-10-01 | 3 | -14/+15 |
| | | |||||
* | | Merge pull request #586 from blezsan/custom_block_sizes | Yann Collet | 2018-10-02 | 6 | -13/+417 |
|\ \ | |/ |/| | support custom block sizes | ||||
| * | support custom block sizes: fix memory leak to make CI builds happy | Blaise Sanouillet | 2018-10-02 | 1 | -21/+55 |
| | | |||||
| * | support custom block sizes: remove unneeded fudging, fix leaked filehandles, ↵ | Blaise Sanouillet | 2018-10-01 | 2 | -98/+101 |
| | | | | | | | | other nits | ||||
| * | Merge branch 'dev' into custom_block_sizes | Blaise Sanouillet | 2018-10-01 | 4 | -26/+62 |
| |\ | |/ |/| | |||||
* | | Merge pull request #587 from lz4/hintbug | Yann Collet | 2018-09-28 | 1 | -3/+5 |
|\ \ | | | | | | | fixed improper hint | ||||
| * | | fixed improper hint | Yann Collet | 2018-09-28 | 1 | -3/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when LZ4F_decompress() decodes an uncompressed block, it provides an incorrect hint for next block when frame checksum is enabled and block checksum is not. Impact is low : the hint is just an hint, the decoder works whatever the amount of input provided. But the assumption that each call to LZ4F_decompress() would generate just one complete block if input size hint was respected was broken by this error. | ||||
* | | | Merge pull request #580 from khabinov/stream-error-flag-initCheck | Yann Collet | 2018-09-28 | 3 | -23/+57 |
|\ \ \ | |/ / |/| | | Rename initCheck to dirtyContext and use it in LZ4_resetStream_fast() | ||||
| * | | Rename initCheck to dirtyContext and use it in LZ4_resetStream_fast() to ↵ | Oleg Khabinov | 2018-09-28 | 3 | -23/+57 |
|/ / | | | | | | | check if full reset is needed. | ||||
| * | support custom block sizes: fix const | Blaise Sanouillet | 2018-09-28 | 1 | -2/+2 |
| | | |||||
| * | support custom block sizes: fix usage message & remove unused functions | Blaise Sanouillet | 2018-09-28 | 2 | -2/+1 |
| | | |||||
| * | support custom block sizes - fix types | Blaise Sanouillet | 2018-09-28 | 1 | -1/+1 |
| | | |||||
| * | support custom block sizes | Blaise Sanouillet | 2018-09-28 | 6 | -12/+380 |
|/ | |||||
* | Merge pull request #578 from lz4/support128bit | Yann Collet | 2018-09-26 | 4 | -52/+65 |
|\ | | | | | Support for 128bit pointers like AS400 | ||||
| * | changed LZ4_streamDecode member order | Yann Collet | 2018-09-25 | 2 | -11/+11 |
| | | | | | | | | to reduce memory usage on 128-bits systems | ||||
| * | increase size of LZ4 contexts for 128-bit systems | Yann Collet | 2018-09-18 | 3 | -26/+37 |
| | | |||||
| * | Merge branch 'dev' into support128bit | Yann Collet | 2018-09-18 | 3 | -145/+152 |
| |\ | |||||
| * | | increase lz4hc context size as constant for 128-bit systems | Yann Collet | 2018-09-18 | 1 | -6/+6 |
| | | | |||||
| * | | use byU32 mode for any pointer > 32-bit | Yann Collet | 2018-09-14 | 1 | -10/+12 |
| | | | | | | | | | | | | including 128-bit, like IBM AS-400 | ||||
* | | | Merge pull request #581 from lz4/cppcheck | Yann Collet | 2018-09-19 | 15 | -294/+320 |
|\ \ \ | | | | | | | | | Added cppcheck static analyzer test | ||||
| * | | | tried to clean another bunch of cppcheck warnings | Yann Collet | 2018-09-19 | 4 | -31/+42 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | | Merge branch 'dev' into cppcheck | Yann Collet | 2018-09-18 | 0 | -0/+0 |
| |\ \ \ | |/ / / |/| | | | |||||
* | | | | Merge pull request #579 from lz4/xxhash | Yann Collet | 2018-09-18 | 2 | -332/+503 |
|\ \ \ \ | |_|_|/ |/| | | | updated xxhash to latest version | ||||
| | * | | added cppcheck | Yann Collet | 2018-09-18 | 5 | -7/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | as Makefile target and Travis CI test. Fixed last cppcheck warnings in tests and examples | ||||
| | * | | fixed minor cppcheck warnings in examples | Yann Collet | 2018-09-18 | 4 | -31/+31 |
| | | | | |||||
| | * | | fixed minor cppcheck warnings in programs | Yann Collet | 2018-09-18 | 2 | -21/+29 |
| | | | | |||||
| | * | | fixed minor cppcheck warnings in lib | Yann Collet | 2018-09-18 | 3 | -207/+208 |
| |/ / | |||||
| * | | updated xxhash to latest version | Yann Collet | 2018-09-18 | 2 | -332/+503 |
|/ / | |||||
* | | Merge pull request #575 from lz4/apiDoc | Yann Collet | 2018-09-18 | 3 | -145/+152 |
|\ \ | |/ |/| | unpublish static-only functions | ||||
| * | updated build doc | Yann Collet | 2018-09-13 | 1 | -6/+11 |
| | | |||||
| * | unpublish static-only function | Yann Collet | 2018-09-13 | 3 | -148/+152 |
| | | | | | | | | | | | | | | these functions are now unpublished in dll by default. One needs to opt-in, using macro LZ4_PUBLISH_STATIC_FUNCTIONS. used this opportunity to update a bunch of api comments in lz4.h | ||||
* | | Merge pull request #574 from lz4/enumComma | Yann Collet | 2018-09-14 | 7 | -37/+40 |
|\ \ | | | | | | | avoid final trailing comma for enum lists | ||||
| * | | avoid final trailing comma for enum lists | Yann Collet | 2018-09-13 | 7 | -37/+40 |
| |/ | | | | | | | | | | | | | as detected in #485 by @JoachimSchneider. Refactored the c_standards tests so that these issues get automatically detected in CI tests. | ||||
* | | Merge pull request #573 from laffer1/laffer1-pkgconfig-mnbsd | Yann Collet | 2018-09-14 | 1 | -1/+1 |
|\ \ | |/ |/| | FIx pkgconfig file installation on MidnightBSD | ||||
| * | FIx pkgconfig file installation on MidnightBSD | Lucas Holt | 2018-09-12 | 1 | -1/+1 |
| | | |||||
* | | removed image from repository | Yann Collet | 2018-09-12 | 1 | -0/+0 |
| | | | | | | | | used for v1.8.2 announcement | ||||
* | | fixed NEWS for v1.8.3 | Yann Collet | 2018-09-12 | 1 | -0/+1 |
| | | |||||
* | | updated NEWS for v1.8.3 release | Yann Collet | 2018-09-11 | 1 | -2/+4 |
| | | |||||
* | | Merge branch 'dev' of github.com:Cyan4973/lz4 into dev | Yann Collet | 2018-09-11 | 5 | -123/+215 |
|\ \ | |||||
| * \ | Merge pull request #571 from lz4/mflimit | Yann Collet | 2018-09-11 | 1 | -4/+5 |
| |\ \ | | | | | | | | | clarify constant MFLIMIT | ||||
| | * | | clarify constant MFLIMIT | Yann Collet | 2018-09-11 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | and separate it from MATCH_SAFEGUARD_DISTANCE. While both constants have same value, they do not seve same purpose, hence should not be confused. | ||||
| * | | | Merge pull request #570 from lz4/partialDecode | Yann Collet | 2018-09-11 | 5 | -121/+212 |
| |\ \ \ | | |/ / | | | | | Partial decode | ||||
| | * | | fixed minor warning in fuzzer.c | Yann Collet | 2018-09-10 | 3 | -11/+12 |
| | | | | | | | | | | | | | | | | added a few more comments and assert() |