summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Improved comments on LZ4F_getFrameInfo()Yann Collet2017-03-293-5/+24
| | | | and added LZ4F_resetCompressionContext()
* added LZ4F_resetDecompressionContext()Yann Collet2017-03-291-22/+22
|
* Safer LZ4_getFrameInfo()Yann Collet2017-03-294-80/+120
| | | | | LZ4_getFrameInfo() is now guaranteed to keep dctx state clean, even in case of failure.
* Merge pull request #342 from iburinoc/isattyYann Collet2017-03-271-1/+10
|\ | | | | Fix IS_CONSOLE returning 1 for NUL on windows
| * Fix inline compile errorsSean Purcell2017-03-271-1/+1
| |
| * Fix IS_CONSOLE returning 1 for NUL on windowsSean Purcell2017-03-271-1/+10
|/
* Merge pull request #341 from iburinoc/exematchYann Collet2017-03-251-6/+15
|\ | | | | Ignore extensions in exe name matching
| * Ignore extensions in exe name matchingSean Purcell2017-03-241-6/+15
| |
* | Merge pull request #340 from lz4/optlz4optYann Collet2017-03-252-83/+86
|\ \ | | | | | | lz4opt
| * | improved level 10 speed for degenerated casesYann Collet2017-03-241-1/+1
| | |
| * | Merge branch 'dev' into optlz4optYann Collet2017-03-245-2/+16
| |\ \
| * \ \ Merge branch 'optlz4opt' of github.com:Cyan4973/lz4 into optlz4optYann Collet2017-03-201-1/+0
| |\ \ \
| | * | | slight btopt speed improvementYann Collet2017-03-181-2/+2
| | | | | | | | | | | | | | | | | | | | removing a useless test
| * | | | minor refactorYann Collet2017-03-202-72/+75
| | | | |
| * | | | slight btopt speed improvementYann Collet2017-03-201-3/+4
| |/ / / | | | | | | | | | | | | removing a useless test
| * | | made SET_PRICE macro more usableYann Collet2017-03-181-4/+4
| | | | | | | | | | | | | | | | | | | | previous version would use argument to also change target member. Now, only values are transferred
| * | | improved lz4opt speed (~4%)Yann Collet2017-03-171-12/+12
| | | |
* | | | Merge pull request #338 from ldv-alt/devYann Collet2017-03-241-17/+17
|\ \ \ \ | |_|/ / |/| | | Export deprecated symbols declared in lz4hc.h
| * | | Export deprecated symbols declared in lz4hc.hDmitry V. Levin2017-03-241-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 25b243588585b06a2d947372284cbfe00da930e9 exported deprecated symbols declared in lz4.h by marking all LZ4_DEPRECATED functions with LZ4LIB_API attribute. This change does the same with functions declared in lz4hc.h file, thus extending the export to lz4hc.h. As result, the following 17 deprecated functions are exported again: LZ4_compressHC LZ4_compressHC2 LZ4_compressHC2_continue LZ4_compressHC2_limitedOutput LZ4_compressHC2_limitedOutput_continue LZ4_compressHC2_limitedOutput_withStateHC LZ4_compressHC2_withStateHC LZ4_compressHC_continue LZ4_compressHC_limitedOutput LZ4_compressHC_limitedOutput_continue LZ4_compressHC_limitedOutput_withStateHC LZ4_compressHC_withStateHC LZ4_createHC LZ4_freeHC LZ4_resetStreamStateHC LZ4_sizeofStreamStateHC LZ4_slideInputBufferHC
* | | | fixed API comment for LZ4F_createCompressionContext()Yann Collet2017-03-241-1/+1
|/ / / | | | | | | | | | as reported by @nh2
* | | Merge pull request #337 from ldv-alt/devYann Collet2017-03-234-1/+15
|\ \ \ | |/ / |/| | cli: add GNU separator -- specifying that all following arguments are files
| * | cli: add GNU separator -- specifying that all following arguments are filesDmitry V. Levin2017-03-234-1/+15
|/ / | | | | | | | | This option is supported by other compressors with compatible cli, so add it to lz4 as well for better compatibility.
* | minor price function optimizationYann Collet2017-03-171-8/+6
| |
* | added `extern C` for lz4.h static sectionYann Collet2017-03-175-41/+40
| | | | | | | | should make the file more compatible with C++ compiler, such as Visual or g++
* | LZ4_compress_HC_continue_destSize() works as intended up to level 10Yann Collet2017-03-163-17/+18
| | | | | | | | | | It's incompatible with btopt though, so cLevel >= 11 feature much reduced performance (degraded mode)
* | LZ4_compress_HC_destSize() uses LZ4HC_compress_generic() code pathYann Collet2017-03-169-91/+119
|/ | | | | Limits compression level to 10, to remain compatible with Hash Chain.
* updated lz4 version numberYann Collet2017-03-161-1/+1
|
* created LZ4_HC_STATIC_LINKING_ONLY sectionYann Collet2017-03-163-69/+94
| | | | where are exposed new prototypes *_destSize()
* fixed Visual compilation errorYann Collet2017-03-161-1/+1
| | | | | static const must be a "constant", like a macro even if it can be determined at compile time ...
* fix #332 : do not modify /dev/null permissionsYann Collet2017-03-163-42/+40
|
* fix #333 : expose obsolete decoding functionsYann Collet2017-03-151-8/+2
| | | | | with deprecation warning. notified by Chen Yufei
* added Oleg @remittor contributionYann Collet2017-03-121-0/+2
|
* Merge pull request #331 from ldv-alt/devYann Collet2017-03-123-13/+21
|\ | | | | Export only those symbols that are part of public API
| * Export only those symbols that are part of public APIDmitry V. Levin2017-03-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specify -fvisibility=hidden parameter when linking the shared library using -fPIC, assuming that gcc >= 4 is used. This change results to unexporting of the following 42 functions: LZ4F_getErrorCode LZ4_XXH32 LZ4_XXH32_canonicalFromHash LZ4_XXH32_copyState LZ4_XXH32_createState LZ4_XXH32_digest LZ4_XXH32_freeState LZ4_XXH32_hashFromCanonical LZ4_XXH32_reset LZ4_XXH32_update LZ4_XXH64 LZ4_XXH64_canonicalFromHash LZ4_XXH64_copyState LZ4_XXH64_createState LZ4_XXH64_digest LZ4_XXH64_freeState LZ4_XXH64_hashFromCanonical LZ4_XXH64_reset LZ4_XXH64_update LZ4_XXH_versionNumber LZ4_compressHC LZ4_compressHC2 LZ4_compressHC2_continue LZ4_compressHC2_limitedOutput LZ4_compressHC2_limitedOutput_continue LZ4_compressHC2_limitedOutput_withStateHC LZ4_compressHC2_withStateHC LZ4_compressHC_continue LZ4_compressHC_limitedOutput LZ4_compressHC_limitedOutput_continue LZ4_compressHC_limitedOutput_withStateHC LZ4_compressHC_withStateHC LZ4_compress_fast_force LZ4_compress_forceExtDict LZ4_createHC LZ4_decompress_safe_forceExtDict LZ4_freeHC LZ4_resetStreamStateHC LZ4_sizeofStreamStateHC LZ4_slideInputBufferHC LZ4_uncompress LZ4_uncompress_unknownOutputSize
| * Export deprecated symbolsDmitry V. Levin2017-03-101-12/+12
| | | | | | | | | | Deprecated symbols are still a part of ABI and have to be exported, so mark them with LZ4LIB_API attribute.
| * Explicitly set visibility of public API functions when gcc is usedDmitry V. Levin2017-03-102-0/+8
| | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #329 from remittor/dev-hc2Yann Collet2017-03-123-31/+143
|\ \ | |/ |/| lz4hc: Add LZ4_compressHC_destSize
| * lz4hc: Fix LZ4HC_compress_hashChain for backward compatibilityremittor2017-03-091-2/+2
| |
| * lz4hc: Fix LZ4HC_compress_hashChain for full support destSize variantremittor2017-03-081-2/+5
| |
| * tests: fuzzer: Add test for LZ4_compressHC_destSizeremittor2017-03-081-2/+38
| |
| * lz4hc: Add LZ4_compressHC_destSize and LZ4_compress_HC_continue_destSizeremittor2017-03-082-10/+66
| |
| * lz4hc: Cleanup function LZ4HC_encodeSequenceremittor2017-03-071-11/+18
| |
| * lz4hc: Cleanup function LZ4HC_compress_hashChainremittor2017-03-071-7/+17
| |
* | Merge pull request #330 from inikep/devYann Collet2017-03-101-2/+7
|\ \ | |/ |/| fix bench
| * bench.c: respect LZ4_MAX_INPUT_SIZE limitPrzemyslaw Skibinski2017-03-101-2/+7
| |
| * Merge remote-tracking branch 'refs/remotes/lz4/dev' into devPrzemyslaw Skibinski2017-03-103-13/+9
| |\ | |/ |/|
* | Merge pull request #328 from ldv-alt/devYann Collet2017-03-061-3/+3
|\ \ | | | | | | Fix test-lz4-basic
| * | Fix test-lz4-basicDmitry V. Levin2017-03-051-3/+3
|/ / | | | | | | | | | | | | | | | | When no output filename is specified and stdout is not a terminal, lz4 doesn't attempt to guess an output filename and uses stdout for output. This change fixes test-lz4-basic when run without a terminal by specifying output filenames.
* | updated LICENSEYann Collet2017-02-281-9/+5
| | | | | | | | | | | | | | | | to avoid risks of confusion on GPLv2 licensed code. GPLv2 code is not _intended_ to be integrated into 3rd party application, but it can be used for that nonetheless (provided compliance with GPLv2 licence). It just receives less focus and support into this direction.
* | Merge pull request #320 from inikep/devYann Collet2017-02-161-1/+0
|\ \ | |/ | | remove MOREFLAGS from test-lz4c32