Yann Collet
19e585cc46
modified : some more deprecated functions from lz4hc.h generate warnings
2016-06-29 18:18:34 +02:00
Yann Collet
6b1600f41e
changed : default benchmark LZ4_decompress_safe()
2016-06-29 17:48:28 +02:00
Yann Collet
6923f3e230
Minor refactoring (code style)
2016-06-29 17:12:24 +02:00
Yann Collet
410ec81543
Fixed : alignment warning
2016-06-29 17:02:09 +02:00
Yann Collet
bc342ab94c
minor refactoring
2016-06-29 16:01:24 +02:00
Yann Collet
c8a573d32c
very minor decompression speed gain
2016-06-29 15:04:19 +02:00
Yann Collet
a5508b1ad2
fixed display result issue when benchmarking multiple files
2016-06-29 14:56:50 +02:00
Yann Collet
e27e7316dd
minor code refactoring
2016-06-29 14:54:07 +02:00
Yann Collet
2d7df8b306
Reduced bench dependency to standard C <time.h>
...
Faster tests
More accurate results on systems with high resolution clocks
2016-06-29 14:35:19 +02:00
Yann Collet
8938e10742
minor compression speed improvement
2016-06-29 14:07:54 +02:00
Yann Collet
c77c0c1086
minor refactoring
2016-06-29 13:21:23 +02:00
Yann Collet
3c03326004
minor refactoring (coding style)
2016-06-29 12:54:23 +02:00
Yann Collet
1f47f3f747
Merge pull request #208 from Nimloth/dev
...
Add FreeBSD to install targets
2016-05-17 11:14:31 +02:00
Martin Waschbüsch
7bfbccb972
Add FreeBSD to install targets
...
Add FreeBSD to install targets
2016-05-17 07:47:03 +02:00
Yann Collet
5bb5d6ee15
Merge pull request #204 from irwand/dev
...
Alloc failure fixes
2016-05-10 08:01:53 +02:00
Irwan Djajadi
bc70a4b72e
fixed non-C99 compilers
2016-04-19 15:06:15 -05:00
Irwan Djajadi
10e3eecc56
fixed non-C99 compiler
2016-04-19 15:01:35 -05:00
Irwan Djajadi
973baa2c19
Merge branch 'heapmode_alloc_failure_fix' into dev
2016-04-19 08:22:56 -05:00
Irwan Djajadi
3e5bb67537
alloc failure fix
2016-04-18 15:51:32 -05:00
Yann Collet
8a42ee10a3
Merge pull request #201 from cernekee/cmake-pc
...
cmake: Install liblz4.pc
2016-04-18 11:11:13 -07:00
Kevin Cernekee
4bda09fc82
cmake: Install liblz4.pc
...
This performs the same substitutions as lib/Makefile.
2016-04-17 23:11:42 -07:00
Yann Collet
8b562a4f37
Merge pull request #197 from Cyan4973/fix-readme-travis
...
Fix wrong link for Travis
2016-04-07 19:59:27 +02:00
Takayuki MATSUOKA
5cdf9a6578
Fix wrong link for Travis
2016-04-08 02:54:28 +09:00
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