summaryrefslogtreecommitdiffstats
path: root/lib/lz4.h
Commit message (Collapse)AuthorAgeFilesLines
* bumped version number to v1.9.2Yann Collet2019-07-011-1/+1
| | | | to reduce risks that future bug reports in `dev` branch report `v1.9.1` as the failing version.
* precise again that LZ4 decoder needs metadataYann Collet2019-06-061-22/+31
| | | | and that such metadata must be provided / sent / saved by the application.
* added more details for in-place documentationYann Collet2019-05-311-14/+15
|
* updated LZ4_DECOMPRESS_INPLACE_MARGINYann Collet2019-05-301-2/+2
| | | | | to pass worst case scenario. Now adds margin proportional to input size to counter local expansion.
* add more doc on in-place (de)compressionYann Collet2019-05-301-5/+25
|
* ensure lz4.h can be included with or without LZ4_STATIC_LINKING_ONLY in any ↵Yann Collet2019-05-291-4/+12
| | | | | | order ensure correct propagation of LZ4_DISTANCE_MAX
* added comments and macros for in-place (de)compressionYann Collet2019-05-291-2/+46
|
* several minor style changes recommended by clang-tidyYann Collet2019-04-241-2/+2
|
* bumped version numberYann Collet2019-04-191-1/+1
| | | | to v1.9.1
* address a few minor Visual warningsYann Collet2019-04-181-3/+5
| | | | and created target cxx17build
* fix out-of-bound read within LZ4_decompress_fast()Yann Collet2019-04-171-9/+10
| | | | | | | | | | | 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.
* 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.
* updated doc to underline difference between block and frameYann Collet2019-04-121-7/+11
| | | | as this is a very frequent source of confusion for new users.
* improved documentation for LZ4 dictionary compressionYann Collet2019-04-111-3/+8
|
* added versions in commentsYann Collet2019-04-101-1/+2
|
* LZ4_initStream() checks alignment restrictionYann Collet2019-04-081-7/+10
| | | | updated associated documentation
* added comment on initStream + _extState_Yann Collet2019-04-051-4/+8
| | | | as suggested by @felixhandte
* created LZ4_initStream()Yann Collet2019-04-051-44/+44
| | | | | | | | | | - promoted LZ4_resetStream_fast() to stable - moved LZ4_resetStream() into deprecate, but without triggering a compiler warning - update all sources to no longer rely on LZ4_resetStream() note : LZ4_initStream() proposal is slightly different : it's able to initialize any buffer, provided that it's large enough. To this end, it accepts a void*, and returns an LZ4_stream_t*.
* make `_fast*()` decoder generate a deprecation warningYann Collet2019-04-041-6/+14
| | | | updated modification
* moved LZ4_decompress_fast*() into deprecated sectionYann Collet2019-04-041-23/+29
|
* fixed docYann Collet2019-04-031-7/+10
| | | | and bumped version number fo v1.9.0
* Merge pull request #593 from felixhandte/lz4hc-publish-staticYann Collet2018-10-161-19/+20
|\ | | | | Extend Macro to Allow Publishing Experimental LZ4HC Functions in Dynamic Libraries
| * Change Comment and Make LZ4LIB_STATIC_API Available to LZ4HCW. Felix Handte2018-10-161-19/+20
| |
* | Some followups and renamingsOleg Khabinov2018-10-011-2/+2
|/
* Rename initCheck to dirtyContext and use it in LZ4_resetStream_fast() to ↵Oleg Khabinov2018-09-281-12/+17
| | | | check if full reset is needed.
* changed LZ4_streamDecode member orderYann Collet2018-09-251-1/+1
| | | | to reduce memory usage on 128-bits systems
* increase size of LZ4 contexts for 128-bit systemsYann Collet2018-09-181-15/+15
|
* unpublish static-only functionYann Collet2018-09-131-74/+81
| | | | | | | 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
* fixed minor warning in fuzzer.cYann Collet2018-09-101-4/+4
| | | | added a few more comments and assert()
* updated function interface documentationYann Collet2018-09-071-5/+19
|
* first sketch for a byte-accurate partial decoderYann Collet2018-09-071-2/+2
|
* updated API documentationYann Collet2018-09-071-46/+56
|
* updated documentation regarding dictionary compressionYann Collet2018-09-051-1/+1
| | | | | | following suggestion from @stbrumme (#558) Also : bumped version number, regenerated man page and html doc
* fixed spelling mistake in lz4.hJack Luo2018-07-291-1/+1
|
* Fix LZ4_compress_fast_continue() docsNick Terrell2018-07-101-1/+1
| | | | Fixes #549.
* Merge pull request #529 from felixhandte/lz4f-fast-reset-for-streaming-onlyYann Collet2018-05-031-5/+19
|\ | | | | LZ4F: Only Reset the LZ4_stream_t when Init'ing a Streaming Block
| * Only Reset the LZ4 Stream when Init'ing a Streaming BlockW. Felix Handte2018-05-031-5/+19
| |
* | introduce LZ4_decoderRingBufferSize()Yann Collet2018-05-021-19/+37
| | | | | | | | fuzzer : fix and robustify ring buffer tests
* | clarified streaming decompression functionYann Collet2018-04-301-5/+9
|/ | | | restrictions for ring buffer
* lz4.h: clarify the risks of using LZ4_decompress_fast()Alexey Tourbin2018-04-221-5/+7
| | | | | | | | | | | | | | The notes about "security guarantee" and "malicious inputs" seemed a bit non-technical to me, so I took the liberty to tone them down and instead describe the actual risks in technical terms. Namely, the function never writes past the end of the output buffer, so a direct hostile takeover (resulting in arbitrary code execution soon after the return from the function) is not possible. However, the application can crash because of reads from unmapped pages. I also took the liberty to describe what I believe is the only sensible usage scenario for the function: "This function is only usable if the originalSize of uncompressed data is known in advance," etc.
* Add a LZ4_STATIC_LINKING_ONLY Macro to Guard Experimental APIsW. Felix Handte2018-04-111-0/+2
|
* Expose dictCtx Functionality in LZ4W. Felix Handte2018-04-111-0/+28
|
* Rename _extState_noReset -> _extState_fastReset and Edit CommentsW. Felix Handte2018-04-111-15/+28
|
* Expose a Faster Stream Reset FunctionW. Felix Handte2018-04-101-0/+8
|
* Better Describe Functionality of Obsolete Streaming FunctionsW. Felix Handte2018-03-211-6/+10
|
* Move LZ4_compress_fast_extState_noReset Declaration to Unstable SectionW. Felix Handte2018-03-141-8/+23
|
* Restore the Other Old Streaming Functions in a Degraded FashionW. Felix Handte2018-03-141-2/+9
|
* Restore LZ4_sizeofStreamState, We Didn't Actually Need to Delete ItW. Felix Handte2018-03-131-0/+3
|
* Renames and Comment FixesW. Felix Handte2018-03-121-7/+7
|
* Lookup Matches in Separate Dictionary ContextW. Felix Handte2018-03-121-6/+8
|