platform/upstream/lz4.git
9 years agoMinor update on source ports
Yann Collet [Fri, 29 May 2015 19:36:59 +0000 (20:36 +0100)]
Minor update on source ports

9 years agoMerge branch 'dev' of github.com:Cyan4973/lz4 into dev
Yann Collet [Fri, 29 May 2015 17:50:38 +0000 (19:50 +0200)]
Merge branch 'dev' of github.com:Cyan4973/lz4 into dev

9 years agoUpdated badges
Yann Collet [Fri, 29 May 2015 17:50:12 +0000 (18:50 +0100)]
Updated badges

9 years agoMerge pull request #114 from lpsantil/djgpp
Yann Collet [Thu, 28 May 2015 01:04:17 +0000 (03:04 +0200)]
Merge pull request #114 from lpsantil/djgpp

Djgpp

9 years agoREADM fixup
Louis P. Santillan [Wed, 27 May 2015 05:50:59 +0000 (22:50 -0700)]
READM fixup

9 years agodjgpp port now using the proposed contrib structure
Louis P. Santillan [Wed, 27 May 2015 05:43:03 +0000 (22:43 -0700)]
djgpp port now using the proposed contrib structure

9 years agoReverted all `Makefile` changes
Louis P. Santillan [Wed, 27 May 2015 02:10:12 +0000 (19:10 -0700)]
Reverted all `Makefile` changes

9 years agoRenamed the djgpp README so that it gets converted to HTML by github. Fixed breakage...
Louis P. Santillan [Tue, 26 May 2015 17:26:42 +0000 (10:26 -0700)]
Renamed the djgpp README so that it gets converted to HTML by github.  Fixed breakage of `make install`.

9 years agoMakefile cleanups to make building with Andrew Wu's build-djgpp cross compilers ...
Louis P. Santillan [Tue, 26 May 2015 04:48:40 +0000 (21:48 -0700)]
Makefile cleanups to make building with Andrew Wu's build-djgpp cross compilers (and everyone else) simpler.

9 years agoFixup lib/Makefile so that is builds a library for djgpp using Andrew Wu's build...
Louis P. Santillan [Tue, 26 May 2015 04:46:01 +0000 (21:46 -0700)]
Fixup lib/Makefile so that is builds a library for djgpp using Andrew Wu's build-djgpp cross compilers

9 years agoFixup programs/{Makefile,lz4cli.c,lz4io.c} to build with Andrew Wu's build-djgpp...
Louis P. Santillan [Tue, 26 May 2015 04:41:45 +0000 (21:41 -0700)]
Fixup programs/{Makefile,lz4cli.c,lz4io.c} to build with Andrew Wu's build-djgpp cross compilers.  Add some documentation in README.DJ

9 years agoUpdated NEWS
Yann Collet [Mon, 25 May 2015 23:23:05 +0000 (00:23 +0100)]
Updated NEWS

