zchunk.git
7 years agoUse add_project_arguments instead of use_global_arguments
Jonathan Dieter [Thu, 22 Mar 2018 11:13:16 +0000 (13:13 +0200)]
Use add_project_arguments instead of use_global_arguments

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoMore documentation in zck.h
Jonathan Dieter [Thu, 22 Mar 2018 09:00:23 +0000 (11:00 +0200)]
More documentation in zck.h

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoSome more documentation on zck binary
Jonathan Dieter [Thu, 22 Mar 2018 08:28:30 +0000 (10:28 +0200)]
Some more documentation on zck binary

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoRename zckRange to zckRangeItem and zckRangeInfo to zckRange
Jonathan Dieter [Thu, 22 Mar 2018 08:27:34 +0000 (10:27 +0200)]
Rename zckRange to zckRangeItem and zckRangeInfo to zckRange

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoRename zckIndex to zckIndexItem and zckIndexInfo to zckIndex
Jonathan Dieter [Thu, 22 Mar 2018 08:26:02 +0000 (10:26 +0200)]
Rename zckIndex to zckIndexItem and zckIndexInfo to zckIndex

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoMore documentation
Jonathan Dieter [Thu, 22 Mar 2018 08:24:34 +0000 (10:24 +0200)]
More documentation

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoInitial rudimentary documentation for zck.h
Jonathan Dieter [Wed, 21 Mar 2018 19:25:28 +0000 (21:25 +0200)]
Initial rudimentary documentation for zck.h

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAdd index size to download amount since we're guaranteed to have to
Jonathan Dieter [Wed, 21 Mar 2018 19:06:25 +0000 (21:06 +0200)]
Add index size to download amount since we're guaranteed to have to
download the target index

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix zckdl to work with compressed integers
Jonathan Dieter [Wed, 21 Mar 2018 18:57:50 +0000 (20:57 +0200)]
Fix zckdl to work with compressed integers

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoInitial work in switching to compressed integers in header and index
Jonathan Dieter [Wed, 21 Mar 2018 13:08:35 +0000 (15:08 +0200)]
Initial work in switching to compressed integers in header and index

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoWrite to output file rather than temporary file
Jonathan Dieter [Tue, 20 Mar 2018 14:07:34 +0000 (16:07 +0200)]
Write to output file rather than temporary file

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoExtra error checking
Jonathan Dieter [Tue, 20 Mar 2018 14:07:03 +0000 (16:07 +0200)]
Extra error checking

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoSplit multirange parsing into multipart.c
Jonathan Dieter [Mon, 19 Mar 2018 19:11:51 +0000 (21:11 +0200)]
Split multirange parsing into multipart.c

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoSwitch download code to POSIX extended regex for more flexibility
Jonathan Dieter [Mon, 19 Mar 2018 13:12:29 +0000 (15:12 +0200)]
Switch download code to POSIX extended regex for more flexibility

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFinish code to allow downloading of zck files
Jonathan Dieter [Tue, 13 Mar 2018 19:10:04 +0000 (21:10 +0200)]
Finish code to allow downloading of zck files

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAdd preindex_size so we can easily figure out how far to seek in file, and
Jonathan Dieter [Tue, 13 Mar 2018 19:09:02 +0000 (21:09 +0200)]
Add preindex_size so we can easily figure out how far to seek in file, and
add offset to zck_read_header so we're getting real locations

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoWe can now download the missing parts of a zck file. Still need to write
Jonathan Dieter [Sun, 11 Mar 2018 08:58:19 +0000 (10:58 +0200)]
We can now download the missing parts of a zck file.  Still need to write
the code to combine them with the old parts.

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoMake sure we clear zckRangeInfo when closing it
Jonathan Dieter [Sun, 11 Mar 2018 08:57:18 +0000 (10:57 +0200)]
Make sure we clear zckRangeInfo when closing it

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoRemove unsuitable multipart_parser code
Jonathan Dieter [Sun, 11 Mar 2018 08:56:55 +0000 (10:56 +0200)]
Remove unsuitable multipart_parser code

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoMake zckDL struct public and add in function to get temporary fd and
Jonathan Dieter [Sun, 11 Mar 2018 08:56:41 +0000 (10:56 +0200)]
Make zckDL struct public and add in function to get temporary fd and
download range based on url and zckDL

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix bug in detecting failure to allocate zckCtx
Jonathan Dieter [Sun, 11 Mar 2018 08:54:39 +0000 (10:54 +0200)]
Fix bug in detecting failure to allocate zckCtx

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAdd null parameter checking for public functions
Jonathan Dieter [Wed, 7 Mar 2018 11:31:14 +0000 (13:31 +0200)]
Add null parameter checking for public functions

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFinish refactoring zckIndex and zckIndexInfo
Jonathan Dieter [Wed, 7 Mar 2018 11:30:49 +0000 (13:30 +0200)]
Finish refactoring zckIndex and zckIndexInfo

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAdd missing test directory
Jonathan Dieter [Wed, 7 Mar 2018 10:18:33 +0000 (12:18 +0200)]
Add missing test directory

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoUpdate LICENSE and README
Jonathan Dieter [Wed, 7 Mar 2018 10:17:08 +0000 (12:17 +0200)]
Update LICENSE and README

7 years agoInitial commit
Jonathan Dieter [Wed, 7 Mar 2018 07:48:33 +0000 (09:48 +0200)]
Initial commit

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoInitial commit
Jonathan Dieter [Wed, 7 Mar 2018 07:46:21 +0000 (09:46 +0200)]
Initial commit