summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove a bunch of global variables that tracked settings for the IO module, ↵Tim Zakian2019-01-103-166/+209
| | | | and move them in to a struct
* Merge pull request #637 from tzakian/fix_pass-through_modeYann Collet2019-01-104-5/+26
|\ | | | | Fix pass-through mode
| * Fix pass-through modeTim Zakian2019-01-104-5/+26
|/
* Merge pull request #635 from tzakian/clean_call_to_LZ4HC_encodeSequenceYann Collet2019-01-101-7/+9
|\ | | | | Make effectfulness of calls to LZ4HC_encodeSequence clearer
| * Make fact that certain variables that are passed into LZ4HC_encodeSequence ↵Tim Zakian2019-01-091-7/+9
| | | | | | | | are changed by the function call
* | fixed strict C++ compilationYann Collet2019-01-092-1/+2
| |
* | fixed long sequence overflow testYann Collet2019-01-091-1/+3
| |
* | minor explicit cast warningYann Collet2019-01-091-1/+1
|/
* Merge pull request #634 from lz4/longSeqTestYann Collet2019-01-091-40/+76
|\ | | | | add a test to check long sequences (#631)
| * add a test to check long sequences (#631)Yann Collet2019-01-091-40/+76
| | | | | | | | | | the test fails, as intended, since #631 is not merged yet in this branch.
* | Merge pull request #631 from qiuyangs/devYann Collet2019-01-091-2/+2
|\ \ | | | | | | lz4hc.c: change (length >> 8) to (length / 255)
| * \ Merge pull request #1 from qiuyangs/sunqiuyang-fix-length>>8qiuyangs2019-01-061-2/+2
| |\ \ | | | | | | | | lz4hc.c: change (length >> 8) to (length / 255)
| | * | lz4hc.c: change (length >> 8) to (length / 255)qiuyangs2019-01-061-2/+2
| |/ / | | | | | | Every 0xff byte in the compressed block corresponds to a length of 255 (not 256) in the input data. For long repeating sequences, using (length >> 8) may generate bad compressed blocks.
* | | Merge pull request #633 from tzakian/make_block_size_publicYann Collet2019-01-093-8/+31
|\ \ \ | |_|/ |/| | Make LZ4F_getBlockSize public and public in experimental section
| * | Fix C90 compatibility issueTim Zakian2019-01-091-1/+2
| | |
| * | Make LZ4F_getBlockSize public and publis in experimental sectionTim Zakian2019-01-093-8/+30
|/ /
* | Merge pull request #632 from rubenochiavone/fix-lz4-extesion-not-decompressingYann Collet2019-01-092-5/+24
|\ \ | |/ |/| Fix lz4 extension in input filename not causing decompression
| * Add test to cover issue #596Ruben O. Chiavone2019-01-091-0/+5
| |
| * Fix lz4 extension in input filename not causing decompressionRuben O. Chiavone2019-01-091-5/+19
|/
* updated frame formatYann Collet2019-01-021-7/+10
| | | | | re-wording non-full blocks, for clarity.
* updated LZ4 block formatYann Collet2019-01-021-36/+33
| | | | | rewording the end of block conditions for clarity and answering related questions.
* Merge pull request #620 from lzutao/meson_symlinkYann Collet2018-12-172-16/+12
|\ | | | | Update meson symlink and man1 extension
| * Simplify logic by setting default value for MESON_INSTALL_DESTDIR_PREFIXLzu Tao2018-12-131-4/+2
| |
| * meson: Update man1 extension in meson 0.49.0Lzu Tao2018-12-131-1/+1
| |
| * meson: Update InstallSymlink.py usageLzu Tao2018-12-131-11/+9
| | | | | | | | Change default directory mode to 755.
* | Merge pull request #621 from lzutao/meson_getversionYann Collet2018-12-141-5/+3
|\ \ | |/ |/| meson: Remove unused sys import
| * meson: Remove unused sys importLzu Tao2018-12-141-5/+3
|/
* Merge pull request #618 from dosaboy/add-snap-packaging-supportYann Collet2018-12-122-0/+60
|\ | | | | Add snap packaging support
| * Add snap packaging supportEdward Hope-Morley2018-12-122-0/+60
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a snapcraft.yaml file to allow lz4 to be distributed as a snap (see https://snapcraft.io/ for more info on snaps). Building the Snap ----------------- To build the snap simply install snapcraft and build the snap e.g. on Ubuntu by doing: $ sudo apt install snapcraft $ cd contrib; snapcraft This will build a snap that can be published [1] to e.g. https://snapcraft.io/lz4 If you want to test the snap before publishing you can do: $ snap install <snapname>.snap --dangerous And that will install it on your local host. You will then have lz4 as a command to run. Installing the Snap ------------------- Once published and released in the snapstore your snap can be installed on any platform that supports snaps by doing: snap install lz4 [1] https://docs.snapcraft.io/releasing-to-the-snap-store
* Merge pull request #616 from felixhandte/lz4-attach-reject-short-dictsYann Collet2018-12-091-1/+1
|\ | | | | Fix LZ4_compress_fast_continue() Prefix Size Check
| * Fix Dict Size Test in `LZ4_compress_fast_continue()`W. Felix Handte2018-12-051-4/+2
| | | | | | | | | | | | | | Dictionaries don't need to be > 4 bytes, they need to be >= 4 bytes. This test was overly conservative. Also removes the test in `LZ4_attach_dictionary()`.
| * Don't Attach Very Small DictionariesW. Felix Handte2018-12-041-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a mismatch in behavior between loading into the context (via `LZ4_loadDict()`) a very small (<= 4 bytes) non-contiguous dictionary, versus attaching it with `LZ4_attach_dictionary()`. Before this patch, this divergence could be reproduced by running ``` make -C tests fuzzer MOREFLAGS="-m32" tests/fuzzer -v -s1239 -t3146 ``` Making sure these two paths behave exactly identically is an easy way to test the correctness of the attach path, so it's desirable that this remain an unpolluted, high signal test.
* | Merge pull request #613 from lzutao/fix_meson_testsYann Collet2018-12-098-94/+108
|\ \ | |/ |/| meson: Fix build and test problems
| * meson: Add README.md for newcomers [skip ci]Lzu Tao2018-12-091-0/+34
| |
| * No need to join prefix and let soversion base on versionLzu Tao2018-12-042-7/+4
| |
| * Use MESON_INSTALL_DESTDIR_PREFIX instead of DESTDIRLzu Tao2018-12-041-20/+5
| |
| * meson: Add fallback message when not found lz4.hLzu Tao2018-12-031-0/+2
| |
| * meson: Fix wrong path to lib/lz4.hLzu Tao2018-12-031-1/+1
| |
| * meson: Correct support for Windows buildLzu Tao2018-12-033-41/+23
| |
| * meson: Use clang for faster buildLzu Tao2018-12-031-3/+7
| | | | | | | | | | "ninja install" automatically builds the project, no need to use "ninja"
| * meson: Update usage of InstallSymlink helperLzu Tao2018-12-031-31/+33
| |
| * Use argparse instead of manually parsing [skip ci]Lzu Tao2018-12-031-9/+5
| |
| * meson: Fix soversion and generated pkg-config file [skip ci]Lzu Tao2018-12-031-2/+3
| |
| * meson: Use --werror build option instead of passing -Werror [skip ci]Lzu Tao2018-12-031-3/+2
| |
| * meson test: Update timeout and tests that use COPYINGLzu Tao2018-12-031-4/+16
|/
* Merge pull request #615 from vtorri/devYann Collet2018-12-022-66/+1
|\ | | | | Windows: create import library with gcc directly, remove now useless def file
| * Merge remote-tracking branch 'upstream/dev' into devVincent Torri2018-12-0216-5/+619
| |\ | |/ |/|
* | Merge pull request #612 from lzutao/fix_clang_fuzzerYann Collet2018-12-022-5/+7
|\ \ | | | | | | Fix clang warning
| * | clang: Fix -WcommaLzu Tao2018-12-021-1/+1
| | |
| * | clang: Fix -Wcast-qualLzu Tao2018-12-021-2/+3
| | |