platform/upstream/lz4.git
8 years agocmake: Install liblz4.pc
Kevin Cernekee [Mon, 18 Apr 2016 04:51:26 +0000 (21:51 -0700)]
cmake: Install liblz4.pc

This performs the same substitutions as lib/Makefile.

8 years agoMerge pull request #197 from Cyan4973/fix-readme-travis
Yann Collet [Thu, 7 Apr 2016 17:59:27 +0000 (19:59 +0200)]
Merge pull request #197 from Cyan4973/fix-readme-travis

Fix wrong link for Travis

8 years agoFix wrong link for Travis
Takayuki MATSUOKA [Thu, 7 Apr 2016 17:54:28 +0000 (02:54 +0900)]
Fix wrong link for Travis

8 years agoMerge pull request #194 from jzhuge/dev
Yann Collet [Fri, 1 Apr 2016 14:41:58 +0000 (16:41 +0200)]
Merge pull request #194 from jzhuge/dev

lz4cli: print library version

8 years agolz4cli: print library version
John Zhuge [Wed, 30 Mar 2016 23:33:17 +0000 (23:33 +0000)]
lz4cli: print library version

8 years agoMerge branch 'dev' of github.com:Cyan4973/lz4 into dev
Yann Collet [Thu, 25 Feb 2016 13:50:05 +0000 (14:50 +0100)]
Merge branch 'dev' of github.com:Cyan4973/lz4 into dev

8 years agoAdded zstd
Yann Collet [Thu, 25 Feb 2016 13:49:40 +0000 (14:49 +0100)]
Added zstd

8 years agoMerge pull request #185 from jwerner-chromium/dev
Yann Collet [Tue, 16 Feb 2016 21:29:10 +0000 (22:29 +0100)]
Merge pull request #185 from jwerner-chromium/dev

Add support for safe in-place decoding

8 years agoAllow for safe in-place decoding
Julius Werner [Fri, 12 Feb 2016 23:35:41 +0000 (15:35 -0800)]
Allow for safe in-place decoding

Add a check to allow safe "in-place" decoding (meaning that the
beginning of the source buffer partially overlaps the end of the
destination buffer). This is usually possible as long as the output
stops at least 15 bytes before the end of the input buffer (7 to account
for the extra spill from LZ4_wildCopy, 4 for a possible block checksum,
and 4 for the terminating block header), but in some pathological edge
cases it could be possible for the output stream to overwrite a byte in
the input stream before it gets decoded. With this patch the decoder
will reliably detect those cases and return a decoding error.

Signed-off-by: Julius Werner <jwerner@chromium.org>
8 years agoRemove whitespace from ends of lines
Julius Werner [Fri, 12 Feb 2016 22:34:07 +0000 (14:34 -0800)]
Remove whitespace from ends of lines

I'm trying to import LZ4 code into a project with strict linting
requirements. This will make that easier.

Signed-off-by: Julius Werner <jwerner@chromium.org>
8 years agoMerge branch 'dev' of github.com:Cyan4973/lz4 into dev
Yann Collet [Fri, 15 Jan 2016 15:41:27 +0000 (16:41 +0100)]
Merge branch 'dev' of github.com:Cyan4973/lz4 into dev

8 years agoupdated hyperlink
Yann Collet [Fri, 15 Jan 2016 15:41:10 +0000 (16:41 +0100)]
updated hyperlink

8 years agoMerge pull request #182 from kou/add-missing-ext
Yann Collet [Sun, 10 Jan 2016 16:07:10 +0000 (17:07 +0100)]
Merge pull request #182 from kou/add-missing-ext

Add missing $(EXT)

8 years agoMerge pull request #181 from kou/fix-build-failure-on-mingw
Yann Collet [Sun, 10 Jan 2016 15:39:41 +0000 (16:39 +0100)]
Merge pull request #181 from kou/fix-build-failure-on-mingw

Fix build error on MinGW

8 years agoAdd missing $(EXT)
Kouhei Sutou [Sun, 10 Jan 2016 09:09:14 +0000 (18:09 +0900)]
Add missing $(EXT)

If the $(EXT) are added, "make install" can work with MinGW build on
Linux.

8 years agoFix build error on MinGW
Kouhei Sutou [Sun, 10 Jan 2016 08:41:43 +0000 (17:41 +0900)]
Fix build error on MinGW

Header file name is case insensitive on Windows but it is case sensitive
on Linux. "Windows.h" can't be found on Linux.

