platform/upstream/lz4.git
9 years agorefactored lz4hc
Yann Collet [Sat, 2 May 2015 14:44:43 +0000 (15:44 +0100)]
refactored lz4hc

9 years agomoved lz4frame context types to incomplete typedef
Yann Collet [Mon, 27 Apr 2015 01:31:56 +0000 (02:31 +0100)]
moved lz4frame context types to incomplete typedef

9 years agoIncreased aligment requirement for lz4frame context pointer
Yann Collet [Fri, 24 Apr 2015 13:28:06 +0000 (14:28 +0100)]
Increased aligment requirement for lz4frame context pointer

9 years agoModified lz4frame context typedef, to enforce stricter alignment condition
Yann Collet [Fri, 24 Apr 2015 12:26:53 +0000 (13:26 +0100)]
Modified lz4frame context typedef, to enforce stricter alignment condition

9 years agoFixed minor static analyzer warning
Yann Collet [Fri, 24 Apr 2015 10:04:21 +0000 (11:04 +0100)]
Fixed minor static analyzer warning

9 years agostreaming API : Improved ring buffer management
Yann Collet [Fri, 24 Apr 2015 09:15:12 +0000 (10:15 +0100)]
streaming API : Improved ring buffer management

9 years agoMerge pull request #98 from eberge/dev
Yann Collet [Thu, 23 Apr 2015 21:59:47 +0000 (23:59 +0200)]
Merge pull request #98 from eberge/dev

cmake support for AIX, HPUX, Solaris and Windows

9 years agocmake support for AIX, HPUX, Solaris and Windows
Eric Berge [Thu, 23 Apr 2015 20:59:09 +0000 (15:59 -0500)]
cmake support for AIX, HPUX, Solaris and Windows

The following changes allow for builds on AIX and HPUX
with the native (non-gcc) compilers, as well as
Visual Studio 2008 and Visual Studio 2012.

Also work around a build error with gcc on Solaris
which fails due to the system detecting an attempt
to use C99 mode with an XPG mode less than XPG6.

9 years agoAdded LZ4_compress_fast_extState()
Yann Collet [Thu, 23 Apr 2015 06:46:35 +0000 (07:46 +0100)]
Added LZ4_compress_fast_extState()

9 years agoFrame content size disabled by default when using LZ4F_compressFrame(), to be in...
Yann Collet [Tue, 21 Apr 2015 23:57:39 +0000 (00:57 +0100)]
Frame content size disabled by default when using LZ4F_compressFrame(), to be in better coherence with the advanced API LZ4F_compress_update()

9 years agoRemoved obsolete functions from lz4 cli
Yann Collet [Tue, 21 Apr 2015 18:07:31 +0000 (19:07 +0100)]
Removed obsolete functions from lz4 cli

9 years agoRemoved LZ4_compress() (obsolete) from lz4
Yann Collet [Tue, 21 Apr 2015 17:31:35 +0000 (18:31 +0100)]
Removed LZ4_compress() (obsolete) from lz4

9 years agoUpdated LZ4F_freeDecompressionContext(), to provide stage hint as result
Yann Collet [Mon, 20 Apr 2015 11:23:33 +0000 (12:23 +0100)]
Updated LZ4F_freeDecompressionContext(), to provide stage hint as result

9 years agoChanged LZ4F compressionLevel from unsigned to signed, in anticipation for LZ4_compre...
Yann Collet [Mon, 20 Apr 2015 11:12:02 +0000 (12:12 +0100)]
Changed LZ4F compressionLevel from unsigned to signed, in anticipation for LZ4_compress_fast() integration.

9 years agoFixed frame concatenation
Yann Collet [Mon, 20 Apr 2015 09:05:54 +0000 (10:05 +0100)]
Fixed frame concatenation

9 years agoFixed frametest
Yann Collet [Mon, 20 Apr 2015 08:51:00 +0000 (09:51 +0100)]
Fixed frametest

9 years agoRestored make-lz4
Yann Collet [Mon, 20 Apr 2015 08:26:16 +0000 (09:26 +0100)]
Restored make-lz4

