14 check-ins that include changes to files matching 'internal/highlight/*'
|
2026-09-24
| ||
| 02:15 | land light-code-on-paper check-in: a5ded572b6 user: dmestas tags: trunk | |
| 02:04 | Light-theme code on paper: a lighter code ground and clearer diff tints closed check-in: 1debba211f user: zeitgeist tags: light-code-on-paper | |
| 01:35 | land code-in-quarrys-own-colours check-in: 2fa9d83e31 user: dmestas tags: trunk | |
| 01:32 | Code in quarry's own colours: syntax and diffs from the Gruvbox palette in both themes, one number column on a phone closed check-in: b626ce288e user: zeitgeist tags: code-in-quarrys-own-colours | |
|
2026-09-11
| ||
| 16:31 | land attachments-ui check-in: 85a8ced3d4 user: dmestas tags: trunk | |
| 16:25 | Attachments section: preview cards on tickets, wiki, technotes and forum posts; lightbox; text viewer; inline media; per-object zip (RFC 0016 Phase 1) closed check-in: 63a5497d79 user: dmestas tags: attachments-ui | |
|
2026-08-31
| ||
| 12:46 |
file pages draw a window, not the whole file
Chroma emits a span per token, so whole-file renders built DOMs nobody asked for: 198KB of build.c became 40,083 nodes and 137ms of parse. Lexing still starts at byte zero — a window opening inside a block comment cannot colour itself — but the iterator stops at the window's last line, so the tail is never tokenised. 103ms to 2.7ms for a first screen. Scroll fetches the next window; no-script gets a link. check-in: c517ec9464 user: quarry tags: trunk | |
| 12:34 |
collapse concurrent highlight misses into one tokenisation
A read-through memo only helps once a value exists: ten cold readers of sqlite's where.c each took 0.95s against 0.42s for one, all tokenising the same immutable bytes. Safe because the value is a pure function of its key. x/sync was already in the module graph. check-in: 05dbba300d user: quarry tags: trunk | |
| 12:25 |
the highlight gate is a safety valve, not a policy
256KB turned ten of sqlite's src files permanently grey, which trades the feature for the fix. Raised to 2MB; the per-blob cache carries the cost until windowing removes the need for a threshold at all. check-in: 937b10d6de user: quarry tags: trunk | |
| 12:18 |
large files arrive: size-gate the highlighter and cache it by content
Highlighting was paid on every request with no cache, and its cost tracks token density: sqlite's btree.c, 407KB of dense C, took 490ms and rendered 2.3MB of HTML. Past 256KB the lexer is skipped and the page says so; below it, identical content is highlighted once. check-in: f4e226e5a4 user: quarry tags: trunk | |
|
2026-08-20
| ||
| 15:57 | highlight: content sniffing only for shebangs - Analyse read READMEs as SQL check-in: acdab26620 user: dmestas tags: trunk | |
|
2026-08-18
| ||
| 18:19 | palette: whiter dark text, muted orange, themed highlight tokens check-in: 1d80a6cffa user: dmestas tags: trunk | |
|
2026-08-15
| ||
| 16:15 |
highlight: dark theme covers every light token class (030)
Classes github-dark omits get explicit overrides at the dark base color; regression test pins full coverage incl. nx/p/na/nb/bp. check-in: 4fe9a80214 user: dmestas tags: trunk | |
| 12:16 |
highlight: chroma wrapper, fenced-code + file-view highlighting
Cleanroom (their wrapper is settings-coupled); classes only, both themes in one stylesheet; sanitizer learns chroma token classes. check-in: 689d0692d7 user: dmestas tags: trunk | |