5 years ago Stefan Sperling
check for errors from fclose()
remove struct got_object from public library API
like libgit2's c15771104 (delta: fix overflow when computing limit)
bounds checks before memcpy in got_delta_apply_in_mem()
no need to zero got_delta during allocation
don't store copies of packfile paths in each delta
6 years ago Stefan Sperling
rename zbuf to inflate
store commit timestamps as 'struct tm' in UTC
look up deltas in the correct pack file
rename the library-internal headers again to a common prefix
cache delta data in struct got_delta directly
set obj->size of packed deltified objects to object's actual size
stop opening pack files redundantly to read deltas
process small deltas in memory; unfortunately it is not faster...
process delta chains in memory if max size is < 32 MB
expand deltas in memory if result size is < 32MB
rename library-private headers from *_priv.h to *_lib.h
rename got_zb_priv.h to got_zbuf_priv.h
rename private header filenames so they are in got_ namespace
read delta data from the right offset
fix a bug where we'd skip commands in the delta stream
we must store delta's type-and-size length separately to skip it
tweak the API which inflates data to a file
Improve delta combiner docs and rename a macro for clarity.
implement delta combiner and a small test suite for it