Commit Graph

1340 Commits

Author SHA1 Message Date
Dmitry V. Levin
7aeecbff71 Explicitly set visibility of public API functions when gcc is used
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.
2017-03-10 23:35:30 +00:00
Yann Collet
93b3b08ef6 Merge pull request #330 from inikep/dev
fix bench
2017-03-10 14:47:16 -08:00
Przemyslaw Skibinski
cb1671955a bench.c: respect LZ4_MAX_INPUT_SIZE limit 2017-03-10 20:49:25 +01:00
Przemyslaw Skibinski
517d446d7e Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev 2017-03-10 20:43:53 +01:00
remittor
36842ebb19 lz4hc: Fix LZ4HC_compress_hashChain for backward compatibility 2017-03-09 12:19:24 +03:00
remittor
baa155088b lz4hc: Fix LZ4HC_compress_hashChain for full support destSize variant 2017-03-08 18:49:55 +03:00
remittor
66b26a389f tests: fuzzer: Add test for LZ4_compressHC_destSize 2017-03-08 11:13:28 +03:00
remittor
f007153e3f lz4hc: Add LZ4_compressHC_destSize and LZ4_compress_HC_continue_destSize 2017-03-08 11:11:15 +03:00
remittor
45b592b7ec lz4hc: Cleanup function LZ4HC_encodeSequence 2017-03-08 00:30:54 +03:00
remittor
534f8fa5d6 lz4hc: Cleanup function LZ4HC_compress_hashChain 2017-03-07 17:11:48 +03:00
Yann Collet
9141ada8de Merge pull request #328 from ldv-alt/dev
Fix test-lz4-basic
2017-03-05 16:15:08 -08:00
Dmitry V. Levin
0dfb0b9dad Fix test-lz4-basic
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.
2017-03-05 23:28:25 +00:00
Yann Collet
97df1c9789 updated LICENSE
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.
2017-02-28 15:12:24 -08:00
Yann Collet
5bfdff96b5 Merge pull request #320 from inikep/dev
remove MOREFLAGS from test-lz4c32
2017-02-16 08:39:03 -08:00
Przemyslaw Skibinski
d3eaf78838 remove MOREFLAGS from test-lz4c32 2017-02-16 16:30:16 +01:00
Yann Collet
5bb6ba7949 Merge pull request #319 from inikep/dev
Circle CI tests
2017-02-16 07:21:42 -08:00
Przemyslaw Skibinski
ca2c5fd3c6 CFLAGS=-I/usr/include/x86_64-linux-gnu 2017-02-16 00:17:42 +01:00
Przemyslaw Skibinski
ace22424d8 circle.yml: fixed lz4c32 target (2) 2017-02-15 23:19:30 +01:00
Przemyslaw Skibinski
0d77c85d9d circle.yml: fixed lz4c32 target 2017-02-15 22:10:11 +01:00
Yann Collet
24007bb4e6 Merge pull request #318 from esiegerman/eks/mklib
Explicitly create $(DESTDIR)$(LIBDIR)/ at install time
2017-02-15 10:53:56 -08:00
Przemyslaw Skibinski
4ee9bd5c3e improved Circle CI tests 2017-02-15 18:24:42 +01:00
Przemyslaw Skibinski
c0a8d0ad87 added circle.yml 2017-02-15 17:36:00 +01:00
Przemyslaw Skibinski
3ec1591dbb Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev 2017-02-15 17:20:24 +01:00
Przemyslaw Skibinski
68a358769e Avoid fseek()'s 2GiB barrier with MinGW 2017-02-15 17:17:57 +01:00
Przemyslaw Skibinski
40ad1e85d4 upgraded util.h 2017-02-15 17:16:15 +01:00
Eric Siegerman
eb51b2b8d9 Explicitly create $(DESTDIR)$(LIBDIR)/ at install time
This is needed on systems where it isn't the parent of
$(PKGCONFIGDIR), and so doesn't get created implicitly.
2017-02-14 22:12:26 -05:00
Yann Collet
69dbafc1c4 Merge pull request #317 from esiegerman/eks/no-andand-oror
Don't use "foo && false || true"
2017-02-14 14:22:16 -08:00
Eric Siegerman
b89cac7b2e Don't use "foo && false || true"
Replace it with either:
    test ! -f $FILE_THAT_SHOULD_NOT_EXIST
or:
    ! $COMMAND_THAT_SHOULD_FAIL

as appropriate.
2017-02-14 14:17:06 -05:00
Yann Collet
7e57c398c1 Merge pull request #316 from inikep/dev
Dev
2017-02-10 10:25:04 -08:00
Yann Collet
f4b9c1d034 Merge pull request #315 from bebehei/patch-1
update repolink in makefile
2017-02-10 10:24:04 -08:00
Przemyslaw Skibinski
c139eb40b0 added OpenBSD NetBSD SunOS to list of supported make install OSes 2017-02-10 15:00:27 +01:00
Benedikt Heine
5e1a925bea update repolink in makefile 2017-02-10 14:55:54 +01:00
Przemyslaw Skibinski
272699a4e9 Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev 2017-02-10 14:54:21 +01:00
Przemyslaw Skibinski
c7b14967ab updated platform.h 2017-02-10 14:53:58 +01:00
Przemyslaw Skibinski
4f261b8281 Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev 2017-02-10 14:38:30 +01:00
Yann Collet
04e5eaf9bc added DragonFly to list of supported make install OS 2017-02-09 03:19:15 -08:00
Yann Collet
04ec092696 updated comments on block sizes 2017-02-08 11:02:32 -08:00
Yann Collet
7ed257191b Merge pull request #312 from mgorny/cmake-pc-version
[cmake] Fix substituting version in liblz4.pc
2017-02-05 09:33:27 -08:00
Michał Górny
96e150e7df [cmake] Fix substituting version in liblz4.pc
Bug: https://bugs.gentoo.org/608144
2017-02-05 09:47:00 +01:00
Yann Collet
67abd75e65 Merge pull request #307 from inikep/dev
lz4frame manual
2017-01-23 10:40:46 -08:00
Przemyslaw Skibinski
8e1fd97d16 lz4frame.h: added Introduction 2017-01-23 17:46:32 +01:00
Przemyslaw Skibinski
d56ee32b39 updated gen-lz4-manual.sh 2017-01-23 16:33:03 +01:00
Przemyslaw Skibinski
f54c7e0e77 added lz4frame_manual.html 2017-01-23 16:31:42 +01:00
Przemyslaw Skibinski
9071df0fa5 lz4frame.h: prepared to generate manual 2017-01-23 16:22:00 +01:00
Przemyslaw Skibinski
6a5633e99c lz4 manual updated to v1.7.5 2017-01-23 16:03:40 +01:00
Przemyslaw Skibinski
f9f48f8ed9 lz4.h: improved manual generation 2017-01-23 16:02:51 +01:00
Przemyslaw Skibinski
128244371b improved gen_manual 2017-01-23 15:42:58 +01:00
Przemyslaw Skibinski
489d1618c9 added "This Makefile is validated for" 2017-01-19 16:28:08 +01:00
Przemyslaw Skibinski
339e79320b Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev 2017-01-16 12:22:52 +01:00
Yann Collet
ca083dd4da Merge pull request #304 from Chocobo1/cppcheck
Fix warnings
2017-01-12 19:21:36 +01:00