Commit Graph

1874 Commits

Author SHA1 Message Date
Yann Collet
e34a27d291 fixed minor cppcheck warnings in programs 2018-09-18 16:08:17 -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
dea044a485
Merge pull request #575 from lz4/apiDoc
unpublish static-only functions
2018-09-17 17:06:34 -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
Yann Collet
4a84836c13 removed image from repository
used for v1.8.2 announcement
2018-09-12 10:50:37 -07:00
Yann Collet
879f3dae11 fixed NEWS for v1.8.3 2018-09-12 10:48:19 -07:00
Lucas Holt
de4667011a
FIx pkgconfig file installation on MidnightBSD 2018-09-11 21:18:43 -04:00
Yann Collet
08d347b5b2 updated NEWS for v1.8.3 release 2018-09-11 10:33:39 -07:00
Yann Collet
90865b80aa Merge branch 'dev' of github.com:Cyan4973/lz4 into dev 2018-09-11 10:01:33 -07:00
Yann Collet
82a693c136
Merge pull request #571 from lz4/mflimit
clarify constant MFLIMIT
2018-09-11 10:01:23 -07: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
86ad9131db Merge pull request #569 from lz4/circle2
Migrate CircleCI tests from 1.0 towards 2.0
2018-09-11 09:56:40 -07:00
Yann Collet
f9725fdc46
Merge pull request #570 from lz4/partialDecode
Partial decode
2018-09-11 09:55:31 -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
72d120bc2f switched to circle 2.0
using automated config-translation
2018-09-10 12:08:51 -07:00
Yann Collet
674eac3325 Merge branch 'dev' of github.com:Cyan4973/lz4 into dev 2018-09-10 12:02:42 -07:00
Yann Collet
07dda6cca1
Merge pull request #567 from laffer1/dev
Add support for MidnightBSD
2018-09-10 11:59:09 -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
cd3945f532
Merge pull request #564 from lz4/cTime
fixed compression time
2018-09-05 17:48:40 -07:00
Yann Collet
858b6ad7f3 frameCompress : added an error detection case
check for potential input data not consumed.
2018-09-05 16:45:46 -07:00
Yann Collet
0d1ced5b0c Merge branch 'dev' into lz4f_init 2018-09-05 16:43:46 -07:00
Yann Collet
b01f7af4cd
Merge pull request #548 from cd127/dev
Fix bug in frame decompress example
2018-09-05 16:35:59 -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
d136118ea9
Merge pull request #556 from kou/add-missing-exeext
Add missing $(EXT)
2018-09-05 15:55:34 -07:00
Yann Collet
b61991491a fixed compression time
displayed at the end (#555)
2018-09-05 15:16:03 -07:00
Yann Collet
dc32009ab1
Merge pull request #562 from lz4/roundTrip
Round trip test for #560
2018-09-05 14:07:53 -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
52cce30562 made roundTripTest fully general
no longer "locked" on level 9
2018-09-05 10:25:38 -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
Yann Collet
943fa6244a fix minor cast warning for C++ compilation 2018-09-04 17:45:51 -07:00
Yann Collet
d2d5660970 new test program : roundTripTest
make a round trip test with arbitrary input file,
generate an `abort()` on error,
to work in tandem with `afl`.

note : currently locked on level 9, to investigate #560.
2018-09-04 16:50:34 -07:00
Kouhei Sutou
9c457ccb7a Add missing $(EXT) 2018-08-13 14:17:54 +09:00
Yann Collet
c4dbc37b3c
Merge pull request #553 from mrjoel/mrjoel/cmake-optional-lz4c
Add CMake option to not build legacy lz4c program
2018-08-09 14:07:45 -07:00