summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* locality: lsp_client's helpers beside their callers: query's (status with ↵Gabriel Schneider11 days
| | | | | | | sourceName, indexCommand, nowUs, posOf, fromIndex with emitDefinitions, related and emitOcc), run's (syncDoc, byteCol, hierarchy with hierText), ensure's (rootOf, binOf), byteSpan with strictOffset beside renameEdits, pathOf beside emitAt; the connection block (ensure, handshake, reader) stays together; sam_edit's stepRune before Exec Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* locality: single-caller helpers beside their caller: File's placeOf and ↵Gabriel Schneider11 days
| | | | | | | restoreName beside undoStep, Query's row makers (clearPlaces, makeAllRows, makeNameRows, feedGrepPlaces) beside produce, look's helpers beside lookAt, lookSpanIn and lookUnresolved, mouse's beside handleMouse and dragUpdate, normal's beside handleNormal and executeNormalAction, and the rest in Core, draw, exec, layout, main, modal, replica, syntax, terminal; Messages.printRight into draw.zig beside joinNotice and edit.spanHas into exec.zig beside operandAt, their only callers Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* locality: caller-led moves: MAX_JUMPS into Jump.zig (Core's unused alias ↵Gabriel Schneider11 days
| | | | | | | goes), RasterPolicy and rasterPolicy beside Kind.viewOf, Names.relative beside Query.startSource, fs.find_skip beside Stream's max_walk_depth, File.drawGutter and drawWrapMarkers beside body_layer.renderBody; each unit's only users are in its new file Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* tests: docs for the fold: docs/next-tests.md says what each dropped suite ↵Gabriel Schneider11 days
| | | | | | | became (The suites) and T3 is the tty cases, building.typ's Tests list the kept steps and their modes (process-test's tty cases, --update and --replay; behaviour-test's --monkey, --replay and --seed; hxdiff's --parity) and its release gates the kept set Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* tests: at the end of their files: every top-level test block of the 46 files ↵Gabriel Schneider11 days
| | | | | | | that had one mid-file (the locality analysis's 45 and test/hxdiff.zig; gui.zig, macos.zig, look, host_io, 9p_io, terminal, tui, mouse, fs, replica, layout among them, 11,429 test lines), with the functions only tests call, moved after the file's code in their order, a mechanical move (.scratch/suites/tests_to_end.py), zig fmt'd; the unit suites pass as before (tui 1486/1487, gui 1536/1537, core 956/956 on both), macos.zig only parse-checked here Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* tests: the gui goldens go (test/gui-goldens.txt, the gui-golden step, ↵Gabriel Schneider11 days
| | | | | | | window.zig's scenes case): their 15 frame hashes were this machine's; what they caught the kept set catches, checked break by break: the core's primary selection drawn as a secondary one (6 frames) fails 12 tty cases, the grip's focus fill and its button a pixel narrow (all 15) fail "every pixel of a grip column is band, button or ring", the theme's rules a pixel wider (all 15) fail "an empty column is ruled on both sides" and "decor is read from the regions"; two caught by the frames alone get unit tests of their own in gui.zig, the scrollbar thumb a pixel narrower (all 15) and the block cursor not reversed (9 frames); breaks the frames never saw (the body's clip and its context border, InactiveDim's fade, an image's scissor, fit and placed rect, the palette, the glyph art) stay the unit tests' and the image harness's or nobody's, as before Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* tests: monkey and replay are modes of the T1 runner and snapshot.zig goes: ↵Gabriel Schneider11 days
| | | | | | | behaviour-test runs test/monkey9p.zig bare (its smoke), `-- --monkey <seeds>` drives an in-process session with test/monkey.zig's input (keys, leader bursts, the mouse, tiny resizes, over /kbdin, /mousein and Session.resize) hunting panics and hangs, `-- --replay` records each seed's sessions as a tape in memory and replays it (tape.replayBytes, replayMain's loop: three replicas and the dump), and `process-test -- --replay` records and replays the tty cases' real sessions as `zig build replay` did (with the addons it lacked, so images passes); the snap, snap-driver-test, monkey, monkey-test (it no longer compiled), replay and monkey-session steps, pardes-snap and build/snap.zig (now build/process.zig) go; checked: a counter outside the core bumped at the 40th update diverges every T1 seed and 89 of 103 old tapes, one bumped on terminal output diverges no T1 seed but 69 tty cases and 70 old tapes (why the tty replay stays), a panic on a window under 5x5 is found by the T1 monkey (seeds 1 8 17 20) and the old one (seed 13) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* tests: the terminal snapshot scripts (19: tty ttyclick ttyedit ttyfollow ↵Gabriel Schneider11 days
| | | | | | | ttyhelp ttylook ttyonly ttypaste ttyprompt ttytaken psearch reflow respawn scroll cmdexit look-fd-deep ghostty-mid exec exec-bigdrag) are process cases, test/process/tty_terminals.zig, their goldens unchanged; checked against the old runner by Ctrl-b no longer leaving tty mode (the same 12 fail in both) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* tests: the image snapshot script (images) is a process case, ↵Gabriel Schneider11 days
| | | | | | | test/process/tty_images.zig, its golden unchanged; checked against the old runner by the glyph art's ink and ground swapped (it fails in both) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* tests: the theme snapshot scripts (6: theme themesel syntax markup ↵Gabriel Schneider11 days
| | | | | | | pagercolor cursorline) are process cases, test/process/tty_themes.zig, their goldens unchanged; checked against the old runner by the tty dropping bold (the same 5 fail in both) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* tests: the columns and layout snapshot scripts (14: colgrip collapse ↵Gabriel Schneider11 days
| | | | | | | cornerdrag cornerdrag-left delask emptycol layout-close layout-open shrinktag tagalign tagalign2col windownav windowops wheeldrift) are process cases, test/process/tty_layout.zig, their goldens unchanged; checked against the old runner by the tty reading a drag as a motion (the same 7 fail in both); three core breaks (splitBelow at a third, minRows one more, a dropped column's width to its right) fail neither Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* tests: the editing snapshot scripts (41: modes, selections, look, search, ↵Gabriel Schneider11 days
| | | | | | | the language client, diffs, tags) are process cases, test/process/tty_editing.zig, their goldens unchanged; checked against the old runner by two breaks, look's centring a third of the pane down (the same 4 fail in both) and the tty reading a drag as a motion (the same 7), grep the one flake in both, cured by the run alone Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* tests: the boot, argv and builtins snapshot scripts (22: argv badutf boot ↵Gabriel Schneider11 days
| | | | | | | builtins dump load restore headersweep headersweep-restored logquiet tutor topbarexec leader mini ninep nested nested-optout shellset msg winch savepane filewatch) are process cases, test/process/tty_boot.zig, each its script's steps as Tty calls and its golden unchanged as its expectation; checked against the old runner by two breaks, the message stamp's spacing (3 fail in both) and the tty reading a middle press as a right one (the same 9 in both) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* tests: the tty's own cases get their runner in the process suite, ↵Gabriel Schneider11 days
| | | | | | | test/tty.zig (a pardes in a pty of its own, driven by a terminal's bytes, its captures compared with test/snapshots/<name>.golden: the snapshot scripts' commands as methods, their capture and settle code moved from snapshot.zig) and process_test.zig's pool (a child a case, a core's worth at once, a failure run again alone with the wider settle probe), with six empty files for the script families the next changes fill, so each family can be reverted alone Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* tests: hxparity is hxdiff's --parity mode, one driver: the hxparity step ↵Gabriel Schneider11 days
| | | | | | | goes, `zig build hxdiff -- --parity` runs the pty run against the file run as the step did (738 cases, 0 mismatches, 12 waived, its report still named hxparity), and the docs that named the step say so Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* gui: the workspace row's underlay is the tagline's ground: the window ↵Gabriel Schneider11 days
| | | | | | | painted every tagline-role cell's band in the tag's colour under the cell's own, so a theme whose tagline is another colour (dark_plus's blue) showed the tag's gray at the row's left inset and between its cells like an anchor that is not there; the surface carries tagline_bg and the rows it covers, and the band takes it there Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* helix: %S\s+ keeping the line's newline in its last piece is a documented ↵Gabriel Schneider12 days
| | | | | | | pardes choice, waived in words: helix's split_on_matches (helix-core/src/selection.rs:852-880) runs the Rust regex over the whole range, whose \s matches the newline at 14, so the last piece ends at 13, where pardes searches as sam does, line by line (reference.typ, Regular expressions; src/regexp.zig), and \s never reaches a newline unless the pattern names \n (S\s+|\n gives helix's pieces, checked against hx-harness); waivers.jsonl names split-regex-ws and split-regex-ws-tty (hxdiff 2 to 0), reference.typ adds \s to what never matches a newline, and helix-keys.md has its row Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* helix: o on a line indented by less than a unit is a documented pardes ↵Gabriel Schneider12 days
| | | | | | | choice, waived in words: helix's no-language indent_for_newline (helix-core/src/indent.rs:1361-1362, indent_level_for_line at 200-211) opens the line with whole units only, rounding two spaces down to none (and six to four, Enter the same, checked with hx-harness), where Enter, o and O keep the indent as it is, acme's autoindent (reference.typ's Indent row, change tlwwmyym); waivers.jsonl names o-partial-indent-drops (hxdiff 3 to 2), and helix-keys.md's o, Enter and waiver rows say it Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* helix: the page-scroll mismatches were the view's height, not a rule: ↵Gabriel Schneider12 days
| | | | | | | pardes's scroll (Text.scrollViewMove, halfPageMove, gotoWindow) is helix's commands.rs scroll/page_* rule for rule, but hxdiff ran pardes at 80x24, where its chrome leaves the pane 21 rows to helix's 22 (half page 10 to 11, page 21 to 22); the harness runs the core at 80x25 so the pane is helix's 22 and refuses a case whose pane is not, and helix-keys.md says why: hxdiff's twelve page-scroll cases and gb-after-zz pass (16 to 3), hxparity's five page waivers match again (5 to 0) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* helix: hxparity's pty run parked its cursor at (0,0) but left the view where ↵Gabriel Schneider12 days
| | | | | | | tty mode had it, at the live grid's bottom, so zj there scrolled nothing and scrolloff snapped the cursor to row 13 where the file run's went to 4; the harness now lets the view follow the parked cursor (ensureCursorVisible, the state a real gg reaches: the same 738 results), zj-snaps-cursor passes, and the seven viewport waivers that only recorded the stranded view go (zj-snaps-cursor, zj-noop-in-band, zk-bottom-snap, sticky-view-scroll, sticky-view-then-move, sticky-view-ignores, view-z-not-sticky); helix-keys.md's parity waivers say so Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* helix: zz and zc put the cursor's line (rows - 1) / 2 rows down the view, ↵Gabriel Schneider12 days
| | | | | | | helix's align_view (helix-view/src/lib.rs:62-67), where pardes put it rows / 2 - 1 down, a row too high on an odd view: hxdiff's four gt-after-zz cases at 80x24 (21 body rows) pass, gb-after-zz passed only by the view's own missing row and now waits for it; a behaviour test centres l15 on the 21-row view Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* fix: Follow's cursor past a page could hop into a collapsed page of the ↵Gabriel Schneider12 days
| | | | | | | chain, which shows nothing (a collapsed page counted as an empty page): the chain flows past collapsed pages, its hops and ends skip them, and each keeps its scroll until it opens; reference.typ's Follow says what it does not do (a line longer than a page shows its start only, as in any pane; a hop leaves one cursor; two views ordering the pages differently); a behaviour test collapses the last of three pages Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* fix: a session whose runtime directory was not the user's alone ran with no ↵Gabriel Schneider12 days
| | | | | | | 9P socket and no word, which read as a detached session parked before its listener (a bash recipe's mkdir -m 700 -p dir/sub leaves dir at the umask's 755; smoke.py chmods it): the socket check (9p_io.noSocket, the long path's too) says no socket: <dir> must be a directory of yours alone (mode 755, owner 1000): chmod 700 it, to the log, pane 0's message and a --detach start's stderr, and --9p's help says the directory must be mode 700; a unit test opens the directory to others Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* fix: a build with the addons compiled in (any off Linux, the static step) ↵Gabriel Schneider12 days
| | | | | | | and -Dpdf=false did not compile, Addon.zig importing a pdf_addon the build had not made: the builtin_addons options say whether the pdf addon is built, and without it the image addon is compiled in alone; an aarch64-macos -Dpdf=false compile no longer names pdf_addon (its one error left is daemon.zig's darwin CMSG_CLOEXEC, a break of its own) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* fix: the Debug box's frame timings blanked once their numbers passed ↵Gabriel Schneider12 days
| | | | | | | draw.zig's 96-byte buffer (FrameStats.summary's bufPrint caught to ""): the widest summary is 132 bytes, FrameStats.summary_max, summary takes a buffer of that size and cannot fail, and draw's is one; a test fills the ring with the widest numbers Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* fix: bytes for a terminal's program past the 4 MiB that may wait behind the ↵Gabriel Schneider12 days
| | | | | | | effect ring were dropped with no word: parkPendingWrite says so in the pane's message, write: N bytes for the program dropped, past the 4 MiB that may wait for it; a core test writes past the ring and the cap Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* fix: the ledger's recent.merge leak on an out-of-memory appendSlice is not ↵Gabriel Schneider12 days
| | | | | | | one: merge's defer frees every path still in opens on that return; a test fails each of a merge's allocations in turn and testing.allocator finds nothing left, kept as the pin Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* fix: a pipe's answer past max_stdout_bytes or the job's total, or with cuts ↵Gabriel Schneider12 days
| | | | | | | that overlap, left the text as it was and said nothing: each says so in the pane's message, the text left as it was; a test answers a two-selection pipe with an output one byte past the cap Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* fix: Recent's one-time import from the files before the state file read ↵Gabriel Schneider12 days
| | | | | | | nothing, and said nothing, for a directory whose path passed its room (a bufPrint caught to ""): a directory past max_path_bytes is said in the message, Recent: the files before the state file were not read: their directory's path is N bytes, too long; the import test gains such a window Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* fix: upgrade.load's unlink of an older build's dump file took its path ↵Gabriel Schneider12 days
| | | | | | | through a catch "" that a path past 4096 bytes would have hit, unlinking nothing: such a path never loads (fs.readFile refuses it, PathTooLong), and the session starts afresh saying so with the dump kept for a Restore, so the unlink 0-terminates the path where it runs and says why it fits; a test loads a record naming a 4096-byte path Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* fix: a window handover under a runtime directory too long for a window's 9P ↵Gabriel Schneider12 days
| | | | | | | socket made the window and waited 15 s on a registry entry that could never answer (past ~490 bytes its path was empty): it says so first, no new window: XDG_RUNTIME_DIR is N bytes, too long for its 9P socket; daemon.find's reason for a name past its room is cut, never empty (Zig 0.17's bufPrint writes what fits), and a test pins that Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* fix: a raw terminal's key whose text passed forwardKey's 256-byte buffer (an ↵Gabriel Schneider12 days
| | | | | | | input method's commit, a paste as one key) was dropped with no word: the encoding grows past the stack's room onto the heap and goes out through emitWrite, cut into writes in order; a failure to grow is reported; a pane test forwards 1000 bytes of key text and reads them back whole Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* fix: a session whose runtime directory makes its 9P socket's path pass ↵Gabriel Schneider12 days
| | | | | | | sun_path said so only to std.log, off by default, so a detached one ran with no socket and no word: the check (9p_io.tooLong) gives the words, 9p: the socket path is N bytes, 108 is the most: set XDG_RUNTIME_DIR shorter, to the log, to pane 0's message and, at a --detach start, to stderr, and the session runs on; a unit test pins the check and the message Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* fix: test/daemon.py --upgrade --gui waited for a second view's frame in the ↵Gabriel Schneider12 days
| | | | | | | session's own captures (caps/view-1), which no build writes since a session shows one frontend of its own: the second window is a replica client, opened as window_clients' second is (its own process and captures), and after the upgrade the session's window is drawn again while the old build's client window is let go and told to upgrade too Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* fix: test/daemon.py --upgrade's fds level counted the second terminal as a ↵Gabriel Schneider12 days
| | | | | | | view of its own (its terminal and its stub's pipe, two fds) where it joins as a replica client today (one connection, let go at the exec and told to upgrade too): the session lost exactly its three replica connections (ss -xp maps each to its peer), so nothing leaked; the level takes one for a client and two for a view, and the redraw check accepts the client's word Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* gui: a fine wheel's or a touchpad's turns that stop at a fraction settle ↵Gabriel Schneider13 days
| | | | | | | onto a whole row: two loop steps with no turn (SDL tells no gesture's end), scroll_lag eases onto the core's row on the glide's law, which is the next row the way the turns went, so the settle never moves against them, and a turn mid-settle goes on from where it got; the picture no longer rests a fraction of a row off its cells; a gui test ends a burst at a quarter row and turns again mid-settle Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* gui: a body scrolling under held rows (TreeContext's sticky context) glides ↵Gabriel Schneider13 days
| | | | | | | without trash: the glide measured and kept its rows from the body's top, so the gap showed a held row or none, its rows that left were drawn above the held band where the scissor hid them (the layer's first row showed through twice, 0.9 rows apart), and a body layer's rows past the grid (what the compact context rows save at TaglineSize < 100) were left behind at the bottom; the glide now takes each body's held rows (Glide.held), the gap rows go under them, the touch path's edge row too, and the layer's extra rows move with the rest; a glide test pins the kept row under held rows Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* gui: the caret is drawn with its line while a wheel's fraction holds the ↵Gabriel Schneider13 days
| | | | | | | text off its cells: a bar (and the caret's quad while it eases) was drawn on its cell, up to a row off its text, which a high-resolution wheel leaves resting at a fraction nearly all the time (caretRide now carries scroll_lag as it carries the glide); a gui test pins the bar on its line at a resting half row Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* gui: a wheel's fraction that moves the picture owes a frame even when the ↵Gabriel Schneider13 days
| | | | | | | core does not scroll: a high-resolution wheel's turns (fractions, the touchpad path) that took the picture back onto the core's row drew nothing, so the window rested on a frame a fraction of a row off ("halfway") and the next turn's frame jumped from there, against the turn when it reversed (the bounce); two gui tests turn the wheel as SDL does and hold the drawn picture to the state and to the turn's way Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* gui: a kind's pane (an image, a PDF) is watched again and shows its file as ↵Gabriel Schneider13 days
| | | | | | | it is now: Kind.open and a restored kind's pane emit its watch, which kinds #14 dropped with pdf_view, and a reload counts into its pictures' keys, since its kind numbers them afresh from each open and a window keeps a texture by key; the T1 session watches files as a host does (Session.filesChanged) and two behaviour cases pin it Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* perf.zig: --op <label> measures one gesture alone, and the three baselines ↵Gabriel Schneider13 days
| | | | | | | (tui and gui Debug, tui ReleaseFast) are re-recorded on an idle machine at this head, re-keyed to the harness: the old files carried the pre-rewrite's numbers, and every cell is now the rewrite's own (render 90→81 µs Debug, 77→73 ReleaseFast; edits 2.6x, body-appends 100x faster) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* perf: recolorSyntax paints a grapheme's cells in a loop per painter again ↵Gabriel Schneider13 days
| | | | | | | (its syntax colour, a diff's emphasis ground, a result's emphasis, a +Pager's colours), each run only when it paints, where qoqpsnqx's one loop asked all four on every cell: that cost the medium file's frame 185k instructions (1.15M to 1.33M, +16%), about 6 µs of every render, key, page and wheel step, and the frame is back to 1.14M, what it was before the refactor Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* follow: `Follow` (SPC c f) is Emacs's follow-mode, one text across a chain ↵Gabriel Schneider13 days
| | | | | | | of Zerox twins shown in column order as consecutive pages (File.followChain, which syncTwins runs only for a twin group holding a chain): a scroll of any page reflows the others from it, the keyboard's page leaves its inner edges to the cursor, which goes on into the next page rather than scrolling it, the chain's ends scroll it as one pane, `Unfollow` on a follower's tag (or Del) takes a pane out, and the chain is a twin's `follow` flag with each view's `follow_scroll`, so a dump, Restore and replicas carry it; test/behaviour/follow.zig and follow.snap pin it, the reference, guide, changelog and builtins-json say it, and the builtins, leader and ttyhelp goldens list SPC c f Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* themes: a theme may colour the tagline (the workspace row) on its own, ↵Gabriel Schneider13 days
| | | | | | | tagline_bg and tagline_fg, an editor's status bar, resolved to the tag's colours without them (ChromeTheme); dark_plus takes VS Code's statusBar.background #007acc with white text, cited; the chrome floors test holds the pair to 4.5:1 and the default to the tag's; the theme and themesel snapshots move by that row Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* gui: a loaded session asks its host for its font again, as it does its ↵Gabriel Schneider13 days
| | | | | | | ThemeFile: an Upgrade's process runs no startup config and the dump's font was already acknowledged, so the new window kept its built-in face at 27 px (Adwaita Mono, 1.5x the user's Go-Mono:18) and told the core that was the font in effect Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* kinds #51, builtins-json lists the shipped addons' words, read off the Zig ↵Gabriel Schneider13 days
| | | | | | | kinds' `Word` lines (image.zig and pdf.zig, handed to the generator and read by the staleness test), each `"addon"` first so the docs test's search for a builtin never meets one and an addon word the docs name is checked against the sources (renaming PdfFit fails it); the glossary says whose addon a word is, and the changelog Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* kinds #50, macOS by pattern: off Linux every core module has the addons ↵Gabriel Schneider13 days
| | | | | | | compiled in (Addon.zig's loader is a Linux memfd, now refused elsewhere at compile time), the native shell registers them at start as the tui and gui do, and `-Dmacos-sdk=<path>` hands SDL's build the SDK's paths, so `-Dplatform=gui -Dtarget=aarch64-macos` configures (and `zig build core-test -Dtarget=aarch64-macos` compiles its test binary, MuPDF and both kinds in, without running it) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* kinds #49, the static builds: `zig build static -Dplatform=tui ↵Gabriel Schneider13 days
| | | | | | | -Dtarget=x86_64-linux-musl` and `zig build static -Dplatform=gui` (dynamic, both addons in) build and open a PNG and a PDF over 9P with `/addons` saying builtin; `Addon load` in a pardes with its addons compiled in is refused in words (`not on this platform: its addons are compiled in`) rather than by a failed dlopen, and building.typ and shared-libs.md name the gui's static step Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* kinds #48, the export rule finished: every Zig kind declares `pub const ↵Gabriel Schneider13 days
| | | | | | | pardes_addon = addon.ops(T)` and calls `addon.exportLib(&pardes_addon)` in a comptime block, which exports it only when the output is a library (Zig 0.17 analyses no `pub const` of a library's root and no comptime block of a type made in a generic function, so the export cannot live in `ops` alone: one comptime line in the kind is the spelling that works), and a pardes with kinds compiled in reads the declarations; image.zig's `pub export`, snake's and life's `export` go, no rename anywhere, and fake.c stays the loader's test, never compiled in Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* kinds #47, MuPDF and FreeType lazy: Zig 0.17's configure is handed the -D ↵Gabriel Schneider13 days
| | | | | | | options and never the steps asked for (the configurer's argv, and the configure cache keyed on it), so no step can fetch for itself; the guard is `-Dpdf`, on by itself once MuPDF is fetched (std.Build.package_map's `available`) and off Linux, which asks `b.lazyDependency` for MuPDF, and FreeType (with the zlib and libpng it brings) is lazy too and asked by it or a window: a fresh checkout's `zig build -Dplatform=tui` fetches none of them, and without `-Dpdf` the pdf, addons, static, mupdf-check, pdf-harness and bench steps say to add it; building.typ, install.typ and shared-libs.md say so Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge