platform/upstream/lz4.git
7 years agoMerge pull request #329 from remittor/dev-hc2
Yann Collet [Sun, 12 Mar 2017 10:15:10 +0000 (03:15 -0700)]
Merge pull request #329 from remittor/dev-hc2

lz4hc: Add LZ4_compressHC_destSize

7 years agoMerge pull request #330 from inikep/dev
Yann Collet [Fri, 10 Mar 2017 22:47:16 +0000 (14:47 -0800)]
Merge pull request #330 from inikep/dev

fix bench

7 years agobench.c: respect LZ4_MAX_INPUT_SIZE limit
Przemyslaw Skibinski [Fri, 10 Mar 2017 19:49:25 +0000 (20:49 +0100)]
bench.c: respect LZ4_MAX_INPUT_SIZE limit

7 years agoMerge remote-tracking branch 'refs/remotes/lz4/dev' into dev
Przemyslaw Skibinski [Fri, 10 Mar 2017 19:43:53 +0000 (20:43 +0100)]
Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev

7 years agolz4hc: Fix LZ4HC_compress_hashChain for backward compatibility
remittor [Thu, 9 Mar 2017 09:19:24 +0000 (12:19 +0300)]
lz4hc: Fix LZ4HC_compress_hashChain for backward compatibility

7 years agolz4hc: Fix LZ4HC_compress_hashChain for full support destSize variant
remittor [Wed, 8 Mar 2017 15:49:55 +0000 (18:49 +0300)]
lz4hc: Fix LZ4HC_compress_hashChain for full support destSize variant

7 years agotests: fuzzer: Add test for LZ4_compressHC_destSize
remittor [Wed, 8 Mar 2017 08:13:28 +0000 (11:13 +0300)]
tests: fuzzer: Add test for LZ4_compressHC_destSize

7 years agolz4hc: Add LZ4_compressHC_destSize and LZ4_compress_HC_continue_destSize
remittor [Wed, 8 Mar 2017 08:11:15 +0000 (11:11 +0300)]
lz4hc: Add LZ4_compressHC_destSize and LZ4_compress_HC_continue_destSize

7 years agolz4hc: Cleanup function LZ4HC_encodeSequence
remittor [Tue, 7 Mar 2017 21:30:54 +0000 (00:30 +0300)]
lz4hc: Cleanup function LZ4HC_encodeSequence

7 years agolz4hc: Cleanup function LZ4HC_compress_hashChain
remittor [Tue, 7 Mar 2017 14:11:48 +0000 (17:11 +0300)]
lz4hc: Cleanup function LZ4HC_compress_hashChain

7 years agoMerge pull request #328 from ldv-alt/dev
Yann Collet [Mon, 6 Mar 2017 00:15:08 +0000 (16:15 -0800)]
Merge pull request #328 from ldv-alt/dev

Fix test-lz4-basic

7 years agoFix test-lz4-basic
Dmitry V. Levin [Sun, 5 Mar 2017 23:20:10 +0000 (23:20 +0000)]
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.

7 years agoupdated LICENSE
Yann Collet [Tue, 28 Feb 2017 23:12:24 +0000 (15:12 -0800)]
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.

7 years agoMerge pull request #320 from inikep/dev
Yann Collet [Thu, 16 Feb 2017 16:39:03 +0000 (08:39 -0800)]
Merge pull request #320 from inikep/dev

remove MOREFLAGS from test-lz4c32

7 years agoremove MOREFLAGS from test-lz4c32
Przemyslaw Skibinski [Thu, 16 Feb 2017 15:30:16 +0000 (16:30 +0100)]
remove MOREFLAGS from test-lz4c32

7 years agoMerge pull request #319 from inikep/dev
Yann Collet [Thu, 16 Feb 2017 15:21:42 +0000 (07:21 -0800)]
Merge pull request #319 from inikep/dev

Circle CI tests

7 years agoCFLAGS=-I/usr/include/x86_64-linux-gnu
Przemyslaw Skibinski [Wed, 15 Feb 2017 23:17:42 +0000 (00:17 +0100)]
CFLAGS=-I/usr/include/x86_64-linux-gnu

7 years agocircle.yml: fixed lz4c32 target (2)
Przemyslaw Skibinski [Wed, 15 Feb 2017 22:19:30 +0000 (23:19 +0100)]
circle.yml: fixed lz4c32 target (2)

7 years agocircle.yml: fixed lz4c32 target
Przemyslaw Skibinski [Wed, 15 Feb 2017 21:10:11 +0000 (22:10 +0100)]
circle.yml: fixed lz4c32 target

