Paul Cruz
|
89190ef07d
|
renamed pool.c to poolTests.c
|
2017-07-10 11:32:30 -07:00 |
|
Paul Cruz
|
7ac4724bd2
|
removed fnum from DISPLAY statements
|
2017-06-28 13:00:49 -07:00 |
|
Paul Cruz
|
e667d33b0b
|
fixed generation of buggy test, corrected DISPLAY statements for errors
|
2017-06-28 12:19:37 -07:00 |
|
Paul Cruz
|
d67212ab97
|
Merge remote-tracking branch 'upstream/dev' into dev
|
2017-06-28 09:45:54 -07:00 |
|
Paul Cruz
|
298fe9f23b
|
added cli tests to test-all
|
2017-06-23 17:10:41 -07:00 |
|
Paul Cruz
|
3a295a91f8
|
added additional condition so large offsets into the dictionary are not generated past windowSize
|
2017-06-23 15:54:51 -07:00 |
|
Paul Cruz
|
2085375816
|
fixed bug detected by the API test
|
2017-06-23 13:44:24 -07:00 |
|
Paul Cruz
|
8cd134559d
|
type warnings
|
2017-06-23 12:00:48 -07:00 |
|
Paul Cruz
|
4219acc60a
|
fixed bus error bug
|
2017-06-23 11:22:29 -07:00 |
|
Paul Cruz
|
2e8cc6f12a
|
added sizeof for clarity
|
2017-06-22 15:52:33 -07:00 |
|
Paul Cruz
|
6d7f442120
|
changed makefile test
|
2017-06-22 15:44:01 -07:00 |
|
Paul Cruz
|
b325a2e4db
|
changed assignment
|
2017-06-22 15:36:28 -07:00 |
|
Paul Cruz
|
2935239544
|
added description for dictionary cli tests
|
2017-06-22 15:23:59 -07:00 |
|
Paul Cruz
|
97a8f89bec
|
made changes to cli test so it runs properly
|
2017-06-22 15:13:41 -07:00 |
|
Paul Cruz
|
829eb29033
|
added cli test for decodecorpus inside tests/Makefile. Also changed calculation of offset
|
2017-06-22 14:43:44 -07:00 |
|
Paul Cruz
|
028fb9d01b
|
added cli test case in Makefile
|
2017-06-22 13:53:39 -07:00 |
|
Paul Cruz
|
98751f69e7
|
should be updating seed whenever multiple files are generated
|
2017-06-22 10:23:36 -07:00 |
|
Paul Cruz
|
84cfa07d2d
|
changed format of command to --use-dict=#
|
2017-06-22 10:04:14 -07:00 |
|
Paul Cruz
|
04094f37e9
|
fixed offset in this case os that it always goes past src start
|
2017-06-21 18:47:40 -07:00 |
|
Paul Cruz
|
0950b3159a
|
more meaningful names for count variables
|
2017-06-21 18:30:27 -07:00 |
|
Paul Cruz
|
0b6eedeace
|
malloc samples instead of static allocation
|
2017-06-21 18:24:19 -07:00 |
|
Paul Cruz
|
52a13abf3f
|
removed comment regarding windowSize requirement
|
2017-06-21 18:13:52 -07:00 |
|
Paul Cruz
|
32e36c2d9a
|
removed requirement that offset be less than windowSize
|
2017-06-21 18:00:47 -07:00 |
|
Paul Cruz
|
eeff2d0e3c
|
added const x2
|
2017-06-21 17:48:37 -07:00 |
|
Paul Cruz
|
04253e21bb
|
added const
|
2017-06-21 17:48:01 -07:00 |
|
Paul Cruz
|
2ceaec1aad
|
got rid of unnecessary casting to void*
|
2017-06-21 17:46:37 -07:00 |
|
Paul Cruz
|
ccae9ec807
|
added comment addressing use of bits in frame header descriptor
|
2017-06-21 17:43:21 -07:00 |
|
Paul Cruz
|
5be0f5544e
|
added newline to align output
|
2017-06-21 12:41:10 -07:00 |
|
Paul Cruz
|
6f5fe71041
|
added error check for when file could not be opened
|
2017-06-21 12:37:23 -07:00 |
|
Paul Cruz
|
74a725da69
|
reversed calculation of ratio
|
2017-06-21 12:27:20 -07:00 |
|
Paul Cruz
|
db3606e249
|
added test for files with no frame content size
|
2017-06-20 17:43:36 -07:00 |
|
Paul Cruz
|
acf0df678c
|
fixed strange spacing
|
2017-06-20 15:41:43 -07:00 |
|
Paul Cruz
|
69bc4fab25
|
free the context object once done with decompression
|
2017-06-20 15:37:14 -07:00 |
|
Paul Cruz
|
ceb4f65620
|
allocate statically so we don't have to deal with freeing
|
2017-06-20 15:31:54 -07:00 |
|
Paul Cruz
|
a73c2a444a
|
added tests with null files, changed condition to check that the file is more than 0 bytes
|
2017-06-20 14:33:08 -07:00 |
|
Paul Cruz
|
58c19b4202
|
spacing matters for test scripts
|
2017-06-20 14:14:53 -07:00 |
|
Paul Cruz
|
0765602903
|
fixed error where extremely small files were not being detected as not compressed with zstd
|
2017-06-20 14:04:46 -07:00 |
|
Paul Cruz
|
3701dde3ba
|
changed to use LONG_SEEK
|
2017-06-20 13:44:05 -07:00 |
|
Paul Cruz
|
93a5510962
|
added progress metric to display
|
2017-06-20 13:26:25 -07:00 |
|
Paul Cruz
|
bda57754a2
|
moved signifcant operations to fileio.c
|
2017-06-20 12:43:10 -07:00 |
|
Paul Cruz
|
c594507871
|
removed double if statements for same condition
|
2017-06-20 11:59:45 -07:00 |
|
Paul Cruz
|
72e0ac9929
|
minor update to logic
|
2017-06-20 11:58:27 -07:00 |
|
Paul Cruz
|
cea55a9217
|
size_t const value
|
2017-06-20 11:56:11 -07:00 |
|
Paul Cruz
|
b07d0af2ba
|
added additional tests for error detection
|
2017-06-20 11:54:44 -07:00 |
|
Paul Cruz
|
bed0dc95bc
|
changed displayInfo alignment and const
|
2017-06-20 11:47:24 -07:00 |
|
Paul Cruz
|
43ffcdde40
|
const dictOffset
|
2017-06-20 11:27:39 -07:00 |
|
Paul Cruz
|
1e0d125e76
|
const value
|
2017-06-20 11:15:26 -07:00 |
|
Paul Cruz
|
0034129270
|
made changes to accommodate single file use case
|
2017-06-20 11:07:38 -07:00 |
|
Paul Cruz
|
6a99de2dd8
|
change test to list info on .zst files
|
2017-06-20 10:45:06 -07:00 |
|
Paul Cruz
|
36e14b1963
|
added description to advanced usage, changed to use-dict
|
2017-06-20 10:34:34 -07:00 |
|
Paul Cruz
|
15102069a1
|
removed testing code from generation code
|
2017-06-20 10:25:16 -07:00 |
|
Paul Cruz
|
ff5589c091
|
added comments for clarity
|
2017-06-20 10:17:38 -07:00 |
|
Paul Cruz
|
551fb7ca05
|
changed error condition
|
2017-06-20 10:14:03 -07:00 |
|
Paul Cruz
|
b8237c6c66
|
refactoring for readability
|
2017-06-20 10:12:13 -07:00 |
|
Paul Cruz
|
6f17de2132
|
changed computation for readability
|
2017-06-20 09:50:28 -07:00 |
|
Paul Cruz
|
cb2dbe6434
|
changed fileInfo initialization, updated error code
|
2017-06-20 09:35:21 -07:00 |
|
Paul Cruz
|
4a4f9ba262
|
const value that doesn't change
|
2017-06-19 17:46:21 -07:00 |
|
Paul Cruz
|
3a6856edca
|
changed scope to avoid errors
|
2017-06-19 17:43:16 -07:00 |
|
Paul Cruz
|
7d2b5613b4
|
adhere to min dict size
|
2017-06-19 17:37:14 -07:00 |
|
Paul Cruz
|
ea2af1ffc4
|
changed dictionary to stay reasonable size during test
|
2017-06-19 17:34:50 -07:00 |
|
Paul Cruz
|
fdbb07283a
|
added test to runTestMode
|
2017-06-19 17:29:15 -07:00 |
|
Paul Cruz
|
bdec7b8ce7
|
fixed for loop declaration, fixed test case
|
2017-06-19 17:18:43 -07:00 |
|
Paul Cruz
|
23098b53e8
|
wrote a test for dictionary corpus
|
2017-06-19 17:13:00 -07:00 |
|
Paul Cruz
|
7a26390989
|
changing for loop declaration
|
2017-06-19 16:39:57 -07:00 |
|
Paul Cruz
|
147ef05f12
|
for loop declaration not allowed
|
2017-06-19 16:38:51 -07:00 |
|
Paul Cruz
|
791352ad0e
|
scope change
|
2017-06-19 16:32:38 -07:00 |
|
Paul Cruz
|
365e265a8e
|
changed scope so that warning disappears
|
2017-06-19 16:28:40 -07:00 |
|
Paul Cruz
|
f4f928595b
|
changed scope to get rid of mixed code/variables warning
|
2017-06-19 16:27:05 -07:00 |
|
Paul Cruz
|
7ea025cc7d
|
added in struct to keep functions more orderly
|
2017-06-19 16:23:00 -07:00 |
|
Paul Cruz
|
b91b810c64
|
made some small changes to dictInfo struct and initDictInfo
|
2017-06-19 16:05:05 -07:00 |
|
Paul Cruz
|
1ee4f6b36c
|
cleaning up code
|
2017-06-19 15:55:01 -07:00 |
|
Paul Cruz
|
2a52d72712
|
added comment to anotate decompressed error code
|
2017-06-19 14:21:35 -07:00 |
|
Paul Cruz
|
73ebb646d8
|
small stylistic changes
|
2017-06-19 14:20:35 -07:00 |
|
Paul Cruz
|
34f4e5cab2
|
changed if statement styling
|
2017-06-19 14:07:56 -07:00 |
|
Paul Cruz
|
1fc1a35dc4
|
added calls to free to match calls to malloc, made some stylistic changes, added init function for new struct
|
2017-06-19 14:02:27 -07:00 |
|
Paul Cruz
|
8f4fa43fe8
|
got files to decompress
|
2017-06-19 13:21:50 -07:00 |
|
Paul Cruz
|
da4ddc1f76
|
fixed decompression so that it uses compressed version
|
2017-06-19 11:40:45 -07:00 |
|
Paul Cruz
|
33467add60
|
made changes so that HUF_writeCTable no longer fails
|
2017-06-19 11:27:50 -07:00 |
|
Paul Cruz
|
55b9b28dad
|
made style changes, added description in man file
|
2017-06-19 09:55:55 -07:00 |
|
Paul Cruz
|
09ac51b56b
|
small style changes
|
2017-06-19 09:24:38 -07:00 |
|
Paul Cruz
|
e3609ee869
|
Merge branch 'list' into dev
|
2017-06-15 18:09:15 -07:00 |
|
Paul Cruz
|
4a0e4c856c
|
fixing more spacing on loops
|
2017-06-15 18:08:22 -07:00 |
|
Paul Cruz
|
2f30433cd7
|
fixing general style
|
2017-06-15 18:06:32 -07:00 |
|
Paul Cruz
|
3a5cead6aa
|
Merge branch 'list' into dev
|
2017-06-15 17:53:00 -07:00 |
|
Paul Cruz
|
b3e62446c6
|
added in correct error return from main in zstdcli.c
|
2017-06-15 17:46:49 -07:00 |
|
Paul Cruz
|
0d7c4d766a
|
initialized info manually to avoid error
|
2017-06-15 17:30:18 -07:00 |
|
Paul Cruz
|
d3b34e4a25
|
changed spacing on if statements
|
2017-06-15 17:12:41 -07:00 |
|
Paul Cruz
|
b316691f91
|
added const
|
2017-06-15 17:03:59 -07:00 |
|
Paul Cruz
|
60a2e55e2e
|
added case for when file is not compressed with zstd (incorrect magic number)
|
2017-06-15 17:00:59 -07:00 |
|
Paul Cruz
|
ddd1ab710c
|
added tests in playTest.sh
|
2017-06-15 16:53:03 -07:00 |
|
Paul Cruz
|
dc80b3c798
|
Merge branch 'list' into dev
|
2017-06-15 16:46:54 -07:00 |
|
Paul Cruz
|
acaefb531b
|
refactoring brackets to allow for const values
|
2017-06-15 16:27:38 -07:00 |
|
Paul Cruz
|
0757eae6ff
|
rearranging code to allow for consts
|
2017-06-15 16:12:04 -07:00 |
|
Paul Cruz
|
e49afae2ab
|
changed implicit precision loss again
|
2017-06-15 16:03:40 -07:00 |
|
Paul Cruz
|
54e0b6c66b
|
got rid of imlpicit precision loss
|
2017-06-15 16:01:52 -07:00 |
|
Paul Cruz
|
b766211e10
|
made another function static
|
2017-06-15 15:55:49 -07:00 |
|
Paul Cruz
|
e7f02fc58a
|
closed file at end of function, created another variable to keep exit points simpler
|
2017-06-15 15:53:02 -07:00 |
|
Paul Cruz
|
8b3ff7c9bc
|
changed info to static allocation
|
2017-06-15 15:35:37 -07:00 |
|
Paul Cruz
|
96cabf7233
|
cleaned up if statements
|
2017-06-15 15:25:20 -07:00 |
|
Paul Cruz
|
9437cc7498
|
added --list command
|
2017-06-15 15:07:54 -07:00 |
|