6 years ago 0a585a0d64 Stefan Sperling
remove GOT_ERR_NO_MEM, we can just use errno in those cases
6 years ago 718b3ab0e3 Stefan Sperling
rename the library-internal headers again to a common prefix
6 years ago 8bf5b3c9ff Stefan Sperling
rewrite 'got log' without recursion
6 years ago 56866f4a1f Stefan Sperling
fix resource leaks in error paths of got_object_blob_open()
6 years ago d0f3be7ced Stefan Sperling
initialize some output variables on failure
6 years ago 18e99ab6a3 Stefan Sperling
fix fd leak in got_object_open()
6 years ago b29656e27e Stefan Sperling
set obj->size of packed deltified objects to object's actual size
6 years ago 19d747f7bf Stefan Sperling
avoid an extra memcpy in got_inflate_to_mem()
6 years ago 43a2d19da8 Stefan Sperling
need to subtract hdrlen from tree data in got_object_tree_open()
6 years ago ea35256be5 Stefan Sperling
avoid a round-trip via tempfile when reading packed commits
6 years ago e0ab43e7e3 Stefan Sperling
avoid a round-trip of data through a temp file when reading trees
6 years ago 25783624d6 Stefan Sperling
use stricter CPPFLAGS from mpi
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 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().