Commit Briefs
template: provide tp_write_htmlescape()
it's like tp_htmlescape() but takes a size instead of a NUL-terminated string. Part of a larger diff that's ok tracey@
gotwebd: tweak hr styling in the dark mode
Kyle Ackerman agrees
make diff color-highlighting in gotwebd's dark-mode more accessible
A red/green color scheme is bad for people with red/green colorblindness. Use similar colors as used by 'tog diff' to avoid this issue. Patch by Kyle Ackerman ok op@
plug pathlist leak in 'got status' code path
Patch by Kyle Ackerman.
gotwebd: use breadcumbs in more actions
Breadcumbs are useful not only in the TREE and BLOB action, but also in COMMITS/BRIEFS and BLOB. prodded by stsp@
gotwebd: make blame view work in text browsers
While here pad line numbers with spaces instead of zeroes to match the blob view.
gotwebd: add actions to the blame view
ok tracey@
gotwebd: add links for actions in the blob page
positive feedback from Kyle Ackerman ok/tweak tracey@
gotwebd: add a dark mode
Diff from Kyle Ackerman. tracey@ and I likes it.
gotwebd: introduce .page_header_wrapper to avoid style repetitions
while here clean up some *_header id not used / not needed.
gotwebd: tweak .tree_wrapper styling; no functional change
there's no need to override the background-color for the 'even' row. This will simplify the addition of a dark mode.
adjust expected output to make 2 failing gotd regression tests pass
The repo_write process still announces HEAD twice, once with its symref target and once with the resolved symref object hash. I cannot recall if this is deliberate but let's accept it for now to avoid test failures being flagged due to this issue, which is mostly cosmetic.
detect concurrent changes to the set of pack files while matching object IDs
This should prevent a use-after-free crash I observed in gotwebd. ok op@