Sean Purcell
dd79c5c9e8
Make pzstd and cmake use gcc/g++
2017-03-29 14:40:11 -07:00
Sean Purcell
fcc55ccae4
Build windows releases on appveyor as artifacts
2017-03-29 13:08:10 -07:00
Sean Purcell
efdaf8bb7c
Fix inline compile errors
2017-03-27 12:26:40 -07:00
Sean Purcell
894bf49713
Fix IS_CONSOLE returning 1 for NUL on windows
2017-03-27 12:19:30 -07:00
Sean Purcell
ef30af843f
Ignore extension in command name matching
2017-03-24 17:06:09 -07:00
Sean Purcell
8d2c63980e
Statically build and link zlib on appveyor
2017-03-24 13:21:24 -07:00
Sean Purcell
7f67f8dce6
Educational decoder polish updates
2017-03-23 14:33:38 -07:00
Sean Purcell
793e7bb6dd
Add symbolic link checking to pzstd
2017-03-23 12:41:51 -07:00
Sean Purcell
dee08caabb
Fix displayLevel redefinition issues
2017-03-23 12:09:35 -07:00
Sean Purcell
680e4e0953
Ignore symbolic links unless --force specified
2017-03-23 11:52:09 -07:00
Sean Purcell
042ba122ae
Change g_displayLevel to int and fix DISPLAYUPDATE flush
2017-03-23 11:21:59 -07:00
Sean Purcell
9f048cb74a
Educational decoder: Some more minor clarity fixes
2017-03-21 17:01:51 -07:00
Sean Purcell
ea14b73795
Educational decoder: Clarify IO_rewind_bits
2017-03-21 15:05:40 -07:00
Sean Purcell
4cfed3c526
Attempt to fix FUZZERTEST variable set and remove appveyor_old.yml
2017-03-21 14:21:00 -07:00
Sean Purcell
f7a78609e7
CMake: Fix version parsing and allow Unix flags on Clang
2017-03-21 13:44:33 -07:00
Sean Purcell
ad92b55448
Fix msvc fuzzer test runtime
2017-03-21 11:19:48 -07:00
Sean Purcell
1b418bd3da
Merge remote-tracking branch 'origin/dev' into appveyor
2017-03-21 10:59:54 -07:00
Sean Purcell
5a2b857029
Update appveyor.yml to have short and long tests
2017-03-20 17:04:44 -07:00
Sean Purcell
c771977489
Fix decodecorpus clang compile errors
2017-03-20 16:02:24 -07:00
Sean Purcell
2f6c7e6a53
Fix windows compiler warnings for decodecorpus
2017-03-20 13:45:12 -07:00
Sean Purcell
0b0b10ec83
Add --no-big-tests flag for qemu fuzz-tests
2017-03-20 11:32:24 -07:00
Sean Purcell
7ebf2de02d
Add ability to strongly limit fuzzer test size with flag
2017-03-20 11:25:00 -07:00
Sean Purcell
9a38dfa794
Only run IS_CONSOLE tests with a TTY
2017-03-17 12:32:18 -07:00
Sean Purcell
d973071e90
Add tests for compressed data on console
2017-03-16 16:25:19 -07:00
Sean Purcell
b8e52d3c83
Fix zstd not erroring on compressing to terminal without forceStdout
2017-03-16 16:06:19 -07:00
Sean Purcell
72a243e3bd
Convert manpage to Markdown, converted with ronn
2017-03-16 15:37:32 -07:00
Sean Purcell
f5e50519e0
Prevent fuzz testers from combining large dicts with high clevel
2017-03-15 15:04:54 -07:00
Sean Purcell
dec2b96536
Add functions missing from manual, and fix parameter alignment
2017-03-14 11:24:09 -07:00
Sean Purcell
9830aeeea6
Fix legacy support=0 case and accidental double include of version headers
2017-03-13 17:19:37 -07:00
Sean Purcell
120df494e9
Update builds to not support legacy v01-v03
2017-03-13 14:44:08 -07:00
Sean Purcell
334cb34edb
ZSTD_LEGACY_SUPPORT defines lowest supported version
2017-03-13 14:32:30 -07:00
Sean Purcell
784082f49c
Change gotoDict type to uPtrDiff
2017-03-10 10:34:45 -08:00
Sean Purcell
8fe5c6862c
Fix undefined behaviour in decompressor
2017-03-10 10:17:42 -08:00
Sean Purcell
caf0ee8d20
Make signed integer overflow recoverable in UBsan
2017-03-09 17:28:08 -08:00
Sean Purcell
2500dcfa5f
Add testing description
2017-03-09 16:05:23 -08:00
Sean Purcell
7c8f5d5bc7
Make test times overwritable
2017-03-09 16:05:23 -08:00
Sean Purcell
daec40db24
Update .travis.yml and Makefile for medium tests
2017-03-09 16:05:22 -08:00
Sean Purcell
881abe44f1
Reduce point at which we reduce offsets to protect against UB
2017-03-07 16:58:08 -08:00
Sean Purcell
d66450fd7d
Fix travis test broken by Makefile change
2017-03-07 11:36:19 -08:00
Sean Purcell
a1a195044f
Use test section
2017-03-06 18:21:38 -08:00
Sean Purcell
3437bf2feb
Add build targets to the Makefile, and update CircleCI tests
2017-03-06 15:05:02 -08:00
Sean Purcell
553f67e0c1
Remove 'generic' inline strategy
...
Seems to avoid performance loss for compression.
Same strategy tested on decompression side, did not appear to improve
speed.
2017-03-02 15:18:13 -08:00
Sean Purcell
3d95925a59
Merge remote-tracking branch 'origin/dev' into m32
2017-03-02 15:17:56 -08:00
Sean Purcell
d44703d145
Offsets >= 32MB in 32-bits mode
2017-03-01 16:27:56 -08:00
Sean Purcell
a81d4fee58
Check to ensure ddict isn't null before dereference
2017-02-28 15:28:29 -08:00
Sean Purcell and GitHub
2302bfa4bf
Merge branch 'dev' into testcorpus
2017-02-26 22:27:31 -08:00
Sean Purcell
22468b0cc3
Fix some more ARM compile errors
...
https://travis-ci.org/facebook/zstd/jobs/204807461
Can't get them to reproduce the compile errors locally,
tested fix by forcing that test to run on Travis.
2017-02-24 10:55:42 -08:00
Sean Purcell and Sean Purcell
d590291d86
Fix -Wsign-compare issues in decodecorpus.c
...
https://travis-ci.org/facebook/zstd/jobs/204423280
2017-02-23 16:11:08 -08:00
Sean Purcell
822c7187d4
Merge branch 'dev' into doc
2017-02-23 15:23:24 -08:00
Sean Purcell
1d1932480e
Move educational_decoder to doc/ and add doc README
...
- Also make some minor bugfixes to educational decoder
2017-02-23 14:34:52 -08:00
Sean Purcell
3cd8d50c34
Update CLI and link from educational decoder
2017-02-23 13:06:50 -08:00
Sean Purcell
485ca8c352
Update tests/README.md
2017-02-23 10:27:00 -08:00
Sean Purcell
f119b62055
Create a tool that generates random, valid, Zstd frames for decoder testing
...
Note: Does not handle dictionaries currently
2017-02-22 16:08:34 -08:00
Sean Purcell
83038d236a
Fix bug in FSE distribution normalization
2017-02-22 13:52:48 -08:00
Sean Purcell
64417cd2ff
Describe ambiguity around skippable frames
2017-02-22 13:29:01 -08:00
Sean Purcell
9757cc811b
Update comment
2017-02-22 12:28:21 -08:00
Sean Purcell
9050e1925e
Change name to to findFrameCompressedSize and add skippable support
2017-02-22 12:12:34 -08:00
Sean Purcell
3bee41a70e
Add default distributions and fix typos
2017-02-21 10:20:36 -08:00
Sean Purcell
042419ec2a
Restructure Format Specification
2017-02-17 16:24:26 -08:00
Sean Purcell
0ed3901b05
Update overlength match test case
2017-02-16 13:36:57 -08:00
Sean Purcell
6b010dec80
execSequence copies up to 2*WILDCOPY_OVERLENGTH extra
2017-02-16 12:05:40 -08:00
Sean Purcell
887eaa9e21
Fix wildcopy overwriting data still in window
2017-02-15 16:43:45 -08:00
Sean Purcell
d7bfcac18a
Expose frameSrcSize to experimental API
2017-02-10 11:55:44 -08:00
Sean Purcell and GitHub
5069b6c2c3
Merge branch 'dev' into multiframe
2017-02-10 10:08:55 -08:00
Sean Purcell
269b2cd3d8
Documentation updates
2017-02-09 13:25:30 -08:00
Sean Purcell
84b37cc1f1
Fix failing unit test
2017-02-09 12:27:39 -08:00
Sean Purcell and GitHub
478d7174e5
Merge branch 'dev' into multiframe
2017-02-09 11:54:22 -08:00
Sean Purcell
2db7249265
Make pledgedSrcSize meaning clear for other functions
...
- Added tests
- Moved new size functions to static link only
2017-02-09 11:49:58 -08:00
Sean Purcell
e0b3265e87
Fix ZSTD_getErrorString and add tests
2017-02-08 17:28:49 -08:00
Sean Purcell
f07ddf88e8
Test multiframe legacy decoding with simple and streaming APIs
2017-02-08 15:13:20 -08:00
Sean Purcell
0f5c95af44
Disambiguate pledgedSrcSize == 0
...
- Modify ZSTD CLI to only set contentSizeFlag if it _knows_ the size
- Change pzstd to stop setting contentSizeFlag without accurate pledgedSrcSize
2017-02-08 15:12:46 -08:00
Sean Purcell
ba2ad9f25c
ZSTD_decompress now handles multiple frames
2017-02-08 14:50:10 -08:00
Sean Purcell
4e709712e1
Decompressed size functions now handle multiframes and distinguish cases
...
- Add ZSTD_findDecompressedSize
- Traverses multiple frames to find total output size
- Add ZSTD_getFrameContentSize
- Gets the decompressed size of a single frame by reading header
- Deprecate ZSTD_getDecompressedSize
2017-02-08 14:50:10 -08:00
Sean Purcell
eb52dbd4fe
Minor changes to educational decoder
2017-02-07 14:44:11 -08:00
Sean Purcell
f191be2fe6
Inlined portions of specification for clarity
2017-02-03 18:04:00 -08:00
Sean Purcell
18ce8b54dd
Switch IO to go through streams
2017-02-03 15:22:52 -08:00
Sean Purcell
823d8c233b
Minor security fixes
2017-02-01 10:41:04 -08:00
Sean Purcell
92ec2ea62f
More const's and readability improvements
2017-01-31 15:57:18 -08:00
Sean Purcell
f5d2f32d4d
Removed circular buffer, matches access destination buffer directly
2017-01-31 15:54:55 -08:00
Sean Purcell
f231626244
Minor fixes according to comments
...
- Add Facebook copyright notice
- Make max size macros more consistent
- Fix some unchecked malloc's
2017-01-30 15:00:19 -08:00
Sean Purcell
5657e0e07d
Added ZSTD_get_decompressed_size
...
Since this implementation handles multiple concatenated frames,
to determine decompressed size we must traverse the entire input,
checking each frame's frame_content_size field
2017-01-30 14:56:29 -08:00
Sean Purcell
9700f92583
Add educational decoder to /contrib
2017-01-30 11:44:43 -08:00
Sean Purcell
d86153d903
Edits as per comments, and change wildcard 'X' to '?'
2017-01-26 16:58:25 -08:00
Sean Purcell
81c9670226
Fixed commented issues
2017-01-26 11:15:34 -08:00
Sean Purcell
ab226d4828
Updated format specification to be easier to understand
2017-01-25 16:42:41 -08:00
Sean Purcell
0b5370ae38
Prefix notes with /**<
2017-01-18 13:45:02 -08:00
Sean Purcell
57d423c5df
Don't create dict in streaming apis if dictSize == 0
2017-01-17 14:31:35 -08:00
Sean Purcell
c44c4d5223
Fix missing 'OK' logging on fuzzer testcase
2017-01-12 09:38:33 -08:00
Sean Purcell
834ab50fa3
Fixed decompress_usingDict not propagating corrupted dictionary error
2017-01-11 17:31:34 -08:00