8 years agoMerge branch 'dev' of github.com:Cyan4973/lz4 into dev
Yann Collet [Sun, 20 Dec 2015 14:48:32 +0000 (15:48 +0100)]
Merge branch 'dev' of github.com:Cyan4973/lz4 into dev

8 years agoclarified man page as suggested in #170
Yann Collet [Sun, 20 Dec 2015 14:48:15 +0000 (15:48 +0100)]
clarified man page as suggested in #170

8 years agoMerge pull request #173 from flandr/liblz4
Yann Collet [Fri, 18 Dec 2015 11:09:00 +0000 (12:09 +0100)]
Merge pull request #173 from flandr/liblz4

Add static library target for msbuild

8 years agoMerge pull request #172 from psteinb/add_static_cmake
Yann Collet [Wed, 16 Dec 2015 09:55:07 +0000 (10:55 +0100)]
Merge pull request #172 from psteinb/add_static_cmake

added static build target for OSX and Linux to cmake

8 years agoadded static build target for OSX and Linux to cmake
Peter Steinbach [Tue, 15 Dec 2015 15:27:46 +0000 (16:27 +0100)]
added static build target for OSX and Linux to cmake

8 years agoMerge pull request #162 from KyleJHarper/20151021_examples
Yann Collet [Fri, 30 Oct 2015 06:41:29 +0000 (07:41 +0100)]
Merge pull request #162 from KyleJHarper/20151021_examples

Additional examples

8 years agoForgot to make clean before commiting. Removing binary.
KyleJHarper [Fri, 30 Oct 2015 05:40:11 +0000 (00:40 -0500)]
Forgot to make clean before commiting.  Removing binary.

8 years agoSeveral changes to address a few concerns from Yann. See Google Group LZ4c topic...
KyleJHarper [Fri, 30 Oct 2015 02:47:13 +0000 (21:47 -0500)]
Several changes to address a few concerns from Yann.  See Google Group LZ4c topic 'Reusing compression/decompression resources' for details.

8 years agoAdded a note about why char* is used. Also removed a binary that wasn't supposed...
KyleJHarper [Thu, 29 Oct 2015 02:10:01 +0000 (21:10 -0500)]
Added a note about why char* is used.  Also removed a binary that wasn't supposed to be in there.

8 years agoFinished the two example files. Decided to avoid adding anything to lz4.c/h to expos...
KyleJHarper [Thu, 29 Oct 2015 01:54:51 +0000 (20:54 -0500)]
Finished the two example files.  Decided to avoid adding anything to lz4.c/h to expose LZ4_compress_generic().

8 years agoTook out the basics and placed them into basics.c. Added decompression and a wrapper...
KyleJHarper [Mon, 26 Oct 2015 06:38:14 +0000 (01:38 -0500)]
Took out the basics and placed them into basics.c.  Added decompression and a wrapper for the generic call.  I will likely break this file up into 2 examples before submission.

8 years agoFinal tests and reporting are done. As expected there isn't much to be gained by...
KyleJHarper [Fri, 23 Oct 2015 06:52:23 +0000 (01:52 -0500)]
Final tests and reporting are done.  As expected there isn't much to be gained by jumping the chain.  In most of my tests I did see a moderate performance gain when invoking LZ4_compress_generic() directly with normal text.  This could very easily be an edge case.  Either way it's interesting and worth sharing.

8 years agoDidn't add my file for some reason. Odd.
KyleJHarper [Thu, 22 Oct 2015 08:57:56 +0000 (03:57 -0500)]
Didn't add my file for some reason.  Odd.

8 years agoWrote the skeleton of the performance test. Need to finish tests for the rest of...
KyleJHarper [Thu, 22 Oct 2015 08:57:21 +0000 (03:57 -0500)]
Wrote the skeleton of the performance test.  Need to finish tests for the rest of the call stack and then my own copy of generic().

8 years agoheapmode macro option for lz4hc
Yann Collet [Wed, 21 Oct 2015 14:00:48 +0000 (15:00 +0100)]
heapmode macro option for lz4hc

8 years agoFix : compiler-independent macro to remove deprecation warnings
Yann Collet [Wed, 21 Oct 2015 11:58:06 +0000 (12:58 +0100)]
Fix : compiler-independent macro to remove deprecation warnings

8 years agoclarified lz4 license
Yann Collet [Tue, 20 Oct 2015 08:46:18 +0000 (09:46 +0100)]
clarified lz4 license

