Commit Briefs

638f902404 Stefan Sperling

rename got_error_prefix_errno() to got_error_from_errno()


230a42bdc6 joshua stein

got_error_from_errno -> got_error_prefix_errno

also add got_error_prefix_errno2 and got_error_prefix_errno3 which should hopefully all be merged into a single function with variadic args (but can't alloc mem)


5d56da8198 Stefan Sperling

happy new copyright year


11624658e6 Stefan Sperling

remove unused definition of nitems()


9489f1f77a Stefan Sperling

avoid use-after-free via got_object_idset_for_each()


cb103d042c Stefan Sperling

allow got_object_idset_for_each() to return an error


e6ace2b90e Stefan Sperling

remove unnecessary #include


e336e3d63c Stefan Sperling

use userspace red-black tree macros, not kernel ones


f054b67ad0 Stefan Sperling

remove object_idcache; use object_idset instead


984e8a45c4 Stefan Sperling

implement object idset with a red-black tree


294f39b084 Stefan Sperling

no need to zero new idset elements during allocation



13e51608f0 Stefan Sperling

fix bug where duplicates were being added to object idset


f831532b96 Stefan Sperling

remove unused got_object_idset_remove_random()


6358180434 Stefan Sperling

rename zbuf to inflate


60f2eee18f Stefan Sperling

undo previous; too much mixup in one data structure


d54f52f450 Stefan Sperling

store recently accessed objects at front of cache lists


2bd394ff92 Stefan Sperling

speed up got_object_idset_remove_random() by almost 50%



441e144cdc Stefan Sperling

init output param in got_object_idset_remove()



e7c810ea16 Stefan Sperling

allow got_object_idset_remove() to retreive data pointer


4a9bc5ca09 Stefan Sperling

fix leak in got_object_idset_remove()


27c21a117a Stefan Sperling

introduce got_object_idset_remove_random()


ac4e69fbc9 Stefan Sperling

undo previous; this approach won't work