David Lam
|
e10f7f3dcb
|
merge
|
2016-08-30 12:03:36 -07:00 |
|
Yann Collet
|
4ded9e591c
|
added boilerplate
|
2016-08-30 11:06:28 -07:00 |
|
David Lam
|
da9d3b7057
|
Cleanup some errors in typedef comments and remove duplicated HOWTO from zbuff_decompress.c
|
2016-08-29 17:31:51 -07:00 |
|
Yann Collet
|
23b6e05d8e
|
ZSTD_malloc() and ZSTD_free(), to simplify customMem
|
2016-08-28 21:05:43 -07:00 |
|
Yann Collet
|
5f53b0335e
|
fixed continuation context
|
2016-08-28 10:00:49 -07:00 |
|
Yann Collet
|
767d8f66fa
|
legacy contexts can be re-used
|
2016-08-28 08:19:47 -07:00 |
|
Yann Collet
|
4bf317dd00
|
first version supporting legacy streams (transparent decoding)
|
2016-08-28 07:43:34 -07:00 |
|
inikep
|
a3a47ec4d0
|
Merge remote-tracking branch 'refs/remotes/Cyan4973/dev' into Other
|
2016-08-24 21:25:49 +02:00 |
|
inikep
|
e416e30019
|
remove unnecessary comments
|
2016-08-24 17:32:09 +02:00 |
|
Yann Collet
|
17e482efdd
|
added ZSTD_setDStreamParameter()
|
2016-08-23 16:58:10 +02:00 |
|
Yann Collet
|
3071c3e303
|
STREAM_WINDOW_MAX : protect streaming from unreasonable memory requirements
|
2016-08-23 01:34:34 +02:00 |
|
Yann Collet
|
70e3b31306
|
fixed playtests on os-x
|
2016-08-23 01:18:06 +02:00 |
|
Yann Collet
|
cb3276329a
|
added sizeof CStream and DStream
|
2016-08-23 00:31:59 +02:00 |
|
Yann Collet
|
8baf78a291
|
minor coding style
|
2016-08-20 13:04:20 +02:00 |
|
Yann Collet
|
1bee2d5e08
|
slight decompression speed improvement
|
2016-08-20 02:59:04 +02:00 |
|
Yann Collet
|
af1960396b
|
sync huff0
|
2016-08-19 19:38:19 +02:00 |
|
Yann Collet
|
18442c1482
|
minor refactoring
|
2016-08-18 01:40:32 +02:00 |
|
Yann Collet
|
53e17fbd5e
|
updated streaming API
|
2016-08-17 01:39:22 +02:00 |
|
Yann Collet
|
104e5b072d
|
added : streaming decompression API
|
2016-08-16 15:11:28 +02:00 |
|
inikep
|
038d1497c9
|
fixed compilation with Visual Studio 2005
|
2016-08-10 14:30:10 +02:00 |
|
Yann Collet
|
917fe188f1
|
Implemented repOffset "minus 1" on ll==0
|
2016-07-31 04:01:57 +02:00 |
|
Yann Collet
|
66f69e58d2
|
restore decompression speed on fizzle
|
2016-07-30 15:32:47 +02:00 |
|
Yann Collet
|
f714f59c16
|
fixed visual warning
|
2016-07-30 12:05:28 +02:00 |
|
Yann Collet
|
761f8dbbd2
|
back to normal table cell copy
|
2016-07-30 11:43:53 +02:00 |
|
Yann Collet
|
3c6b808870
|
minor decompression speed gains
|
2016-07-30 03:20:47 +02:00 |
|
Yann Collet
|
c00d30fbe4
|
Merge pull request #264 from inikep/dev08
Dev08
|
2016-07-29 17:42:30 +02:00 |
|
Yann Collet
|
4c5bbf64f9
|
fixed : frame concatenation without checksum
|
2016-07-28 20:30:25 +02:00 |
|
Yann Collet
|
60ba31c570
|
zbuff uses ZSTD_compressEnd()
|
2016-07-28 19:55:09 +02:00 |
|
Yann Collet
|
c991cc1828
|
new frame end, 32-bits checksums
|
2016-07-28 00:55:43 +02:00 |
|
inikep
|
003c7a8568
|
optimal parser: removed ZSTD_REP_INIT
|
2016-07-27 11:07:13 +02:00 |
|
Eric Biggers
|
0a55e7a0bb
|
ZSTD_decompressFrame(): use remainingSize instead of iend - ip
Same behavior, but no need to have redundant variables.
|
2016-07-26 13:22:27 -07:00 |
|
Eric Biggers
|
aa6c70bf60
|
ZSTD_decompressFrame(): pass up error code from ZSTD_decodeFrameHeader()
|
2016-07-26 13:22:27 -07:00 |
|
Eric Biggers
|
e4d0265ea9
|
Replace remaining references to "direct mode" with "single segment mode"
|
2016-07-26 13:22:27 -07:00 |
|
Yann Collet
|
cbc5e9dc19
|
fixes oob read
|
2016-07-24 18:02:04 +02:00 |
|
Yann Collet
|
7ed5e33b89
|
minor comment changes
|
2016-07-24 14:26:11 +02:00 |
|
Yann Collet
|
10b9c13d07
|
fixed doc on cLevel default, reported by Oliver Lange
|
2016-07-24 01:21:53 +02:00 |
|
Yann Collet
|
f8e7b5363f
|
unified encoding types
|
2016-07-23 16:31:49 +02:00 |
|
Yann Collet
|
c2e1a68d81
|
changed streamNb order to 1-4-4-4
|
2016-07-22 17:30:52 +02:00 |
|
Yann Collet
|
772d912c2f
|
more complete support for literals repeat mode
|
2016-07-22 15:04:25 +02:00 |
|
Yann Collet
|
9f2d82d4a4
|
fixed : big-endian decoding
|
2016-07-22 14:37:10 +02:00 |
|
Yann Collet
|
32faf6c8e7
|
fixed conversion warnings
|
2016-07-22 14:37:09 +02:00 |
|
Yann Collet
|
5e45a5fbb3
|
force loop-align to 32 for zstd_decompress
|
2016-07-22 14:37:09 +02:00 |
|
Yann Collet
|
5288ac0cb7
|
changed filed order
|
2016-07-22 14:37:09 +02:00 |
|
Yann Collet
|
198e6aac44
|
Literals header fields use little endian convention
|
2016-07-22 14:37:09 +02:00 |
|
Yann Collet
|
6fa05a2371
|
cBlockSize uses little-endian convention
|
2016-07-22 14:37:09 +02:00 |
|
Yann Collet
|
cf05b9d477
|
ZSTD_getBlockSizeMax()
|
2016-07-18 16:52:10 +02:00 |
|
Yann Collet
|
972e5806ee
|
fixed : premature frame end on zero-sized raw block - reported by @ebiggers
|
2016-07-17 15:39:24 +02:00 |
|
Yann Collet
|
d158c35e9f
|
added ZSTD_estimateDCtxSize()
|
2016-07-11 13:46:25 +02:00 |
|
Yann Collet
|
8e0ee681b8
|
added ZSTD_sizeofDCtx()
|
2016-07-11 13:09:52 +02:00 |
|
Yann Collet
|
3ae543ce75
|
added ZSTD_estimateCCtxSize()
|
2016-07-11 03:12:17 +02:00 |
|
Yann Collet
|
722e14bb65
|
fixed compilation error in decompression module
|
2016-07-08 19:22:16 +02:00 |
|
Yann Collet
|
bd10607063
|
updated spec
|
2016-07-08 19:16:57 +02:00 |
|
Yann Collet
|
c5fb5b7fcd
|
support offset > 128 MB
|
2016-07-08 13:13:37 +02:00 |
|
Yann Collet
|
19c27d27f1
|
simplified legacy functions, no longer need magic number
|
2016-07-07 14:40:13 +02:00 |
|
Yann Collet
|
f323bf7d32
|
added : ZSTD_getDecompressedSize()
|
2016-07-07 13:14:21 +02:00 |
|
Yann Collet
|
f246cf5423
|
ZSTD_decompress_usingDDict() compatible with Legacy mode
|
2016-07-06 20:32:27 +02:00 |
|
Yann Collet
|
517e1ba623
|
fixed dictBuilder issue with HC levels. Reported by Bartosz Taudul.
|
2016-07-06 12:35:09 +02:00 |
|
Yann Collet
|
fe07eaa972
|
simplified ZSTD_decodeSequence()
|
2016-07-06 02:25:44 +02:00 |
|
Yann Collet
|
9ca73364e6
|
updated spec
|
2016-07-05 10:53:38 +02:00 |
|
Yann Collet
|
f9cac7a734
|
Added GNU separator -- , to specifies that all following arguments are necessary file names (and not commands). Suggested by @chipturner (#230)
|
2016-07-04 18:18:24 +02:00 |
|
Yann Collet
|
23f05ccc6b
|
updated specifications
|
2016-07-04 16:13:11 +02:00 |
|
Yann Collet
|
2fa9904844
|
update specification and comments
|
2016-07-01 20:55:28 +02:00 |
|
Yann Collet
|
c093208ab8
|
fix : potential leak (#229)
|
2016-06-30 14:07:30 +02:00 |
|
Yann Collet
|
d4f4e58ee1
|
fixed ZSTD_decompressBlock() using multiple blocks
|
2016-06-27 01:31:35 +02:00 |
|
Yann Collet
|
e4811ba761
|
Modified : ZSTD_createDDict() accepts dictionary < 8 bytes in pure content mode (reported by @chipturner)
|
2016-06-19 23:06:54 +02:00 |
|
Yann Collet
|
06d9a73b48
|
minor refactor, using WILDCOPY_OVERLENGTH macro instead of hard-coded 8
|
2016-06-19 14:27:21 +02:00 |
|
Yann Collet
|
4948f270b3
|
make room for reserved "information bit" in frame header
|
2016-06-16 15:38:51 +02:00 |
|
Yann Collet
|
80d033fb43
|
fixed ptr arithmetic warning
|
2016-06-16 01:41:50 +02:00 |
|
Yann Collet
|
736d419289
|
strengthened dict loading on decompresson side
|
2016-06-16 01:05:04 +02:00 |
|
Yann Collet
|
8e36a9c169
|
decoder restores repOffsets from dictionary
|
2016-06-16 01:05:04 +02:00 |
|
Yann Collet
|
9b998e4d08
|
Fixed decompression of literals in dictionary mode
|
2016-06-15 23:11:20 +02:00 |
|
Yann Collet
|
d059092897
|
fixed conversion warnings
|
2016-06-14 15:34:24 +02:00 |
|
Yann Collet
|
4266c0a2fd
|
adding inter-blocks rep-offsets
|
2016-06-14 01:49:25 +02:00 |
|
Yann Collet
|
cd98f93cff
|
Fixed decompression issue with invalid data
|
2016-06-11 23:26:22 +02:00 |
|
Yann Collet
|
37fece22e8
|
enable repeat-entropic-stats mode
|
2016-06-11 02:52:42 +02:00 |
|
Yann Collet
|
d60a5bf900
|
Literal decompression builds Huffman tables within shared space (for later re-use)
|
2016-06-11 02:35:31 +02:00 |
|
Yann Collet
|
237ad4beb3
|
Added single-stream decompression variant using external DTable
|
2016-06-11 01:46:03 +02:00 |
|
Yann Collet
|
289bbd52e5
|
Updated huff0
|
2016-06-11 01:31:54 +02:00 |
|
Yann Collet
|
9dd12742f3
|
litBlockType_t is an enum
|
2016-06-10 00:12:26 +02:00 |
|
Yann Collet
|
662a541431
|
updated huff0 - now generates a common HUF_DTable type for all decoding tables
|
2016-06-08 11:11:02 +02:00 |
|
Yann Collet
|
302fb53a76
|
Removed ZSTD_*_usingPrepared?Ctx() declaration from public space
|
2016-06-07 12:16:49 +02:00 |
|
Yann Collet
|
81e13ef7cf
|
first implementation of the new dictionary API (untested)
|
2016-06-07 00:51:51 +02:00 |
|
Yann Collet
|
9d504ae85b
|
Added decoding of RLE blocks
|
2016-06-06 19:52:35 +02:00 |
|
Yann Collet
|
673f0d7cdc
|
new frame format, allowing custom window size
|
2016-06-06 00:26:38 +02:00 |
|
Yann Collet
|
d0e2cd15cb
|
Merged fse_static into fse.h . Now requires FSE_STATIC_LINKING_ONLY macro.
|
2016-06-05 00:58:01 +02:00 |
|
Yann Collet
|
130fe11394
|
merged huf_static.h into huf.h . Requires HUF_STATIC_LINKING_ONLY macro.
|
2016-06-05 00:42:28 +02:00 |
|
Yann Collet
|
d3b7f8d21f
|
Merged zstd_static.h into zstd.h . Now requires ZSTD_STATIC_LINKING_ONLY macro
|
2016-06-04 19:47:02 +02:00 |
|
Yann Collet
|
ac110a1f21
|
Removed ZBUFF internal util function from public area
|
2016-06-04 19:16:49 +02:00 |
|
Yann Collet
|
5347aee8f7
|
merged zbuff_static.h into zbuff.h . Now requires ZBUFF_STATIC_LINKING_ONLY macro
|
2016-06-04 19:12:48 +02:00 |
|
Yann Collet
|
198d127b35
|
minor comment change (unfinished description of new header format)
|
2016-06-04 18:40:55 +02:00 |
|
Yann Collet
|
f4f5affdf7
|
restore ZBUFF full-block-size, for better performance on small input
|
2016-06-03 23:09:28 +02:00 |
|
Yann Collet
|
ab7b6f1ece
|
Merge pull request #198 from inikep/dev070
Dev070
|
2016-06-03 21:37:49 +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 |
|
Yann Collet
|
fe48775868
|
minor decoder code refactoring
|
2016-06-03 15:41:51 +02:00 |
|
inikep
|
3763c77f6b
|
defaultCustomNULL replaced with defaultCustomMem
|
2016-06-03 13:28:20 +02:00 |
|
inikep
|
36fac00149
|
removed calloc calls from lib/
|
2016-06-03 13:23:04 +02:00 |
|
inikep
|
db2f540414
|
added defaultCustomNULL
|
2016-06-03 12:56:56 +02:00 |
|
inikep
|
2866951558
|
opaque parameter for custom memory allocation functions
|
2016-06-02 13:04:18 +02:00 |
|
inikep
|
9242816b56
|
fparamsPtr->windowLog==0 means that a frame is skippable
|
2016-06-01 18:47:04 +02:00 |
|
inikep
|
13f42d9085
|
VS2010 project: reverted zstdlib.rc
|
2016-06-01 14:44:31 +02:00 |
|