Commit Graph

893 Commits

Author SHA1 Message Date
Yann Collet
8ac619afef Merge pull request #233 from inikep/dev
Appveyor tests
2016-09-02 23:34:18 -07:00
inikep
58a1616d7b Merge remote-tracking branch 'refs/remotes/Cyan4973/dev' into dev
# Conflicts:
#	programs/Makefile
2016-09-03 08:10:16 +02:00
inikep
c77fdb44f1 disabled <RunCodeAnalysis> for Win32 2016-09-03 07:53:38 +02:00
Yann Collet
28f98647e3 lz4 version source from lz4.h 2016-09-02 22:04:16 -07:00
Yann Collet
dd51ca6300 frametest depends on standard C time.h only 2016-09-02 21:46:02 -07:00
Yann Collet
f327a8bddd fullbench depends on standard C time.h only 2016-09-02 20:17:19 -07:00
Yann Collet
32a31663c3 fuzzer depends on standard C time.h only 2016-09-02 19:48:24 -07:00
Yann Collet
64f556e610 lz4cli version number from lz4.h 2016-09-02 19:32:06 -07:00
Yann Collet
5871585b6a coding style change 2016-09-02 19:06:01 -07:00
inikep
e5b0f1ea14 CFLAGS += $(MOREFLAGS) 2016-09-03 02:05:01 +02:00
inikep
829ae75871 remove EnablePREfast=true for Win32 2016-09-03 01:35:00 +02:00
inikep
547e1943c0 set OutDir 2016-09-03 01:12:22 +02:00
inikep
ab707e8b0d update IncludePath 2016-09-03 01:03:04 +02:00
inikep
3a7b4457a5 restored lz4.vcxproj 2016-09-03 00:54:14 +02:00
inikep
81d90609b8 added appveyor.yml 2016-09-03 00:52:11 +02:00
inikep
c200f7e09f renamed VS project 2016-09-03 00:51:24 +02:00
Yann Collet
f4111cf04e Merge pull request #231 from inikep/dev
-b# and -e# options from zstd
2016-09-02 15:21:51 -07:00
inikep
b3ae49c7bf added <string.h> for strlen() 2016-09-02 23:02:30 +02:00
inikep
2cf32ef0f1 -b# and -e# options from zstd 2016-09-02 22:59:18 +02:00
inikep
c1864f69e8 fix mingw64 compilation warnings 2016-09-02 21:50:57 +02:00
Yann Collet
7f08131f99 Merge pull request #226 from gsauthof/port-make
Fix POSIX portability and cmake file
2016-08-28 13:55:36 +02:00
Georg Sauthoff
3fa60044e7 don't use variable eval syntax in if()
because it is substituted before if() is executed

cf. the last section of e.g.:
https://cmake.org/cmake/help/v3.1/command/if.html
2016-08-27 15:24:50 +02:00
Georg Sauthoff
e1e3305dbd don't link the tools against the shared library
by default.

reason: to have analogous behavior as with the official makefile

(using a shared library might have the side effect of slower execution)
2016-08-27 15:24:50 +02:00
Georg Sauthoff
b0d42cb7ec remove additional -fPIC switch because
- cmake is smart enough to add this flag on its own (for object files
  that it links into a shared library)
- cmake contains two sets of oject files - the position-dependent ones
  and the position-independent ones - and uses each set accordingly
  (for linking the executable, static library, shared library)
- having an executable that unnecessarily contains position-independent
  code has performance implications
2016-08-27 15:24:50 +02:00
Georg Sauthoff
681d5010d5 use gnu c99 to get both c99 and POSIX
when compiling with gcc

fixes fileno() implicitly defined on Linx and compile error on Solaris 10
2016-08-27 15:24:50 +02:00
Georg Sauthoff
584e1fe92a request POSIX.2001 definitions for fileno()
this also fixes compilation on Solaris 10

cf. feature_test_macros(7) Linux man page:

> _POSIX_SOURCE
>   Defining this obsolete macro with any value is equivalent to  defin‐
>   ing _POSIX_C_SOURCE with the value 1.
>
>   Since  this macro is obsolete, its usage is generally not documented
>   when discussing feature test macro requirements in the man pages.
2016-08-27 15:24:33 +02:00
Yann Collet
5bd3eaa481 minor comments 2016-08-21 00:08:38 +02:00
Yann Collet
9578ff539d minor refactor 2016-08-20 23:59:45 +02:00
Yann Collet
a7672dc4f9 minor decompression speed gains 2016-08-20 23:52:20 +02:00
Yann Collet
182645ee0f lz4 as phony target 2016-08-20 23:49:36 +02:00
Yann Collet
0214638eb7 Makefile : lz4 at root 2016-08-20 23:26:33 +02:00
Yann Collet
63d22e7a19 minor comments clarifications 2016-08-20 23:22:29 +02:00
Yann Collet
74e6afc5dc minor comments clarification 2016-08-11 18:55:42 +02:00
Yann Collet
2ac9ecec68 Fixed #157 : LZ4F_getFrameInfo() fails on valid null-content frame 2016-08-11 14:55:39 +02:00
Yann Collet
45ea27949c Minor fuzzer code refactoring 2016-08-11 12:18:45 +02:00
Yann Collet
de69eca475 Merge branch 'dev' of github.com:Cyan4973/lz4 into dev 2016-08-11 12:00:32 +02:00
Yann Collet
828332d236 fixed : fuzzer test, reported by @setharnold (#203) 2016-08-10 09:14:11 +02:00
Yann Collet
b130fd5923 minor refactoring changes 2016-08-10 08:26:49 +02:00
Yann Collet
3c295ca4ac Merge pull request #222 from kou/fix-build-error-with-mingw
Fix build error with MinGW on Linux
2016-07-26 11:44:09 +02:00
Kouhei Sutou
0c63b7cbd9 Fix build error with MinGW on Linux
Linux uses case sensitive file system. So "Windows.h" doesn't exist.

    % make CC=x86_64-w64-mingw32-gcc EXT=.exe SHARD_EXT=dll
    ...
    lz4io.c:69:73: fatal error: Windows.h: No such file or directory
    compilation terminated.
    ...
2016-07-25 15:54:16 +09:00
Yann Collet
7316584ca0 Merge pull request #219 from BenWiederhake/dev
Clean up links, repository-wide
2016-07-08 06:31:18 +02:00
Ben Wiederhake
d3e2d80266 Use https wherever possible 2016-07-08 00:46:02 +02:00
Ben Wiederhake
cec38d1b74 Correctly reference self (github, not googlecode) 2016-07-08 00:45:33 +02:00
Ben Wiederhake
6540030033 Use correct 'repository' hostname 2016-07-08 00:45:18 +02:00
Yann Collet
91cce757f5 Updated xxhash library to v0.6.1 2016-06-29 21:48:27 +02:00
Yann Collet
5540f4f93e stronger compilation flags 2016-06-29 20:25:10 +02:00
Yann Collet
19e585cc46 modified : some more deprecated functions from lz4hc.h generate warnings 2016-06-29 18:18:34 +02:00
Yann Collet
6b1600f41e changed : default benchmark LZ4_decompress_safe() 2016-06-29 17:48:28 +02:00
Yann Collet
6923f3e230 Minor refactoring (code style) 2016-06-29 17:12:24 +02:00
Yann Collet
410ec81543 Fixed : alignment warning 2016-06-29 17:02:09 +02:00