Commits
- Commit:
4de9fa04834ddee6e2e9ee097d465a5b29921e0f
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add -J option to usage() function of relevant commands
- Commit:
6a1d02451ab70bd127cae9a610449fc9b0691a69
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make 'cvg commit' actually apply the -J option
- Commit:
5c9a53ccc23c395922ea5747fde1a5fe6c45af9d
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
regress/gotwebd: implement paginated commits test; ok op@
- Commit:
417c56da5e451e4c04b12d9a17cb2215e13b95aa
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
try to improve http-server startup/teardown in regress
Let tests fail if http-server fails to start up within 5 seconds.
Make http-server report its process ID in its log file such that
tests can kill it by PID.
Prompted by semi-regular failures on my arm64 regress builder.
- Commit:
705e365cc30a9ee94c203029b7020c7c55bc74b8
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
use got_object_id_queue_free() instead of hand-rolled code
ok stsp@
- Commit:
5eecb14c8e822a70dc333f986dd59e7a0d17ee7c
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: don't apply count modifier to the H, &, p keymaps
It's annoying to have the help (H) and limit (&) keymaps repeatedly fire
after closing their respective views if accidentally preceded by a count
modifier, and doesn't seem like a valid use case. Similarly, writing N
patch files to /tmp is wasteful.
ok stsp@
- Commit:
fe3e505d00cfcda92541f40e41b973007f02450d
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: update libutil to 1.38
- Commit:
24a0df6c588b726372b9c58aa5700e72f82a59d6
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: set next version
- Commit:
1a481ef4f1793d5d5733afe9349cdbfc0b5ea6ce
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: release 0.107
- Commit:
3acc92cbbe269f366ca851d0d0ab55c8af846550
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: cvg add got_compat.h
Needed to compile most things on -portable.
- Commit:
dd4c419722fe06a0e79fc39e303003908f7feceb
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
check for errors from telldir(3); suggested by jamsek
- Commit:
f6852d460b7949c591420eadb61ddf8e211c03a6
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make 'got import' output independent of readdir(3) entry order
ok jamsek
- Commit:
35740e3fca503f1984e047a253671dfd965625a6
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add a TODO item for 'gotadmin cleanup'
- Commit:
fdbddcd4b0e0c3e6e2bb1549f1b0aa5792bd34d9
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make seq(1) invocations in test_log_commit_keywords() portable
The OpenBSD version of seq defaults to an increment value of -1 here.
On Debian we have to set the increment value to -1 explicitly. Otherwise,
seq produces no output at all and the test fails.
- Commit:
d469c4c2197aa2d8914b98e96dbeb8b5e00f87e1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add more info about the test suite to README.portable
Prompted by questions from Johannes Kastl.
- Commit:
ed4ebda33a8420b42a4a277ba056d2594ab4f2e9
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: remove portably-defined headers
These has to be looked for portably.
<sys/tree.h> recently reappeared due to TAILQ -> RB_* changes upstream.
- Commit:
7d147f690c96cc424ce3fd78b12b43877ae8a6eb
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: define HAVE_TREE_H if libbsd found
When using libbsd, ensure that we define HAVE_TREE_H; this means
libbsd's <sys/tree.h> is used over the compat version which stops
redefinition warnings from libbsd.
- Commit:
992e786b8f5cf5352f511063a514244871b1aeba
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
style(9): sort got-build-regress.sh getopts cases; ok stsp
- Commit:
a828ca839f3790bae1de18473692558c197267d5
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
style(9) whitespace: don't indent got-build-regress.sh cases
ok stsp@
- Commit:
8ecb7fe6a37816ca978dfe331a6173eb8f03db77
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
util/got-build-regress.sh: add missing 'W' to optstring
ok stsp@
- Commit:
8d5493c9d912382b91a5a5ac9f25351040078e02
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: don't clobber error with got_repo_close() error
While here, style(9) the adjacent block: remove function call from initializer.
ok stsp@
- Commit:
fe354d70d4ad218c599cac447058537d734836e5
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: clamp selected idx to avoid showing negative indexes
In the rare case views are smaller in height than the first line number
after the view's header lines (i.e., [2,5] depending on the view), we can
decrement the selected entry index into negative values; clamp it to 0.
Add a log view test case covering this path by opening a child tree view
and toggling fullscreen.
ok stsp@
- Commit:
9976affb503011ab063f1de78688b26414d8ec9a
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix NULL deref when scrolling small tog tree views down
In the rare case a tree view is smaller than four lines in height,
the last_displayed_entry is NULL. Check this condition on a scroll
down event with j/down arrow or ^f/pgdn to guard a NULL got_tree_entry
from being passed to got_tree_entry_get_next() where it is dereferenced.
And add a test case covering this path.
ok stsp@
- Commit:
eb7ebd1cb08a207935fadc4f17e8c31cb6dca13b
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: don't mark incorrect base commit in nested log views
If a nested log view is opened, don't reuse the work tree's base commit
index from the initial `tog log` invocation because it is based on the
initial commit queue. If it has become invalid, an incorrect log view
commit entry is painted with the base commit marker. Reset the index
whenever opening nested log views so that it is recomputed, and write
a regression test to cover this case.
ok stsp@
- Commit:
1ac1d978352cb39038cfb80296e30c739a72ac05
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
regress/tog: ref view coverage of tag references
Test for the error case when selecting tags that point to non-commit
objects. And test the valid case of selecting nested tags that resolve
to commit objects.
ok stsp@