9 years agoFixed : default sparse mode disabled on stdout, to support ` >>` redirection scenari...
Yann Collet [Mon, 25 May 2015 06:50:41 +0000 (07:50 +0100)]
Fixed : default sparse mode disabled on stdout, to support ` >>`  redirection scenario reported by Takayuki Matsuoka (#110)

9 years agoPerformance fix : big compression speed boost for clang (+30%)
Yann Collet [Thu, 21 May 2015 00:17:56 +0000 (01:17 +0100)]
Performance fix : big compression speed boost for clang (+30%)

9 years agoMerge branch 'dev' of github.com:Cyan4973/lz4 into dev
Yann Collet [Wed, 20 May 2015 20:17:53 +0000 (22:17 +0200)]
Merge branch 'dev' of github.com:Cyan4973/lz4 into dev

9 years agoMerge pull request #107 from t-mat/issue/103pr2
Yann Collet [Wed, 20 May 2015 20:17:37 +0000 (22:17 +0200)]
Merge pull request #107 from t-mat/issue/103pr2

Add supporting iterative edit and testing to versionstest

9 years agoAdded LZF
Yann Collet [Wed, 20 May 2015 19:47:27 +0000 (20:47 +0100)]
Added LZF

9 years agoCombine unique .lz4 file info
Takayuki MATSUOKA [Wed, 20 May 2015 11:00:38 +0000 (20:00 +0900)]
Combine unique .lz4 file info

9 years agoSupport iterative edit and testing
Takayuki MATSUOKA [Sat, 16 May 2015 05:58:27 +0000 (14:58 +0900)]
Support iterative edit and testing

This commit will allows iterative edit and testing to local working copy.
You could iterate edit and testing by the following commands:

 cd /path/to/lz4
 cd test
 make versionstest
 my-favorite-text-editor ../lib/lz4.c
 make versionstest
 my-favorite-text-editor ./test-lz4-versions.py
 make versionstest
 ...

9 years agoAdd log output of succeeded decompression to test script
Takayuki MATSUOKA [Fri, 15 May 2015 14:44:48 +0000 (23:44 +0900)]
Add log output of succeeded decompression to test script

9 years agoAdd log of same files and sha1 hash of unique files to versionstest
Takayuki MATSUOKA [Fri, 15 May 2015 14:21:52 +0000 (23:21 +0900)]
Add log of same files and sha1 hash of unique files to versionstest

9 years agoFixed : LZ4IO exits too early when frame crc not present, reported by Yongwoon Cho...
Yann Collet [Wed, 20 May 2015 07:58:59 +0000 (08:58 +0100)]
Fixed  : LZ4IO exits too early when frame crc not present, reported by Yongwoon Cho (#106)

9 years agominor tests improvements
Yann Collet [Tue, 19 May 2015 09:29:41 +0000 (10:29 +0100)]
minor tests improvements

9 years agominor test refactor
Yann Collet [Mon, 18 May 2015 21:35:09 +0000 (22:35 +0100)]
minor test refactor

9 years agoFixed sparse issue with non seekable streams (#105)
Yann Collet [Mon, 18 May 2015 21:09:37 +0000 (22:09 +0100)]
Fixed sparse issue with non seekable streams (#105)

9 years agoremoved "flush" argument to please Travis's python version
Yann Collet [Sun, 17 May 2015 19:55:49 +0000 (20:55 +0100)]
removed "flush" argument to please Travis's python version

9 years agocosmetic changes, 2nd try
Yann Collet [Fri, 15 May 2015 14:51:07 +0000 (16:51 +0200)]
cosmetic changes, 2nd try

9 years agominor cosmetic changes for Takayuki's testVersions
Yann Collet [Fri, 15 May 2015 14:44:37 +0000 (15:44 +0100)]
minor cosmetic changes for Takayuki's testVersions

9 years agoMerge branch 'dev' of github.com:Cyan4973/lz4 into dev
Yann Collet [Fri, 15 May 2015 12:51:13 +0000 (14:51 +0200)]
Merge branch 'dev' of github.com:Cyan4973/lz4 into dev

9 years agoMerge pull request #104 from t-mat/issue/103pr2
Yann Collet [Fri, 15 May 2015 12:45:46 +0000 (14:45 +0200)]
Merge pull request #104 from t-mat/issue/103pr2

Add compatibility test between releases (resolves issue #103 )

9 years agoIssue #103 : Add compatibility test between releases
Takayuki MATSUOKA [Fri, 15 May 2015 00:27:44 +0000 (09:27 +0900)]
Issue #103 : Add compatibility test between releases

Add forward/backward compatibility test between all versions

 - Add new Makefile target "versionstest".
 - Standard test procedure like "make versionstest && make clean"
   works properly.

test/test-lz4-versions.py

 - This script creates test/lz4test and checkout all
   Release tagged versions.  After that, compile all versions of
   lz4c and lz4c32 and compress/decompress between all versions.

 - This test clones entire git repository to checkout all tags.
    - Since Travis's default command does not clone entire repository,
      we could not checkout all tags from Travis' default clone.

 - After that, test script shows all unique .lz4 files.  In this list,
   'r999' means 'head' of current working copy.

9 years agoAdded a few more interoperability tests (32bits vs 64 bits)
Yann Collet [Wed, 13 May 2015 14:22:33 +0000 (15:22 +0100)]
Added a few more interoperability tests (32bits vs 64 bits)

9 years agoUpdated a few comments
Yann Collet [Tue, 12 May 2015 09:10:20 +0000 (10:10 +0100)]
Updated a few comments

9 years agoFixed minor typo
Yann Collet [Thu, 7 May 2015 12:03:07 +0000 (13:03 +0100)]
Fixed minor typo

9 years agominor introduction update
Yann Collet [Thu, 7 May 2015 12:00:21 +0000 (13:00 +0100)]
minor introduction update

9 years agoMerge pull request #102 from Cyan4973/dev
Yann Collet [Thu, 7 May 2015 11:23:39 +0000 (13:23 +0200)]
Merge pull request #102 from Cyan4973/dev

Dev

9 years agominor parsing update
Yann Collet [Wed, 6 May 2015 19:57:35 +0000 (20:57 +0100)]
minor parsing update

9 years agoUpdated comments
Yann Collet [Wed, 6 May 2015 19:23:06 +0000 (20:23 +0100)]
Updated comments

9 years agoFixed typo
Yann Collet [Wed, 6 May 2015 09:26:59 +0000 (10:26 +0100)]
Fixed typo

9 years agoAdded : LZ4_compress_destSize()
Yann Collet [Wed, 6 May 2015 01:29:04 +0000 (02:29 +0100)]
Added : LZ4_compress_destSize()

9 years agoAdded compilation flag -Wcast-qual
Yann Collet [Wed, 6 May 2015 00:58:24 +0000 (01:58 +0100)]
Added compilation flag -Wcast-qual

9 years agoUpdated readme
Yann Collet [Mon, 4 May 2015 13:43:37 +0000 (14:43 +0100)]
Updated readme

9 years agoUpdated lz4hc API
Yann Collet [Sun, 3 May 2015 19:57:21 +0000 (20:57 +0100)]
Updated lz4hc API

9 years agoFixed minor Visual warning
Yann Collet [Sun, 3 May 2015 17:06:01 +0000 (18:06 +0100)]
Fixed minor Visual warning

9 years agoUpdated streaming examples
Yann Collet [Sun, 3 May 2015 17:02:48 +0000 (18:02 +0100)]
Updated streaming examples

9 years agoNew lz4 API, using LZ4_compress_fast()
Yann Collet [Sun, 3 May 2015 16:57:46 +0000 (17:57 +0100)]
New lz4 API, using LZ4_compress_fast()

9 years agoMerge pull request #99 from eberge/dev
Yann Collet [Sat, 2 May 2015 23:43:38 +0000 (01:43 +0200)]
Merge pull request #99 from eberge/dev

Install the lz4frame.h header in the cmake build

9 years agoFixed bug 9318
Yann Collet [Sat, 2 May 2015 18:10:28 +0000 (19:10 +0100)]
Fixed bug 9318

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

9 years agoInstall the lz4frame.h header in the cmake build
Eric Berge [Tue, 28 Apr 2015 14:00:23 +0000 (09:00 -0500)]
Install the lz4frame.h header in the cmake build

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.