summaryrefslogtreecommitdiffstats
path: root/lib/lz4.h
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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
|
* Add LZ4_compress_fast_safeExtState FunctionW. Felix Handte2018-03-121-0/+8
|
* Add a Table Type Field to LZ4_stream_tW. Felix Handte2018-03-121-2/+4
|
* Remove Obsolete Stream Functions to Free Space in LZ4_stream_tW. Felix Handte2018-03-121-6/+0
|
* bumped version number to v1.8.2Yann Collet2018-02-261-1/+1
| | | | updated NEWS was current progresses
* update code comment on LZ4 streaming interfaceYann Collet2018-02-261-11/+12
| | | | | notably regarding LZ4_saveDict() speed advantage, answering #477.
* update API doc regarding double-buffer strategyYann Collet2018-02-181-1/+3
| | | | answering question #473
* fixed code comment as detected in #466Yann Collet2018-02-071-27/+28
| | | | | Also clarified a few API code comments and updated associated html documentation
* Clarify the requirements of the LZ4 streaming APINick Terrell2018-02-021-2/+4
|
* Always prefer c++14 attributes if availableAsger Hautop Drewsen2018-01-311-4/+2
|
* Ensure LZ4_DEPRECATED("...") is before LZ4LIB_APIAsger Hautop Drewsen2018-01-311-14/+14
| | | | | | When using clang++ with std c++14 or c++17 you would get the error "an attribute list cannot appear here" when including "lz4.h" as the visibility attribute is before the c++ attribute. This ensures that the [[deprecated]] c++ attribute is before everything else in the function declarations.
* Change file format back to ASCII (from UTF-8)Po-Chuan Hsieh2018-01-171-2/+2
| | | | | | | - Replace U+00A0 by space - Fix build failure of archivers/py-borgbackup in FreeBSD Reference: https://bugs.FreeBSD.org/225235
* Fix lz4 versionPo-Chuan Hsieh2018-01-131-1/+1
|
* API : changed a few variables' names for clarityYann Collet2017-11-201-44/+44
| | | | | updated relevant doc. This patch has no impact on ABI/API, nor on binary generation.
* Separated visibility from LZ4LIB_API macro.mikir2017-10-301-7/+11
|
* complementary information for #394Yann Collet2017-08-301-8/+14
|
* clarified documentation of streaming decompression functionsYann Collet2017-08-301-9/+13
| | | | | (synchronous bufferless mode) answering questions by @jtbandes (#394)
* Don't use C++11 deprecation attribute with clangNick Terrell2017-08-241-2/+4
| | | | | Clang doesn't accept a C++11 attribute following `LZ4LIB_API`. Use the GNU attribute instead.
* dictionary compression correctly uses compression levelYann Collet2017-08-101-18/+18
| | | | Not obvious : copying the state was copying cdict's compression level
* implemented dictionary compression in lz4frameYann Collet2017-08-091-1/+1
| | | | | note : only compression API is implemented and tested still to do : decompression API
* bumped version number to 1.8.0Yann Collet2017-05-101-2/+2
| | | | | due to addition of prototype LZ4F_resetDecompressionContext()
* lz4frame : Added negative compression levelsYann Collet2017-04-091-7/+7
|
* added `extern C` for lz4.h static sectionYann Collet2017-03-171-5/+4
| | | | should make the file more compatible with C++ compiler, such as Visual or g++
* LZ4_compress_HC_destSize() uses LZ4HC_compress_generic() code pathYann Collet2017-03-161-1/+1
| | | | | Limits compression level to 10, to remain compatible with Hash Chain.