platform/upstream/lz4.git
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

7 years agoreordered definitons in platform.h
Przemyslaw Skibinski [Tue, 20 Dec 2016 22:38:32 +0000 (23:38 +0100)]
reordered definitons in platform.h

7 years agoimproved formatting (2)
Przemyslaw Skibinski [Tue, 20 Dec 2016 21:21:03 +0000 (22:21 +0100)]
improved formatting (2)

7 years agoimproved formatting
Przemyslaw Skibinski [Tue, 20 Dec 2016 20:11:39 +0000 (21:11 +0100)]
improved formatting

7 years agofixed gcc warnings (2)
Przemyslaw Skibinski [Tue, 20 Dec 2016 19:52:18 +0000 (20:52 +0100)]
fixed gcc warnings (2)

7 years agofixed gcc warnings
Przemyslaw Skibinski [Tue, 20 Dec 2016 18:31:05 +0000 (19:31 +0100)]
fixed gcc warnings

7 years agoimproved platform.h
Przemyslaw Skibinski [Tue, 20 Dec 2016 17:56:09 +0000 (18:56 +0100)]
improved platform.h

7 years agoexecutables use platform.h
Przemyslaw Skibinski [Tue, 20 Dec 2016 17:05:43 +0000 (18:05 +0100)]
executables use platform.h

7 years agoupdated util.h
Przemyslaw Skibinski [Tue, 20 Dec 2016 17:03:30 +0000 (18:03 +0100)]
updated util.h

7 years agoadded platfom.h
Przemyslaw Skibinski [Tue, 20 Dec 2016 17:03:13 +0000 (18:03 +0100)]
added platfom.h

