Skip to content
quarry Timeline
Login

Timeline

4 check-ins that include changes to files matching 'internal/pikchr/*'

2026-10-18
09:18
RFC 0024 horizons: renumbered from 0022 after trunk took 0022 and 0023, decisions settled, index brought current check-in: 9f39a7dccb user: zeitgeist tags: history-below-the-horizon-lives-on-quarry
2026-10-09
03:25
land pikchr-fossil-words check-in: a5591885a5 user: dmestas tags: trunk
03:16
Markdown: a pikchr fence with fossil's words (toggle, center, source) is drawn, an error shows pikchr's report, and a heading under a
line is a heading
closed check-in: 87fdef7339 user: zeitgeist tags: pikchr-fossil-words
2026-08-16
12:53
markup: Pikchr diagrams via WebAssembly (fossil's third markup)

pikchr.c built to a standalone WASI module (-DPIKCHR_SHELL -sSTANDALONE_WASM) and run under wazero, so the CGO-free constraint holds. Its own CLI reads - and writes SVG, so the host ABI is a pipe: no memory marshalling to get wrong. Renders text/x-pikchr artifacts and pikchr fences inside markdown; a diagram that will not compile degrades to its source plus the compiler's message.

SVG does NOT ride the document policy. It gets a narrow allow-list derived by enumerating what the module actually emits (six elements, a closed geometry/paint attribute set, no script/href/foreignObject), so even a hole in Pikchr's own label escaping cannot reach a page. Fence placeholders are alphanumeric with a per-render nonce: an HTML parser rewrites control bytes, so a NUL-based marker does not survive sanitizing (caught by test). Provenance and the rebuild recipe are in the ledger. check-in: 58fe4cf214 user: dmestas tags: trunk