8 years agoMerge branch 'dev' of github.com:Cyan4973/lz4 into dev
Yann Collet [Fri, 16 Oct 2015 12:25:52 +0000 (14:25 +0200)]
Merge branch 'dev' of github.com:Cyan4973/lz4 into dev

8 years agofixed link typo
Yann Collet [Fri, 16 Oct 2015 12:25:24 +0000 (13:25 +0100)]
fixed link typo

8 years agoMerge pull request #152 from dcolascione/dev
Yann Collet [Thu, 3 Sep 2015 16:33:06 +0000 (18:33 +0200)]
Merge pull request #152 from dcolascione/dev

Improve lz4 command line error message when dealing with console IO

8 years agoRemove .dir-locals.el
Daniel Colascione [Thu, 3 Sep 2015 02:08:04 +0000 (19:08 -0700)]
Remove .dir-locals.el

8 years agoTweak error message
Daniel Colascione [Thu, 3 Sep 2015 01:45:13 +0000 (18:45 -0700)]
Tweak error message

8 years agoImprove error messages for attempted console IO
Daniel Colascione [Thu, 3 Sep 2015 01:43:27 +0000 (18:43 -0700)]
Improve error messages for attempted console IO

8 years agoAdd .dir-locals.el for setting tab-width
Daniel Colascione [Thu, 3 Sep 2015 01:38:24 +0000 (18:38 -0700)]
Add .dir-locals.el for setting tab-width

8 years agofixed #150 : blank lines when converting lz4.1 to .ps or .pdf
Yann Collet [Wed, 2 Sep 2015 11:30:08 +0000 (12:30 +0100)]
fixed #150 : blank lines when converting lz4.1 to .ps or .pdf

8 years agominor : show in table that frame checksum is optional
Yann Collet [Tue, 1 Sep 2015 17:56:54 +0000 (18:56 +0100)]
minor : show in table that frame checksum is optional

