Yann Collet
da9402c6f5
minor lz4frame refactoring
2015-03-16 22:35:02 +01:00
Yann Collet
859fe3bb1d
Updated LZ4 frame format documentation
2015-03-16 21:57:14 +01:00
Yann Collet
8edb7f1406
Added : Readme into lib directory, to explain what does each file
2015-03-16 21:48:40 +01:00
Yann Collet
e7fb4d151d
lz4 utility supports "pass-through" mode
2015-03-16 20:38:25 +01:00
Yann Collet
2a02455fdf
minor refactoring
2015-03-16 19:19:39 +01:00
Yann Collet
3a6832497b
skippable frames support
2015-03-16 17:52:14 +01:00
Yann Collet
93849d14bc
minor CMakeLists update
2015-03-16 11:26:49 +01:00
Yann Collet
471eabe09b
Merge pull request #60 from Cyberunner23/master
...
Removed checking of CMAKE_SYSTEM_PROCESSOR when adding -fPIC, breaks whe...
2015-03-16 11:18:07 +01:00
Cyberunner23
ef029a1b1b
Removed checking of CMAKE_SYSTEM_PROCESSOR when adding -fPIC, breaks when that var is '64bit'.
2015-03-15 18:08:32 -04:00
Yann Collet
c9a2b14113
removed -s command from lz4c specific list of legacy commands
2015-03-15 20:47:49 +01:00
Yann Collet
207aafd0dc
Added : unlz4 symbolic link to "lz4 -d"
2015-03-15 20:42:40 +01:00
Yann Collet
2b55752a5c
changed "make install" default install directory to /usr/local
2015-03-15 20:40:38 +01:00
Yann Collet
bbcfe2144d
Added : clang test
2015-03-15 14:19:47 +01:00
Yann Collet
8a87769af8
Fix : static analyzer test on Travis
2015-03-15 02:14:02 +01:00
Yann Collet
45b0642bf5
scan-build tests
2015-03-15 01:42:27 +01:00
Yann Collet
a18fb4392a
Merge pull request #58 from Cyan4973/sparseFile
...
Sparse file
2015-03-15 01:34:05 +01:00
Yann Collet
248b761f55
windows sparse file support
2015-03-13 22:15:08 +01:00
Yann Collet
d11ac40872
Improved sparse files support
2015-03-13 20:36:59 +01:00
Yann Collet
45a357fd17
Improved sparse file support
2015-03-13 02:24:08 +01:00
Yann Collet
e38c268b5a
Fixed minor g++ warnings
2015-03-11 20:11:14 +01:00
Yann Collet
12ab41571e
Preliminary support for sparse files
2015-03-11 19:42:37 +01:00
Yann Collet
e3f33d2579
Fixed minor warnings
2015-03-11 18:38:44 +01:00
Yann Collet
74a6b14f29
Merge pull request #57 from alexDarcy/master
...
Updated Cmake configuration for non-gnu compiler v2
2015-03-11 14:35:47 +01:00
alexDarcy
f2cc4bed93
Updated Cmake configuration for non-gnu compiler
2015-03-11 11:13:20 +01:00
Yann Collet
ceec6fa849
g++ compatibility
2015-03-10 16:57:42 +01:00
Yann Collet
6b0c39b839
Updated datagen (can create sparse files)
2015-03-10 00:12:51 +01:00
Yann Collet
e277511ab6
Merge pull request #54 from t-mat/gc-issue/155
...
Gc issue/155
2015-03-08 19:06:17 +01:00
Yann Collet
e1d9b593e1
Fixed : static library (x64 binary)
2015-03-08 12:50:40 +01:00
Yann Collet
32a85fc76d
NetBSD compatibility ( #48 )
2015-03-07 19:30:45 +01:00
Yann Collet
488029ec3b
Updated : compress multiple files
2015-03-07 13:23:00 +01:00
Yann Collet
046bd3abee
Merge pull request #52 from KyleJHarper/r128/multiple_inputs
...
Adding support for multiple file processing. Fixes Google code issue 151.
2015-03-03 01:04:40 +01:00
Takayuki MATSUOKA
dcdd628d5e
Fix sentinel bit pattern
...
Set all bits of U64.
2015-03-02 13:38:30 +09:00
Takayuki MATSUOKA
de5c930c90
Fix sentinel size miscalculation
...
Since is_nul() style wild-comparing stride is U64, we must add sizeof(U64) to the sentinel.
2015-03-02 13:38:29 +09:00
Takayuki MATSUOKA
eed7952101
Add GNU coreutil's is_nul() method to isSparse()
...
See original source
http://git.savannah.gnu.org/cgit/coreutils.git/tree/src/system.h
2015-03-02 13:38:28 +09:00
Takayuki MATSUOKA
b372f45093
Add Neil's method to isSparse()
2015-03-02 13:38:27 +09:00
Takayuki MATSUOKA
01a24afdcf
Improve isSparse()
2015-03-02 13:38:25 +09:00
Takayuki MATSUOKA
4a5d92b1d9
Adjust coding style
2015-03-02 13:38:24 +09:00
Takayuki MATSUOKA
97679fa5a1
Google Code Issue 155: lz4 cli should support sparse file
...
https://code.google.com/p/lz4/issues/detail?id=155
This is experimental implementation. Just a proof of concept.
It works Linux and Windows.
# Build
To build experimental version, define 'LZ4IO_ENABLE_SPARSE_FILE' like the following command :
make lz4programs 'CFLAGS=-O3 -DLZ4IO_ENABLE_SPARSE_FILE=1'
./programs/lz4 -h
You will see "EXPERIMENTAL_SPARSE_FILE" as lz4 revision :
"*** LZ4 command line interface 64-bits EXPERIMENTAL_SPARSE_FILE, by Yann Collet (...) ***"
# Experiment
This experimental version adds option "-x" for sparse file for decompression.
You can use this option like this :
./programs/lz4 -9 -f my-file
./programs/lz4 -d -f -x my-file.lz4 my-file.lz4.out
cmp my-file my-file.lz4.out
2015-03-02 13:38:23 +09:00
kyle
fa27d236b4
Added support for multiple input files to act more like other compressors. For example: gzip file1 file2 file3. You can now do: lz4 [args] -m file1 file2 file3. Fixes 151.
2015-03-01 19:00:40 -06:00
Yann Collet
67f3b4141a
Merge pull request #49 from t-mat/msvc-fseeki64
...
Avoid MSVC fseek()'s 2GiB barrier
2015-03-02 00:41:38 +01:00
Yann Collet
e68d1c98c1
restored lz4 hc compression ratio
2015-03-02 00:11:34 +01:00
Takayuki MATSUOKA
41b6ed3c5b
Replace fseek with _fseeki64 to avoid MSVC's 2GiB barrier
...
Since MSVC fseek()'s SEEK_CUR mode has 2GiB barrier, our fseek() calling in program/lz4io.c/selectDecoder() will fail for large (>2GiB) .lz4 file.
This commit just replace fseek with _fseeki64 by macro. Second argument is automatically casted to __int64 (signed 64bit integer). Other things are completely same.
2015-02-14 12:48:11 +09:00
Yann Collet
8f4e201a06
Fix : lz4frame.h within uninstaller
2015-01-21 18:03:17 +01:00
Yann Collet
9fd92def42
Added : Visual project directory
2015-01-13 05:36:58 +01:00
Yann Collet
e25b51de7b
Merge pull request #47 from Cyan4973/dev
...
Dev
2014-12-19 09:51:32 +01:00
Yann Collet
f68eead36c
Added : -pedantic compilation option
2014-12-17 12:32:49 +01:00
Yann Collet
0569a68edd
C90 compatibility
2014-12-17 12:20:17 +01:00
Yann Collet
8a9fb8cf32
Fixed : older compiler don't like nameless unions, reported by Cheyi Lin
2014-12-16 22:03:16 +01:00
Yann Collet
95cc6cef64
Fixed : bug within LZ4 HC streaming mode, reported by James Boyle
2014-12-16 02:13:19 +01:00
Yann Collet
7a8cd69960
Fixed : GCC 4.9 bug on highest performance settings, reported by Greg Slazinski
2014-12-14 14:29:15 +01:00