Oleg Khabinov
f2ae385c2f
Rename initCheck to dirtyContext and use it in LZ4_resetStream_fast() to check if full reset is needed.
2018-09-28 14:55:05 -07:00
Yann Collet
cb917827f9
Merge pull request #578 from lz4/support128bit
...
Support for 128bit pointers like AS400
2018-09-26 13:57:09 -07:00
Yann Collet
c4c19c74b8
changed LZ4_streamDecode member order
...
to reduce memory usage on 128-bits systems
2018-09-25 14:43:19 -07:00
Yann Collet
b2215f2a89
tried to clean another bunch of cppcheck warnings
...
so "funny" thing with cppcheck
is that no 2 versions give the same list of warnings.
On Mac, I'm using v1.81, which had all warnings fixed.
On Travis CI, it's v1.61, and it complains about a dozen more/different things.
On Linux, it's v1.72, and it finds a completely different list of a half dozen warnings.
Some of these seems to be bugs/limitations in cppcheck itself.
The TravisCI version v1.61 seems unable to understand %zu correctly, and seems to assume it means %u.
2018-09-19 12:12:49 -07:00
Yann Collet
8bea19d57c
fixed minor cppcheck warnings in lib
2018-09-18 15:51:26 -07:00
Yann Collet
c3397520a1
updated xxhash to latest version
2018-09-18 12:14:26 -07:00
Yann Collet
6381d828fd
increase size of LZ4 contexts for 128-bit systems
2018-09-17 17:31:57 -07:00
Yann Collet
7b9edd60a0
Merge branch 'dev' into support128bit
2018-09-17 17:07:00 -07:00
Yann Collet
dea044a485
Merge pull request #575 from lz4/apiDoc
...
unpublish static-only functions
2018-09-17 17:06:34 -07:00
Yann Collet
cb2fb479ef
increase lz4hc context size as constant for 128-bit systems
2018-09-17 17:05:17 -07:00
Yann Collet
6103b4c9b4
use byU32 mode for any pointer > 32-bit
...
including 128-bit, like IBM AS-400
2018-09-14 15:27:48 -07:00
Yann Collet
c820480e12
Merge pull request #574 from lz4/enumComma
...
avoid final trailing comma for enum lists
2018-09-14 13:51:43 -07:00
Yann Collet
d2f5716c5d
Merge pull request #573 from laffer1/laffer1-pkgconfig-mnbsd
...
FIx pkgconfig file installation on MidnightBSD
2018-09-14 10:11:49 -07:00
Yann Collet
e8b08f9fbd
updated build doc
2018-09-13 16:14:00 -07:00
Yann Collet
a803230f67
unpublish static-only function
...
these functions are now unpublished in dll by default.
One needs to opt-in, using macro LZ4_PUBLISH_STATIC_FUNCTIONS.
used this opportunity to update a bunch of api comments in lz4.h
2018-09-13 16:02:11 -07:00
Yann Collet
86023f01f2
avoid final trailing comma for enum lists
...
as detected in #485 by @JoachimSchneider.
Refactored the c_standards tests
so that these issues get automatically detected in CI tests.
2018-09-13 14:29:41 -07:00
Lucas Holt
de4667011a
FIx pkgconfig file installation on MidnightBSD
2018-09-11 21:18:43 -04:00
Yann Collet
6d32240b2e
clarify constant MFLIMIT
...
and separate it from MATCH_SAFEGUARD_DISTANCE.
While both constants have same value,
they do not seve same purpose, hence should not be confused.
2018-09-11 10:00:13 -07:00
Yann Collet
b87a8e9e62
fixed minor warning in fuzzer.c
...
added a few more comments and assert()
2018-09-10 16:48:41 -07:00
Yann Collet
63fc6fbf7e
restored nullifying output
...
to counter possible (offset==0)
2018-09-10 16:22:16 -07:00
Yann Collet
32272f9866
removed temporary debug traces
2018-09-10 15:51:53 -07:00
Yann Collet
d28389b2dc
Merge branch 'dev' into partialDecode
2018-09-10 15:44:40 -07:00
Yann Collet
6e54d8df33
Merge pull request #569 from lz4/circle2
...
Migrate CircleCI tests from 1.0 towards 2.0
2018-09-10 14:44:15 -07:00
Yann Collet
f8519d454e
Merge pull request #565 from lz4/lz4f_init
...
Introduced constants LZ4F_INIT_*
2018-09-10 13:11:56 -07:00
Yann Collet
674eac3325
Merge branch 'dev' of github.com:Cyan4973/lz4 into dev
2018-09-10 12:02:42 -07:00
Lucas Holt
3318d573ba
Add support for MidnightBSD
2018-09-08 14:46:54 -04:00
Yann Collet
e22bb80074
fixed fuzzer test
...
and removed one blind copy, since there is no more guarantee that at least 4 bytes are still available in output buffer
2018-09-07 18:22:01 -07:00
Yann Collet
eaed9ea4a1
updated function interface documentation
2018-09-07 16:21:31 -07:00
Yann Collet
bf614d3c51
first sketch for a byte-accurate partial decoder
2018-09-07 15:44:19 -07:00
Yann Collet
e32766cc34
updated API documentation
2018-09-07 11:30:15 -07:00
Yann Collet
0f08c22c31
Merge pull request #563 from lz4/docDict
...
updated documentation for dictionary compression
2018-09-06 12:43:29 -07:00
Yann Collet
26c42d7ad1
added comments on version numbers
2018-09-05 18:08:51 -07:00
Yann Collet
b2e56d82bf
Introduced constants LZ4F_INIT_*
...
to simplify initialization of lz4frame.h structures.
Partially in response to #546 .
2018-09-05 16:06:37 -07:00
Yann Collet
0fea528e3a
updated documentation regarding dictionary compression
...
following suggestion from @stbrumme (#558 )
Also : bumped version number, regenerated man page and html doc
2018-09-05 14:05:08 -07:00
Yann Collet
30f6f34328
removed one assert() condition
...
which is not correct when using LZ4_HC with dictionary and starting from a low address (<0x10000).
2018-09-05 11:25:10 -07:00
Yann Collet
2e4847c2d5
fixed #560
...
it was a fairly complex scenario,
involving source files > 64K
and some extraordinary conditions related to specific layout of ranges of zeroes.
and only on level 9.
2018-09-04 18:21:40 -07:00
Jack Luo
2e52f03a12
fixed spelling mistake in lz4.h
2018-07-28 22:21:57 -04:00
Yann Collet
e95781dc2a
Merge pull request #547 from jennifermliu/dev
...
Add --fast command to cli
2018-07-17 15:42:48 +02:00
Nick Terrell
4eca78b5c3
Fix LZ4_compress_fast_continue() docs
...
Fixes #549 .
2018-07-10 11:44:03 -07:00
Jennifer Liu
e778db373b
Fixed bugs about incorrect acceleration calculation and benchmarking negative compresion level
2018-06-27 13:36:38 -07:00
Yann Collet
ef4f1e3047
Merge pull request #542 from wbx-github/dev
...
allow to override uname when cross-compiling
2018-05-29 14:20:48 -07:00
Waldemar Brodkorb
6a7af839b8
allow to override uname when cross-compiling
...
When cross-compiling for example from Darwin to Linux it might be
useful to override uname output to force Linux and create Linux
libraries instead of Darwin libraries.
2018-05-22 20:38:28 +02:00
W. Felix Handte
b8211544ef
Also Fix Appveyor Cast Warning
2018-05-22 11:44:15 -04:00
W. Felix Handte
4248a9bfc0
Add extern "C"
Guards Around Experimental HC Declarations
2018-05-21 22:30:10 -04:00
W. Felix Handte
91888f472d
Remove #define-rename of LZ4_decompress_safe_forceExtDict
2018-05-21 22:29:40 -04:00
W. Felix Handte
c746a27e91
Test Linking C-Compiled Library and C++-Compiled Tests
2018-05-21 22:29:20 -04:00
fbrosson
2149b1a8f6
Add Haiku as a validated target.
...
lz4 1.8.2 works fine on Haiku and passes all tests.
2018-05-17 16:52:53 +00:00
Yann Collet
bf6fd938e5
Merge pull request #537 from lz4/xpHCmf2
...
Speed optimization for optimal parser
2018-05-07 13:06:43 -07:00
Yann Collet
ba1c7148a5
renamed variable for clarity
2018-05-07 12:14:26 -07:00
Yann Collet
abb1f70e17
Merge pull request #538 from lz4/frameTestError
...
Fix frametest error
2018-05-07 11:33:53 -07:00