zchunk.git
7 years agoBump to 0.9.13
Jonathan Dieter [Mon, 8 Oct 2018 13:53:06 +0000 (14:53 +0100)]
Bump to 0.9.13

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoUpdate tests for zstd-1.3.6
Jonathan Dieter [Mon, 8 Oct 2018 13:51:31 +0000 (14:51 +0100)]
Update tests for zstd-1.3.6

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoBump to 0.9.12
Jonathan Dieter [Mon, 8 Oct 2018 13:28:14 +0000 (14:28 +0100)]
Bump to 0.9.12

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix empty.optflags.zck
Jonathan Dieter [Mon, 8 Oct 2018 13:25:36 +0000 (14:25 +0100)]
Fix empty.optflags.zck

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoNew test to check whether decompressing unknown optional flags works
Jonathan Dieter [Mon, 8 Oct 2018 13:19:45 +0000 (14:19 +0100)]
New test to check whether decompressing unknown optional flags works

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAdd new empty zchunk file with optional flags to tests
Jonathan Dieter [Mon, 8 Oct 2018 13:05:50 +0000 (14:05 +0100)]
Add new empty zchunk file with optional flags to tests

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoRevert "Code to create test zchunk file with optional flags"
Jonathan Dieter [Mon, 8 Oct 2018 13:05:10 +0000 (14:05 +0100)]
Revert "Code to create test zchunk file with optional flags"

This reverts commit cf4d76a6e3882cd3aea012d507020cd714bf563a.

7 years agoCode to create test zchunk file with optional flags
Jonathan Dieter [Mon, 8 Oct 2018 13:05:00 +0000 (14:05 +0100)]
Code to create test zchunk file with optional flags

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAdd support for optional flags
Jonathan Dieter [Mon, 8 Oct 2018 12:57:42 +0000 (13:57 +0100)]
Add support for optional flags

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAdd format definition for optional flags
Jonathan Dieter [Mon, 8 Oct 2018 12:42:44 +0000 (13:42 +0100)]
Add format definition for optional flags

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoBump to 0.9.11
Jonathan Dieter [Thu, 27 Sep 2018 13:17:14 +0000 (14:17 +0100)]
Bump to 0.9.11

7 years agozck may be NULL, so don't validate it
Jonathan Dieter [Thu, 27 Sep 2018 13:15:01 +0000 (14:15 +0100)]
zck may be NULL, so don't validate it

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoRemove printf intended for testing
Jonathan Dieter [Fri, 21 Sep 2018 12:18:22 +0000 (13:18 +0100)]
Remove printf intended for testing

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoUpdate README.md to include Jenkins build status
Jonathan Dieter [Wed, 19 Sep 2018 12:39:11 +0000 (13:39 +0100)]
Update README.md to include Jenkins build status

7 years agoUpdate README.md to include Coverity badge
Jonathan Dieter [Tue, 18 Sep 2018 21:56:50 +0000 (22:56 +0100)]
Update README.md to include Coverity badge

7 years agoBump to 0.9.10
Jonathan Dieter [Tue, 18 Sep 2018 12:57:16 +0000 (13:57 +0100)]
Bump to 0.9.10

