Commit Graph

1142 Commits

Author SHA1 Message Date
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
Chocobo1
db6f733ecc Use logical or instead of bitwise or 2017-01-13 00:43:25 +08:00
Chocobo1
44f95e92ea Fix printf specifier 2017-01-13 00:36:24 +08:00
Yann Collet
9683a1ae87 LZ4_MEMORY_USAGE can be modified from compilation command line 2017-01-05 16:50:37 +01:00
Yann Collet
16d69c8d03 Merge branch 'dev' of github.com:Cyan4973/lz4 into dev 2017-01-03 03:59:40 +01:00
Yann Collet
05e27ade68 updated NEWS 2017-01-03 03:59:27 +01:00
Yann Collet
c18a81c02a Merge pull request #296 from mgorny/cmake-fixes
Multiple CMake improvements
2017-01-03 00:35:42 +01:00
Michał Górny
d7969e49af cmake: Install manpages 2017-01-02 16:34:57 +01:00
Michał Górny
1380c33b73 cmake: Install lz4cat and unlz4 symlinks 2017-01-02 16:34:57 +01:00
Michał Górny
28db4acc90 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.
2017-01-02 16:34:57 +01:00
Michał Górny
9e867db90a 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.
2017-01-02 10:14:35 +01:00
Przemyslaw Skibinski
cb95994499 Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev 2016-12-29 15:22:44 +01:00
Yann Collet
8c4de60d0f Merge pull request #295 from inikep/opt-parser
Opt parser
2016-12-29 00:44:40 +01:00
Przemyslaw Skibinski
d2b51c22d3 fuzzer: tests more compression levels 2016-12-28 17:47:10 +01:00
Przemyslaw Skibinski
312d88249f removed nextToUpdateBT 2016-12-28 15:38:59 +01:00
Przemyslaw Skibinski
3d5bb38977 clean logging 2016-12-28 15:37:12 +01:00
Przemyslaw Skibinski
1c80b9af4e LZ4HC_getSearchNum 2016-12-28 15:18:19 +01:00
Yann Collet
581da2bf80 Merge pull request #293 from inikep/dev
improved *BSD and Solaris compatibility
2016-12-28 14:43:17 +01:00
Przemyslaw Skibinski
98f9d6c726 improved logging 2016-12-28 14:04:38 +01:00
Przemyslaw Skibinski
12aae846b3 fixed table update in LZ4_loadDictHC 2016-12-28 13:19:11 +01:00
Przemyslaw Skibinski
c8b31263cc added FUZ_CLEVEL_DEFAULT 2016-12-28 13:08:38 +01:00
Przemyslaw Skibinski
7a73c5c1fe changed default PREFIX and MANDIR 2016-12-28 11:34:23 +01:00
Przemyslaw Skibinski
d57ff6456d changed default PREFIX and MANDIR 2016-12-28 11:27:17 +01:00
Przemyslaw Skibinski
a3d61cf3df improved test-lz4-opt-parser 2016-12-27 15:38:07 +01:00
Przemyslaw Skibinski
20381a2fce fixed -BD compression 2016-12-27 15:31:35 +01:00
Przemyslaw Skibinski
f4575f4f14 added test-lz4-opt-parser 2016-12-27 13:14:04 +01:00
Przemyslaw Skibinski
e6536faf33 lib\Makefile: fixed INSTALL_DATA 2016-12-27 11:17:35 +01:00
Przemyslaw Skibinski
efaa9b7bc7 Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev
# Conflicts:
#	lib/Makefile
2016-12-27 10:43:07 +01:00
Przemyslaw Skibinski
b22e2bed5e BSD: improved "make install" 2016-12-23 10:05:41 +01:00
Przemyslaw Skibinski
ea51ad0cee Solaris: working "make install" 2016-12-23 00:02:01 +01:00
Yann Collet
19c0f21b00 updated Makefile : lz4 no longer recompiled when already up-to-date 2016-12-22 18:02:09 +01:00
Przemyslaw Skibinski
9b4b081c15 "make test" is now compatible with Solaris 2016-12-22 17:18:39 +01:00
Yann Collet
b41f9bb132 Merge pull request #292 from inikep/dev
improved POSIX
2016-12-22 11:58:29 +01:00
Yann Collet
7eb16d97d2 updated NEWS 2016-12-22 11:50:21 +01:00
Yann Collet
52cac9a973 updated a few macros names 2016-12-22 11:41:05 +01:00
Przemyslaw Skibinski
fea95c1567 use FindFirstFileA and FindNextFileA on Windows 2016-12-22 10:58:58 +01:00
Przemyslaw Skibinski
e6af952f84 improved comments 2016-12-21 19:49:06 +01:00
Przemyslaw Skibinski
5812450635 use fseeko for 32-bit MacOS 2016-12-21 18:46:14 +01:00
Przemyslaw Skibinski
f084b65383 test Large File support for Mac OS-X in 32-bits mode 2016-12-21 17:13:38 +01:00
Przemyslaw Skibinski
973bc79740 util.h and platform.h based on zstd 2016-12-21 16:10:09 +01:00
Yann Collet
70526a11e0 fixed lib/clean 2016-12-21 15:33:53 +01:00
Yann Collet
bc0839c5df minor fix for travis-install test 2016-12-21 15:00:43 +01:00
Yann Collet
7cf0bb97b2 LZ4F_compressBound(0) provides upper bound for LZ4F_flush() and LZ4F_compressEnd() [#290, suggested by @vtermanis] 2016-12-21 14:18:01 +01:00
Yann Collet
385cb4f539 minor update Makefile 2016-12-21 13:18:02 +01:00
Przemyslaw Skibinski
4f61505cc4 datagen.vcxproj: CharacterSet is MultiByte 2016-12-21 12:09:58 +01:00
Przemyslaw Skibinski
253ac12cb7 VS projects: CharacterSet changed to MultiByte 2016-12-21 12:06:36 +01:00
Przemyslaw Skibinski
287f7d3d6d added IncludePath 2016-12-21 11:58:50 +01:00
Przemyslaw Skibinski
2fd7eb554a fixed Visual Studio compilation 2016-12-21 11:53:16 +01:00
Przemyslaw Skibinski
3c6ce9c665 fixed gcc 4.4 support 2016-12-21 10:39:27 +01:00