Przemyslaw Skibinski [Mon, 7 Nov 2016 12:00:08 +0000 (13:00 +0100)]
fixed appveyor.yml
Przemyslaw Skibinski [Mon, 7 Nov 2016 11:41:14 +0000 (12:41 +0100)]
Copy owner, file permissions and modification time
Przemyslaw Skibinski [Mon, 7 Nov 2016 11:13:35 +0000 (12:13 +0100)]
util.h requires CharacterSet=MultiByte
Przemyslaw Skibinski [Mon, 7 Nov 2016 11:13:12 +0000 (12:13 +0100)]
fixed --test
Przemyslaw Skibinski [Sun, 6 Nov 2016 10:11:55 +0000 (11:11 +0100)]
Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev
Yann Collet [Sat, 5 Nov 2016 09:11:35 +0000 (02:11 -0700)]
Merge pull request #254 from terrelln/dev
Fix LZ4_decompress_fast_continue() bug
Nick Terrell [Sat, 5 Nov 2016 02:59:50 +0000 (19:59 -0700)]
Fix LZ4_decompress_fast_continue() bug
It specified the external dictionary location incorrectly.
Add tests that expose this bug with both normal compilation and ASAN.
Yann Collet [Sat, 5 Nov 2016 01:29:07 +0000 (18:29 -0700)]
Updated man page
Yann Collet [Sat, 5 Nov 2016 00:11:06 +0000 (17:11 -0700)]
restricted deprecation warning to fairly recent gcc versions (>=6.0)
Yann Collet [Fri, 4 Nov 2016 23:58:34 +0000 (16:58 -0700)]
lz4frame obsolete enum should trigger deprecation warnings (on supported compilers)
Yann Collet [Fri, 4 Nov 2016 23:29:43 +0000 (16:29 -0700)]
removed support for old error code enums from lz4frame_static.h, to free up namespace.
note : lz4frame_static.h does not guaranteed API stability.
note 2 : the macro to enable old error code enums is still present. Just needs to comment one line to re-enable them.
Yann Collet [Fri, 4 Nov 2016 20:54:19 +0000 (13:54 -0700)]
Merge pull request #252 from inikep/dev
Dev
Yann Collet [Fri, 4 Nov 2016 20:49:19 +0000 (13:49 -0700)]
Merge pull request #253 from terrelln/exit-code
Return error if input file does not exist.
Nick Terrell [Fri, 4 Nov 2016 19:46:39 +0000 (12:46 -0700)]
Fix typo in lz4 manpage
Nick Terrell [Fri, 4 Nov 2016 19:34:28 +0000 (12:34 -0700)]
Quiet gcc-4.6.3 narrowing warning
Nick Terrell [Fri, 4 Nov 2016 18:58:10 +0000 (11:58 -0700)]
Return error if input file does not exist.
Make `lz4 file-does-not-exist` return non-zero.
Przemyslaw Skibinski [Fri, 4 Nov 2016 15:56:01 +0000 (16:56 +0100)]
fixed Travis tests
Przemyslaw Skibinski [Fri, 4 Nov 2016 14:52:34 +0000 (15:52 +0100)]
updated #include in util.h
Yann Collet [Fri, 4 Nov 2016 14:22:50 +0000 (07:22 -0700)]
better correctness on big-endian 64-bits platforms
Yann Collet [Fri, 4 Nov 2016 14:13:49 +0000 (07:13 -0700)]
small compression speed improvement on 64-bits systems
Przemyslaw Skibinski [Fri, 4 Nov 2016 13:46:45 +0000 (14:46 +0100)]
updated lz4cli.c
Przemyslaw Skibinski [Fri, 4 Nov 2016 13:26:12 +0000 (14:26 +0100)]
bench.c based on zstd
Przemyslaw Skibinski [Fri, 4 Nov 2016 12:32:36 +0000 (13:32 +0100)]
redefined VOID for Windows/MSYS
Przemyslaw Skibinski [Fri, 4 Nov 2016 12:30:09 +0000 (13:30 +0100)]
added -r option
Przemyslaw Skibinski [Fri, 4 Nov 2016 09:22:32 +0000 (10:22 +0100)]
Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev
Przemyslaw Skibinski [Fri, 4 Nov 2016 09:06:45 +0000 (10:06 +0100)]
Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev
Yann Collet [Fri, 4 Nov 2016 04:08:06 +0000 (21:08 -0700)]
Merge pull request #250 from terrelln/test-mode
Fix test mode and write to null
Yann Collet [Fri, 4 Nov 2016 03:32:51 +0000 (20:32 -0700)]
minor code refactoring
Nick Terrell [Fri, 4 Nov 2016 01:50:25 +0000 (18:50 -0700)]
Rename passThrough to testMode
Yann Collet [Fri, 4 Nov 2016 01:34:54 +0000 (18:34 -0700)]
fix #198 : no longer requires to restart streaming decompression from where it stopped.
It permits relocating remaining data into another memory space.
Still, the same content must be presented.
Nick Terrell [Fri, 4 Nov 2016 01:19:14 +0000 (18:19 -0700)]
Fix tests for test mode
Yann Collet [Fri, 4 Nov 2016 00:31:41 +0000 (17:31 -0700)]
fixed strict warnings
Yann Collet [Fri, 4 Nov 2016 00:14:25 +0000 (17:14 -0700)]
updated comments
Nick Terrell [Thu, 3 Nov 2016 22:41:09 +0000 (15:41 -0700)]
Fix test mode and write to null
Fix test mode to not always return success.
Don't ask for permission to overwrite `nulmark`.
Before:
> echo "hello world" > file
> lz4 -t file
successfully decoded 12 bytes
> lz4 -tf file
successfully decoded 12 bytes
> lz4 file null
Warning : /dev/null already exists
Overwrite ? (Y/n) : n
Error 12 : No. Operation aborted : /dev/null already exists
> lz4 file /dev/null
Warning : /dev/null already exists
Overwrite ? (Y/n) : n
Error 12 : No. Operation aborted : /dev/null already exists
After:
> lz4 -t file
Error 44 : Unrecognized header : file cannot be decoded
> lz4 -tf file
Error 44 : Unrecognized header : file cannot be decoded
> lz4 file null
Compressed 12 bytes into 31 bytes ==> 258.33%
> lz4 file /dev/null
Compressed 12 bytes into 31 bytes ==> 258.33%
Yann Collet [Thu, 3 Nov 2016 17:52:03 +0000 (10:52 -0700)]
fixed travis badges
Yann Collet [Thu, 3 Nov 2016 17:49:33 +0000 (10:49 -0700)]
Merge pull request #249 from inikep/dev
Dev
Yann Collet [Thu, 3 Nov 2016 17:39:35 +0000 (10:39 -0700)]
fixed clang conversion warning
Yann Collet [Thu, 3 Nov 2016 16:27:35 +0000 (09:27 -0700)]
check fread() operation results (#243)
Przemyslaw Skibinski [Thu, 3 Nov 2016 15:17:38 +0000 (16:17 +0100)]
updated programs/README.md
Przemyslaw Skibinski [Thu, 3 Nov 2016 15:01:50 +0000 (16:01 +0100)]
versionsTests moved to tests/
Przemyslaw Skibinski [Thu, 3 Nov 2016 14:28:50 +0000 (15:28 +0100)]
updated .travis.yml
Przemyslaw Skibinski [Thu, 3 Nov 2016 14:18:59 +0000 (15:18 +0100)]
updated Visual Studio projects
Przemyslaw Skibinski [Thu, 3 Nov 2016 14:12:57 +0000 (15:12 +0100)]
updated links to LZ4 repository
Przemyslaw Skibinski [Thu, 3 Nov 2016 14:03:43 +0000 (15:03 +0100)]
test programs moved to tests/
Przemyslaw Skibinski [Thu, 3 Nov 2016 12:25:20 +0000 (13:25 +0100)]
documentation moved to doc/
Przemyslaw Skibinski [Thu, 3 Nov 2016 12:12:51 +0000 (13:12 +0100)]
Merge remote-tracking branch 'refs/remotes/lz4/dev' into dev
Yann Collet [Wed, 2 Nov 2016 04:04:56 +0000 (21:04 -0700)]
fix for ARM platform
Yann Collet [Wed, 2 Nov 2016 02:14:04 +0000 (19:14 -0700)]
Clarified license (#115, #244)
Yann Collet [Wed, 2 Nov 2016 00:26:22 +0000 (17:26 -0700)]
moved cmake and debian directories to contrib (#245)
Yann Collet [Tue, 1 Nov 2016 23:54:33 +0000 (16:54 -0700)]
fixed #247, reported by Felix Bolte
Yann Collet [Fri, 21 Oct 2016 16:49:30 +0000 (09:49 -0700)]
fixes static compilation under Windows (#246)
Yann Collet [Fri, 23 Sep 2016 21:47:24 +0000 (23:47 +0200)]
Merge pull request #242 from vapier/dev
README: fix minor typo
Mike Frysinger [Fri, 23 Sep 2016 18:09:31 +0000 (14:09 -0400)]
README: fix minor typo
Yann Collet [Fri, 23 Sep 2016 13:59:39 +0000 (15:59 +0200)]
Merge pull request #241 from vapier/dev
add a flag to disable static libs
Yann Collet [Fri, 23 Sep 2016 06:54:24 +0000 (08:54 +0200)]
Merge pull request #238 from kou/add-lz4lib-api
Add LZ4LIB_API
Yann Collet [Fri, 23 Sep 2016 06:51:35 +0000 (08:51 +0200)]
Merge pull request #240 from kou/add-missin-ext
Add missing $(EXT) to lz4 program name
Mike Frysinger [Fri, 23 Sep 2016 03:59:02 +0000 (23:59 -0400)]
add a flag to disable static libs
Kouhei Sutou [Fri, 23 Sep 2016 01:43:12 +0000 (10:43 +0900)]
Add missing $(EXT) to lz4 program name
Kouhei Sutou [Fri, 23 Sep 2016 01:38:33 +0000 (10:38 +0900)]
Use different prefix for each file to avoid conflict
Yann Collet [Thu, 22 Sep 2016 17:13:05 +0000 (19:13 +0200)]
Merge pull request #239 from kou/use-lower-case-for-header-name
Use lower case for header file name
Kouhei Sutou [Thu, 22 Sep 2016 15:21:04 +0000 (00:21 +0900)]
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.
Kouhei Sutou [Thu, 22 Sep 2016 15:34:42 +0000 (00:34 +0900)]
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.
Yann Collet [Sat, 17 Sep 2016 09:59:13 +0000 (11:59 +0200)]
updated uninstall
Yann Collet [Tue, 6 Sep 2016 14:49:34 +0000 (16:49 +0200)]
Merge pull request #236 from inikep/dev
fix bug #232 at https://github.com/Cyan4973/lz4/issues/232
Yann Collet [Tue, 6 Sep 2016 14:46:52 +0000 (16:46 +0200)]
removed test artefacts
inikep [Tue, 6 Sep 2016 08:36:16 +0000 (10:36 +0200)]
fix bug #232 at https://github.com/Cyan4973/lz4/issues/232
Yann Collet [Mon, 5 Sep 2016 13:49:55 +0000 (06:49 -0700)]
datagen depends on lz4.h for version string
Yann Collet [Mon, 5 Sep 2016 12:59:58 +0000 (05:59 -0700)]
Merge pull request #235 from inikep/dev
updated .travis.yml
inikep [Mon, 5 Sep 2016 11:39:35 +0000 (13:39 +0200)]
fixed LZ4 repository links
inikep [Mon, 5 Sep 2016 10:32:33 +0000 (12:32 +0200)]
versionTests require 32-bit gcc libraries
inikep [Mon, 5 Sep 2016 08:53:53 +0000 (10:53 +0200)]
versionTests require python3
inikep [Mon, 5 Sep 2016 08:34:58 +0000 (10:34 +0200)]
updated .travis.yml
Yann Collet [Sat, 3 Sep 2016 06:34:18 +0000 (23:34 -0700)]
Merge pull request #233 from inikep/dev
Appveyor tests
inikep [Sat, 3 Sep 2016 06:10:16 +0000 (08:10 +0200)]
Merge remote-tracking branch 'refs/remotes/Cyan4973/dev' into dev
# Conflicts:
# programs/Makefile
inikep [Sat, 3 Sep 2016 05:53:38 +0000 (07:53 +0200)]
disabled <RunCodeAnalysis> for Win32
Yann Collet [Sat, 3 Sep 2016 05:04:16 +0000 (22:04 -0700)]
lz4 version source from lz4.h
Yann Collet [Sat, 3 Sep 2016 04:46:02 +0000 (21:46 -0700)]
frametest depends on standard C time.h only
Yann Collet [Sat, 3 Sep 2016 03:17:19 +0000 (20:17 -0700)]
fullbench depends on standard C time.h only
Yann Collet [Sat, 3 Sep 2016 02:48:24 +0000 (19:48 -0700)]
fuzzer depends on standard C time.h only
Yann Collet [Sat, 3 Sep 2016 02:32:06 +0000 (19:32 -0700)]
lz4cli version number from lz4.h
Yann Collet [Sat, 3 Sep 2016 02:06:01 +0000 (19:06 -0700)]
coding style change
inikep [Sat, 3 Sep 2016 00:05:01 +0000 (02:05 +0200)]
CFLAGS += $(MOREFLAGS)
inikep [Fri, 2 Sep 2016 23:35:00 +0000 (01:35 +0200)]
remove EnablePREfast=true for Win32
inikep [Fri, 2 Sep 2016 23:12:22 +0000 (01:12 +0200)]
set OutDir
inikep [Fri, 2 Sep 2016 23:03:04 +0000 (01:03 +0200)]
update IncludePath
inikep [Fri, 2 Sep 2016 22:54:14 +0000 (00:54 +0200)]
restored lz4.vcxproj
inikep [Fri, 2 Sep 2016 22:52:11 +0000 (00:52 +0200)]
added appveyor.yml
inikep [Fri, 2 Sep 2016 22:51:24 +0000 (00:51 +0200)]
renamed VS project
Yann Collet [Fri, 2 Sep 2016 22:21:51 +0000 (15:21 -0700)]
Merge pull request #231 from inikep/dev
-b# and -e# options from zstd
inikep [Fri, 2 Sep 2016 21:02:30 +0000 (23:02 +0200)]
added <string.h> for strlen()
inikep [Fri, 2 Sep 2016 20:59:18 +0000 (22:59 +0200)]
-b# and -e# options from zstd
inikep [Fri, 2 Sep 2016 19:50:57 +0000 (21:50 +0200)]
fix mingw64 compilation warnings
Yann Collet [Sun, 28 Aug 2016 11:55:36 +0000 (13:55 +0200)]
Merge pull request #226 from gsauthof/port-make
Fix POSIX portability and cmake file
Georg Sauthoff [Sat, 27 Aug 2016 09:18:43 +0000 (11:18 +0200)]
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
Georg Sauthoff [Sat, 27 Aug 2016 09:14:24 +0000 (11:14 +0200)]
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)
Georg Sauthoff [Sat, 27 Aug 2016 08:56:08 +0000 (10:56 +0200)]
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
Georg Sauthoff [Sat, 27 Aug 2016 08:47:50 +0000 (10:47 +0200)]
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
Georg Sauthoff [Sat, 27 Aug 2016 08:32:21 +0000 (10:32 +0200)]
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.
Yann Collet [Sat, 20 Aug 2016 22:08:38 +0000 (00:08 +0200)]
minor comments
Yann Collet [Sat, 20 Aug 2016 21:59:45 +0000 (23:59 +0200)]
minor refactor