Commits
- Commit:
898c8f8fd003d730d0490c1a5a807e4c11e30f4b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotd: tweak error message if getpwnam fails
errno may not be set to something interesting so switch to fatalx, and
simplify the error message (knowing the failed function, which is also
wrong, doesn't buy much here.)
ok jamsek
- Commit:
9bd4acdbfe311b4b5045d0166f795ddbb5c27cbc
- From:
- Omar Polo <op@omarpolo.com>
- Date:
tweaks to request_bad.sh; no functional change
in no specific order:
- define the "aaa..." string as variable to avoid long lines (same
for the 255 "A")
- drop the comment about the "OpenBSD cmp(1) offset extension": it's
quite popular actually.
- consistently use "cmp foo.expected foo" instead of "cmp foo
foo.expected". It makes easier to copy-paste it if we want to
diff(1) the files.
- diff files when cmp(1) fails if feasible (i.e. when we're not
cmp(1) at offsets)
- use printf when the string to print contains "\n"
- add some missing blank lines between functions
- Commit:
9d0feb8b5d4a20276efaf3f29df59ade82cd38aa
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: always echo input prompt to bottom left of screen
Irrespective of the active view, always echo to the bottom left of the parent
view.
ok op@
- Commit:
092a9f9c956bc6b6f16e7f9897f5bca5e8a400fa
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: fix typo that breaks log search when in hsplit
Ironically, the typo "blocks" log search when in hsplit because we block input
on the wrong view! Pass the proper "v" view to nodelay() calls.
ok op@
- Commit:
a5feed5fb64e7964d25144156a6dd0700af84150
- From:
- Mikhail <mp39590@gmail.com>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
add more gotd regression tests for bad requests; patch by Mikhail
And rename req_wrong_commit.sh to request_bad.sh to reflect the broader
scope of this test script.
- Commit:
9430e858d160f9d3dbd02b218b5c0a95e266a199
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add missing full-stop; patch by Josiah Frentsos
- Commit:
1abb18e1777172a9f4149a0f50c4cecfd024f02c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: add an RSS feed for the tags
ok tracey@
- Commit:
d19d9fcec89a7d18ca8325b70f5edde7b4e6369a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: use DOCUMENT_URI rather than SCRIPT_NAME
the latter is empty when serving from a directory-like path prefix with
an httpd.conf(5) as per gotwebd(8).
ok tracey@
- Commit:
be4f45b5bf0e1675373554243f024efb2d45a2e8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename repo_req_wrong_commit.sh to req_wrong_commit.sh for consistency
- Commit:
6eb6bfed344145baeb3edf2fb884be0852bf857f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
tweak naming in new gotd regress test for consistency
- Commit:
44ff0a4492e37763f0d19d4eeb2157221122cb1b
- From:
- Mikhail <mp39590@gmail.com>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a gotd regression test which requests a non-existent commit
Patch by Mikhail
- Commit:
b2b1792329f5adf1e755614e710d49388845293e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
template: adjust my address
- Commit:
156a11447a870d2128d6ddce97013fca0cfd4e6a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: templateify gotweb_render_commits
ok tracey@
- Commit:
b4c0bd7275f121f6250964ddfdf8db160ad486df
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: templateify gotweb_render_navs
ok tracey@
- Commit:
03f6a843c825ee4566446557cfa33bd1ebb1827b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: drop index_page_str and page_str
gotwebd uses sprintf to update index_page_str and page_str if they were
negative. While this specific usage is safe, let's drop it. Since the
index_page_str and page_str fields are never read from, remove them.
This saves two allocations per request too.
ok tracey@