platform/upstream/lz4.git
9 years agoAdded new LZ4IO_decompressMultipleFilenames to allow decompression of multiple files...
Kyle J Harper [Sun, 12 Apr 2015 22:28:13 +0000 (17:28 -0500)]
Added new LZ4IO_decompressMultipleFilenames to allow decompression of multiple files with the -m switch added in r128 (ref: google code issue 151).  Limitation: will only process files matching LZ4_EXTENSION macro, which for now seems reasonable.

9 years agoMerge pull request #69 from Cyan4973/dev
Yann Collet [Tue, 31 Mar 2015 13:11:11 +0000 (15:11 +0200)]
Merge pull request #69 from Cyan4973/dev

Fixed : Visual compilation

9 years agoFixed : Visual compilation
Yann Collet [Tue, 31 Mar 2015 12:17:38 +0000 (13:17 +0100)]
Fixed : Visual compilation

9 years agoMerge pull request #67 from Cyan4973/dev
Yann Collet [Mon, 30 Mar 2015 18:26:00 +0000 (20:26 +0200)]
Merge pull request #67 from Cyan4973/dev

Dev

9 years agoUpdated comments on LZ4F_getFrameInfo()
Yann Collet [Mon, 30 Mar 2015 15:36:57 +0000 (16:36 +0100)]
Updated comments on LZ4F_getFrameInfo()

9 years agorestored lz4hc compression ratio
Yann Collet [Mon, 30 Mar 2015 14:57:26 +0000 (15:57 +0100)]
restored lz4hc compression ratio

9 years agoMerge pull request #66 from Cyan4973/dev
Yann Collet [Sun, 29 Mar 2015 21:51:43 +0000 (23:51 +0200)]
Merge pull request #66 from Cyan4973/dev

Dev

9 years agolz4frame validates contentSize during decompression
Yann Collet [Sun, 29 Mar 2015 12:28:32 +0000 (13:28 +0100)]
lz4frame validates contentSize during decompression

9 years agoChanged struct member to contentSize
Yann Collet [Sun, 29 Mar 2015 10:20:09 +0000 (11:20 +0100)]
Changed struct member to contentSize

9 years agoMerge pull request #65 from Cyan4973/dev
Yann Collet [Fri, 27 Mar 2015 10:28:03 +0000 (11:28 +0100)]
Merge pull request #65 from Cyan4973/dev

Dev

9 years agoconverted to markdown friendly syntax
Yann Collet [Thu, 26 Mar 2015 18:58:19 +0000 (19:58 +0100)]
converted to markdown friendly syntax

9 years agoReference format doc
Yann Collet [Thu, 26 Mar 2015 18:49:15 +0000 (19:49 +0100)]
Reference format doc

9 years agoFixed : Makefile
Yann Collet [Thu, 26 Mar 2015 13:16:20 +0000 (14:16 +0100)]
Fixed : Makefile

9 years agowindows friendly make clean
Yann Collet [Thu, 26 Mar 2015 10:41:55 +0000 (11:41 +0100)]
windows friendly make clean

9 years agominor beautifier (make clean)
Yann Collet [Wed, 25 Mar 2015 23:28:14 +0000 (00:28 +0100)]
minor beautifier (make clean)

9 years agoAdded : arm cross-compilation test
Yann Collet [Wed, 25 Mar 2015 22:59:38 +0000 (23:59 +0100)]
Added : arm cross-compilation test

9 years agoFixed cast-align warnings on 32-bits
Yann Collet [Wed, 25 Mar 2015 17:06:40 +0000 (18:06 +0100)]
Fixed cast-align warnings on 32-bits

9 years agoAdded : doc authorship
Yann Collet [Wed, 25 Mar 2015 16:22:26 +0000 (17:22 +0100)]
Added : doc authorship

9 years agoMerge pull request #63 from t-mat/comment-on-example-directory
Yann Collet [Wed, 25 Mar 2015 12:31:06 +0000 (13:31 +0100)]
Merge pull request #63 from t-mat/comment-on-example-directory

Comment on example directory

9 years agoAdd "Examples" subtree
Takayuki MATSUOKA [Tue, 24 Mar 2015 23:12:18 +0000 (08:12 +0900)]
Add "Examples" subtree

9 years agoAdd README.md as table of contents
Takayuki MATSUOKA [Tue, 24 Mar 2015 22:53:02 +0000 (07:53 +0900)]
Add README.md as table of contents

9 years agoAdd document for "Line by Line Text Compression" example
Takayuki MATSUOKA [Tue, 24 Mar 2015 22:52:35 +0000 (07:52 +0900)]
Add document for "Line by Line Text Compression" example

9 years agoAdd document for "Double Buffer" example
Takayuki MATSUOKA [Tue, 24 Mar 2015 22:52:17 +0000 (07:52 +0900)]
Add document for "Double Buffer" example

9 years agoAdd document : "Streaming API Basics"
Takayuki MATSUOKA [Tue, 24 Mar 2015 22:51:56 +0000 (07:51 +0900)]
Add document : "Streaming API Basics"

9 years agoUpdated man page : "--[no-]X"
Yann Collet [Mon, 23 Mar 2015 20:22:13 +0000 (21:22 +0100)]
Updated man page : "--[no-]X"

9 years agoUpdated tests
Yann Collet [Mon, 23 Mar 2015 19:03:45 +0000 (20:03 +0100)]
Updated tests

9 years agoUpdated long commands, with reverse "--no-" variants
Yann Collet [Mon, 23 Mar 2015 18:59:41 +0000 (19:59 +0100)]
Updated long commands, with reverse "--no-" variants

9 years agoupdated dist list
Yann Collet [Mon, 23 Mar 2015 07:57:14 +0000 (08:57 +0100)]
updated dist list

9 years agoMerge pull request #61 from Cyan4973/dev
Yann Collet [Mon, 23 Mar 2015 07:48:42 +0000 (08:48 +0100)]
Merge pull request #61 from Cyan4973/dev

Dev

9 years agolz4 cli supports frame content size
Yann Collet [Mon, 23 Mar 2015 01:20:42 +0000 (02:20 +0100)]
lz4 cli supports frame content size

9 years agoremoved useless man pages
Yann Collet [Sun, 22 Mar 2015 12:51:22 +0000 (13:51 +0100)]
removed useless man pages

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