| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
LZ4_STATIC_LINKING_ONLY_DISABLE_MEMORY_ALLOCATION is enabled
|
| |
|
|\
| |
| | |
Introduce LZ4_STATIC_LINKING_ONLY_DISABLE_MEMORY_ALLOCATION
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This changeset introduces new compile time switch macro LZ4_STATIC_LINKING_ONLY_DISABLE_MEMORY_ALLOCATION
which removes the following functions when it's defined.
```
// lz4.c
LZ4_createStream
LZ4_freeStream
LZ4_createStreamDecode
LZ4_freeStreamDecode
LZ4_create // legacy
// lz4hc.c
LZ4_createStreamHC(void)
LZ4_freeStreamHC
LZ4_createHC // legacy
LZ4_freeHC // legacy
```
These functions uses dynamic memory allocation functions such as malloc() and free().
It'll be useful for freestanding environment which doesn't have these allocation functions.
Since this change breaks API, this macro is only valid with lz4 as a static linked object.
|
|\ \
| | |
| | | |
Separate support of LZ4_decompress_fast*()
|
| | |
| | |
| | |
| | | |
single sumtype return value
|
| | |
| | |
| | |
| | |
| | | |
updated documentation, more assert(),
overflow detection in 32-bit mode
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
since it's now supported by decompress_unsafe().
The goal is to improve maintenability of decompress_generic()
by reducing its complexity.
|
|/ /
| |
| |
| |
| |
| |
| | |
designed to support specifically LZ4_decompress_fast*() variants.
The end goal is to offload this support from LZ4_decompress_generic
to improve its maintenance.
|
|\ \
| | |
| | | |
fix: various typos
|
|/ / |
|
|\ \
| | |
| | | |
New macro for memcpy, memmove and memset
|
| |/
| |
| |
| |
| |
| |
| |
| | |
This changeset introduces the following external macros.
- Add new macro LZ4_memset() which enables to inject external function as memset().
- Similar macro LZ4_memmove() for memmove().
- In same manner, LZ4_memcpy() also can be overriden by external macro.
|
|/
|
|
| |
hopefully answering concerns expressed in #792
|
|\
| |
| | |
Introduce ability to save cpu cycles by disabling checksum validation
|
| | |
|
| |
| |
| |
| |
| | |
note : it's unlikely to improve speed, as in most cases I/O is slower than lz4 decompression,
but maybe in extreme scenarios, it might show a difference.
|
| | |
|
| |
| |
| |
| | |
which disables both frame and block checksums.
|
| |
| |
| |
| |
| | |
on command line, using existing long command --no-frame-crc.
Note : it's effectively more than that, since _all_ checksums are disabled.
|
|/ |
|
|\
| |
| | |
Implement decoder-only benchmark
|
| |
| |
| |
| | |
requires an LZ4 Frame as input
|
| |
| |
| |
| | |
to prepare bench.c for multiple decoding functions.
|
| | |
|
|/ |
|
|\
| |
| | |
`make test` can run in `-j` parallel mode
|
| |
| |
| |
| | |
per platform
|
| |
| |
| |
| | |
for faster parallel processing
|
|/
|
|
|
|
|
| |
for `make -j test`.
note : test-install is no longer part of `make test`
It will have to be run on its own.
|
|\
| |
| | |
Support for Custom Memory managers
|
| | |
|
| | |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
for compression context only for the time being,
using LZ4F_createCompressionContext_advanced().
Added basic test in frametest.c
|
| | | |
|
|\ \ \
| | | |
| | | | |
support skippable frames within pipe
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
fix #977
fseek() doesn't work for pipe,
switch to "read and forget" mode in such case.
|
|\ \ \ \
| | | | |
| | | | | |
refactor test ensuring that make test does not depend on console status
|
| | | | |
| | | | |
| | | | |
| | | | | |
Fix #990
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
fix decompress-partial-usingDict.c
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The recently added test decompress-partial-usingDict
tends to fail for unknown reasons,
more frequently under the combination for clang-9 + `-mx32`.
There is a suspicion that the test is using too much stack.
Fixing that, + adding traces, to get more information if it fails again.
|
|\ \ \ \
| |/ / /
|/| | | |
Test support of Standard Makefile Variables
|
|/ / /
| | |
| | |
| | | |
to detect issues such as #958
|
| | |
| | |
| | |
| | |
| | | |
by removing commented tests
(now transferred to Github Actions)
|
| | | |
|
|\ \ \
| |_|/
|/| | |
Add more compiler tests
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
clang 3.9 fails -m32 & -mx32,
likely because it lacks the corresponding abi/library support.
Oh well, it's not that important.
Supporting all clang >= 4.0 is great enough for these tests.
|
| | | |
|