From 0b4142e6704c851f395da2cd8b74954272dadf45 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 6 Nov 2026 11:38:06 -0300 Subject: kinds #19, the PDF's restored behaviours: a fling (a window's travel or more between frames) renders only the rows each page shows, on a 64-row grain, until a tick after it rests renders them whole, a partly landed page showing its paper under what it has; a wheel's amount scrolls its fraction of a row; the pointer is a hand over a link the resting pointer found; with no graphics the page's text layer is drawn, the moving keys and the wheel a page a step; pdf.script shows pictures, then the text layer Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- addons/pdf/pdf.out | 60 +++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 50 insertions(+), 10 deletions(-) (limited to 'addons/pdf/pdf.out') diff --git a/addons/pdf/pdf.out b/addons/pdf/pdf.out index 08d24595..d598dd1e 100644 --- a/addons/pdf/pdf.out +++ b/addons/pdf/pdf.out @@ -11,6 +11,19 @@ tag [1/16] | | | +> graphics on +tag [1/16] +| +| +| +| +| +| +| +| +| +| +placement 794x1123 src 0,0 794x204 over 0,0 78x10 key 3017bc3ce49f9593 at 0,0 624x160 > size 60 20 window 58x7 tag [1/16] @@ -21,7 +34,7 @@ tag [1/16] | | | -placement 794x1123 src 0,0 794x192 over 0,0 58x7 key 3017bc3ce49f9593 at 0,0 464x112 +placement 794x1123 src 0,0 794x192 over 0,0 58x7 key 71e39225f0cec2a5 at 0,0 464x112 > key j tag [1/16] | @@ -31,7 +44,7 @@ tag [1/16] | | | -placement 794x1123 src 0,27 794x193 over 0,0 58x7 key 3017bc3ce49f9593 at 0,0 464x112 +placement 794x1123 src 0,27 794x193 over 0,0 58x7 key 71e39225f0cec2a5 at 0,0 464x112 > key 3j tag [1/16] | @@ -41,7 +54,7 @@ tag [1/16] | | | -placement 794x1123 src 0,109 794x193 over 0,0 58x7 key 3017bc3ce49f9593 at 0,0 464x112 +placement 794x1123 src 0,109 794x193 over 0,0 58x7 key 71e39225f0cec2a5 at 0,0 464x112 > key G tag [16/16] | @@ -51,7 +64,7 @@ tag [16/16] | | | -placement 794x1123 src 0,0 794x192 over 0,0 58x7 key ad6b5307dead8475 at 0,0 464x112 +placement 794x1123 src 0,0 794x192 over 0,0 58x7 key 1182c0220e1b5a25 at 0,0 464x112 > key gg tag [1/16] | @@ -61,7 +74,7 @@ tag [1/16] | | | -placement 794x1123 src 0,0 794x192 over 0,0 58x7 key 107dd9d0f0ee5746 at 0,0 464x112 +placement 794x1123 src 0,0 794x192 over 0,0 58x7 key 5400263dddff499a at 0,0 464x112 > key 3gg tag [3/16] | @@ -71,7 +84,7 @@ tag [3/16] | | | -placement 794x1123 src 0,0 794x192 over 0,0 58x7 key e6b017c42b5b77eb at 0,0 464x112 +placement 794x1123 src 0,0 794x192 over 0,0 58x7 key 1da05d9257cc481d at 0,0 464x112 > PdfFit tag [3/16] | @@ -81,7 +94,7 @@ tag [3/16] | | | -placement 794x1123 src 0,0 794x1123 over 0,0 58x7 key e6b017c42b5b77eb at 192,0 79x112 +placement 794x1123 src 0,0 794x1123 over 0,0 58x7 key 1da05d9257cc481d at 192,0 79x112 > ctl =fit:height tint:filtered > PdfTint full @@ -93,7 +106,7 @@ tag [3/16] | | | -placement 794x1123 src 0,0 794x1123 over 0,0 58x7 key e6b017c42b5b77eb at 192,0 79x112 +placement 794x1123 src 0,0 794x1123 over 0,0 58x7 key 1da05d9257cc481d at 192,0 79x112 > ctl =fit:height tint:full > PdfTint loud @@ -105,7 +118,7 @@ tag [3/16] | | | -placement 794x1123 src 0,0 794x963 over 0,1 58x6 key e6b017c42b5b77eb at 192,0 79x96 +placement 794x1123 src 0,0 794x963 over 0,1 58x6 key 1da05d9257cc481d at 192,0 79x96 > key tag [3/16] |ent: PdfTint takes disabled, filtered or full, not "loud" @@ -115,7 +128,7 @@ tag [3/16] | | | -placement 794x1123 src 0,0 794x1123 over 0,2 58x5 key 3f51689292296629 at 204,0 56x80 +placement 794x1123 src 0,0 794x1123 over 0,2 58x5 key 13a14ce76b83da1b at 204,0 56x80 > dump dump 636117 bytes tag [3/16] @@ -127,3 +140,30 @@ tag [3/16] | | | +> graphics off +tag [3/16] +|The watch path, in full, because it is the ask with the mo +|machinery behind it. The tty and SDL hosts and the detache +|daemon implement it in src/file_watch.zig, with Linux in­ +|otify or a macOS kqueue behind one mark/reconcile transact +|the native macOS host watches with debounced DispatchSourc +|instead, then restats the exact path under a pane-generati +|guard. All three macOS watchers mark the same two things f +> key j +tag [4/16] +|/// How to route a method, read off its own name. A method +|/// is a COMPILE ERROR rather than a silent push, because +|/// forgotten pull is invisible in every unit test and obv +|/// user: one Ctrl-V pasting twice. +|fn isPull(comptime name: []const u8) bool { +| if (std.mem.startsWith(u8, name, "pull_")) return true +| if (std.mem.startsWith(u8, name, "push_")) { +> key 2k +tag [2/16] +|the core — src/pardes.zig +|update(ev) — one dispatch, mutates +|render(arena) → *Surface +|emit(e) → fixed ring, limits.effect_cap +|nextEffect() → perform(e) +|single-threaded by construction +|native input -- cgit v1.3