7 years agoMerge pull request #318 from esiegerman/eks/mklib
Yann Collet [Wed, 15 Feb 2017 18:53:56 +0000 (10:53 -0800)]
Merge pull request #318 from esiegerman/eks/mklib

Explicitly create $(DESTDIR)$(LIBDIR)/ at install time

7 years agoimproved Circle CI tests
Przemyslaw Skibinski [Wed, 15 Feb 2017 17:24:42 +0000 (18:24 +0100)]
improved Circle CI tests

7 years agoadded circle.yml
Przemyslaw Skibinski [Wed, 15 Feb 2017 16:36:00 +0000 (17:36 +0100)]
added circle.yml

7 years agoMerge remote-tracking branch 'refs/remotes/lz4/dev' into dev
Przemyslaw Skibinski [Wed, 15 Feb 2017 16:20:24 +0000 (17:20 +0100)]
Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev

7 years agoAvoid fseek()'s 2GiB barrier with MinGW
Przemyslaw Skibinski [Wed, 15 Feb 2017 16:17:57 +0000 (17:17 +0100)]
Avoid fseek()'s 2GiB barrier with MinGW

7 years agoupgraded util.h
Przemyslaw Skibinski [Wed, 15 Feb 2017 16:16:15 +0000 (17:16 +0100)]
upgraded util.h

7 years agoExplicitly create $(DESTDIR)$(LIBDIR)/ at install time
Eric Siegerman [Wed, 15 Feb 2017 02:58:08 +0000 (21:58 -0500)]
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.

7 years agoMerge pull request #317 from esiegerman/eks/no-andand-oror
Yann Collet [Tue, 14 Feb 2017 22:22:16 +0000 (14:22 -0800)]
Merge pull request #317 from esiegerman/eks/no-andand-oror

Don't use "foo && false || true"

7 years agoDon't use "foo && false || true"
Eric Siegerman [Tue, 14 Feb 2017 19:17:06 +0000 (14:17 -0500)]
Don't use "foo && false || true"

Replace it with either:
    test ! -f $FILE_THAT_SHOULD_NOT_EXIST
or:
    ! $COMMAND_THAT_SHOULD_FAIL

as appropriate.

7 years agoMerge pull request #316 from inikep/dev
Yann Collet [Fri, 10 Feb 2017 18:25:04 +0000 (10:25 -0800)]
Merge pull request #316 from inikep/dev

Dev

7 years agoMerge pull request #315 from bebehei/patch-1
Yann Collet [Fri, 10 Feb 2017 18:24:04 +0000 (10:24 -0800)]
Merge pull request #315 from bebehei/patch-1

update repolink in makefile

7 years agoadded OpenBSD NetBSD SunOS to list of supported `make install` OSes
Przemyslaw Skibinski [Fri, 10 Feb 2017 14:00:27 +0000 (15:00 +0100)]
added OpenBSD NetBSD SunOS to list of supported `make install` OSes

7 years agoupdate repolink in makefile
Benedikt Heine [Fri, 10 Feb 2017 13:55:54 +0000 (14:55 +0100)]
update repolink in makefile

7 years agoMerge remote-tracking branch 'refs/remotes/lz4/dev' into dev
Przemyslaw Skibinski [Fri, 10 Feb 2017 13:54:21 +0000 (14:54 +0100)]
Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev

7 years agoupdated platform.h
Przemyslaw Skibinski [Fri, 10 Feb 2017 13:53:58 +0000 (14:53 +0100)]
updated platform.h

7 years agoMerge remote-tracking branch 'refs/remotes/lz4/dev' into dev
Przemyslaw Skibinski [Fri, 10 Feb 2017 13:38:30 +0000 (14:38 +0100)]
Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev

7 years agoadded DragonFly to list of supported `make install` OS
Yann Collet [Thu, 9 Feb 2017 11:19:15 +0000 (03:19 -0800)]
added DragonFly to list of supported `make install` OS

7 years agoupdated comments on block sizes
Yann Collet [Wed, 8 Feb 2017 19:02:32 +0000 (11:02 -0800)]
updated comments on block sizes

7 years agoMerge pull request #312 from mgorny/cmake-pc-version
Yann Collet [Sun, 5 Feb 2017 17:33:27 +0000 (09:33 -0800)]
Merge pull request #312 from mgorny/cmake-pc-version

[cmake] Fix substituting version in liblz4.pc