7 years agofix `make` concurrency build (#277)
Yann Collet [Thu, 15 Dec 2016 21:13:36 +0000 (22:13 +0100)]
fix `make` concurrency build (#277)

7 years agoMerge pull request #287 from inikep/dev
Yann Collet [Sun, 11 Dec 2016 02:40:53 +0000 (03:40 +0100)]
Merge pull request #287 from inikep/dev

opt parser

7 years agotree update dependent from compression level
Przemyslaw Skibinski [Fri, 9 Dec 2016 17:17:46 +0000 (18:17 +0100)]
tree update dependent from compression level

7 years agofullUpdate as a parameter
Przemyslaw Skibinski [Fri, 9 Dec 2016 16:16:35 +0000 (17:16 +0100)]
fullUpdate as a parameter

7 years agolast match starts at least 12 bytes before end of block
Przemyslaw Skibinski [Fri, 9 Dec 2016 15:09:38 +0000 (16:09 +0100)]
last match starts at least 12 bytes before end of block

7 years agofaster opt compression
Przemyslaw Skibinski [Fri, 9 Dec 2016 14:20:32 +0000 (15:20 +0100)]
faster opt compression

7 years agoMerge remote-tracking branch 'refs/remotes/lz4/dev' into dev
Przemyslaw Skibinski [Fri, 9 Dec 2016 11:37:21 +0000 (12:37 +0100)]
Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev

7 years agofull binary tree update
Przemyslaw Skibinski [Fri, 9 Dec 2016 11:37:17 +0000 (12:37 +0100)]
full binary tree update

7 years agoupdated NEWS
Yann Collet [Thu, 8 Dec 2016 22:37:12 +0000 (14:37 -0800)]
updated NEWS

7 years agofix #285 : lz4cat doesn't work with stdin (reported by @beiDei8z)
Yann Collet [Thu, 8 Dec 2016 22:17:40 +0000 (14:17 -0800)]
fix #285 : lz4cat doesn't work with stdin (reported by @beiDei8z)

7 years agoslightly improved lz4opt.h
Przemyslaw Skibinski [Thu, 8 Dec 2016 14:50:45 +0000 (15:50 +0100)]
slightly improved lz4opt.h

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

7 years agofixed path-1, as suggested by @t-mat
Yann Collet [Thu, 8 Dec 2016 01:47:42 +0000 (02:47 +0100)]
fixed path-1, as suggested by @t-mat

7 years agofixed test-lz4c32
Yann Collet [Wed, 7 Dec 2016 23:52:07 +0000 (15:52 -0800)]
fixed test-lz4c32

7 years agofix #284, reported by @beiDei8z : added test cases for path/to/lz4cat
Yann Collet [Wed, 7 Dec 2016 22:49:04 +0000 (14:49 -0800)]
fix #284, reported by @beiDei8z : added test cases for path/to/lz4cat

7 years agofix : invocation of path/to/unlz4 (#284), reported by @beiDei8z
Yann Collet [Wed, 7 Dec 2016 22:29:22 +0000 (14:29 -0800)]
fix : invocation of path/to/unlz4 (#284), reported by @beiDei8z

7 years agofixed LZ4_STREAMHCSIZE
Przemyslaw Skibinski [Wed, 7 Dec 2016 15:24:35 +0000 (16:24 +0100)]
fixed LZ4_STREAMHCSIZE

7 years agoLZ4HC_DICTIONARY_LOGSIZE 17
Przemyslaw Skibinski [Wed, 7 Dec 2016 15:19:10 +0000 (16:19 +0100)]
LZ4HC_DICTIONARY_LOGSIZE 17

7 years agoimproved ratio
Przemyslaw Skibinski [Wed, 7 Dec 2016 14:49:45 +0000 (15:49 +0100)]
improved ratio

7 years ago15-bit LZ4HC_HASH_LOG
Przemyslaw Skibinski [Wed, 7 Dec 2016 13:31:46 +0000 (14:31 +0100)]
15-bit LZ4HC_HASH_LOG

7 years agoimproved LZ4HC_BinTree_GetAllMatches
Przemyslaw Skibinski [Wed, 7 Dec 2016 12:07:39 +0000 (13:07 +0100)]
improved LZ4HC_BinTree_GetAllMatches

7 years agofixed gcc warnings
Przemyslaw Skibinski [Wed, 7 Dec 2016 11:59:05 +0000 (12:59 +0100)]
fixed gcc warnings

7 years agoslightly improved ratio
Przemyslaw Skibinski [Wed, 7 Dec 2016 11:49:38 +0000 (12:49 +0100)]
slightly improved ratio

7 years agoimprove code formatting
Przemyslaw Skibinski [Wed, 7 Dec 2016 11:17:24 +0000 (12:17 +0100)]
improve code formatting

7 years agoLZ4HC_MAX_CLEVEL = 12
Przemyslaw Skibinski [Wed, 7 Dec 2016 11:16:33 +0000 (12:16 +0100)]
LZ4HC_MAX_CLEVEL = 12

7 years agoremoved LZ4HC_GetAllMatches
Przemyslaw Skibinski [Wed, 7 Dec 2016 10:44:17 +0000 (11:44 +0100)]
removed LZ4HC_GetAllMatches

7 years agoupdated LZ4HC_get_price
Przemyslaw Skibinski [Tue, 6 Dec 2016 18:42:47 +0000 (19:42 +0100)]
updated LZ4HC_get_price

7 years ago17-bit LZ4HC_MAXD
Przemyslaw Skibinski [Tue, 6 Dec 2016 18:11:53 +0000 (19:11 +0100)]
17-bit LZ4HC_MAXD

7 years agointroduced LZ4HC_compress_hashChain
Przemyslaw Skibinski [Tue, 6 Dec 2016 14:21:28 +0000 (15:21 +0100)]
introduced LZ4HC_compress_hashChain

7 years agoadded lz4opt.h
Przemyslaw Skibinski [Tue, 6 Dec 2016 14:20:59 +0000 (15:20 +0100)]
added lz4opt.h

7 years agoMerge remote-tracking branch 'refs/remotes/lz4/dev' into dev
Przemyslaw Skibinski [Tue, 6 Dec 2016 12:44:42 +0000 (13:44 +0100)]
Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev

7 years agofix #283 : implement LZ4_versionString().
Yann Collet [Sun, 4 Dec 2016 19:05:36 +0000 (20:05 +0100)]
fix #283 : implement LZ4_versionString().

7 years agoupdated NEWS
Yann Collet [Mon, 28 Nov 2016 12:05:37 +0000 (04:05 -0800)]
updated NEWS

7 years agofixed minor display error when using -r
Yann Collet [Mon, 28 Nov 2016 12:01:02 +0000 (04:01 -0800)]
fixed minor display error when using -r

7 years agoUpdated man page
Yann Collet [Mon, 28 Nov 2016 11:43:01 +0000 (03:43 -0800)]
Updated man page

7 years agominor man page update
Yann Collet [Mon, 28 Nov 2016 07:23:40 +0000 (23:23 -0800)]
minor man page update

7 years agoMerge pull request #279 from t-mat/md-to-man
Yann Collet [Mon, 28 Nov 2016 06:48:55 +0000 (22:48 -0800)]
Merge pull request #279 from t-mat/md-to-man

Add "man" target to Makefile

7 years agoAdd "man" target to Makefile
Takayuki MATSUOKA [Sun, 27 Nov 2016 14:40:53 +0000 (23:40 +0900)]
Add "man" target to Makefile

- `make man` makes manpage lz4.1 from lz4.1.md
- It needs `gem` and `ronn` which is same as xxhash.1.md is required.

7 years agonumbering
Yann Collet [Tue, 22 Nov 2016 20:34:17 +0000 (12:34 -0800)]
numbering

7 years agoupdated NEWS
Yann Collet [Tue, 22 Nov 2016 20:31:04 +0000 (12:31 -0800)]
updated NEWS

7 years agolibrary release build compatible with environment variable
Yann Collet [Tue, 22 Nov 2016 19:52:43 +0000 (11:52 -0800)]
library release build compatible with environment variable

7 years agolz4 release build compatible with PIE
Yann Collet [Tue, 22 Nov 2016 19:37:51 +0000 (11:37 -0800)]
lz4 release build compatible with PIE

7 years agonew test case with fPIE
Yann Collet [Tue, 22 Nov 2016 19:18:07 +0000 (11:18 -0800)]
new test case with fPIE

7 years agofixed LZ4IO_compressMultipleFilenames
Przemyslaw Skibinski [Tue, 22 Nov 2016 10:20:02 +0000 (11:20 +0100)]
fixed LZ4IO_compressMultipleFilenames

7 years agoupdated README.md
Przemyslaw Skibinski [Tue, 22 Nov 2016 10:14:11 +0000 (11:14 +0100)]
updated README.md

7 years agoMerge remote-tracking branch 'refs/remotes/lz4/dev' into dev
Przemyslaw Skibinski [Tue, 22 Nov 2016 09:38:44 +0000 (10:38 +0100)]
Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev

7 years agominor warning fix
Yann Collet [Tue, 22 Nov 2016 03:26:49 +0000 (19:26 -0800)]
minor warning fix

7 years agofix minor analyzer warning
Yann Collet [Tue, 22 Nov 2016 00:42:23 +0000 (16:42 -0800)]
fix minor analyzer warning

7 years agoadded a few dates
Yann Collet [Mon, 21 Nov 2016 23:51:39 +0000 (15:51 -0800)]
added a few dates

7 years agofixed minor analyzer warning
Yann Collet [Mon, 21 Nov 2016 23:44:25 +0000 (15:44 -0800)]
fixed minor analyzer warning

7 years agoadded gcc 4.4 test
Yann Collet [Mon, 21 Nov 2016 23:04:58 +0000 (15:04 -0800)]
added gcc 4.4 test

7 years agoadded examples to make all
Yann Collet [Mon, 21 Nov 2016 23:00:50 +0000 (15:00 -0800)]
added examples to make all

7 years agoadded doc in code comments
Yann Collet [Mon, 21 Nov 2016 22:13:00 +0000 (14:13 -0800)]
added doc in code comments

7 years agochanges travis test order
Yann Collet [Mon, 21 Nov 2016 19:10:57 +0000 (11:10 -0800)]
changes travis test order

7 years agoAdd C++14 standard [[deprecated]] attribute
Takayuki MATSUOKA [Sat, 19 Nov 2016 13:08:48 +0000 (22:08 +0900)]
Add C++14 standard [[deprecated]] attribute

See also
For __cplusplus predefined macro, https://gcc.gnu.org/onlinedocs/cpp/Standard-Predefined-Macros.html
For [[deprecated]] attribute, https://isocpp.org/wiki/faq/cpp14-language#deprecated-attribute

7 years agofixed : shadow global variable on gcc 4.4 (minor)
Yann Collet [Sat, 19 Nov 2016 02:00:54 +0000 (18:00 -0800)]
fixed : shadow global variable on gcc 4.4 (minor)

7 years agofixed #272 (compilation fails on gcc 4.4), reported by @totaam
Yann Collet [Sat, 19 Nov 2016 01:54:26 +0000 (17:54 -0800)]
fixed #272 (compilation fails on gcc 4.4), reported by @totaam

7 years agoattempt -mx32 tests on Travis CI
Yann Collet [Sat, 19 Nov 2016 01:16:51 +0000 (17:16 -0800)]
attempt -mx32 tests on Travis CI

7 years agohighly improved speed on -mx32 mode
Yann Collet [Sat, 19 Nov 2016 01:05:06 +0000 (17:05 -0800)]
highly improved speed on -mx32 mode
Now -mx32 is fastest mode on x64 CPU

7 years agoremoved usan32 tests.
Yann Collet [Fri, 18 Nov 2016 03:28:20 +0000 (19:28 -0800)]
removed usan32 tests.
Let's summarize : gcc-5 and gcc-6 on Travis do not support UB sanitizer.
And clang on Travis is not able to generate -m32 code.
Great. It makes the combination impossible to test on Travis ... :(

7 years agomoved usan32 tests to gcc-6
Yann Collet [Fri, 18 Nov 2016 03:21:52 +0000 (19:21 -0800)]
moved usan32 tests to gcc-6

7 years agousan32 relies on default compiler (by default)
Yann Collet [Fri, 18 Nov 2016 03:08:41 +0000 (19:08 -0800)]
usan32 relies on default compiler (by default)

7 years agofixed gcc-5 conf
Yann Collet [Fri, 18 Nov 2016 02:59:14 +0000 (18:59 -0800)]
fixed gcc-5 conf

7 years agoswitch usan32 tests to gcc-5
Yann Collet [Fri, 18 Nov 2016 02:41:26 +0000 (18:41 -0800)]
switch usan32 tests to gcc-5

7 years agoattempt to fix sanitize32 package dependency
Yann Collet [Fri, 18 Nov 2016 02:30:46 +0000 (18:30 -0800)]
attempt to fix sanitize32 package dependency

7 years agoadded sanitize32 tests to Travis
Yann Collet [Fri, 18 Nov 2016 02:06:22 +0000 (18:06 -0800)]
added sanitize32 tests to Travis

7 years agofixed strict aliasing warnings in fasttest
Yann Collet [Thu, 17 Nov 2016 23:34:07 +0000 (15:34 -0800)]
fixed strict aliasing warnings in fasttest