summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-18 11:52:57 -0300
committerGabriel Schneider <[email protected]>2026-11-18 12:16:41 -0300
commit69bf62d3e245934b922025c62d8703700521cac0 (patch)
tree24ed2d0950caa4723101c34afd98b70687d19d75 /docs
parent0cc7413bbf1d546f29976b9639896a209e2e7f27 (diff)
downloadpardes-69bf62d3e245934b922025c62d8703700521cac0.tar.gz
pardes-69bf62d3e245934b922025c62d8703700521cac0.zip
kinds: the Shadow path deleted (the session painting a pane of a kind for each client and sending its frames, the rasters as strips, the client's picture cache): no kind in the tree reached it but a test's since the PDF and the picture run where they are shown (PA_PLAIN); a kind that is not plain shows a line in a client saying it runs in the session alone, its keys and mouse still the session's; Kind.zig 1,743 -> 1,367 lines (the Shadow section, Slot.shadow, draw's Shadow branch, the three Shadow tests), replica.zig 4,579 -> 4,477 (Screens.shadows and the kind_shadow/kind_raster/kind_want messages, PeerOf.shadow, Replica.blobs; Screens.flush keeps its view argument, unread now), the Counter kind's test rewritten for the line, draw.zig's pointer from the Shadow, dump.zig's comments; the manual (running.typ) and next-run.md say what a client shows; net -472 lines; tui core-test 817/956 (139 skipped; the three Shadow tests gone), shell-test 991/994, behaviour-test 274/274, --replay 20 seeds 0 failures, pane-test 181/182, replicas pass, addon-test 1/1, process-test 2 of 144 failed (lspcomplete and lspcompletemoved, the base's), test/daemon.py, --games and --window-clients pass, --far timed out once at load 10-12 (the ssh client's first frame) and passed alone; gui unit-test 1586/1590 (its perf check's BaselineBuildMismatch, the base's), the frame corpus 77/77 against mbase2
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'docs')
-rw-r--r--docs/next-run.md15
-rw-r--r--docs/typ/running.typ4
2 files changed, 11 insertions, 8 deletions
diff --git a/docs/next-run.md b/docs/next-run.md
index de03bfb1..084f7c26 100644
--- a/docs/next-run.md
+++ b/docs/next-run.md
@@ -89,12 +89,15 @@ what is true, and whether it was measured.
window's with addon panes). Today only a second attach pays it; after, every attach to a detached
session does, which is the tmux habit (`pardes --detach=work`, then
`pardes attach work`).
-- **An addon's code does not run in a replica.** True, read: a client's
- core is loaded with no kind's operations (`replica.zig:756-757`,
- `c.kinds.ops = @splat(null)`), so its addon panes are Shadows, drawn from
- what the session's code drew and sends (`replica.zig:309`, `:418-470`;
- `Replica.screen` at `:1140-1160`). Not measured: what a Shadow costs a
- local client against the session's own frontend drawing the pane.
+- **An addon's code does not run in a replica.** No longer so for an
+ addon whose state is plain (`PA_PLAIN`: the games, the picture and the
+ PDF): a client loads its library at that kind's first pane
+ (`Addon.plainOps`), runs it as the session does and draws its pictures
+ itself; one it lacks shows a line saying so. Any other addon's panes
+ show a line in a client saying it runs in the session alone
+ (`Kind.draw`): the session sends no pane's pictures to a client (the
+ path that painted a pane for each client and sent its frames was
+ deleted).
- **A window client scrolls whole rows and keeps its own fonts.** Not so
for the wheel, measured (`.scratch/sketch/reports/pardes-measure.md`
sections C and E): a notch in a client glides as it does in the
diff --git a/docs/typ/running.typ b/docs/typ/running.typ
index 07274157..01fb7f32 100644
--- a/docs/typ/running.typ
+++ b/docs/typ/running.typ
@@ -146,8 +146,8 @@ client only; the last client of a detached session leaves its layout as
the session's, for the next one to find. In a client, an addon whose state
is plain (`PA_PLAIN`: the games) runs in the client that shows it, from
that client's own addons, its keys applied at once; one the client lacks
-shows a line saying so; any other addon's panes show what the session's
-code drew. A
+shows a line saying so, and any other addon's panes show a line saying
+it runs in the session alone. A
window client's wheel glides as the session's own window does: whole rows
go to the session, and the picture moves between them on the client's own
clock. It takes the session's font only when the same face is installed on