AgeCommit message (Collapse)AuthorLines
Give empty repositories their own pageBryce Kwon-2/+12
Add `enable-relative-dates` and `date-format`Bryce Kwon-6/+25
Drop the help tab and its built-in guideBryce Kwon-6/+0
Cap the header branch switcherBryce Kwon-2/+9
Backfill an absent commit messageBryce Kwon-1/+1
Emit a conforming `rel=icon` for the favicon linkBryce Kwon-1/+1
Gate the stats page and add a language breakdownBryce Kwon-1/+1
`max-stats` only bounds the selectable periods now and no longer doubles as the enable switch. The tree walk runs before the history walk on purpose. Releasing commit memory while walking history resets each commit slab index, and a commit graph lookup afterwards would read another commit slot and walk the wrong tree. The stats fixture writes a commit graph so the tests cover that path. The history walk bounds the window in process rather than passing a formatted since date to `setup_revisions`, and parses each commit once.
Remove the owner filter hookBryce Kwon-7/+1
Add a help page with common workflowsBryce Kwon-0/+6
Submit option forms without inline handlersBryce Kwon-1/+1
Point the fork's links and credits at itselfBryce Kwon-2/+2
AUTHORS now records the upstream developers as the project's history rather than as maintainers of the fork.
URL-encode the repolist pager linksBryce Kwon-2/+2
The pager html-escaped its search and sort values instead of url-encoding them, so a term with a hash or ampersand broke the link and dropped the active filter on the next page.
Keep an overlong path out of the tab titleBryce Kwon-4/+15
`fmt()` aborts the request rather than truncate, so a very long path fed into a context-sensitive tab title took down page rendering.
Cast signed chars before ctype callsBryce Kwon-1/+1
A plain char is undefined in the ctype functions for negative values, which a high byte produces wherever char is signed.
Add a light and dark theme toggleBryce Kwon-0/+3
The button is emitted hidden and only revealed by the script, so a browser without JavaScript never shows a control that cannot work and the page keeps tracking the system theme.
Overhaul the stylesheet with tokens and dark modeBryce Kwon-1/+1
The old sheet had no overflow rules, so wide code, diff, blame and stats blocks scrolled the whole page sideways on a phone. The classic layout, badge colours and age shading are kept.
Add viewport and color-scheme meta tagsBryce Kwon-0/+5
Without a viewport meta, mobile browsers assume a desktop-width page and scale it down, which is the root cause of content overflowing on small screens.
Rebuild the page chrome as semantic HTMLBryce Kwon-59/+91
The masthead, tab bar, breadcrumb, content region and footer were HTML tables, which cannot reflow and forced the page to scroll sideways on small screens. Class and id names are kept so custom themes keep matching, the tabs gain title hints and the form controls accessible names.
Replace the glibc-only `memrchr` for portabilityBryce Kwon-1/+12
Reorganize into source, assets and librariesBryce Kwon-0/+1265
The C sources move to source/, the served files to assets/, the bundled Git submodule to libraries/git and the filter scripts to extensions/. Everything the build generates now lands in build/, so a clean is a single remove and the tree stays clean.