Commits


portable: add back sys/queue.h Now that the handling of including sys/queue.h is better, there's no need to remove those lines from the source. Copy the location of those original sys/queue.h lines from upstream at the same line number, so as to avoid any conflicts in the future.


const-ify tables ok thomas_adam millert


portable: initial Linux compilation This commit modifies the GoT main branch to be able to compile it under linux.


make fclose(3) failure checks consistent; check 'fclose() == EOF' everywhere ok millert, naddy


use size_t for loop indices to avoid signedness warnings; by emaste@freebsd Same change as 16aeacf7088d, for subdirectories other than lib/


add a -q option to tests for quiet output and use it for 'make regress' Previous default output remains when test cases are run individually. ok tracey


make tmp dir location a compile-time setting and change gotweb's tmp dir We are not sure whether a gotweb package can own /var/www/tmp on OpenBSD. Moving gotweb's tmp dir to /var/www/got/tmp sidesteps that issue.


rename got_error_prefix_errno() to got_error_from_errno()


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)


make got path APIs available to library consumers


check for errors from fclose()


happy new copyright year


apply unveil(2) to delta tests


make C test output match cmdline test output


test for libgit2's out-of-bounds read of delta bug


test for git's "Fix big left-shifts of unsigned char" delta bug


fix 'make PROFILE=1' build


move got_opentmp* functions to public API; used from tog


rename the library-internal headers again to a common prefix


set obj->size of packed deltified objects to object's actual size


use pledge(2) in regression tests


rename library-private headers from *_priv.h to *_lib.h


rename test functions; we apply deltas, we don't combine them


rename private header filenames so they are in got_ namespace


public API is now independent of sha1.h and zlib.h