summaryrefslogtreecommitdiffstats
path: root/lib/lz4frame.h
Commit message (Collapse)AuthorAgeFilesLines
* updated license & header datesYann Collet2020-11-251-1/+1
|
* minor refactor of lz4ioYann Collet2020-11-131-2/+3
| | | | | for readability. Mostly around --list capability
* LZ4F_decompress requires a valid dctx stateYann Collet2020-11-071-2/+4
| | | | | This is now explicitly documented and asserted. fix #927
* added target lz4-wlibYann Collet2020-08-111-3/+3
| | | | | | | | variant of lz4 linking to liblz4 dynamic library requires the dynamic library to expose static-only symbols (experimental API) Example for #888
* Merge pull request #856 from indragiek/indragiek/lz4f-visibilityYann Collet2020-08-081-6/+11
|\ | | | | Add LZ4FLIB_VISIBILITY for controlling library symbol visibility
| * LZ4LIB_VISIBILITY -> LZ4FLIB_VISIBILITY in commentIndragie Karunaratne2020-08-051-1/+1
| |
| * Add LZ4FLIB_VISIBILITY for controlling library symbol visibilityIndragie Karunaratne2020-04-261-6/+11
| |
* | fix LZ4F_compressBound when automatic flushing is enabledChristopher Harvie2020-05-141-1/+1
|/
* Add multiframe report to --list commandgstedman2019-05-151-0/+9
|
* lz4frame: initializers compatibility with C++Yann Collet2019-04-191-2/+2
| | | | fix #679, reported by @degski
* updated doc to underline difference between block and frameYann Collet2019-04-121-5/+8
| | | | as this is a very frequent source of confusion for new users.
* improved documentation for LZ4 dictionary compressionYann Collet2019-04-111-1/+19
|
* made LZ4F_getHeaderSize() publicYann Collet2019-04-101-15/+51
|
* Make LZ4F_getBlockSize public and publis in experimental sectionTim Zakian2019-01-091-0/+1
|
* updated code documentationYann Collet2018-10-151-8/+13
| | | | to clarify #589
* added a test for LZ4F_compressEnd()Yann Collet2018-10-091-0/+2
| | | | | | | | | | | | | | | 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.
* avoid final trailing comma for enum listsYann Collet2018-09-131-10/+10
| | | | | | | as detected in #485 by @JoachimSchneider. Refactored the c_standards tests so that these issues get automatically detected in CI tests.
* added comments on version numbersYann Collet2018-09-061-5/+6
|
* Introduced constants LZ4F_INIT_*Yann Collet2018-09-051-9/+17
| | | | | to simplify initialization of lz4frame.h structures. Partially in response to #546.
* favorDecSpeed feature can be triggered from lz4frameYann Collet2018-04-261-4/+5
| | | | and lz4hc.
* Integrate lz4frame_static.h Declarations into lz4frame.hW. Felix Handte2018-04-241-0/+120
|
* minor length reduction of several large linesYann Collet2018-04-181-21/+29
|
* updated LZ4F_compressBound() documentationYann Collet2018-02-281-3/+6
| | | | to clarify it includes potentially buffered data.
* refactored frameCompress exampleYann Collet2018-01-311-4/+8
| | | | to better reflect LZ4F API usage.
* modified formulation for LZ4F_compressBound()Yann Collet2018-01-141-19/+19
| | | | | | previous version used an intentional overflow, which is defined since it uses unsigned type, but static analyzer complain about it.
* updated LZ4F_decompress() documentationYann Collet2018-01-131-11/+16
|
* restored block checksum capability at lz4frame API levelYann Collet2017-08-121-10/+15
|
* implemented lz4frame decompression APIYann Collet2017-08-101-5/+5
|
* support dictionary compression with independent blocksYann Collet2017-08-101-31/+32
|
* fixed gcc prototype warningYann Collet2017-08-101-1/+1
|
* dictionary compression correctly uses compression levelYann Collet2017-08-101-1/+3
| | | | Not obvious : copying the state was copying cdict's compression level
* implemented dictionary compression in lz4frameYann Collet2017-08-091-19/+20
| | | | | note : only compression API is implemented and tested still to do : decompression API
* added dictID inside LZ4F_frameInfo_tYann Collet2017-08-091-2/+3
| | | | | Compressor can set dictID on LZ4F_compressBegin() Decompressor can retrieve it using LZ4F_getFrameInfo()
* clarified lz4frame api comment (#350)Yann Collet2017-06-131-15/+17
|
* added test for LZ4F_resetDecompressionContext()Yann Collet2017-05-101-6/+3
|
* updated MakefileYann Collet2017-05-101-1/+1
| | | | | to automatically build manual files with make all
* expose LZ4F_resetDecompressionContext()Yann Collet2017-05-101-0/+11
|
* [LZ4F] Allow users to disable LZ4F_DEPRECATENick Terrell2017-04-261-5/+9
|
* lz4frame : Added negative compression levelsYann Collet2017-04-091-1/+1
|
* Improved comments on LZ4F_getFrameInfo()Yann Collet2017-03-291-5/+9
| | | | and added LZ4F_resetCompressionContext()
* Safer LZ4_getFrameInfo()Yann Collet2017-03-291-11/+16
| | | | | LZ4_getFrameInfo() is now guaranteed to keep dctx state clean, even in case of failure.
* fixed API comment for LZ4F_createCompressionContext()Yann Collet2017-03-241-1/+1
| | | | as reported by @nh2
* added `extern C` for lz4.h static sectionYann Collet2017-03-171-13/+12
| | | | 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-2/+2
| | | | | Limits compression level to 10, to remain compatible with Hash Chain.
* Explicitly set visibility of public API functions when gcc is usedDmitry V. Levin2017-03-101-0/+4
| | | | | | | | | | Windows builds already limit exporting of functions to those marked with LZ4LIB_API tag. The same behaviour could be achieved on other platforms when a relatively fresh gcc is used. This change assigns public visibility to all symbols marked with LZ4LIB_API tag. When the library is built in -fvisibility=hidden mode, only these marked symbols will be exported.
* updated comments on block sizesYann Collet2017-02-081-2/+8
|
* lz4frame.h: added IntroductionPrzemyslaw Skibinski2017-01-231-0/+9
|
* lz4frame.h: prepared to generate manualPrzemyslaw Skibinski2017-01-231-20/+20
|
* LZ4F_compressBound(0) provides upper bound for LZ4F_flush() and ↵Yann Collet2016-12-211-11/+12
| | | | LZ4F_compressEnd() [#290, suggested by @vtermanis]
* added a few datesYann Collet2016-11-211-1/+1
|