6 years ago be89e2b1c0 Stefan Sperling
In read_to_mem() loop, don't overwrite already read blocks
6 years ago 1411938ba6 Stefan Sperling
rename private header filenames so they are in got_ namespace
6 years ago ef0981d5bf Stefan Sperling
make length of id string an implementation detail
6 years ago 6dfa2fd3f6 Stefan Sperling
remove got_parse_object_id(), add got_object_open_by_id_str() instead
6 years ago 59ece79d29 Stefan Sperling
make struct got_object_id opaque
6 years ago 908b019409 Stefan Sperling
move struct got_zstream_buf to private header zb.h
6 years ago f934cf2c63 Stefan Sperling
make struct got_blob_object opaque
6 years ago eb651edf82 Stefan Sperling
more progress on reading packed/deltified objects
6 years ago 126ee0608b Stefan Sperling
remove insize arg from inflate_read()
6 years ago c743ac7dd2 Stefan Sperling
remove pointless loops in read_{commit,tree}_object()
6 years ago 90356acc35 Stefan Sperling
Fix missing error check in parse_tree_object().
6 years ago 885d3e0206 Stefan Sperling
implement delta combiner and a small test suite for it
6 years ago 4ca7b755cd Stefan Sperling
Move zlib wrapper/buffering code into a separate file.
6 years ago 1db76ab588 Martin Pieuchot
Some memory failure checks were missing.
6 years ago 4ee4114f42 Stefan Sperling
rename helper function open_object() to fopen_object()
6 years ago c3703302b1 Stefan Sperling
model delta chains in a better way
6 years ago 96f5e8b328 Stefan Sperling
add support for delta chains; implement them for offset deltas
6 years ago eef6493a8d Stefan Sperling
Make struct got_object opaque to users of the library
6 years ago b107e67fba Stefan Sperling
Implement open() support for offset delta objects
6 years ago 3ee5fc2109 Stefan Sperling
add support for extracting non-deltified packed objects
6 years ago 6c00b54532 Stefan Sperling
open packed objects correctly; don't worry about their contents yet
6 years ago 4558fcd4b2 Stefan Sperling
Support packfiles in object-type specific object_open() functions.
6 years ago f334529ed2 Stefan Sperling
add a conversion function from errno to got_error and use it
6 years ago a1fd68d829 Stefan Sperling
Extract non-deltified objects from pack files.
6 years ago c56976dec1 Stefan Sperling
fix previous