platform/upstream/lz4.git
9 years agoUpdates tests & Man pages
Yann Collet [Sun, 22 Mar 2015 12:42:00 +0000 (13:42 +0100)]
Updates tests & Man pages

9 years agonew long commands
Yann Collet [Sat, 21 Mar 2015 12:34:55 +0000 (13:34 +0100)]
new long commands

9 years agoSome more tests related to frame content size
Yann Collet [Thu, 19 Mar 2015 00:05:59 +0000 (01:05 +0100)]
Some more tests related to frame content size

9 years agoframe content size support
Yann Collet [Wed, 18 Mar 2015 20:38:27 +0000 (21:38 +0100)]
frame content size support

9 years agoUpdated lz4io sparse file support (alignment properties)
Yann Collet [Tue, 17 Mar 2015 17:02:01 +0000 (18:02 +0100)]
Updated lz4io sparse file support (alignment properties)

9 years agominor lz4frame optimisation (no more malloc() on using LZ4F_compressFrame() in fast...
Yann Collet [Mon, 16 Mar 2015 22:22:59 +0000 (23:22 +0100)]
minor lz4frame optimisation (no more malloc() on using LZ4F_compressFrame() in fast mode)

9 years agominor lz4frame refactoring
Yann Collet [Mon, 16 Mar 2015 21:35:02 +0000 (22:35 +0100)]
minor lz4frame refactoring

9 years agoUpdated LZ4 frame format documentation
Yann Collet [Mon, 16 Mar 2015 20:57:14 +0000 (21:57 +0100)]
Updated LZ4 frame format documentation

9 years agoAdded : Readme into lib directory, to explain what does each file
Yann Collet [Mon, 16 Mar 2015 20:48:40 +0000 (21:48 +0100)]
Added : Readme into lib directory, to explain what does each file

9 years agolz4 utility supports "pass-through" mode
Yann Collet [Mon, 16 Mar 2015 19:38:25 +0000 (20:38 +0100)]
lz4 utility supports "pass-through" mode

9 years agominor refactoring
Yann Collet [Mon, 16 Mar 2015 18:19:39 +0000 (19:19 +0100)]
minor refactoring

9 years agoskippable frames support
Yann Collet [Mon, 16 Mar 2015 16:52:14 +0000 (17:52 +0100)]
skippable frames support

9 years agominor CMakeLists update
Yann Collet [Mon, 16 Mar 2015 10:26:49 +0000 (11:26 +0100)]
minor CMakeLists update

9 years agoMerge pull request #60 from Cyberunner23/master
Yann Collet [Mon, 16 Mar 2015 10:18:07 +0000 (11:18 +0100)]
Merge pull request #60 from Cyberunner23/master

Removed checking of CMAKE_SYSTEM_PROCESSOR when adding -fPIC, breaks whe...

9 years agoRemoved checking of CMAKE_SYSTEM_PROCESSOR when adding -fPIC, breaks when that var...
Cyberunner23 [Sun, 15 Mar 2015 22:08:32 +0000 (18:08 -0400)]
Removed checking of CMAKE_SYSTEM_PROCESSOR when adding -fPIC, breaks when that var is '64bit'.

9 years agoremoved -s command from lz4c specific list of legacy commands
Yann Collet [Sun, 15 Mar 2015 19:47:49 +0000 (20:47 +0100)]
removed -s command from lz4c specific list of legacy commands

9 years agoAdded : unlz4 symbolic link to "lz4 -d"
Yann Collet [Sun, 15 Mar 2015 19:42:40 +0000 (20:42 +0100)]
Added :  unlz4 symbolic link to "lz4 -d"

9 years agochanged "make install" default install directory to /usr/local
Yann Collet [Sun, 15 Mar 2015 19:40:38 +0000 (20:40 +0100)]
changed "make install" default install directory to /usr/local

9 years agoAdded : clang test
Yann Collet [Sun, 15 Mar 2015 13:19:47 +0000 (14:19 +0100)]
Added : clang test

9 years agoFix : static analyzer test on Travis
Yann Collet [Sun, 15 Mar 2015 01:14:02 +0000 (02:14 +0100)]
Fix : static analyzer test on Travis

9 years agoscan-build tests
Yann Collet [Sun, 15 Mar 2015 00:42:27 +0000 (01:42 +0100)]
scan-build tests

9 years agoMerge pull request #58 from Cyan4973/sparseFile
Yann Collet [Sun, 15 Mar 2015 00:34:05 +0000 (01:34 +0100)]
Merge pull request #58 from Cyan4973/sparseFile

Sparse file

9 years agowindows sparse file support
Yann Collet [Fri, 13 Mar 2015 21:15:08 +0000 (22:15 +0100)]
windows sparse file support

9 years agoImproved sparse files support
Yann Collet [Fri, 13 Mar 2015 19:36:59 +0000 (20:36 +0100)]
Improved sparse files support

9 years agoImproved sparse file support
Yann Collet [Fri, 13 Mar 2015 01:24:08 +0000 (02:24 +0100)]
Improved sparse file support

9 years agoFixed minor g++ warnings
Yann Collet [Wed, 11 Mar 2015 19:11:14 +0000 (20:11 +0100)]
Fixed minor g++ warnings

9 years agoPreliminary support for sparse files
Yann Collet [Wed, 11 Mar 2015 18:42:37 +0000 (19:42 +0100)]
Preliminary support for sparse files

9 years agoFixed minor warnings
Yann Collet [Wed, 11 Mar 2015 17:38:44 +0000 (18:38 +0100)]
Fixed minor warnings

9 years agoMerge pull request #57 from alexDarcy/master
Yann Collet [Wed, 11 Mar 2015 13:35:47 +0000 (14:35 +0100)]
Merge pull request #57 from alexDarcy/master

Updated Cmake configuration for non-gnu compiler v2

9 years agoUpdated Cmake configuration for non-gnu compiler
alexDarcy [Wed, 11 Mar 2015 10:13:20 +0000 (11:13 +0100)]
Updated Cmake configuration for non-gnu compiler

9 years agog++ compatibility
Yann Collet [Tue, 10 Mar 2015 15:57:42 +0000 (16:57 +0100)]
g++ compatibility

9 years agoUpdated datagen (can create sparse files)
Yann Collet [Mon, 9 Mar 2015 23:12:51 +0000 (00:12 +0100)]
Updated datagen (can create sparse files)

9 years agoMerge pull request #54 from t-mat/gc-issue/155
Yann Collet [Sun, 8 Mar 2015 18:06:17 +0000 (19:06 +0100)]
Merge pull request #54 from t-mat/gc-issue/155

Gc issue/155

9 years agoFixed : static library (x64 binary)
Yann Collet [Sun, 8 Mar 2015 11:50:40 +0000 (12:50 +0100)]
Fixed : static library (x64 binary)

9 years agoNetBSD compatibility (#48)
Yann Collet [Sat, 7 Mar 2015 18:30:45 +0000 (19:30 +0100)]
NetBSD compatibility (#48)

9 years agoUpdated : compress multiple files
Yann Collet [Sat, 7 Mar 2015 12:23:00 +0000 (13:23 +0100)]
Updated : compress multiple files

9 years agoMerge pull request #52 from KyleJHarper/r128/multiple_inputs
Yann Collet [Tue, 3 Mar 2015 00:04:40 +0000 (01:04 +0100)]
Merge pull request #52 from KyleJHarper/r128/multiple_inputs

Adding support for multiple file processing.  Fixes Google code issue 151.

9 years agoFix sentinel bit pattern
Takayuki MATSUOKA [Thu, 12 Feb 2015 14:50:14 +0000 (23:50 +0900)]
Fix sentinel bit pattern

Set all bits of U64.

9 years agoFix sentinel size miscalculation
Takayuki MATSUOKA [Thu, 12 Feb 2015 12:26:32 +0000 (21:26 +0900)]
Fix sentinel size miscalculation

Since is_nul() style wild-comparing stride is U64, we must add sizeof(U64) to the sentinel.

9 years agoAdd GNU coreutil's is_nul() method to isSparse()
Takayuki MATSUOKA [Thu, 12 Feb 2015 12:00:50 +0000 (21:00 +0900)]
Add GNU coreutil's is_nul() method to isSparse()

See original source
http://git.savannah.gnu.org/cgit/coreutils.git/tree/src/system.h

9 years agoAdd Neil's method to isSparse()
Takayuki MATSUOKA [Thu, 12 Feb 2015 11:18:16 +0000 (20:18 +0900)]
Add Neil's method to isSparse()

9 years agoImprove isSparse()
Takayuki MATSUOKA [Thu, 12 Feb 2015 10:58:49 +0000 (19:58 +0900)]
Improve isSparse()

9 years agoAdjust coding style
Takayuki MATSUOKA [Thu, 12 Feb 2015 07:13:23 +0000 (16:13 +0900)]
Adjust coding style

9 years agoGoogle Code Issue 155: lz4 cli should support sparse file
Takayuki MATSUOKA [Thu, 12 Feb 2015 06:46:02 +0000 (15:46 +0900)]
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

9 years agoAdded support for multiple input files to act more like other compressors. For exampl...
kyle [Mon, 2 Mar 2015 01:00:40 +0000 (19:00 -0600)]
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.

9 years agoMerge pull request #49 from t-mat/msvc-fseeki64
Yann Collet [Sun, 1 Mar 2015 23:41:38 +0000 (00:41 +0100)]
Merge pull request #49 from t-mat/msvc-fseeki64

Avoid MSVC fseek()'s 2GiB barrier

9 years agorestored lz4 hc compression ratio
Yann Collet [Sun, 1 Mar 2015 23:11:34 +0000 (00:11 +0100)]
restored lz4 hc compression ratio

9 years agoReplace fseek with _fseeki64 to avoid MSVC's 2GiB barrier
Takayuki MATSUOKA [Sat, 14 Feb 2015 03:48:11 +0000 (12:48 +0900)]
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.

9 years agoFix : lz4frame.h within uninstaller
Yann Collet [Wed, 21 Jan 2015 17:03:17 +0000 (18:03 +0100)]
Fix : lz4frame.h within uninstaller

9 years agoAdded : Visual project directory
Yann Collet [Tue, 13 Jan 2015 04:36:58 +0000 (05:36 +0100)]
Added : Visual project directory

9 years agoMerge pull request #47 from Cyan4973/dev
Yann Collet [Fri, 19 Dec 2014 08:51:32 +0000 (09:51 +0100)]
Merge pull request #47 from Cyan4973/dev

Dev

9 years agoAdded : -pedantic compilation option
Yann Collet [Wed, 17 Dec 2014 11:32:49 +0000 (12:32 +0100)]
Added : -pedantic compilation option

9 years agoC90 compatibility
Yann Collet [Wed, 17 Dec 2014 11:20:17 +0000 (12:20 +0100)]
C90 compatibility

9 years agoFixed : older compiler don't like nameless unions, reported by Cheyi Lin
Yann Collet [Tue, 16 Dec 2014 21:03:16 +0000 (22:03 +0100)]
Fixed : older compiler don't like nameless unions, reported by Cheyi Lin

9 years agoFixed : bug within LZ4 HC streaming mode, reported by James Boyle
Yann Collet [Tue, 16 Dec 2014 01:13:19 +0000 (02:13 +0100)]
Fixed : bug within LZ4 HC streaming mode, reported by James Boyle

9 years agoFixed : GCC 4.9 bug on highest performance settings, reported by Greg Slazinski
Yann Collet [Sun, 14 Dec 2014 13:29:15 +0000 (14:29 +0100)]
Fixed : GCC 4.9 bug on highest performance settings, reported by Greg Slazinski

9 years agoUpdated comments
Yann Collet [Sat, 13 Dec 2014 16:08:51 +0000 (17:08 +0100)]
Updated comments

9 years agofixed travis tests
Yann Collet [Sat, 13 Dec 2014 15:41:05 +0000 (16:41 +0100)]
fixed travis tests

9 years agoFixed : install test on travis
Yann Collet [Sat, 13 Dec 2014 14:38:15 +0000 (15:38 +0100)]
Fixed : install test on travis

9 years agoNew : lz4frame integrated into liblz4 (v1.5.0)
Yann Collet [Sat, 13 Dec 2014 14:05:46 +0000 (15:05 +0100)]
New : lz4frame integrated into liblz4 (v1.5.0)

9 years agoFixed : minor warnings under Visual
Yann Collet [Sat, 13 Dec 2014 10:49:55 +0000 (11:49 +0100)]
Fixed : minor warnings under Visual

9 years agoMerge pull request #43 from Cyan4973/dev
Yann Collet [Thu, 11 Dec 2014 06:21:54 +0000 (07:21 +0100)]
Merge pull request #43 from Cyan4973/dev

Dev

9 years agominor memtest correction
Yann Collet [Wed, 10 Dec 2014 22:00:50 +0000 (23:00 +0100)]
minor memtest correction

9 years agoupdated NEWS
Yann Collet [Wed, 10 Dec 2014 17:02:40 +0000 (18:02 +0100)]
updated NEWS

9 years agoFixed : LZ4_compress_limitedOutput() bug, as reported by Christopher Speller
Yann Collet [Wed, 10 Dec 2014 16:58:15 +0000 (17:58 +0100)]
Fixed : LZ4_compress_limitedOutput() bug, as reported by Christopher Speller

9 years agostronger tests for LZ4_compress_limitedOutput()
Yann Collet [Wed, 10 Dec 2014 08:05:44 +0000 (09:05 +0100)]
stronger tests for LZ4_compress_limitedOutput()

9 years agoMerge pull request #41 from Cyan4973/dev
Yann Collet [Tue, 9 Dec 2014 12:45:21 +0000 (13:45 +0100)]
Merge pull request #41 from Cyan4973/dev

fixed : pkg version

9 years agofixed : pkg version
Yann Collet [Tue, 9 Dec 2014 08:47:54 +0000 (09:47 +0100)]
fixed : pkg version

9 years agoMerge pull request #40 from Cyan4973/dev
Yann Collet [Mon, 8 Dec 2014 12:41:11 +0000 (13:41 +0100)]
Merge pull request #40 from Cyan4973/dev

minor refactoring

9 years agominor refactoring
Yann Collet [Sat, 6 Dec 2014 16:10:54 +0000 (17:10 +0100)]
minor refactoring

9 years agoMerge pull request #39 from Cyan4973/dev
Yann Collet [Fri, 5 Dec 2014 21:52:25 +0000 (22:52 +0100)]
Merge pull request #39 from Cyan4973/dev

Dev

9 years agoClarified a few comments
Yann Collet [Wed, 3 Dec 2014 22:19:11 +0000 (23:19 +0100)]
Clarified a few comments

9 years agoMerge pull request #38 from Cyan4973/newDir
Yann Collet [Wed, 3 Dec 2014 18:40:23 +0000 (19:40 +0100)]
Merge pull request #38 from Cyan4973/newDir

New dir

9 years agoFixed : deprecated function LZ4_slideInputBufferHC()
Yann Collet [Wed, 3 Dec 2014 18:17:10 +0000 (19:17 +0100)]
Fixed : deprecated function LZ4_slideInputBufferHC()

9 years agovariable ref renamed
Yann Collet [Tue, 2 Dec 2014 22:57:15 +0000 (23:57 +0100)]
variable ref renamed

9 years agolz4frame.h : clarified a few comments
Yann Collet [Mon, 1 Dec 2014 21:00:07 +0000 (22:00 +0100)]
lz4frame.h : clarified a few comments

9 years agoMerge pull request #37 from Cyan4973/newDir
Yann Collet [Mon, 1 Dec 2014 13:06:30 +0000 (14:06 +0100)]
Merge pull request #37 from Cyan4973/newDir

New dir

9 years agolz4cli : legacy arguments are now disabled by default
Yann Collet [Mon, 1 Dec 2014 00:25:18 +0000 (01:25 +0100)]
lz4cli : legacy arguments are now disabled by default

9 years agoFixed : make dist
Yann Collet [Mon, 1 Dec 2014 00:20:42 +0000 (01:20 +0100)]
Fixed : make dist

9 years agoClarified some file names
Yann Collet [Sun, 30 Nov 2014 23:53:20 +0000 (00:53 +0100)]
Clarified some file names

9 years agofix : sudo for make install
Yann Collet [Sun, 30 Nov 2014 22:37:55 +0000 (23:37 +0100)]
fix : sudo for make install

9 years ago(no commit message)
Yann Collet [Sun, 30 Nov 2014 22:34:29 +0000 (23:34 +0100)]

9 years agoNew directory structure : library source files into /lib directory
Yann Collet [Sun, 30 Nov 2014 22:32:12 +0000 (23:32 +0100)]
New directory structure : library source files into /lib directory

9 years agoUpdate cmakelist to support new lz4io version
Yann Collet [Sun, 30 Nov 2014 17:04:32 +0000 (18:04 +0100)]
Update cmakelist to support new lz4io version

9 years agoLZ4IO : modified to use lz4frame instead
Yann Collet [Sun, 30 Nov 2014 16:59:31 +0000 (17:59 +0100)]
LZ4IO : modified to use lz4frame instead

9 years agoMerge pull request #36 from Cyan4973/AlignEndian
Yann Collet [Sun, 30 Nov 2014 12:54:04 +0000 (13:54 +0100)]
Merge pull request #36 from Cyan4973/AlignEndian

Align endian

9 years agoFixed : some minor Visual warnings
Yann Collet [Sun, 30 Nov 2014 11:58:00 +0000 (12:58 +0100)]
Fixed : some minor Visual warnings

9 years agoUpdated lz4hc : re-use most shared elements from lz4 (endianess / align / bus detecti...
Yann Collet [Sat, 29 Nov 2014 19:19:39 +0000 (20:19 +0100)]
Updated lz4hc : re-use most shared elements from lz4 (endianess / align / bus detection routines)

9 years agoImproved compression speed on big endian CPU
Yann Collet [Sat, 29 Nov 2014 16:44:33 +0000 (17:44 +0100)]
Improved compression speed on big endian CPU

9 years agominor : fixed warning under clang
Yann Collet [Sat, 29 Nov 2014 16:12:26 +0000 (17:12 +0100)]
minor : fixed warning under clang

9 years agoFixed : decompression issue on 32-bits CPU without unaligned memory access
Yann Collet [Sat, 29 Nov 2014 15:41:28 +0000 (16:41 +0100)]
Fixed : decompression issue on 32-bits CPU without unaligned memory access

9 years agoFixed decompression bug
Yann Collet [Fri, 28 Nov 2014 01:48:21 +0000 (02:48 +0100)]
Fixed decompression bug

9 years agoImproved decoding speed
Yann Collet [Thu, 27 Nov 2014 21:44:36 +0000 (22:44 +0100)]
Improved decoding speed

9 years agoAdded : $(EXT) within install for cross-compilation support
Yann Collet [Sun, 23 Nov 2014 17:36:04 +0000 (18:36 +0100)]
Added : $(EXT) within install for cross-compilation support

9 years agoCorrected lz4io
Yann Collet [Sun, 23 Nov 2014 00:14:04 +0000 (01:14 +0100)]
Corrected lz4io

9 years agoNew endian & alignment code
Yann Collet [Sat, 22 Nov 2014 23:46:15 +0000 (00:46 +0100)]
New endian & alignment code

10 years agoMerge pull request #34 from Cyan4973/dev
Yann Collet [Thu, 6 Nov 2014 18:39:42 +0000 (19:39 +0100)]
Merge pull request #34 from Cyan4973/dev

LZ4 HC Streaming

10 years agoMakefile : refactored Travis CI tests
Yann Collet [Tue, 4 Nov 2014 19:56:38 +0000 (20:56 +0100)]
Makefile : refactored Travis CI tests

10 years agolz4.h : updated library version number to 1.4.0
Yann Collet [Tue, 4 Nov 2014 19:04:43 +0000 (20:04 +0100)]
lz4.h : updated library version number to 1.4.0

10 years agoFixed issue 44 : stopped concatenated stream on null size frame (thanks to Brendan...
Yann Collet [Tue, 4 Nov 2014 11:11:14 +0000 (12:11 +0100)]
Fixed issue 44 : stopped concatenated stream on null size frame (thanks to Brendan O'Connor)