summaryrefslogtreecommitdiffstats
path: root/lib/lz4frame.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'dev' into lz4f_customMemYann Collet2022-07-131-1/+6
|\
| * minor : proper interface for LZ4F_getBlockSize()Yann Collet2022-07-131-1/+5
| | | | | | | | | | and proper documentation. Also : updated manual
* | implemented first custom memory manager interfaceYann Collet2022-07-131-22/+26
| | | | | | | | | | | | | | for compression context only for the time being, using LZ4F_createCompressionContext_advanced(). Added basic test in frametest.c
* | declare experimental prototype for LZ4F custom Memory managerYann Collet2022-07-131-0/+23
|/
* Merge pull request #1094 from alexmohr/add-uncompressed-apiYann Collet2022-07-051-0/+20
|\ | | | | frame-api: add function to insert uncomressed data
| * uncompressed-api: allow uncompressed_update only for independent blocksAlexander Mohr2022-07-051-0/+1
| | | | | | | | Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
| * review: Fix review findingsAlexander Mohr2022-06-101-16/+17
| | | | | | | | | | | | This commit fixes the review findings Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
| * review: Fix review findingsAlexander Mohr2022-06-101-5/+0
| | | | | | | | | | | | This commit fixes the review findings Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
| * frame-api: add method to insert uncomressed dataAlexander Mohr2022-06-091-0/+23
| | | | | | | | | | | | | | | | new method `uncompressed_update` allows to insert blocks without compression into the lz4 stream. The usage is documented in the frameCompress example Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
* | updated documentation of LZ4F_freeCompressionContextYann Collet2022-06-051-4/+7
|/ | | | to answer #1090
* removed ERROR_GENERIC from lz4frame.hYann Collet2022-05-071-0/+1
| | | | created a new error code in the process : LZ4F_ERROR_compressionState_uninitialized
* minor comments improvements to lz4frameYann Collet2022-01-311-4/+4
|
* Fix typos found by codespellDimitri Papadopoulos2021-11-251-1/+1
|
* fix UB of lz4frame:907Yann Collet2021-05-281-3/+3
| | | | | | now line 912 by ensuring pointer arithmetic is only performed if there is a reason for an internal buffer to be used.
* 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