7 years agoCoverity doesn't like that tmpdir can be changed by an environmental
Jonathan Dieter [Tue, 18 Sep 2018 12:54:28 +0000 (13:54 +0100)]
Coverity doesn't like that tmpdir can be changed by an environmental
variable, so we're going to untaint it by manually doing an equivalent of
strcpy().
(Coverity ID: 310902)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAdd stdlib.h and stdbool.h to zck.h as we use types defined in them in the
Jonathan Dieter [Tue, 18 Sep 2018 12:53:05 +0000 (13:53 +0100)]
Add stdlib.h and stdbool.h to zck.h as we use types defined in them in the
header

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoBuild tests when -Dcoverity=true is defined because they're now excluded
Jonathan Dieter [Tue, 18 Sep 2018 12:40:12 +0000 (13:40 +0100)]
Build tests when -Dcoverity=true is defined because they're now excluded
in coverity

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoWhen removing a range, pass next range to calling function, which makes
Jonathan Dieter [Tue, 18 Sep 2018 12:39:50 +0000 (13:39 +0100)]
When removing a range, pass next range to calling function, which makes
coverity happy
(Coverity ID: 310898)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoBump to 0.9.8
Jonathan Dieter [Fri, 14 Sep 2018 15:29:40 +0000 (16:29 +0100)]
Bump to 0.9.8

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoRemove NULL check for variable that's guaranteed to be set
Jonathan Dieter [Fri, 14 Sep 2018 15:10:17 +0000 (16:10 +0100)]
Remove NULL check for variable that's guaranteed to be set
(Coverity ID: 320285)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoBump to 0.9.8
Jonathan Dieter [Fri, 14 Sep 2018 14:41:01 +0000 (15:41 +0100)]
Bump to 0.9.8

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix use after free
Jonathan Dieter [Fri, 14 Sep 2018 14:39:06 +0000 (15:39 +0100)]
Fix use after free
(Coverity ID: 310897)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix resource leak
Jonathan Dieter [Fri, 14 Sep 2018 14:33:59 +0000 (15:33 +0100)]
Fix resource leak
(Coverity ID: 310899)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix resource leak
Jonathan Dieter [Fri, 14 Sep 2018 14:31:34 +0000 (15:31 +0100)]
Fix resource leak
(Coverity ID: 310900)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix resource leak
Jonathan Dieter [Fri, 14 Sep 2018 14:28:57 +0000 (15:28 +0100)]
Fix resource leak
(Coverity ID: 310901)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoMake sure TMPDIR has a size limit
Jonathan Dieter [Fri, 14 Sep 2018 14:26:54 +0000 (15:26 +0100)]
Make sure TMPDIR has a size limit
(Coverity ID: 310902)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoRefactor code so it's easier to read
Jonathan Dieter [Fri, 14 Sep 2018 14:04:09 +0000 (15:04 +0100)]
Refactor code so it's easier to read

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoRemove logically dead code
Jonathan Dieter [Fri, 14 Sep 2018 14:00:56 +0000 (15:00 +0100)]
Remove logically dead code
(Coverity ID: 310904)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoCreate zrealloc and change zmalloc so they assert that memory is allocated.
Jonathan Dieter [Fri, 14 Sep 2018 13:51:17 +0000 (14:51 +0100)]
Create zrealloc and change zmalloc so they assert that memory is allocated.
Remove NULL checks after zmalloc and zrealloc.

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAssert that blank malloc and calloc are allocated and remove error checking
Jonathan Dieter [Fri, 14 Sep 2018 13:45:04 +0000 (14:45 +0100)]
Assert that blank malloc and calloc are allocated and remove error checking

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix dereference before NULL
Jonathan Dieter [Fri, 14 Sep 2018 12:42:22 +0000 (13:42 +0100)]
Fix dereference before NULL
(Coverity ID: 310906)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix dict_size so it's signed
Jonathan Dieter [Fri, 14 Sep 2018 12:38:29 +0000 (13:38 +0100)]
Fix dict_size so it's signed
(Coverity ID: 310907)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix dereference before NULL check and add extra checks
Jonathan Dieter [Fri, 14 Sep 2018 12:35:09 +0000 (13:35 +0100)]
Fix dereference before NULL check and add extra checks
(Coverity ID: 310908)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix uninitialized variable
Jonathan Dieter [Fri, 14 Sep 2018 12:22:54 +0000 (13:22 +0100)]
Fix uninitialized variable
(Coverity ID: 310909)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix memory leak
Jonathan Dieter [Fri, 14 Sep 2018 12:21:58 +0000 (13:21 +0100)]
Fix memory leak
(Coverity ID: 310910)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix memory leak (and slowly start process of asserting zmalloc success)
Jonathan Dieter [Fri, 14 Sep 2018 12:21:35 +0000 (13:21 +0100)]
Fix memory leak (and slowly start process of asserting zmalloc success)
(Coverity ID: 310911

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoSet umask before running mkstemp because some UNIX flavors don't do this
Jonathan Dieter [Fri, 14 Sep 2018 12:11:46 +0000 (13:11 +0100)]
Set umask before running mkstemp because some UNIX flavors don't do this
automatically.
(Coverity ID: 310912)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAdd coverity flag to fix builds for coverity
Jonathan Dieter [Fri, 14 Sep 2018 12:00:33 +0000 (13:00 +0100)]
Add coverity flag to fix builds for coverity

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoRemove srpm-specific code that was only there for testing purposes
Jonathan Dieter [Fri, 14 Sep 2018 11:59:52 +0000 (12:59 +0100)]
Remove srpm-specific code that was only there for testing purposes

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoEmpty commit to trigger automatic rebuild
Jonathan Dieter [Mon, 13 Aug 2018 15:46:50 +0000 (16:46 +0100)]
Empty commit to trigger automatic rebuild

7 years agoBump to 0.9.7
Jonathan Dieter [Fri, 10 Aug 2018 11:34:00 +0000 (13:34 +0200)]
Bump to 0.9.7

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoClean up dictionary generation script
Jonathan Dieter [Thu, 9 Aug 2018 11:54:40 +0000 (13:54 +0200)]
Clean up dictionary generation script

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAdd contrib program to generate dictionary
Jonathan Dieter [Thu, 9 Aug 2018 11:42:24 +0000 (13:42 +0200)]
Add contrib program to generate dictionary

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoBump to 0.9.6
Jonathan Dieter [Thu, 2 Aug 2018 13:42:19 +0000 (14:42 +0100)]
Bump to 0.9.6

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix Debian autotest to use meson and libzstd in backports
Jonathan Dieter [Thu, 2 Aug 2018 13:29:05 +0000 (14:29 +0100)]
Fix Debian autotest to use meson and libzstd in backports

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoRevert "See if this will work with meson >= 0.37.0 (version in Debian Stretch)"
Jonathan Dieter [Thu, 2 Aug 2018 11:14:40 +0000 (12:14 +0100)]
Revert "See if this will work with meson >= 0.37.0 (version in Debian Stretch)"

meson 0.37 doesn't have all the functions we need

This reverts commit e0cd6d49eb6c236b38c8227e85e36cfedf76259e.

7 years agoSee if this will work with meson >= 0.37.0 (version in Debian Stretch)
Jonathan Dieter [Thu, 2 Aug 2018 11:11:34 +0000 (12:11 +0100)]
See if this will work with meson >= 0.37.0 (version in Debian Stretch)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoDisable auto-features on distributions that don't support them
Jonathan Dieter [Thu, 2 Aug 2018 11:01:59 +0000 (12:01 +0100)]
Disable auto-features on distributions that don't support them

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoMake backwards compatible with 0.44+
Jonathan Dieter [Thu, 2 Aug 2018 10:59:41 +0000 (11:59 +0100)]
Make backwards compatible with 0.44+

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix test so it doesn't give a meson error if zstd isn't enabled
Jonathan Dieter [Thu, 2 Aug 2018 10:58:44 +0000 (11:58 +0100)]
Fix test so it doesn't give a meson error if zstd isn't enabled

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoError handling cleanup
Jonathan Dieter [Wed, 1 Aug 2018 20:27:38 +0000 (21:27 +0100)]
Error handling cleanup

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix tests so they work with zstd <= 1.3.4 as well as 1.3.5+
Jonathan Dieter [Wed, 1 Aug 2018 17:19:36 +0000 (18:19 +0100)]
Fix tests so they work with zstd <= 1.3.4 as well as 1.3.5+

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoBump to 0.9.5
Jonathan Dieter [Wed, 1 Aug 2018 12:53:36 +0000 (13:53 +0100)]
Bump to 0.9.5

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoSet empty zck test to be serial, since other tests depend on its output
Jonathan Dieter [Wed, 1 Aug 2018 12:52:06 +0000 (13:52 +0100)]
Set empty zck test to be serial, since other tests depend on its output

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoBump to 0.9.4
Jonathan Dieter [Wed, 1 Aug 2018 12:35:48 +0000 (13:35 +0100)]
Bump to 0.9.4

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoUpdate test checksums
Jonathan Dieter [Wed, 1 Aug 2018 12:34:20 +0000 (13:34 +0100)]
Update test checksums

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoWork around non-deterministic compression when using contexts in
Jonathan Dieter [Wed, 1 Aug 2018 12:34:06 +0000 (13:34 +0100)]
Work around non-deterministic compression when using contexts in
zstd-1.3.5

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix undeterministic rol32 on ppc64, ppc64le, arm7 and s390x
Jonathan Dieter [Wed, 1 Aug 2018 12:32:53 +0000 (13:32 +0100)]
Fix undeterministic rol32 on ppc64, ppc64le, arm7 and s390x

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoBump to 0.9.3
Jonathan Dieter [Tue, 31 Jul 2018 21:09:37 +0000 (22:09 +0100)]
Bump to 0.9.3

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix intermittent problem with autochunking not being deterministic
Jonathan Dieter [Tue, 31 Jul 2018 21:08:13 +0000 (22:08 +0100)]
Fix intermittent problem with autochunking not being deterministic

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoConsistent colons
Jonathan Dieter [Tue, 31 Jul 2018 14:55:01 +0000 (15:55 +0100)]
Consistent colons

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoBump to 0.9.2
Jonathan Dieter [Mon, 30 Jul 2018 22:06:27 +0000 (23:06 +0100)]
Bump to 0.9.2

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix various memory leaks (#9)
Jonathan Dieter [Mon, 30 Jul 2018 21:44:29 +0000 (22:44 +0100)]
Fix various memory leaks (#9)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoMake build options a bit more mesonic
Jonathan Dieter [Mon, 30 Jul 2018 21:14:33 +0000 (22:14 +0100)]
Make build options a bit more mesonic

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoMerge remote-tracking branch 'remotes/origin/master'
Jonathan Dieter [Mon, 30 Jul 2018 16:59:19 +0000 (17:59 +0100)]
Merge remote-tracking branch 'remotes/origin/master'

7 years agoConvert from int with defined True/False to bool from stdbool.h
Jonathan Dieter [Mon, 30 Jul 2018 16:57:46 +0000 (17:57 +0100)]
Convert from int with defined True/False to bool from stdbool.h

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoMerge pull request #6 from ignatenkobrain/build-feature
Jonathan Dieter [Mon, 30 Jul 2018 12:09:28 +0000 (13:09 +0100)]
Merge pull request #6 from ignatenkobrain/build-feature

build: use 'feature' option type

7 years agosimplify autotests
Igor Gnatenko [Mon, 30 Jul 2018 11:28:26 +0000 (13:28 +0200)]
simplify autotests

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
7 years agobuild: use 'feature' option type
Igor Gnatenko [Mon, 30 Jul 2018 11:17:05 +0000 (13:17 +0200)]
build: use 'feature' option type

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
7 years agoShorten test names so they look nicer
Jonathan Dieter [Thu, 26 Jul 2018 22:09:43 +0000 (23:09 +0100)]
Shorten test names so they look nicer

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAdd more tests including nocomp test
Jonathan Dieter [Thu, 26 Jul 2018 22:03:39 +0000 (23:03 +0100)]
Add more tests including nocomp test

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix nocomp decompression
Jonathan Dieter [Thu, 26 Jul 2018 22:03:11 +0000 (23:03 +0100)]
Fix nocomp decompression

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix nocomp compression
Jonathan Dieter [Thu, 26 Jul 2018 21:15:47 +0000 (22:15 +0100)]
Fix nocomp compression

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoUpdate checksums for zstd-1.3.5
Jonathan Dieter [Thu, 26 Jul 2018 15:45:43 +0000 (16:45 +0100)]
Update checksums for zstd-1.3.5

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAdd compression and decompression tests
Jonathan Dieter [Thu, 26 Jul 2018 14:35:27 +0000 (15:35 +0100)]
Add compression and decompression tests

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoUpdate shacheck script so it can ran command with variable arguments
Jonathan Dieter [Thu, 26 Jul 2018 14:35:04 +0000 (15:35 +0100)]
Update shacheck script so it can ran command with variable arguments

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAllow specification of output file in zck
Jonathan Dieter [Thu, 26 Jul 2018 14:34:19 +0000 (15:34 +0100)]
Allow specification of output file in zck

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAdd new test script for running a program and checking the ouput checksum
Jonathan Dieter [Thu, 26 Jul 2018 13:56:02 +0000 (14:56 +0100)]
Add new test script for running a program and checking the ouput checksum

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoGive executables names in meson
Jonathan Dieter [Thu, 26 Jul 2018 13:55:19 +0000 (14:55 +0100)]
Give executables names in meson

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoUse _GNU_SOURCE so we can use easy basename() function
Jonathan Dieter [Thu, 26 Jul 2018 13:54:58 +0000 (14:54 +0100)]
Use _GNU_SOURCE so we can use easy basename() function

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoSet new minimum and maximum chunk sizes for both automatic and manual
Jonathan Dieter [Wed, 25 Jul 2018 22:48:13 +0000 (23:48 +0100)]
Set new minimum and maximum chunk sizes for both automatic and manual
chunking

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoABI change: Make manual chunking a compression option
Jonathan Dieter [Wed, 25 Jul 2018 21:03:03 +0000 (22:03 +0100)]
ABI change: Make manual chunking a compression option

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoBump to 0.9.1
Jonathan Dieter [Wed, 25 Jul 2018 16:09:19 +0000 (17:09 +0100)]
Bump to 0.9.1

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix header change
Jonathan Dieter [Wed, 25 Jul 2018 16:07:53 +0000 (17:07 +0100)]
Fix header change

7 years agoFix format not a string literal and no format arguments, and make errors
Jonathan Dieter [Wed, 25 Jul 2018 16:05:51 +0000 (17:05 +0100)]
Fix format not a string literal and no format arguments, and make errors
const

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoUpdate README.md
Jonathan Dieter [Wed, 25 Jul 2018 15:53:47 +0000 (16:53 +0100)]
Update README.md

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoBump to 0.9.0
Jonathan Dieter [Wed, 25 Jul 2018 15:40:24 +0000 (16:40 +0100)]
Bump to 0.9.0

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoRemove "quiet" option as it no longer makes sense with new error reporting
Jonathan Dieter [Wed, 25 Jul 2018 15:32:47 +0000 (16:32 +0100)]
Remove "quiet" option as it no longer makes sense with new error reporting

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoImprove zck_read_header with new options and headers for chunk columns
Jonathan Dieter [Wed, 25 Jul 2018 15:28:25 +0000 (16:28 +0100)]
Improve zck_read_header with new options and headers for chunk columns

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix zckdl
Jonathan Dieter [Wed, 25 Jul 2018 15:27:47 +0000 (16:27 +0100)]
Fix zckdl

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoRename _VALIDATE_* to ALLOCD_*
Jonathan Dieter [Wed, 25 Jul 2018 14:57:26 +0000 (15:57 +0100)]
Rename _VALIDATE_* to ALLOCD_*

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoRename VALIDATE_*_CHAR to VALIDATE_*_PTR
Jonathan Dieter [Wed, 25 Jul 2018 14:53:37 +0000 (15:53 +0100)]
Rename VALIDATE_*_CHAR to VALIDATE_*_PTR

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoRename VALIDATE_*_TRI to VALIDATE_*_INT
Jonathan Dieter [Wed, 25 Jul 2018 14:51:22 +0000 (15:51 +0100)]
Rename VALIDATE_*_TRI to VALIDATE_*_INT

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoRemove unnecessary newlines
Jonathan Dieter [Wed, 25 Jul 2018 14:48:36 +0000 (15:48 +0100)]
Remove unnecessary newlines

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years ago_VALIDATE_* might not be zckCtx
Jonathan Dieter [Wed, 25 Jul 2018 14:46:53 +0000 (15:46 +0100)]
_VALIDATE_* might not be zckCtx

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix unzck so it checks the data hash *before* decompressing any chunks
Jonathan Dieter [Wed, 25 Jul 2018 14:45:55 +0000 (15:45 +0100)]
Fix unzck so it checks the data hash *before* decompressing any chunks

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAPI CHANGE: Update API with new error functions
Jonathan Dieter [Tue, 24 Jul 2018 21:30:30 +0000 (22:30 +0100)]
API CHANGE: Update API with new error functions

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoUpdate test cases to use new error functions
Jonathan Dieter [Tue, 24 Jul 2018 21:30:05 +0000 (22:30 +0100)]
Update test cases to use new error functions

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>