Commit Graph

50 Commits

Author SHA1 Message Date
Yann Collet
abf5c0655c fix zlibwrap parallel build
previous recipe would build object files directly within programs/
which could be in competition with other local builds happening in programs/ at the same time.

fixed by generating the relevant object file locally.
2020-10-15 10:56:37 -07:00
Ryan Schmidt
6ddb783c3e Change c90 to c89
c89 and c90 are the same language. Old compilers like gcc 4.2.1 don't
know the c90 alias.
2019-11-07 11:04:31 -06:00
Yann Collet
d770a2a89f fixed zlibwrapper build script 2019-10-31 10:47:06 -07:00
Yann Collet
cadff8cdc4 zlibwrapper : fixed flag-variable name
release doesn't use specific std/debug flags
2019-10-02 17:41:19 -07:00
Yann Collet
c69ed0f8d7 updated tests for zlibwrapper C90 strict compatibility 2019-10-02 17:32:19 -07:00
Yann Collet
69c9401932 simplified Makefile
and fixed a few c++-compat issues
2019-09-26 15:01:29 -07:00
Yann Collet
0582b27cae added c++-compat build flag
ensure code can be compiled "as is" in C++ mode

also : restructured flags so that they can be individually changed / disabled on command line
2019-09-26 13:08:25 -07:00
Yann Collet
cb18fffe65 enforce C90 compatibility for zlibWrapper 2019-09-24 17:50:58 -07:00
Yann Collet
59a7116cc2 benchfn dependencies reduced to only timefn
benchfn used to rely on mem.h, and util,
which in turn relied on platform.h.
Using benchfn outside of zstd required to bring all these dependencies.

Now, dependency is reduced to timefn only.
This required to create a separate timefn from util,
and rewrite benchfn and timefn to no longer need mem.h.

Separating timefn from util has a wide effect accross the code base,
as usage of time functions is widespread.
A lot of build scripts had to be updated to also include timefn.
2019-04-10 12:37:03 -07:00
Yann Collet
068c9b89be fixed zlibwrapper examples build 2018-12-20 15:28:03 -08:00
Rohit Jain
705e0b18ab Making changes to make it compile on my laptop 2018-10-11 15:51:57 -07:00
Yann Collet
058ed2ad33 ZSTD_decodingBufferSize_min()
supporting function for bufferless streaming API (ZSTD_decompressContinue())
makes it possible to correctly size a round buffer for decoding using this API.

also : added field blockSizeMax within ZSTD_frameHeader,
as it's a necessary information to know when to restart at beginning of decoding buffer.
2017-09-09 01:03:29 -07:00
Yann Collet
33a7e679e5 significant zlib wrapper code refactoring
code indentation
variable scope and names
constify

Only coding style changes.
The logic should remain the same.
2017-06-02 17:10:49 -07:00
Przemyslaw Skibinski
95f34e056a zlibWrapper/README.md: updated info about gzip file access functions 2016-12-06 11:36:24 +01:00
Yann Collet
2f902f946c fixed zlibwrapper use of xxh 2016-12-06 08:52:53 +01:00
Przemyslaw Skibinski
087bd2c198 compile with -Wstrict-aliasing=1 2016-11-29 17:57:00 +01:00
Przemyslaw Skibinski
0fa3447dee plainly marked altered files from zlib 2016-11-28 16:55:14 +01:00
Przemyslaw Skibinski
8b3e2f1a0b updated zlibWrapper/Makefile 2016-11-28 15:41:36 +01:00
Przemyslaw Skibinski
a641776197 zlibWrapper: improve "make clean" 2016-11-25 17:13:25 +01:00
Przemyslaw Skibinski
4c690507a7 added minigzip test 2016-11-25 14:45:55 +01:00
Przemyslaw Skibinski
6b3c2018db added minigzip 2016-11-24 18:26:47 +01:00
Przemyslaw Skibinski
de4b4fc36f zlibWrapper: added XXH_NAMESPACE 2016-11-21 15:03:05 +01:00
Przemyslaw Skibinski
7e06e6ab19 updated Makefile for zlibWrapper 2016-11-04 16:50:39 +01:00
Przemyslaw Skibinski
d007eb5f9f fixed clang warnings in zlibWrapper 2016-11-04 11:20:58 +01:00
Yann Collet
6c111fa3da fix zlibWrapper make test 2016-11-03 00:44:02 -07:00
Przemyslaw Skibinski
3ee94a7600 zstd_compression_format.md moved to doc/ 2016-10-24 15:58:07 +02:00
inikep
60dddc2109 zlibWrapper: minor tweaks 2016-09-26 22:47:39 +02:00
inikep
ad468ab25c updated zlibWrapper\Makefile 2016-09-26 22:24:04 +02:00
inikep
cbd7bdca1e improved zwrapbench tests 2016-09-26 20:41:52 +02:00
inikep
57b9708054 faster inflate() autodetection of zlib/zstd 2016-09-23 14:59:46 +02:00
inikep
b88accfb5f use valgrind with a dynamic zstd library 2016-09-23 13:38:02 +02:00
inikep
68cd4766c9 initialization of strm->adler 2016-09-23 12:42:21 +02:00
inikep
f77a1132a7 improved valgrind tests 2016-09-23 12:01:38 +02:00
inikep
4602e53021 added valgrindTest for zlibWrapper 2016-09-23 10:43:37 +02:00
inikep
f71828f2c4 zwrapbench: testing speed of ZSTD_decompressStream 2016-09-22 15:55:01 +02:00
inikep
8e8b046f64 zwrapbench benchmarks zlibWrapper 2016-09-22 14:42:32 +02:00
inikep
d755717941 added setZWRAPdecompressionType 2016-09-22 11:52:00 +02:00
inikep
3be5c6e6db improved zlibWrapper\Makefile 2016-09-22 10:23:58 +02:00
inikep
86fc8e0003 added ZWRAP_DCtx.decompState 2016-09-20 16:22:28 +02:00
inikep
554b3b935c improved logging 2016-09-20 15:18:00 +02:00
inikep
7b546e5da9 added fitblk.c 2016-09-20 12:49:39 +02:00
Yann Collet
613c706c96 fixed zlibWrapper examples for lib/zstd.h 2016-07-18 03:27:26 +02:00
inikep
3640396b1a fixed: deallocation of structures in case of error in ZBUFF_createCCtx and ZBUFF_createDCtx 2016-06-03 16:36:50 +02:00
inikep
db2f540414 added defaultCustomNULL 2016-06-03 12:56:56 +02:00
inikep
ff2d18928d zlibWrapper: added gcc flag -Wdeclaration-after-statement 2016-06-02 22:15:09 +02:00
inikep
614fddee6a zlibWrapper: support for stricter gcc warnings 2016-06-02 18:40:41 +02:00
inikep
bf25d7ac57 zlibWrapper: support for zlib versions from 1.2.3 to 1.2.8 2016-06-02 10:19:35 +02:00
inikep
043b3c01bb zlibWrapped: removed dependency from ZSTD_FRAMEHEADERSIZE_MIN 2016-06-01 10:15:25 +02:00
inikep
e9dfdf6924 added zlibwrapper test for Travis 2016-05-27 11:56:15 +02:00
inikep
3eabe9b474 added zlibWrapper - zstd wrapper for zlib 2016-05-12 17:15:41 +02:00