summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* updated code documentationYann Collet2018-10-153-26/+42
| | | | to clarify #589
* Merge pull request #583 from khabinov/stream-dirty-context-hcYann Collet2018-10-113-22/+58
|\ | | | | Adding information about dirty context for _HC_ family of functions
| * Adding information about dirty context for _HC_ family of functionsOleg Khabinov2018-10-103-22/+58
|/
* Merge pull request #592 from lz4/compressEndYann Collet2018-10-093-13/+32
|\ | | | | fix LZ4F_compressEnd()
| * fixed #589Yann Collet2018-10-091-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 Collet2018-10-093-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-followupsYann Collet2018-10-093-14/+15
|\ \ | |/ |/| Some followups and renamings
| * Some followups and renamingsOleg Khabinov2018-10-013-14/+15
| |
* | Merge pull request #586 from blezsan/custom_block_sizesYann Collet2018-10-026-13/+417
|\ \ | |/ |/| support custom block sizes
| * support custom block sizes: fix memory leak to make CI builds happyBlaise Sanouillet2018-10-021-21/+55
| |
| * support custom block sizes: remove unneeded fudging, fix leaked filehandles, ↵Blaise Sanouillet2018-10-012-98/+101
| | | | | | | | other nits
| * Merge branch 'dev' into custom_block_sizesBlaise Sanouillet2018-10-014-26/+62
| |\ | |/ |/|
* | Merge pull request #587 from lz4/hintbugYann Collet2018-09-281-3/+5
|\ \ | | | | | | fixed improper hint
| * | fixed improper hintYann Collet2018-09-281-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-initCheckYann Collet2018-09-283-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 Khabinov2018-09-283-23/+57
|/ / | | | | | | check if full reset is needed.
| * support custom block sizes: fix constBlaise Sanouillet2018-09-281-2/+2
| |
| * 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-286-12/+380
|/
* Merge pull request #578 from lz4/support128bitYann Collet2018-09-264-52/+65
|\ | | | | Support for 128bit pointers like AS400
| * changed LZ4_streamDecode member orderYann Collet2018-09-252-11/+11
| | | | | | | | to reduce memory usage on 128-bits systems
| * increase size of LZ4 contexts for 128-bit systemsYann Collet2018-09-183-26/+37
| |
| * Merge branch 'dev' into support128bitYann Collet2018-09-183-145/+152
| |\
| * | increase lz4hc context size as constant for 128-bit systemsYann Collet2018-09-181-6/+6
| | |
| * | use byU32 mode for any pointer > 32-bitYann Collet2018-09-141-10/+12
| | | | | | | | | | | | including 128-bit, like IBM AS-400
* | | Merge pull request #581 from lz4/cppcheckYann Collet2018-09-1915-294/+320
|\ \ \ | | | | | | | | Added cppcheck static analyzer test
| * | | tried to clean another bunch of cppcheck warningsYann Collet2018-09-194-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 cppcheckYann Collet2018-09-180-0/+0
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #579 from lz4/xxhashYann Collet2018-09-182-332/+503
|\ \ \ \ | |_|_|/ |/| | | updated xxhash to latest version
| | * | added cppcheckYann Collet2018-09-185-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | as Makefile target and Travis CI test. Fixed last cppcheck warnings in tests and examples
| | * | fixed minor cppcheck warnings in examplesYann Collet2018-09-184-31/+31
| | | |
| | * | fixed minor cppcheck warnings in programsYann Collet2018-09-182-21/+29
| | | |
| | * | fixed minor cppcheck warnings in libYann Collet2018-09-183-207/+208
| |/ /
| * | updated xxhash to latest versionYann Collet2018-09-182-332/+503
|/ /
* | Merge pull request #575 from lz4/apiDocYann Collet2018-09-183-145/+152
|\ \ | |/ |/| unpublish static-only functions
| * updated build docYann Collet2018-09-131-6/+11
| |
| * unpublish static-only functionYann Collet2018-09-133-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/enumCommaYann Collet2018-09-147-37/+40
|\ \ | | | | | | avoid final trailing comma for enum lists
| * | avoid final trailing comma for enum listsYann Collet2018-09-137-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-mnbsdYann Collet2018-09-141-1/+1
|\ \ | |/ |/| FIx pkgconfig file installation on MidnightBSD
| * FIx pkgconfig file installation on MidnightBSDLucas Holt2018-09-121-1/+1
| |
* | removed image from repositoryYann Collet2018-09-121-0/+0
| | | | | | | | used for v1.8.2 announcement
* | fixed NEWS for v1.8.3Yann Collet2018-09-121-0/+1
| |
* | updated NEWS for v1.8.3 releaseYann Collet2018-09-111-2/+4
| |
* | Merge branch 'dev' of github.com:Cyan4973/lz4 into devYann Collet2018-09-115-123/+215
|\ \
| * \ Merge pull request #571 from lz4/mflimitYann Collet2018-09-111-4/+5
| |\ \ | | | | | | | | clarify constant MFLIMIT
| | * | clarify constant MFLIMITYann Collet2018-09-111-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/partialDecodeYann Collet2018-09-115-121/+212
| |\ \ \ | | |/ / | | | | Partial decode
| | * | fixed minor warning in fuzzer.cYann Collet2018-09-103-11/+12
| | | | | | | | | | | | | | | | added a few more comments and assert()