Commit Graph

957 Commits

Author SHA1 Message Date
Kouhei Sutou
59771f41cd Use different prefix for each file to avoid conflict 2016-09-23 10:38:44 +09:00
Yann Collet
1ca408105d Merge pull request #239 from kou/use-lower-case-for-header-name
Use lower case for header file name
2016-09-22 19:13:05 +02:00
Kouhei Sutou
012c66536c Add LZ4LIB_API
It's based on Zstandard's ZSTDLIB_API.

See also: https://github.com/Cyan4973/lz4/issues/216#issuecomment-226245432

Deprecated functions aren't LZ4LIB_API targets. Because we don't need to
export deprecated functions from now.

There are same LZ4LIB_API definitions in each header files instead of
including a common header file because LZ4_DEPRECATED is defined so.
2016-09-23 00:39:45 +09:00
Kouhei Sutou
46a7b94e8c Use lower case for header file name
"WinIoCtl.h" works on Windows because Windows uses case insensitive file
system. But it doesn't work on GNU/Linux (for cross compiling with
MinGW) because GNU/Linux uses case sensitive file system.
2016-09-23 00:34:42 +09:00
Yann Collet
3b9439ccd0 updated uninstall 2016-09-17 11:59:13 +02:00
Yann Collet
8eae1320c2 Merge pull request #236 from inikep/dev
fix bug #232 at https://github.com/Cyan4973/lz4/issues/232
2016-09-06 16:49:34 +02:00
Yann Collet
33993542af removed test artefacts 2016-09-06 16:46:52 +02:00
inikep
3eb143fffa fix bug #232 at https://github.com/Cyan4973/lz4/issues/232 2016-09-06 10:36:16 +02:00
Yann Collet
c8a78dba1f datagen depends on lz4.h for version string 2016-09-05 06:49:55 -07:00
Yann Collet
53515b05e6 Merge pull request #235 from inikep/dev
updated .travis.yml
2016-09-05 05:59:58 -07:00
inikep
92ee3e0ea9 fixed LZ4 repository links 2016-09-05 13:39:35 +02:00
inikep
39be6f16a2 versionTests require 32-bit gcc libraries 2016-09-05 12:32:33 +02:00
inikep
122fdd13a3 versionTests require python3 2016-09-05 10:53:53 +02:00
inikep
6adf7392a2 updated .travis.yml 2016-09-05 10:34:58 +02:00
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