7 years ago[cmake] Fix substituting version in liblz4.pc
Michał Górny [Sun, 5 Feb 2017 08:45:34 +0000 (09:45 +0100)]
[cmake] Fix substituting version in liblz4.pc

Bug: https://bugs.gentoo.org/608144

7 years agoMerge pull request #307 from inikep/dev
Yann Collet [Mon, 23 Jan 2017 18:40:46 +0000 (10:40 -0800)]
Merge pull request #307 from inikep/dev

lz4frame manual

7 years agolz4frame.h: added Introduction
Przemyslaw Skibinski [Mon, 23 Jan 2017 16:46:32 +0000 (17:46 +0100)]
lz4frame.h: added Introduction

7 years agoupdated gen-lz4-manual.sh
Przemyslaw Skibinski [Mon, 23 Jan 2017 15:33:03 +0000 (16:33 +0100)]
updated gen-lz4-manual.sh

7 years agoadded lz4frame_manual.html
Przemyslaw Skibinski [Mon, 23 Jan 2017 15:31:42 +0000 (16:31 +0100)]
added lz4frame_manual.html

7 years agolz4frame.h: prepared to generate manual
Przemyslaw Skibinski [Mon, 23 Jan 2017 15:22:00 +0000 (16:22 +0100)]
lz4frame.h: prepared to generate manual

7 years agolz4 manual updated to v1.7.5
Przemyslaw Skibinski [Mon, 23 Jan 2017 15:03:40 +0000 (16:03 +0100)]
lz4 manual updated to v1.7.5

7 years agolz4.h: improved manual generation
Przemyslaw Skibinski [Mon, 23 Jan 2017 15:02:51 +0000 (16:02 +0100)]
lz4.h: improved manual generation

7 years agoimproved gen_manual
Przemyslaw Skibinski [Mon, 23 Jan 2017 14:42:58 +0000 (15:42 +0100)]
improved gen_manual

7 years agoadded "This Makefile is validated for"
Przemyslaw Skibinski [Thu, 19 Jan 2017 15:28:08 +0000 (16:28 +0100)]
added "This Makefile is validated for"

7 years agoMerge remote-tracking branch 'refs/remotes/lz4/dev' into dev
Przemyslaw Skibinski [Mon, 16 Jan 2017 11:22:52 +0000 (12:22 +0100)]
Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev

7 years agoMerge pull request #304 from Chocobo1/cppcheck
Yann Collet [Thu, 12 Jan 2017 18:21:36 +0000 (19:21 +0100)]
Merge pull request #304 from Chocobo1/cppcheck

Fix warnings

7 years agoUse logical or instead of bitwise or
Chocobo1 [Thu, 12 Jan 2017 16:43:25 +0000 (00:43 +0800)]
Use logical or instead of bitwise or

7 years agoFix printf specifier
Chocobo1 [Thu, 12 Jan 2017 16:36:24 +0000 (00:36 +0800)]
Fix printf specifier

7 years agoLZ4_MEMORY_USAGE can be modified from compilation command line
Yann Collet [Thu, 5 Jan 2017 15:50:37 +0000 (16:50 +0100)]
LZ4_MEMORY_USAGE can be modified from compilation command line

7 years agoMerge branch 'dev' of github.com:Cyan4973/lz4 into dev
Yann Collet [Tue, 3 Jan 2017 02:59:40 +0000 (03:59 +0100)]
Merge branch 'dev' of github.com:Cyan4973/lz4 into dev

7 years agoupdated NEWS
Yann Collet [Tue, 3 Jan 2017 02:59:27 +0000 (03:59 +0100)]
updated NEWS

7 years agoMerge pull request #296 from mgorny/cmake-fixes
Yann Collet [Mon, 2 Jan 2017 23:35:42 +0000 (00:35 +0100)]
Merge pull request #296 from mgorny/cmake-fixes

Multiple CMake improvements

7 years agocmake: Install manpages
Michał Górny [Mon, 2 Jan 2017 14:57:49 +0000 (15:57 +0100)]
cmake: Install manpages

7 years agocmake: Install lz4cat and unlz4 symlinks
Michał Górny [Mon, 2 Jan 2017 14:33:15 +0000 (15:33 +0100)]
cmake: Install lz4cat and unlz4 symlinks

7 years agocmake: Support building shared & static libs simultaneously
Michał Górny [Mon, 2 Jan 2017 09:34:12 +0000 (10:34 +0100)]
cmake: Support building shared & static libs simultaneously

Add an additional BUILD_STATIC_LIBS option to control building static
libraries independently of shared. This makes it possible (if both
options are set to ON) to build both shared and static libraries
simulataneously.

