summaryrefslogtreecommitdiffstats
path: root/lz4.h
Commit message (Collapse)AuthorAgeFilesLines
* Optimized LZ4_saveDictHC()Yann Collet2014-11-021-1/+1
|
* LZ4 HC streaming integrated within lz4frameYann Collet2014-10-271-2/+2
|
* HC streaming : support small ringbuffer scenariosYann Collet2014-10-251-15/+15
|
* updated LZ4HC APIYann Collet2014-10-181-5/+5
|
* Fix : streaming mode bug (re-using context & buffers)Yann Collet2014-09-101-1/+1
|
* Added : streaming modeYann Collet2014-09-091-6/+6
|
* Completed first version of lz4frame decompressYann Collet2014-09-031-5/+8
| | | Added a first decompression test
* minor comment clarification about LZ4_compressBound()Yann Collet2014-08-261-3/+3
|
* minor API comment clarificationsYann Collet2014-08-211-16/+10
|
* Revert "Introduced "Continuous Block Mode" (CBM) naming"Yann Collet2014-08-091-7/+11
| | | | This reverts commit 53f1fbe062c6904b06d7181ccdb5a8fd6f883f15.
* Introduced "Continuous Block Mode" (CBM) namingYann Collet2014-08-081-11/+7
| | | to better differentiate with future lz4s.c library
* Added : LZ4_versionNumber(), thanks to Takayuki MatsuokaYann Collet2014-07-211-2/+3
|
* Restored : lz4 compression function using externally allocated memory for stateYann Collet2014-07-201-6/+12
|
* Modified : lz4 streaming API, strong typesYann Collet2014-07-141-38/+45
|
* Modified : streaming API (fast compression)Yann Collet2014-07-051-14/+20
|
* Fixed : issue 52 (reported by Ludwig Strigeus)Yann Collet2014-06-221-4/+7
|
* bugfix : streaming tiny messages from within very small ringbuffer ↵Yann Collet2014-06-191-4/+4
| | | | (Takayuki's streaming example 2)
* Fixed : streaming compression using small (<64KB) dictionary buffersYann Collet2014-06-171-16/+50
|
* LZ4 Streaming : check overlapping input/dictionaryYann Collet2014-06-141-9/+14
|
* Obsolete "external allocation" functionsYann Collet2014-06-091-25/+23
| | | (convergence towards LZ4_compress_continue() )
* converge towards LZ4_compress_continue()Yann Collet2014-06-091-11/+11
|
* New : valgrind memtestYann Collet2014-06-091-11/+21
|
* unified structure modelYann Collet2014-06-021-14/+14
|
* Introduce : LZ4_compress_limitedOutput_usingDict()Yann Collet2014-05-201-2/+8
|
* First version of Block Streaming API : LZ4_compress_usingDict()Yann Collet2014-05-191-78/+66
|
* changed naming convention to *_usingDict()Yann Collet2014-05-041-2/+2
|
* Added : *_withDict to fullbenchYann Collet2014-05-031-3/+4
|
* Introduce "External Dictionary" de/compression APIYann Collet2014-04-281-17/+30
|
* Fixed issue 127 & 128Yann Collet2014-04-151-1/+1
|
* Makefile : library correctly compiled with -O3 switch (issue 114)yann.collet.73@gmail.com2014-03-121-245/+242
| | | | | | | | | | | Makefile : library compilation compatible with clang Makefile : library is versioned and linked (issue 119) lz4.h : no more static inline prototypes (issue 116) man : improved header/footer (issue 111) Makefile : Use system default $(CC) & $(MAKE) variables (issue 112) xxhash : updated to r34 git-svn-id: https://lz4.googlecode.com/svn/trunk@114 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Large decompression speed improvement for GCC 32-bits. Thanks to Valery ↵yann.collet.73@gmail.com2014-02-041-249/+251
| | | | | | | | | | | Croizier ! LZ4HC : Compression Level is now a programmable parameter (CLI from 4 to 9) Separated IO routines from command line (lz4io.c) Version number into lz4.h (suggested by Francesc Alted) git-svn-id: https://lz4.googlecode.com/svn/trunk@113 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* lz4 & lz4hc : added capability to allocate state & stream state with custom ↵yann.collet.73@gmail.com2013-12-301-205/+249
| | | | | | | | | | | | | allocator (issue 99) fuzzer & fullbench : updated to test new functions man : documented -l command (Legacy format, for Linux kernel compression) (issue 102) cmake : improved version by Mika Attila, building programs and libraries (issue 100) xxHash : updated to r33 Makefile : clean also delete local package .tar.gz git-svn-id: https://lz4.googlecode.com/svn/trunk@110 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Makefile : support DESTDIR for staged installs. Thanks Jorge Aparicio.yann.collet.73@gmail.com2013-10-211-8/+8
| | | | | | | | | | | | | | | | Makefile : make install installs both lz4 and lz4c (Jorge Aparicio) Makefile : removed -Wno-implicit-declaration compilation switch lz4cli.c : include <stduni.h> for isatty() (Luca Barbato) lz4.h : introduced LZ4_MAX_INPUT_SIZE constant (Shay Green) lz4.h : LZ4_compressBound() : unified macro and inline definitions (Shay Green) lz4.h : LZ4_decompressSafe_partial() : clarify comments (Shay Green) lz4.c : LZ4_compress() verify input size condition (Shay Green) bench.c : corrected a bug in free memory size evaluation cmake : install into bin/ directory (Richard Yao) cmake : check for just C compiler (Elan Ruusamae) git-svn-id: https://lz4.googlecode.com/svn/trunk@107 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* New command line utility, lz4 (notice the missing final 'c'), with ↵yann.collet.73@gmail.com2013-09-091-14/+13
| | | | | | | | | | | | | gzip-style arguments (issue 83) lz4c still there, supports additional gzip arguments, but also keep compatibility with legacy commands lz4 (& lz4c) display version number Fix : Sun Studio : compatible #pragma directive (issue 81) Fix : compatible with Objective-C (iOS) (issue 79) Fix : minor warnings using Visual Studio x64 (issue 80) Changed : source file lz4c.c renamed lz4cli.c git-svn-id: https://lz4.googlecode.com/svn/trunk@103 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* LZ4 compression supports block dependency (argument -BD within lz4c command ↵yann.collet.73@gmail.com2013-08-161-0/+41
| | | | | | | | | line) fullbench : added bench of LZ4_compress_continue(), LZ4_compress_limitedOutput_continue(), LZ4_compressHC_continue() and LZ4_compressHC_limitedOutput_continue() git-svn-id: https://lz4.googlecode.com/svn/trunk@102 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Removed dependency to "lz4_encoder.h" and "lz4hc_encoder.h"yann.collet.73@gmail.com2013-08-121-1/+1
| | | | | | | | | | | | | Improved speed of LZ4_decompress_fast() with GCC Improved speed of LZ4_decompress_safe() for 32-bits Made the fast LZ4 compression compatible with low-memory systems (buffer address < 64K). Thanks Francois Gretief for report and suggestion. Makefile : added fuzzer32 Makefile : added fullbench32 fullbench : added ability to select one specific function to benchmark lz4.c : copy macros follow memcpy() arguments convention Small coding style modifications, hinted by cppCheck. git-svn-id: https://lz4.googlecode.com/svn/trunk@101 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Corrected issue 70, 'pack' instruction on IBM AIXyann.collet.73@gmail.com2013-07-011-8/+8
| | | | | | | | | | Added : fullbench : can select compression tests or decompression tests Removed extern inline, for compatibility with GNU89, as reported by Maciej Adamczyk lz4.c : made forceinline more explicit Decompression : corrected corner case behaviors (inputSize == 0 and outputSize == 0), thanks Adrien for detailed suggestions Makefile : Removed -march=native parameter, due to incompatibility with some GCC versions git-svn-id: https://lz4.googlecode.com/svn/trunk@98 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* lz4.c no longer depends on lz4_decoder.h (removed)yann.collet.73@gmail.com2013-06-101-5/+5
| | | | | | | | | | | Decompression speed improved under GCC Improved speed of LZ4_decompress_safe_partial() Added new utility : fullbench Modified x64 detection macro, as suggested by David Karner Improved Fuzzer tool Updated xxHash to r30 git-svn-id: https://lz4.googlecode.com/svn/trunk@97 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* New experimental mode : compress blocks using data from previous blocks ↵yann.collet.73@gmail.com2013-05-271-2/+13
| | | | | | | | | | | (option -BD) (limitation : -hc mode only) Changed deprecated function names to "static", in order to avoid duplicate definition. Thanks Maciej Adamczyk for reporting. Changed a few command line options Prettify help text git-svn-id: https://lz4.googlecode.com/svn/trunk@96 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* - New naming : LZ4_decompress_safe() and LZ4_decompress_fast()yann.collet.73@gmail.com2013-04-261-21/+48
| | | | | | | | | | - New function : LZ4_decompress_safe_partial(), to decompress just enough data within a compressed block, saving CPU cycles - New source files : lz4_decoder.h, lz4_encoder.h, lz4hc_encoder.h - Improved speed of LZ4_decompress_fast() - Improved speed for compression of small blocks < 64KB - Improved speed for HC compression git-svn-id: https://lz4.googlecode.com/svn/trunk@94 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Added : function LZ4_compressHC_limitedOutput()yann.collet.73@gmail.com2013-04-181-5/+5
| | | | | | | | Updated : LZ4 Streaming Format.odt, to version 1.4 New : LZ4c now supports Stream Checksum (default) and Skippable chunks Updated : Fuzzer, testing LZ4_compressHC_limitedOutput() git-svn-id: https://lz4.googlecode.com/svn/trunk@93 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Added : LZ4 Streaming Format specification (v1.3)yann.collet.73@gmail.com2013-04-131-12/+11
| | | | | | | | | | Added : LZ4c command-line utility, supporting the new streaming format Added : xxhash library Removed : lz4demo is now replaced by lz4.c Removed : a few level 4 warnings (issue 64) Updated : makefiles git-svn-id: https://lz4.googlecode.com/svn/trunk@92 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Updated : cmake/CMakeLists.txt, by Nobuhiro Iwamatsuyann.collet.73@gmail.com2013-03-301-1/+1
| | | | | | | | | Updated : cmake/pack/CMakeLists.txt, by Dmitry Cherepanov lz4demo : CLI accept aggregated commands lz4demo : detect overwrite output lz4demo : new commands options (-hc, -y) git-svn-id: https://lz4.googlecode.com/svn/trunk@91 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Corrected issue 59 in lz4hc.c, reported by Masafumi Kiribayashiyann.collet.73@gmail.com2013-02-191-1/+1
| | | | | | | Corrected issue 60 in lz4.h, reported by Takayuki Matsuoka Added : a cmake/pack installer, by Dmitry Cherepanov git-svn-id: https://lz4.googlecode.com/svn/trunk@89 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* LZ4 HC : extended detection window. Thanks to Adrien Grand.yann.collet.73@gmail.com2012-11-301-2/+13
| | | | | | | | | Fuzzer : more tests cases lz4demo : detect write errors. Thanks to Dima Tisnek bench.c : compatibility with Solaris 64. Thanks to Thorbjørn Willoch LZ4_compressBound() : now both in inline function and macro format. Thanks to Jacob Gorm Hansen git-svn-id: https://lz4.googlecode.com/svn/trunk@84 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Corrected issue 38 : bench.c compilation for Sun Solaris 32 bitsyann.collet.73@gmail.com2012-11-031-1/+1
| | | | | | | Corrected issue 40 : Detect early ending of compressed stream. Thanks Adrian Grand. Corrected issue 41 : minor comment editing on lz4.h git-svn-id: https://lz4.googlecode.com/svn/trunk@82 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Correct issue 36 on LZ4_uncompress_unknownOutputSize(). Thanks to Clayton ↵yann.collet.73@gmail.com2012-10-161-30/+30
| | | | | | | | Stangeland and Maciej Adamczyk for notifying. Converted tabs to space git-svn-id: https://lz4.googlecode.com/svn/trunk@78 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Improved speed under Visualyann.collet.73@gmail.com2012-08-031-1/+1
| | | | git-svn-id: https://lz4.googlecode.com/svn/trunk@73 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Fixed : small compression speed hit on GCC v4.5 introduced by r71yann.collet.73@gmail.com2012-08-011-2/+2
| | | | git-svn-id: https://lz4.googlecode.com/svn/trunk@72 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
* Added : function LZ4_compress_limitedOutput()yann.collet.73@gmail.com2012-07-281-27/+24
| | | | | | | Removed : functions with explicit *ctx management (LZ4_compressCtx & LZ4_compress64kCtx). Functions are still present in the .c Changed : LZ4_compressBound() now a macro git-svn-id: https://lz4.googlecode.com/svn/trunk@71 650e7d94-2a16-8b24-b05c-7c0b3f6821cd