9 years agoFixed unfinished frame (issue #75)
Yann Collet [Mon, 20 Apr 2015 08:24:25 +0000 (09:24 +0100)]
Fixed unfinished frame (issue #75)

9 years agoUpdated LZ4F_getFrameInfo() behavior, related to uncomplete frame header decoding...
Yann Collet [Sun, 19 Apr 2015 14:23:53 +0000 (15:23 +0100)]
Updated LZ4F_getFrameInfo() behavior, related to uncomplete frame header decoding attempts

9 years agoadded --no-sparse test
Yann Collet [Sat, 18 Apr 2015 11:44:38 +0000 (12:44 +0100)]
added --no-sparse test

9 years agoSparse file support is now enabled by default
Yann Collet [Fri, 17 Apr 2015 18:42:07 +0000 (19:42 +0100)]
Sparse file support is now enabled by default

9 years agotest error message in multiple files mode
Yann Collet [Thu, 16 Apr 2015 15:45:58 +0000 (16:45 +0100)]
test error message in multiple files mode

9 years agoReclassified some notification messages as errors
Yann Collet [Thu, 16 Apr 2015 15:27:16 +0000 (16:27 +0100)]
Reclassified some notification messages as errors

9 years agostronger arm tests
Yann Collet [Thu, 16 Apr 2015 12:34:03 +0000 (13:34 +0100)]
stronger arm tests

9 years agofix minor "divide by zero" risk
Yann Collet [Thu, 16 Apr 2015 12:18:15 +0000 (13:18 +0100)]
fix minor "divide by zero" risk

9 years agofixed minor leak
Yann Collet [Thu, 16 Apr 2015 12:09:34 +0000 (13:09 +0100)]
fixed minor leak

9 years agoStatic analyzer generates error codes on bug suspicion
Yann Collet [Thu, 16 Apr 2015 11:48:50 +0000 (12:48 +0100)]
Static analyzer generates error codes on bug suspicion

9 years agominor header refactoring
Yann Collet [Thu, 16 Apr 2015 08:57:46 +0000 (09:57 +0100)]
minor header refactoring

9 years agoMerge pull request #96 from t-mat/improve-pr-95
Yann Collet [Thu, 16 Apr 2015 08:45:53 +0000 (10:45 +0200)]
Merge pull request #96 from t-mat/improve-pr-95

Add LZ4F_OBSOLETE_ENUM() to describe obsolete enums

9 years agominor optimization for small files
Yann Collet [Thu, 16 Apr 2015 07:51:31 +0000 (08:51 +0100)]
minor optimization for small files

9 years agoRemoved status notification in multiple-files mode
Yann Collet [Thu, 16 Apr 2015 06:16:48 +0000 (07:16 +0100)]
Removed status notification in multiple-files mode

9 years agoAdd LZ4F_OBSOLETE_ENUM() to describe obsolete enums
Takayuki MATSUOKA [Thu, 16 Apr 2015 03:42:26 +0000 (12:42 +0900)]
Add LZ4F_OBSOLETE_ENUM() to describe obsolete enums

 - Add LZ4F_OBSOLETE_ENUM() to describe obsolete enums
 - Add compatible typedefs for obsolete enum types
 - Remove constant macros

9 years agoMultiple files decompression refactoring
Yann Collet [Wed, 15 Apr 2015 15:24:43 +0000 (16:24 +0100)]
Multiple files decompression refactoring

9 years agoUpdated lz4frame error names
Yann Collet [Wed, 15 Apr 2015 09:34:08 +0000 (10:34 +0100)]
Updated lz4frame error names

9 years agoMerge pull request #95 from t-mat/issue/90
Yann Collet [Wed, 15 Apr 2015 08:39:38 +0000 (10:39 +0200)]
Merge pull request #95 from t-mat/issue/90

Modified lz4frame enum, by @t-mat

9 years agoMerge pull request #94 from t-mat/dev
Yann Collet [Wed, 15 Apr 2015 05:53:17 +0000 (07:53 +0200)]
Merge pull request #94 from t-mat/dev

Fix LZ4_DEPRECATED() in lz4hc.h

9 years agoFix LZ4_DEPRECATED() in lz4hc.h
Takayuki MATSUOKA [Wed, 15 Apr 2015 05:19:17 +0000 (14:19 +0900)]
Fix LZ4_DEPRECATED() in lz4hc.h

9 years agoMerge pull request #91 from t-mat/dev
Yann Collet [Tue, 14 Apr 2015 23:01:52 +0000 (01:01 +0200)]
Merge pull request #91 from t-mat/dev

Fix LZ4_DEPRECATED() for old compilers

9 years agoIssue#90 : Change old enum names to new one
Takayuki MATSUOKA [Tue, 14 Apr 2015 18:00:36 +0000 (03:00 +0900)]
Issue#90 : Change old enum names to new one

9 years agoIssue#90 : Change old enum to macro to maximize compatibility
Takayuki MATSUOKA [Tue, 14 Apr 2015 17:59:51 +0000 (02:59 +0900)]
Issue#90 : Change old enum to macro to maximize compatibility

9 years agoIssue#90 : Add LZ4F_ prefix
Takayuki MATSUOKA [Tue, 14 Apr 2015 17:20:47 +0000 (02:20 +0900)]
Issue#90 : Add LZ4F_ prefix

 - Add LZ4F_ prefix to LZ4 frame related enums.
 - Also add conditional macro LZ4F_DISABLE_OLD_ENUMS for testing and users who prefer strict prefixes.

9 years agoFix LZ4_DEPRECATED() for older/non-gcc/clang/MSVC compilers
Takayuki MATSUOKA [Tue, 14 Apr 2015 15:19:13 +0000 (00:19 +0900)]
Fix LZ4_DEPRECATED() for older/non-gcc/clang/MSVC compilers

9 years agoReplace GCC_VERSION with LZ4_GCC_VERSION
Takayuki MATSUOKA [Tue, 14 Apr 2015 15:17:06 +0000 (00:17 +0900)]
Replace GCC_VERSION with LZ4_GCC_VERSION

9 years agoMerge pull request #93 from drcrallen/descriptiveFrameErrors
Yann Collet [Tue, 14 Apr 2015 21:22:06 +0000 (23:22 +0200)]
Merge pull request #93 from drcrallen/descriptiveFrameErrors

Revert "Revert "Add more descriptive frame errors""

9 years agoRevert "Revert "Add more descriptive frame errors""
Charles Allen [Tue, 14 Apr 2015 20:33:43 +0000 (13:33 -0700)]
Revert "Revert "Add more descriptive frame errors""

This reverts commit 5a6652708439800e30d21e0cd24ed15cfb745a8b.

9 years agoValgrind tests generate errors
Yann Collet [Tue, 14 Apr 2015 20:02:12 +0000 (21:02 +0100)]
Valgrind tests generate errors

9 years agoMerge branch 'dev' of github.com:Cyan4973/lz4 into dev
Yann Collet [Tue, 14 Apr 2015 20:00:34 +0000 (22:00 +0200)]
Merge branch 'dev' of github.com:Cyan4973/lz4 into dev

9 years agoMerge pull request #92 from Cyan4973/revert-89-descriptiveFrameErrors
Yann Collet [Tue, 14 Apr 2015 19:59:47 +0000 (21:59 +0200)]
Merge pull request #92 from Cyan4973/revert-89-descriptiveFrameErrors

Revert "Add more descriptive frame errors"

9 years agoRevert "Add more descriptive frame errors"
Yann Collet [Tue, 14 Apr 2015 18:21:50 +0000 (20:21 +0200)]
Revert "Add more descriptive frame errors"

9 years agoMerge pull request #89 from drcrallen/descriptiveFrameErrors
Yann Collet [Tue, 14 Apr 2015 18:21:40 +0000 (20:21 +0200)]
Merge pull request #89 from drcrallen/descriptiveFrameErrors

Add more descriptive frame errors

9 years agoChanges LZ4F_compressBound() definition using NULL prefsPtr to cover worst case inste...
Yann Collet [Tue, 14 Apr 2015 17:51:36 +0000 (18:51 +0100)]
Changes LZ4F_compressBound() definition using NULL prefsPtr to cover worst case instead of default.

9 years agolz4io refactoring
Yann Collet [Tue, 14 Apr 2015 17:10:55 +0000 (18:10 +0100)]
lz4io refactoring

9 years agoNew valgrind test with multiple files
Yann Collet [Tue, 14 Apr 2015 15:34:37 +0000 (16:34 +0100)]
New valgrind test with multiple files

9 years agoFix leak issue with compression of multiple files
Yann Collet [Tue, 14 Apr 2015 15:05:02 +0000 (16:05 +0100)]
Fix leak issue with compression of multiple files

9 years agoImproved performance when compressing a lot of small files
Yann Collet [Mon, 13 Apr 2015 23:07:30 +0000 (00:07 +0100)]
Improved performance when compressing a lot of small files

9 years agominor compatibility fixes
Yann Collet [Mon, 13 Apr 2015 19:43:54 +0000 (20:43 +0100)]
minor compatibility fixes

9 years agoMerge pull request #86 from KyleJHarper/origin/r129/multiple_inputs_patch
Yann Collet [Mon, 13 Apr 2015 19:03:51 +0000 (21:03 +0200)]
Merge pull request #86 from KyleJHarper/origin/r129/multiple_inputs_patch

Origin/r129/multiple inputs patch

9 years agoAdd more descriptive frame errors
Charles Allen [Mon, 13 Apr 2015 17:57:31 +0000 (10:57 -0700)]
Add more descriptive frame errors

9 years agoMerge pull request #87 from t-mat/fix-example2
Yann Collet [Mon, 13 Apr 2015 11:57:34 +0000 (13:57 +0200)]
Merge pull request #87 from t-mat/fix-example2

Replace obsolete functions in example code

9 years agoReplace obsolete functions
Takayuki MATSUOKA [Mon, 13 Apr 2015 11:16:37 +0000 (20:16 +0900)]
Replace obsolete functions

9 years agoAdd snprintf macro for MSVC
Takayuki MATSUOKA [Mon, 13 Apr 2015 11:05:20 +0000 (20:05 +0900)]
Add snprintf macro for MSVC

9 years agoAdded support for continuation of file compression and decompression if input files...
Kyle J Harper [Sun, 12 Apr 2015 23:41:55 +0000 (18:41 -0500)]
Added support for continuation of file compression and decompression if input files are missing.  Should more closely match gzip/bzip2/xz and so forth.  Also removed a debug print accidentally left in.

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 agonew memory leak test for fullbench using multi-files
Yann Collet [Sun, 12 Apr 2015 15:49:37 +0000 (16:49 +0100)]
new memory leak test for fullbench using multi-files

9 years agoShortened tests durations
Yann Collet [Sun, 12 Apr 2015 15:40:58 +0000 (16:40 +0100)]
Shortened tests durations

9 years agoUpdated badges
Yann Collet [Sun, 12 Apr 2015 15:06:12 +0000 (16:06 +0100)]
Updated badges

9 years agoFixed issue #84
Yann Collet [Sun, 12 Apr 2015 14:17:10 +0000 (15:17 +0100)]
Fixed issue #84

9 years agoFixed : minor coverity warning
Yann Collet [Sun, 12 Apr 2015 10:37:55 +0000 (11:37 +0100)]
Fixed : minor coverity warning

9 years agoFixed a few coverity warnings
Yann Collet [Sun, 12 Apr 2015 08:42:58 +0000 (09:42 +0100)]
Fixed a few coverity warnings

9 years agofixed minor g++ warning
Yann Collet [Sun, 12 Apr 2015 08:37:34 +0000 (09:37 +0100)]
fixed minor g++ warning

9 years agoMerge pull request #82 from t-mat/add-lz4-prefix
Yann Collet [Sun, 12 Apr 2015 08:34:44 +0000 (10:34 +0200)]
Merge pull request #82 from t-mat/add-lz4-prefix

Add LZ4 prefix to deprecation macros

9 years agoFixed a few Valgrind warnings
Yann Collet [Sun, 12 Apr 2015 08:29:52 +0000 (09:29 +0100)]
Fixed a few Valgrind warnings

9 years agoAdd LZ4 prefix to deprecation macros
Takayuki MATSUOKA [Sun, 12 Apr 2015 08:28:53 +0000 (17:28 +0900)]
Add LZ4 prefix to deprecation macros

Replace the following macros:

 - "_DEPRECATE_WARNING_DEFBLOCK" to "LZ4_DEPRECATE_WARNING_DEFBLOCK"
 - "DEPRECATED" to "LZ4_DEPRECATED"

9 years agoFixed : minor Visual warnings
Yann Collet [Sun, 12 Apr 2015 07:58:00 +0000 (08:58 +0100)]
Fixed : minor Visual warnings

9 years agoFixed : a few minor coverity warnings
Yann Collet [Sun, 12 Apr 2015 07:21:35 +0000 (08:21 +0100)]
Fixed : a few minor coverity warnings

9 years agoExtended obsolete warning messages to lz4hc
Yann Collet [Sat, 11 Apr 2015 18:12:03 +0000 (19:12 +0100)]
Extended obsolete warning messages to lz4hc

9 years agoImplemented obsolete warning message
Yann Collet [Sat, 11 Apr 2015 17:59:22 +0000 (18:59 +0100)]
Implemented obsolete warning message

9 years agoUpdate lz4hc API : LZ4_compressHC_safe()
Yann Collet [Sat, 11 Apr 2015 11:28:09 +0000 (12:28 +0100)]
Update lz4hc API : LZ4_compressHC_safe()

9 years agoClarified lz4frame.h inline doc
Yann Collet [Sat, 11 Apr 2015 09:46:16 +0000 (10:46 +0100)]
Clarified lz4frame.h inline doc

9 years agofixed minor sanitize warning
Yann Collet [Sat, 11 Apr 2015 09:25:08 +0000 (10:25 +0100)]
fixed minor sanitize warning

9 years agoUpdated : fuzzer tests can be programmed for a timelength
Yann Collet [Fri, 10 Apr 2015 22:42:17 +0000 (23:42 +0100)]
Updated : fuzzer tests can be programmed for a timelength

9 years agoFixed a few minor sanitize warnings
Yann Collet [Fri, 10 Apr 2015 13:24:13 +0000 (14:24 +0100)]
Fixed a few minor sanitize warnings

9 years agoAdded : sanitize test
Yann Collet [Thu, 9 Apr 2015 22:53:55 +0000 (23:53 +0100)]
Added : sanitize test

9 years agoFixed a few warnings from -fsanitize=undefined
Yann Collet [Thu, 9 Apr 2015 21:59:07 +0000 (22:59 +0100)]
Fixed a few warnings from -fsanitize=undefined

9 years agoNew LZ4_compress_safe() API
Yann Collet [Thu, 9 Apr 2015 12:34:38 +0000 (13:34 +0100)]
New LZ4_compress_safe() API

9 years agofixed over-cautious visual warning
Yann Collet [Wed, 8 Apr 2015 09:35:38 +0000 (10:35 +0100)]
fixed over-cautious visual warning

9 years agominor Makefile test refactoring
Yann Collet [Wed, 8 Apr 2015 08:33:57 +0000 (09:33 +0100)]
minor Makefile test refactoring

9 years agominor memory leak fix and test
Yann Collet [Wed, 8 Apr 2015 08:20:21 +0000 (09:20 +0100)]
minor memory leak fix and test

9 years agofix g++ typecast
Yann Collet [Tue, 7 Apr 2015 06:14:32 +0000 (07:14 +0100)]
fix g++ typecast

9 years agoupdated doc
Yann Collet [Mon, 6 Apr 2015 00:03:49 +0000 (01:03 +0100)]
updated doc

9 years agoadded : memtest on fullbench
Yann Collet [Mon, 6 Apr 2015 00:02:24 +0000 (01:02 +0100)]
added : memtest on fullbench

9 years agoMerge pull request #73 from funcodeio/dev
Yann Collet [Sat, 4 Apr 2015 16:20:21 +0000 (18:20 +0200)]
Merge pull request #73 from funcodeio/dev

Removed unused lines.

9 years agomemcpy speed as reference
Yann Collet [Fri, 3 Apr 2015 22:58:29 +0000 (23:58 +0100)]
memcpy speed as reference

9 years agoMerge pull request #74 from Cyan4973/fastMode
Yann Collet [Fri, 3 Apr 2015 22:49:20 +0000 (00:49 +0200)]
Merge pull request #74 from Cyan4973/fastMode

Fast mode

9 years agoRemoved unused lines.
Yongwoon Cho [Fri, 3 Apr 2015 02:52:50 +0000 (11:52 +0900)]
Removed unused lines.

9 years agoMerge pull request #72 from fzort/master
Yann Collet [Thu, 2 Apr 2015 19:36:21 +0000 (21:36 +0200)]
Merge pull request #72 from fzort/master

Rebase #71

9 years agonew tests for large files with content size support (#70)
Yann Collet [Thu, 2 Apr 2015 14:11:22 +0000 (15:11 +0100)]
new tests for large files with content size support (#70)

9 years agoAdded : progress indicator, in fast and decompression modes
Yann Collet [Thu, 2 Apr 2015 12:25:28 +0000 (13:25 +0100)]
Added : progress indicator, in fast and decompression modes

9 years agoCygwin has fileno, so there's no need to use _fileno.
mauro.persano [Wed, 1 Apr 2015 18:47:24 +0000 (15:47 -0300)]
Cygwin has fileno, so there's no need to use _fileno.

9 years agofullbench : tests of _limitedOutput variants intentionnally provides less memory...
Yann Collet [Wed, 1 Apr 2015 17:21:03 +0000 (18:21 +0100)]
fullbench : tests of _limitedOutput variants intentionnally provides less memory space than safe (LZ4_compressBound())