A dependant option is used to preserve the current BUILD_SHARED_LIBS
behavior, i.e. -DBUILD_SHARED_LIBS=ON -- shared lib only,
-DBUILD_SHARED_LIBS=OFF -- static lib only.

The targets used to build shared and static library are split now,
and only relevant properties are passed to each of them. An alias is
used to link programs to the preferred library.

7 years agocmake: Fix SOVERSION to match Makefiles
Michał Górny [Mon, 2 Jan 2017 09:14:35 +0000 (10:14 +0100)]
cmake: Fix SOVERSION to match Makefiles

Fix SOVERSION to use only major lz4 version, as Makefiles do. This
ensure that CMake uses 'liblz.so.1' SONAME and creates 'liblz.so.1'
symlink.

7 years agoMerge remote-tracking branch 'refs/remotes/lz4/dev' into dev
Przemyslaw Skibinski [Thu, 29 Dec 2016 14:22:44 +0000 (15:22 +0100)]
Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev

7 years agoMerge pull request #295 from inikep/opt-parser
Yann Collet [Wed, 28 Dec 2016 23:44:40 +0000 (00:44 +0100)]
Merge pull request #295 from inikep/opt-parser

Opt parser

7 years agofuzzer: tests more compression levels
Przemyslaw Skibinski [Wed, 28 Dec 2016 16:47:10 +0000 (17:47 +0100)]
fuzzer: tests more compression levels

7 years agoremoved nextToUpdateBT
Przemyslaw Skibinski [Wed, 28 Dec 2016 14:38:59 +0000 (15:38 +0100)]
removed nextToUpdateBT

7 years agoclean logging
Przemyslaw Skibinski [Wed, 28 Dec 2016 14:37:12 +0000 (15:37 +0100)]
clean logging

7 years agoLZ4HC_getSearchNum
Przemyslaw Skibinski [Wed, 28 Dec 2016 14:18:19 +0000 (15:18 +0100)]
LZ4HC_getSearchNum

7 years agoMerge pull request #293 from inikep/dev
Yann Collet [Wed, 28 Dec 2016 13:43:17 +0000 (14:43 +0100)]
Merge pull request #293 from inikep/dev

improved *BSD and Solaris compatibility

7 years agoimproved logging
Przemyslaw Skibinski [Wed, 28 Dec 2016 13:04:38 +0000 (14:04 +0100)]
improved logging

7 years agofixed table update in LZ4_loadDictHC
Przemyslaw Skibinski [Wed, 28 Dec 2016 12:19:11 +0000 (13:19 +0100)]
fixed table update in LZ4_loadDictHC

7 years agoadded FUZ_CLEVEL_DEFAULT
Przemyslaw Skibinski [Wed, 28 Dec 2016 12:08:38 +0000 (13:08 +0100)]
added FUZ_CLEVEL_DEFAULT

7 years agochanged default PREFIX and MANDIR
Przemyslaw Skibinski [Wed, 28 Dec 2016 10:34:23 +0000 (11:34 +0100)]
changed default PREFIX and MANDIR

7 years agochanged default PREFIX and MANDIR
Przemyslaw Skibinski [Wed, 28 Dec 2016 10:27:17 +0000 (11:27 +0100)]
changed default PREFIX and MANDIR

7 years agoimproved test-lz4-opt-parser
Przemyslaw Skibinski [Tue, 27 Dec 2016 14:38:07 +0000 (15:38 +0100)]
improved test-lz4-opt-parser

7 years agofixed -BD compression
Przemyslaw Skibinski [Tue, 27 Dec 2016 14:31:35 +0000 (15:31 +0100)]
fixed -BD compression

7 years agoadded test-lz4-opt-parser
Przemyslaw Skibinski [Tue, 27 Dec 2016 12:14:04 +0000 (13:14 +0100)]
added test-lz4-opt-parser

7 years agolib\Makefile: fixed INSTALL_DATA
Przemyslaw Skibinski [Tue, 27 Dec 2016 10:17:35 +0000 (11:17 +0100)]
lib\Makefile: fixed INSTALL_DATA

7 years agoMerge remote-tracking branch 'refs/remotes/lz4/dev' into dev
Przemyslaw Skibinski [Tue, 27 Dec 2016 09:43:07 +0000 (10:43 +0100)]
Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev

# Conflicts:
# lib/Makefile

7 years agoBSD: improved "make install"
Przemyslaw Skibinski [Fri, 23 Dec 2016 09:05:41 +0000 (10:05 +0100)]
BSD: improved "make install"

