Commit Briefs

Thomas Adam

portable: remove sys/tree.h compat inclusion (ta/remove-queue-compat)

libbsd as a library was created some years back to pull together BSD-specific functionality to be used on non-BSD systems. When it was in its infancy, and not being widely adopted across non-BSD systems, there was often a need to carry around compat versions of sys/{queue,tree}.h This is no longer the case -- and the compat code for this has never worked on systems which lacked a compatible sys/tree.h header anyway, so remove this, and let the user know that libbsd is needed. A few people have mentioned this to me.


Thomas Adam

tog: add new log view limit feature to filter commits

Use the & key map to enter a pattern with which to limit the displayed commits to those matching the provided pattern; similar to less(1) and mutt's limit feature. Includes various tweaks from op. ok plus fixes from op@


Thomas Adam

make got_commit_graph_iter_next use caller-provided storage for the id

and adjust the callers. discussed with and ok stsp@


Thomas Adam

portable: configure.ac: tidy/add summary

Remove some unneeded comments which were references to files. Add a quick summary output at the end of ./configure which will aid with CI debugging.


Thomas Adam

portable: set next version


Thomas Adam

Release 0.75 (tags/0.75)


Thomas Adam

portable: use a release variable for tarballs

When creating a release tarball, use a GOT_RELEASE variable to determine the version of the release.


Thomas Adam

portable: gotwebd: install to sbin

When installing gotwebd, put this under ${prefix}/sbin


Thomas Adam

tog: make headline highlight extend the full view width

In splitscreen mode, make the active view headline highlight extend the full width of view->ncols. While here, format the tree view header like the blame view by moving the index to the path line. suggested by and ok stsp@


Thomas Adam

tog: extend log view author highlight colour to full field width

ok stsp@


Thomas Adam

Xr httpd.conf


Thomas Adam

document gotwebd command line options



Thomas Adam

bump version number


Thomas Adam

CHANGES for 0.75


Thomas Adam

gotwebd: fix briefs navigation broken in 4a9629420

got_get_repo_commits iterates over the commits and build a queue for later display. My previous memleak fix moved the TAILQ_INSERT_TAIL *before* the logic to exit the loop and so it broke the pagination. This fixes it by delaying the insertion into the queue, but also by moving the check for the "previous" button after we've opened the commit. ok tracey


Thomas Adam

gotwebd: percent-encode generated URLs

This adds a new helper function `gotweb_link' that outputs an HTML link with the parameter correctly escaped. ok stsp@


Thomas Adam

sync distfile list


Thomas Adam

portable: maintscript: wrap nproc

Wrap nproc for non-Linux systems so this script can run on, say, FreeBSD.


Thomas Adam

portable: maintscript: use env for bash

Set this script's shebang line to use env to look for bash, as bash isn't always guaranteed to be installed to /bin, especally on BSD systems.


Thomas Adam

gotwebd: add missing closing for div tags_content

reported by the W3C validator.




Thomas Adam

gotwebd: fix page title

due to an error in the order of the arguments to fcgi_printf that I've introduced last time I touched gotweb_render_header the title is now "/" (or SCRIPT_NAME) and one assets (the safari pinned tab svg) is a funny URL :)


Thomas Adam

tog: ensure stdin is a tty

This guards against {mis,ab}use such as `tog < /dev/null`. ok plus fix from op@