Commits
- Commit:
4fccd2fe0ffbbc668b66abe63614470635f92f1b
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: configure: split out dependencies
Rather than assume all dependencies are required for all programs, split
them out.
This will make packaging easier, as well as splitting the code to use
subprojects.
Note that due to the use of config.h semantics, in most cases the
got_compat.h header file is now at the top of the .c file it is included
in, so that it can handle the system header inclusion properly.
- Commit:
98670ba726486c39efff220ab1e074c62023aae7
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: rework SHA detection
Simply the SHA detection by not predicating on libcrypto, but instead
checking individual header files.
- Commit:
4680f704353811c8bb6ce65eac3714d1bd200c26
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: remove sha1.h; found portably
Remove sha1.h as this is found portably across systems.
- Commit:
588a8092bc282294ee23585991e81586905a8fd4
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
include sha2.h too where sha1.h is included
In preparation for wide sha256 support; stsp@ agrees. Change done
mechanically with
find . -iname \*.[cy] -exec sam {} +
X ,x/<sha1\.h>/i/\n#include <sha2.h>
- Commit:
8b925c6ccd3968917253ea191906a1710c40ed2d
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
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.
- Commit:
92a9e85d28a30997176ce0d3c2915e3ea70782c7
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: add FreeBSD support
This adds the capability to compile got-portable on FreeBSD.
- Commit:
dd038bc6ec835ad3fd3c0b5303b8af9ad506c8cc
- From:
- Thomas Adam <thomas@xteddy.org>
- Via:
- Thomas Adam <thomas.adam@smoothwall.net>
- Date:
portable: initial Linux compilation
This commit modifies the GoT main branch to be able to compile it under
linux.
- Commit:
dbdddfee1482b50ca8c4a0be06e4fec6a59fb9f4
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
switch from SIMPLEQ to equivalent STAILQ macros
The singly-linked tail queue macros were added to OpenBSD 6.9 and
are more widely available on other systems.
ok stsp
- Commit:
9069347b693ed2803ca224d77823b2e4e2f2e4e5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
improve error reporting when delta application fails
- Commit:
56b63ca4ab1049de6fa2d6910ce22c16e2b42a53
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make fclose(3) failure checks consistent; check 'fclose() == EOF' everywhere
ok millert, naddy
- Commit:
56e0773df7e12fc69c1f6f9d171c93fd78a13d0e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
convert tree entries from SIMPLEQ to an array
- Commit:
42c69117cce2e1658d5b5aabbc383ce7252cf167
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
stop storing decompressed delta data in struct got_delta; fetch it on demand
- Commit:
2256993b27260cd7860c34b47751dff21a7083a8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid dependency on delta.o in binaries which don't need it
- Commit:
638f9024045bbe2420143f8868dcc484c231c634
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename got_error_prefix_errno() to got_error_from_errno()
- Commit:
230a42bdc60c6136d2a5ce65bf1a2f26d990c096
- From:
- joshua stein <jcs@jcs.org>
- Date:
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)
- Commit:
324d37e7c791a6e6ff08598c3e6206ba956d0965
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make got path APIs available to library consumers
- Commit:
fb43ecf1500cf7f8b2e22348bd1635edcda97fee
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
check for errors from fclose()
- Commit:
15a949835c36ceb581fc115aff744dbb30b12918
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove struct got_object from public library API
- Commit:
b2f7af546d38b360167a7e30a795ea9f2e91ddf7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
check for size_t overflow in got_delta_apply_in_mem()
like libgit2's c15771104 (delta: fix overflow when computing limit)
- Commit:
34fca9c35c1a35f6e163edd53f5cf674b30c1799
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bounds checks before memcpy in got_delta_apply_in_mem()
- Commit:
14118581d8473c14829cb01578400a4dd4c3babf
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
no need to zero got_delta during allocation
- Commit:
c336f88938f60b7e0ec2b0200d9c901ddeeec114
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
don't store copies of packfile paths in each delta
- Commit:
63581804340e880bf611c6a4a59eda26c503799f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename zbuf to inflate
- Commit:
788c352e1f3b00dfa5628e7ccfcfb056433c1948
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
store commit timestamps as 'struct tm' in UTC
- Commit:
72eb343178e036e8e57e1991ef5c4a99ca020ef4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
look up deltas in the correct pack file