Commits
- Commit:
790ca73c1011a3aedd266ed382a84bd9a5094816
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: drop needless NULL check
We can assume that the querystring was initialized when we reach
gotweb_render_header. ok tracey@
- Commit:
37e766f45c2e1cc637f4b0a0be03f125e65f8ebd
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
ensure got patch respects x-bit perms for new files
Reported by stsp on IRC: got patch failed to set the x-bit for a new file
despite got diff recording mode 755. Parse got and git diffs for this data
and set file modes accordingly. Tweaked with hint from op.
ok stsp@
- Commit:
1996dd729051837a7a27478ca4db7879691b3be9
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add regression test which covers fast-forward rebase + path-prefix
- Commit:
e9424ba1b8bca2f931b594e9afef1192ad5cce27
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add gotadmin init -b <branch> to specify repo head ref
Similar to `git init -b`. Includes a change to `got import` behaviour such that
"main" is no longer hardcoded by default; instead, we import to the branch
resolved via the repository's HEAD reference unless `got import -b` is used,
and only if HEAD cannot be resolved to a branch do we fallback to "main".
includes fix plus ok from stsp@
- Commit:
850265be5c1846c742ea6b6413d52a8c3118cadf
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix indentation; from jamsek
- Commit:
06ff88bb4fd24d28eac73efe33f3a92ad5369a5b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make exiting tog's help screen easier for new users
ok jamsek
- Commit:
a7dd23ad257cf5f2f45268ad73afb49be16ae110
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: open help in fullscreen irrespective of view configuration
Prompted by a suggestion from stsp to make the help view distinct rather than
follow the default behaviour of established views. Occupying the fullscreen
seems to be a somewhat established convention for TUI apps.
ok stsp@
- Commit:
5ec66d177df1f41cc1df3f2694ab8e8cee3e6619
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: maintscripts: fix command use
Don't pass '-v' to the command buitin.
- Commit:
6f6c25d65e82e60c44877d2aa05bcbdbc48e65b3
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
drop unconventional got_object_commit_dup() routine
Replace with got_object_commit_retain() to increment commit object
reference counter.
suggested by and ok stsp@
- Commit:
30e77f6ad14985d6db8d179b7ed73dc4c8cab68a
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: don't embed utf8 glyphs into tog.c source code
Reported by stsp: Embedded utf8 precludes developers running C locales
from browsing the code. Fix was suggested by stsp with hints from the
tmux(1) codebase.
ok stsp@
- Commit:
2a7d3cd7fd18be5657ca71a452a73ba70a8530e5
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: refactor search setup into tog_view function pointers
Suggested by stsp. While here, add declarations for new help view routines.
ok stsp@
- Commit:
fc2737d5cdf003ae6a96db1af639d7fa39643f75
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: implement runtime help accessible via H,F1 keymaps
Original idea inspired from discussion with tb, tobhe, and stsp at g2k22:
display view-specific help, with option to toggle display of full key map
reference when {H,F1} is pressed again inside the help view.
Includes improvements suggested by stsp.
ok stsp@
- Commit:
28902b3e2800e0a3076e919a50d27fbe4ec3da6d
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd.conf.5: fix double `the'
- Commit:
7f60c0f73a66051532c95daec29da16a9befe812
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
Set next version
- Commit:
4d34af8de43a41f27bf56194568da74be9284104
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
Release 0.75.1
- Commit:
46384c6e760fdd54c263d1af7d6db58cc09a4e51
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: remove sys/tree.h compat inclusion
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.
- Commit:
e7baaec8113dd8e2b22320006a167ffc6ff39d84
- From:
- Mikhail <mp39590@gmail.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: respect current cursor position during log search
ok op@
- Commit:
8e396e197251d88be969784fc4fa54732b4230a7
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: macos: look for gnu bison harder
When checking for GNU Bison (and presumably other) toolchain commands on
MacOS, ther's two main systems most users use. Brew, and Ports.
Both of these take different approaches when building software, and
although a Portsfile exists for -portable now, those users who don't use
that directly, or use brew, and try and build -portable from git
directly, will likely be at the mercy of ./configure being able to go
off and find the appropriate tools.
Therefore, ./configure *tries* to be smart about handling this, and will
go and check if brew(1) is installed and try and use that to determine
the likely path for where it puts its software.
Indeed, for MacPorts, the story is very different, and although some
users might therfore use --prefix to ./configure to determine this path,
there is an overloaded assumption between --prefix meaning where the
binaries are to be installed, and --prefix meaning "go and look
elsewhere for other applications".
At some point, a dedicated configure option might be required.
Reported by grey and jamsek.
- Commit:
7e8004bac7c582235903e2d61b6e7b59f96244ea
- From:
- Mikhail <mp39590@gmail.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
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@
- Commit:
7210b7156b950b1b2c0055beb00fab4b3e442317
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make got_commit_graph_iter_next use caller-provided storage for the id
and adjust the callers. discussed with and ok stsp@
- Commit:
9ffe20fdada0d0603909c9dee12683390d9f8570
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
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.
- Commit:
b03ae5cc95f24a8dc8b748c87e77baa145d93d0f
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: set next version
- Commit:
0c6d7ac7b4913ed865bd844e09159e9df083abda
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
Release 0.75
- Commit:
05345ace5375ae9a980633912315c289c71c9163
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: use a release variable for tarballs
When creating a release tarball, use a GOT_RELEASE variable to determine
the version of the release.
- Commit:
b033d7a680ecb16ee6150f33c8ad88f25c93e728
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: gotwebd: install to sbin
When installing gotwebd, put this under ${prefix}/sbin