8 years agocreate link to dynamic library without using `cp -a` (#147)
Yann Collet [Tue, 1 Sep 2015 15:55:55 +0000 (16:55 +0100)]
create link to dynamic library without using `cp -a` (#147)

8 years agoUpdated Makefile and .travis
Yann Collet [Tue, 1 Sep 2015 14:59:24 +0000 (15:59 +0100)]
Updated Makefile and .travis

8 years agoAdd static library target for msbuild
Nate Rosenblum [Tue, 25 Aug 2015 18:16:44 +0000 (11:16 -0700)]
Add static library target for msbuild

8 years agoWrapped possibly empty string (Emscripten) with quotes (@Fordi)
Yann Collet [Sun, 23 Aug 2015 15:16:15 +0000 (16:16 +0100)]
Wrapped possibly empty string (Emscripten) with quotes (@Fordi)

8 years agoupdated cli help
Yann Collet [Thu, 20 Aug 2015 13:57:35 +0000 (14:57 +0100)]
updated cli help

8 years agoNew unalign access method
Yann Collet [Wed, 19 Aug 2015 17:16:17 +0000 (18:16 +0100)]
New unalign access method

8 years agoupdated xxhash
Yann Collet [Wed, 19 Aug 2015 16:54:19 +0000 (17:54 +0100)]
updated xxhash

8 years agoMerge pull request #142 from bioothod/master
Yann Collet [Sun, 16 Aug 2015 10:09:17 +0000 (12:09 +0200)]
Merge pull request #142 from bioothod/master

Added debianization

8 years agoSlightly improved compression speed on ARMv6
Yann Collet [Sun, 16 Aug 2015 01:33:57 +0000 (02:33 +0100)]
Slightly improved compression speed on ARMv6

8 years agoImproved performance on ARMv6
Yann Collet [Sun, 16 Aug 2015 00:54:55 +0000 (01:54 +0100)]
Improved performance on ARMv6

8 years agoAdded .gitignore
Yann Collet [Sat, 15 Aug 2015 23:58:07 +0000 (00:58 +0100)]
Added .gitignore

8 years agoUpdated xxhash to r41
Yann Collet [Sat, 15 Aug 2015 23:55:32 +0000 (00:55 +0100)]
Updated xxhash to r41

8 years agodebian: changed name lz4->liblz4
Evgeniy Polyakov [Sat, 15 Aug 2015 19:26:51 +0000 (22:26 +0300)]
debian: changed name lz4->liblz4

8 years agodebian: changed name lz4->liblz4
Evgeniy Polyakov [Sat, 15 Aug 2015 19:23:49 +0000 (22:23 +0300)]
debian: changed name lz4->liblz4

8 years agodebian: changed name lz4->liblz4
Evgeniy Polyakov [Sat, 15 Aug 2015 19:22:17 +0000 (22:22 +0300)]
debian: changed name lz4->liblz4

8 years agodebian: remove sbin dir
Evgeniy Polyakov [Sat, 15 Aug 2015 19:22:02 +0000 (22:22 +0300)]
debian: remove sbin dir

8 years agodebian: renamed lz4->liblz4, updated installed library files
Evgeniy Polyakov [Sat, 15 Aug 2015 19:20:37 +0000 (22:20 +0300)]
debian: renamed lz4->liblz4, updated installed library files

8 years agodebian: updated debianization to cdbs
Evgeniy Polyakov [Sat, 15 Aug 2015 19:16:39 +0000 (22:16 +0300)]
debian: updated debianization to cdbs

8 years agocmake: when building library make it shared
Evgeniy Polyakov [Sat, 15 Aug 2015 18:40:26 +0000 (21:40 +0300)]
cmake: when building library make it shared

8 years agoAdded debianization
Evgeniy Polyakov [Sat, 15 Aug 2015 18:32:42 +0000 (21:32 +0300)]
Added debianization

8 years agocmake: bump version to the latest release
Evgeniy Polyakov [Sat, 15 Aug 2015 18:27:09 +0000 (21:27 +0300)]
cmake: bump version to the latest release

8 years agofaster sanitize tests
Yann Collet [Sat, 15 Aug 2015 17:18:01 +0000 (18:18 +0100)]
faster sanitize tests

8 years agoMakefile : generates *.o for faster processing
Yann Collet [Sat, 15 Aug 2015 16:21:45 +0000 (17:21 +0100)]
Makefile : generates *.o for faster processing

8 years agominor simplification lz4_readarch()
Yann Collet [Thu, 6 Aug 2015 02:49:29 +0000 (03:49 +0100)]
minor simplification lz4_readarch()

9 years agoupdate on decompression speed
Yann Collet [Thu, 16 Jul 2015 09:27:46 +0000 (10:27 +0100)]
update on decompression speed

9 years agominor refactor
Yann Collet [Thu, 16 Jul 2015 08:38:10 +0000 (09:38 +0100)]
minor refactor

9 years agoSlightly improved decompression speed
Yann Collet [Thu, 16 Jul 2015 08:03:55 +0000 (09:03 +0100)]
Slightly improved decompression speed
Slightly decreased decompression stack usage in 64-bits mode

9 years agosligthly improved decompression speed
Yann Collet [Thu, 16 Jul 2015 07:55:48 +0000 (08:55 +0100)]
sligthly improved decompression speed

9 years agoliblz4 : Moved XXH_NAMESPACE to CPPFLAGS
Yann Collet [Thu, 2 Jul 2015 18:29:24 +0000 (10:29 -0800)]
liblz4 : Moved XXH_NAMESPACE to CPPFLAGS

9 years agoMerge pull request #131 from Cyan4973/dev
Yann Collet [Mon, 29 Jun 2015 09:48:37 +0000 (02:48 -0700)]
Merge pull request #131 from Cyan4973/dev

Dev

9 years agoFixed a few minor visual analyzer warnings
Yann Collet [Mon, 29 Jun 2015 08:31:41 +0000 (00:31 -0800)]
Fixed a few minor visual analyzer warnings

9 years agoIncreased stack memory considered normal by Visual static analyzer
Yann Collet [Mon, 29 Jun 2015 06:49:16 +0000 (22:49 -0800)]
Increased stack memory considered normal by Visual static analyzer

9 years agoMerge pull request #130 from Cyan4973/dev
Yann Collet [Mon, 29 Jun 2015 06:24:55 +0000 (23:24 -0700)]
Merge pull request #130 from Cyan4973/dev

Dev

9 years agoremoved one malloc
Yann Collet [Mon, 29 Jun 2015 05:53:42 +0000 (21:53 -0800)]
removed one malloc

9 years agolz4io : removed one malloc
Yann Collet [Mon, 29 Jun 2015 04:24:09 +0000 (20:24 -0800)]
lz4io : removed one malloc

9 years agolz4cli : add one malloc test
Yann Collet [Mon, 29 Jun 2015 04:05:33 +0000 (20:05 -0800)]
lz4cli : add one malloc test

9 years agolz4hc : added one malloc test
Yann Collet [Mon, 29 Jun 2015 03:51:11 +0000 (19:51 -0800)]
lz4hc : added one malloc test

9 years agochanged datagen to remove one malloc
Yann Collet [Mon, 29 Jun 2015 03:43:12 +0000 (19:43 -0800)]
changed datagen to remove one malloc

9 years agoAdded static analyzer test in Visual
Yann Collet [Mon, 29 Jun 2015 02:58:16 +0000 (18:58 -0800)]
Added static analyzer test in Visual

9 years agoMerge pull request #129 from Cyan4973/dev
Yann Collet [Sun, 28 Jun 2015 20:25:10 +0000 (13:25 -0700)]
Merge pull request #129 from Cyan4973/dev

Dev

9 years agorenamed directory to versionsTest
Yann Collet [Sun, 28 Jun 2015 19:42:20 +0000 (11:42 -0800)]
renamed directory to versionsTest

9 years agoUpdated NEWS
Yann Collet [Sun, 28 Jun 2015 19:31:51 +0000 (11:31 -0800)]
Updated NEWS

9 years agominor example clarification
Yann Collet [Sun, 28 Jun 2015 10:34:12 +0000 (02:34 -0800)]
minor example clarification

9 years agoUpdated lib readme
Yann Collet [Sat, 27 Jun 2015 22:15:45 +0000 (14:15 -0800)]
Updated lib readme

9 years agoFixed : fuzzer display messages
Yann Collet [Sat, 27 Jun 2015 21:44:13 +0000 (13:44 -0800)]
Fixed : fuzzer display messages

9 years agostaticAnalyze use same compilation flags as normal build
Yann Collet [Sat, 27 Jun 2015 21:21:33 +0000 (13:21 -0800)]
staticAnalyze use same compilation flags as normal build

9 years agoEnsured make test is not confused with directory test
Yann Collet [Sat, 27 Jun 2015 20:44:51 +0000 (12:44 -0800)]
Ensured make test is not confused with directory test

9 years agoAdded namespace ability to xxhash
Yann Collet [Sat, 27 Jun 2015 20:43:28 +0000 (12:43 -0800)]
Added namespace ability to xxhash

9 years agoChanged : static library is no longer compiled with -fPIC by default (this option...
Yann Collet [Sat, 27 Jun 2015 09:30:31 +0000 (01:30 -0800)]
Changed : static library is no longer compiled with -fPIC by default (this option can still be added on the command line) See #53

9 years agoMerge branch 'dev' of github.com:Cyan4973/lz4 into dev
Yann Collet [Sat, 27 Jun 2015 08:17:57 +0000 (01:17 -0700)]
Merge branch 'dev' of github.com:Cyan4973/lz4 into dev

9 years agoMerge pull request #124 from toddlipcon/master
Yann Collet [Fri, 26 Jun 2015 04:21:24 +0000 (21:21 -0700)]
Merge pull request #124 from toddlipcon/master

Fix cmake build to use gnu flags on clang

9 years agoMerge pull request #122 from keszybz/master
Yann Collet [Fri, 26 Jun 2015 00:45:13 +0000 (17:45 -0700)]
Merge pull request #122 from keszybz/master

New example using frame api as DLL - redirect from #118

9 years agoMerge pull request #121 from keszybz/add-gitignore
Yann Collet [Fri, 26 Jun 2015 00:43:46 +0000 (17:43 -0700)]
Merge pull request #121 from keszybz/add-gitignore

Add gitignore - redirect from #117

9 years agoFix cmake build to use gnu flags on clang
Todd Lipcon [Thu, 25 Jun 2015 21:45:27 +0000 (14:45 -0700)]
Fix cmake build to use gnu flags on clang

Previously, the cmake build was only adding -fPIC and -std=c99 on
gcc. However, these flags are also appropriate when building with
clang.

9 years agoMinor doc clarification on sparse mode support
Yann Collet [Mon, 22 Jun 2015 04:00:44 +0000 (20:00 -0800)]
Minor doc clarification on sparse mode support

9 years agoMinor lib readme update
Yann Collet [Thu, 18 Jun 2015 14:38:19 +0000 (06:38 -0800)]
Minor lib readme update

9 years agoUse lz4 binary to check output
Zbigniew Jędrzejewski-Szmek [Thu, 18 Jun 2015 03:37:19 +0000 (23:37 -0400)]
Use lz4 binary to check output

9 years agoAdd example which uses the frame api through the library
Zbigniew Jędrzejewski-Szmek [Thu, 21 May 2015 13:17:21 +0000 (09:17 -0400)]
Add example which uses the frame api through the library