5 years ago fb43ecf150 Stefan Sperling
check for errors from fclose()
5 years ago 15a949835c Stefan Sperling
remove struct got_object from public library API
5 years ago b2f7af546d Stefan Sperling
like libgit2's c15771104 (delta: fix overflow when computing limit)
5 years ago 34fca9c35c Stefan Sperling
bounds checks before memcpy in got_delta_apply_in_mem()
5 years ago 14118581d8 Stefan Sperling
no need to zero got_delta during allocation
6 years ago c336f88938 Stefan Sperling
don't store copies of packfile paths in each delta
6 years ago 6358180434 Stefan Sperling
rename zbuf to inflate
6 years ago 788c352e1f Stefan Sperling
store commit timestamps as 'struct tm' in UTC
6 years ago 72eb343178 Stefan Sperling
look up deltas in the correct pack file
6 years ago 718b3ab0e3 Stefan Sperling
rename the library-internal headers again to a common prefix
6 years ago a53d2f1379 Stefan Sperling
cache delta data in struct got_delta directly
6 years ago b29656e27e Stefan Sperling
set obj->size of packed deltified objects to object's actual size
6 years ago ef2bccd93f Stefan Sperling
stop opening pack files redundantly to read deltas
6 years ago 8628c62d73 Stefan Sperling
process small deltas in memory; unfortunately it is not faster...
6 years ago 224848656b Stefan Sperling
process delta chains in memory if max size is < 32 MB
6 years ago 39ff877fbb Stefan Sperling
expand deltas in memory if result size is < 32MB
6 years ago 32cb896c4b Stefan Sperling
rename library-private headers from *_priv.h to *_lib.h
6 years ago 5677e194b1 Stefan Sperling
rename got_zb_priv.h to got_zbuf_priv.h
6 years ago 1411938ba6 Stefan Sperling
rename private header filenames so they are in got_ namespace
6 years ago bdd2fbb322 Stefan Sperling
read delta data from the right offset
6 years ago 06e5fc98c0 Stefan Sperling
fix a bug where we'd skip commands in the delta stream
6 years ago 0e22967e43 Stefan Sperling
we must store delta's type-and-size length separately to skip it
6 years ago 3606d7fc8e Stefan Sperling
tweak the API which inflates data to a file
6 years ago 824801e7ef Stefan Sperling
Improve delta combiner docs and rename a macro for clarity.
6 years ago 885d3e0206 Stefan Sperling
implement delta combiner and a small test suite for it