Yann Collet
220e0b606a
Merge pull request #194 from jzhuge/dev
...
lz4cli: print library version
2016-04-01 16:41:58 +02:00
John Zhuge
cf6652f9b9
lz4cli: print library version
2016-04-01 07:07:25 -07:00
Yann Collet
60ba8638cd
Merge branch 'dev' of github.com:Cyan4973/lz4 into dev
2016-02-25 14:50:05 +01:00
Yann Collet
219da951d0
Added zstd
2016-02-25 14:49:40 +01:00
Yann Collet
2995a45e53
Merge pull request #185 from jwerner-chromium/dev
...
Add support for safe in-place decoding
2016-02-16 22:29:10 +01:00
Julius Werner
dc868cd5b1
Allow for safe in-place decoding
...
Add a check to allow safe "in-place" decoding (meaning that the
beginning of the source buffer partially overlaps the end of the
destination buffer). This is usually possible as long as the output
stops at least 15 bytes before the end of the input buffer (7 to account
for the extra spill from LZ4_wildCopy, 4 for a possible block checksum,
and 4 for the terminating block header), but in some pathological edge
cases it could be possible for the output stream to overwrite a byte in
the input stream before it gets decoded. With this patch the decoder
will reliably detect those cases and return a decoding error.
Signed-off-by: Julius Werner <jwerner@chromium.org>
2016-02-12 22:52:51 -08:00
Julius Werner
4fcb2e17fb
Remove whitespace from ends of lines
...
I'm trying to import LZ4 code into a project with strict linting
requirements. This will make that easier.
Signed-off-by: Julius Werner <jwerner@chromium.org>
2016-02-12 22:49:52 -08:00
Yann Collet
ad564c8720
Merge branch 'dev' of github.com:Cyan4973/lz4 into dev
2016-01-15 16:41:27 +01:00
Yann Collet
db53bbb946
updated hyperlink
2016-01-15 16:41:10 +01:00
Yann Collet
b84eb33492
Merge pull request #182 from kou/add-missing-ext
...
Add missing $(EXT)
2016-01-10 17:07:10 +01:00
Yann Collet
b8abffc394
Merge pull request #181 from kou/fix-build-failure-on-mingw
...
Fix build error on MinGW
2016-01-10 16:39:41 +01:00
Kouhei Sutou
ab3e1d2535
Add missing $(EXT)
...
If the $(EXT) are added, "make install" can work with MinGW build on
Linux.
2016-01-10 18:11:46 +09:00
Kouhei Sutou
14b40fb6d7
Fix build error on MinGW
...
Header file name is case insensitive on Windows but it is case sensitive
on Linux. "Windows.h" can't be found on Linux.
2016-01-10 17:41:43 +09:00
Yann Collet
62bbd102fc
Merge branch 'dev' of github.com:Cyan4973/lz4 into dev
2015-12-20 15:48:32 +01:00
Yann Collet
2785eeedfa
clarified man page as suggested in #170
2015-12-20 15:48:15 +01:00
Yann Collet
631dc8f2b2
Merge pull request #173 from flandr/liblz4
...
Add static library target for msbuild
2015-12-18 12:09:00 +01:00
Yann Collet
d67ae8fe41
Merge pull request #172 from psteinb/add_static_cmake
...
added static build target for OSX and Linux to cmake
2015-12-16 10:55:07 +01:00
Peter Steinbach
4c9d851eba
added static build target for OSX and Linux to cmake
2015-12-15 16:27:46 +01:00
Yann Collet
495ea43d94
Merge pull request #162 from KyleJHarper/20151021_examples
...
Additional examples
2015-10-30 07:41:29 +01:00
KyleJHarper
7aa004377c
Forgot to make clean before commiting. Removing binary.
2015-10-30 00:40:11 -05:00
KyleJHarper
7f96babc4b
Several changes to address a few concerns from Yann. See Google Group LZ4c topic 'Reusing compression/decompression resources' for details.
2015-10-29 21:47:13 -05:00
KyleJHarper
d1be164e49
Added a note about why char* is used. Also removed a binary that wasn't supposed to be in there.
2015-10-28 21:10:01 -05:00
KyleJHarper
0d25185671
Finished the two example files. Decided to avoid adding anything to lz4.c/h to expose LZ4_compress_generic().
2015-10-28 20:54:51 -05:00
KyleJHarper
02be6631be
Took out the basics and placed them into basics.c. Added decompression and a wrapper for the generic call. I will likely break this file up into 2 examples before submission.
2015-10-26 01:38:14 -05:00
KyleJHarper
67b3a24707
Final tests and reporting are done. As expected there isn't much to be gained by jumping the chain. In most of my tests I did see a moderate performance gain when invoking LZ4_compress_generic() directly with normal text. This could very easily be an edge case. Either way it's interesting and worth sharing.
2015-10-23 01:52:23 -05:00
KyleJHarper
bdd9143e02
Didn't add my file for some reason. Odd.
2015-10-22 03:57:56 -05:00
KyleJHarper
73dd936b9d
Wrote the skeleton of the performance test. Need to finish tests for the rest of the call stack and then my own copy of generic().
2015-10-22 03:57:21 -05:00
Yann Collet
2c80138121
heapmode macro option for lz4hc
2015-10-21 15:00:48 +01:00
Yann Collet
ff3324b8d5
Fix : compiler-independent macro to remove deprecation warnings
2015-10-21 12:58:06 +01:00
Yann Collet
64f8b037ee
clarified lz4 license
2015-10-20 09:46:18 +01:00
Yann Collet
2df6025686
Merge branch 'dev' of github.com:Cyan4973/lz4 into dev
2015-10-16 14:25:52 +02:00
Yann Collet
7d4575e549
fixed link typo
2015-10-16 13:25:24 +01:00
Yann Collet
012ab2f529
Merge pull request #152 from dcolascione/dev
...
Improve lz4 command line error message when dealing with console IO
2015-09-03 18:33:06 +02:00
Daniel Colascione
94a0954b1d
Remove .dir-locals.el
2015-09-02 19:08:04 -07:00
Daniel Colascione
4f1ff58f82
Tweak error message
2015-09-02 18:57:19 -07:00
Daniel Colascione
975c06b1ad
Improve error messages for attempted console IO
2015-09-02 18:57:19 -07:00
Daniel Colascione
6f1fe1b70d
Add .dir-locals.el for setting tab-width
2015-09-02 18:57:19 -07:00
Yann Collet
0011033e33
fixed #150 : blank lines when converting lz4.1 to .ps or .pdf
2015-09-02 12:30:08 +01:00
Yann Collet
248553c5e1
minor : show in table that frame checksum is optional
2015-09-01 18:56:54 +01:00
Yann Collet
cd18ed3086
create link to dynamic library without using cp -a
( #147 )
2015-09-01 16:55:55 +01:00
Yann Collet
fb6fece770
Updated Makefile and .travis
2015-09-01 15:59:24 +01:00
Nate Rosenblum
8a750aa35f
Add static library target for msbuild
2015-08-25 11:23:15 -07:00
Yann Collet
13f12aa027
Wrapped possibly empty string (Emscripten) with quotes (@Fordi)
2015-08-23 16:16:15 +01:00
Yann Collet
4a5a003c42
updated cli help
2015-08-20 14:57:35 +01:00
Yann Collet
9aa5504f0c
New unalign access method
2015-08-19 18:16:17 +01:00
Yann Collet
e5aee601ef
updated xxhash
2015-08-19 17:54:19 +01:00
Yann Collet
e643455068
Merge pull request #142 from bioothod/master
...
Added debianization
2015-08-16 12:09:17 +02:00
Yann Collet
d15ac1f1a7
Slightly improved compression speed on ARMv6
2015-08-16 02:33:57 +01:00
Yann Collet
0f2bf0c54e
Improved performance on ARMv6
2015-08-16 01:54:55 +01:00
Yann Collet
fb4d3ef2c4
Added .gitignore
2015-08-16 00:58:07 +01:00