7 years agoSolaris: working "make install"
Przemyslaw Skibinski [Thu, 22 Dec 2016 23:02:01 +0000 (00:02 +0100)]
Solaris: working "make install"

7 years agoupdated Makefile : lz4 no longer recompiled when already up-to-date
Yann Collet [Thu, 22 Dec 2016 17:02:09 +0000 (18:02 +0100)]
updated Makefile : lz4 no longer recompiled when already up-to-date

7 years ago"make test" is now compatible with Solaris
Przemyslaw Skibinski [Thu, 22 Dec 2016 16:18:39 +0000 (17:18 +0100)]
"make test" is now compatible with Solaris

7 years agoMerge pull request #292 from inikep/dev
Yann Collet [Thu, 22 Dec 2016 10:58:29 +0000 (11:58 +0100)]
Merge pull request #292 from inikep/dev

improved POSIX

7 years agoupdated NEWS
Yann Collet [Thu, 22 Dec 2016 10:50:21 +0000 (11:50 +0100)]
updated NEWS

7 years agoupdated a few macros names
Yann Collet [Thu, 22 Dec 2016 10:41:05 +0000 (11:41 +0100)]
updated a few macros names

7 years agouse FindFirstFileA and FindNextFileA on Windows
Przemyslaw Skibinski [Thu, 22 Dec 2016 09:58:58 +0000 (10:58 +0100)]
use FindFirstFileA and FindNextFileA on Windows

7 years agoimproved comments
Przemyslaw Skibinski [Wed, 21 Dec 2016 18:49:06 +0000 (19:49 +0100)]
improved comments

7 years agouse fseeko for 32-bit MacOS
Przemyslaw Skibinski [Wed, 21 Dec 2016 17:46:14 +0000 (18:46 +0100)]
use fseeko for 32-bit MacOS

7 years agotest Large File support for Mac OS-X in 32-bits mode
Przemyslaw Skibinski [Wed, 21 Dec 2016 16:13:38 +0000 (17:13 +0100)]
test Large File support for Mac OS-X in 32-bits mode

7 years agoutil.h and platform.h based on zstd
Przemyslaw Skibinski [Wed, 21 Dec 2016 15:10:09 +0000 (16:10 +0100)]
util.h and platform.h based on zstd

7 years agofixed lib/clean
Yann Collet [Wed, 21 Dec 2016 14:33:53 +0000 (15:33 +0100)]
fixed lib/clean

7 years agominor fix for travis-install test
Yann Collet [Wed, 21 Dec 2016 14:00:43 +0000 (15:00 +0100)]
minor fix for travis-install test

7 years agoLZ4F_compressBound(0) provides upper bound for LZ4F_flush() and LZ4F_compressEnd...
Yann Collet [Wed, 21 Dec 2016 13:18:01 +0000 (14:18 +0100)]
LZ4F_compressBound(0) provides upper bound for LZ4F_flush() and LZ4F_compressEnd() [#290, suggested by @vtermanis]

7 years agominor update Makefile
Yann Collet [Wed, 21 Dec 2016 12:18:02 +0000 (13:18 +0100)]
minor update Makefile

7 years agodatagen.vcxproj: CharacterSet is MultiByte
Przemyslaw Skibinski [Wed, 21 Dec 2016 11:09:58 +0000 (12:09 +0100)]
datagen.vcxproj: CharacterSet is MultiByte

7 years agoVS projects: CharacterSet changed to MultiByte
Przemyslaw Skibinski [Wed, 21 Dec 2016 11:06:36 +0000 (12:06 +0100)]
VS projects: CharacterSet changed to MultiByte

7 years agoadded IncludePath
Przemyslaw Skibinski [Wed, 21 Dec 2016 10:58:50 +0000 (11:58 +0100)]
added IncludePath

7 years agofixed Visual Studio compilation
Przemyslaw Skibinski [Wed, 21 Dec 2016 10:53:16 +0000 (11:53 +0100)]
fixed Visual Studio compilation

7 years agofixed gcc 4.4 support
Przemyslaw Skibinski [Wed, 21 Dec 2016 09:39:27 +0000 (10:39 +0100)]
fixed gcc 4.4 support

7 years agoimproved MinGW support
Przemyslaw Skibinski [Wed, 21 Dec 2016 09:22:40 +0000 (10:22 +0100)]
improved MinGW support

7 years agoexecutables use basic types from util.h
Przemyslaw Skibinski [Wed, 21 Dec 2016 08:44:59 +0000 (09:44 +0100)]
executables use basic types from util.h