summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* text: a terminal's edit overlay and its undo are the Text's: EditBuffer, ↵Gabriel Schneider15 hours
| | | | Snapshot and history_max move from terminal.zig into Text.zig, as they are, so Text names no terminal type (terminal.zig and panes.zig's ovl name them there, as test/panes.zig does); a move, nothing else
* pager: a +Pager reads its program's output with its own parser, so pager.zig ↵Gabriel Schneider15 hours
| | | | stops importing ghostty-vt: ECMA-48's states as ghostty-vt's table has them (C0 acted on in an escape or a CSI, dropped in a string, the C1 bytes' transitions outside an OSC's and a DCS's data, CAN and SUB), UTF-8 with each ill-formed part one U+FFFD and a sequence the input ends inside not printed, a CSI's parameters at ghostty's limits (24, saturating, colons only for SGR), and SGR read as its sgr.Parser reads it (colon colours with and without a colour space, 38;5 short of its index, unknown colon lists skipped, 58 consumed); CNL and CPL's return, CHT and REP as before; the Handler's printing, spans and overstrike are unchanged and still take a run of code points at a time; against the ghostty-driven parse, 400,040 pages (39 fixed: the tests' 17 inputs and 22 malformed, truncated and 8-bit cases; 400,000 random pages of escapes, parameters, controls, C1 bytes and UTF-8 fragments, a 3,000-line coloured log) came out with the same text and spans, in a test run once then removed; a 32 MiB coloured log parses in 1,997M instructions against 2,049M (98.6 ms against 110.3 ms, ReleaseFast), its printable ASCII going straight into the run; test: the less common forms, pinned (colon colours, 0x9b as a stray byte, CSI and UTF-8 C1, REP, CHT, CNL, 38;5 alone, UTF-8 cut short); the changelog says so
* colors: the 256-colour palette is pardes's own, colors.xterm (the sixteen ↵Gabriel Schneider15 hours
| | | | named colours Art.zig kept, xterm's 6x6x6 cube and 24-grey ramp, at comptime), so Art.zig and gui.zig stop importing ghostty-vt: Art's Petscii takes its first sixteen and drops its comptime check against the emulator, gui.zig's palColor goes and its two .index cells read the table; terminal.zig's test holds all 256 entries to ghostty-vt's color.default; the changelog says so
* width: the core measures a grapheme's cells over uucode itself, ↵Gabriel Schneider15 hours
| | | | File.utf8Width beside graphemeDisplayWidth, so libvaxis leaves the core module (build.zig gives it to main.zig's roots alone, the tui's and the gui's); it is libvaxis's gwidth(.unicode) over the same uucode tables in one pass (a grapheme as wide as its widest code point, the text selector, the emoji selector, emoji presentation and a flag's pair as there), and returned the same width on every Unicode scalar value (1,112,064), 76 multi-codepoint graphemes and 2,000,000 random sequences of joiners, selectors, marks, jamo, regional indicators and any scalar, and graphemeDisplayWidth the same on 6,260,096 byte strings, invalid UTF-8 included (a test run once, then removed); 204 instructions a non-ASCII grapheme against vaxis's 309 (ReleaseFast), a render of perf's small file 11,679,818 instructions against 11,685,276; surface.zig and draw.zig's test call it; tui.zig's test holds vaxis's width to it on a corpus, as vaxis renders the cells the core lays out; the changelog says so
* addons: an addon can hand the frontend a GPU scene (ABI 3.1), and a snake ↵Gabriel Schneider15 hours
| | | | | | | | | | | | | | drawn by shaders does; a commit's patch keeps its own +Diff pane; a real ZLS checked through the window build ABI 3.1 appends an optional `gpu` callback and its context to pa_paint: one self-contained sketchbook SGPU v1 scene for the pane, at most 4 MiB, copied during the call, the last successful call winning. The SDL frontend runs it on its own GPU through sketchbook's executor and composites its target texture into the pane; replicas carry the scene beside the authoritative pane frame; cells and rasters stay the fallback for terminals, older hosts and frontends without an executor. addons/snake_shader is such an addon (`zig build snake-shader`, the SnakeShader word: a board that follows its pane, buffered turns, a CRT look), with test/gpu_snake.py, test/gpu_snake_interaction.py and test/gpu_upgrade.py. Commit patches open as `+Diff-<short-hash>` and reuse only their own commit's pane, so another paged patch no longer replaces one already open. The language-server client looks in the standard per-user bin directory, which desktop launchers often leave out of PATH, and takes an empty answer that beats the startup progress notification onto the wire; test/real_zls.py checks imports, hover, references, rename previews, diagnostics and completion against a real ZLS from a private home. The dump's schema reader skips two fields older builds persisted, and a replica's shadow of a kind ticks when the authority's does. The reference, the guide, the building and setup notes and the changelog say so. The working copy as it stood on 2026-11-12; message written by Claude from the diff, at the author's request.
* scip: support 512 MiB workspace indexes with lazy bounded storageGabriel Schneider6 days
| | | | | | Raise both index and lookup-table budgets to 512 MiB so the 104 MiB Agave index fits. Allocate the two cache regions on first use to avoid oversized static storage, and propagate allocation failures. Update the documented limits. Verified nine language-backend tests, native addon checks, and the live Agave index (1,117 documents and 156,866 symbols).
* zstbi: upstream's main, the fork pinned before being gone: Pivok7/zstbi ↵Gabriel Schneider6 days
| | | | (zig-gamedev/zstbi PR #16, the Zig 0.17 port the manifest waited on) is deleted and a fresh checkout could not fetch it, while upstream has since ported itself (6b9bea1f); its init takes no Io and can fail, and its resize can fail, so TerminalImages.start takes the allocator alone (a start refused leaves PNGs refused, as before one) and a resize that fails is an undecodable PNG; host_io.startWorkers and tape.replayMain lose the Io they only handed on; build.zig's patch of zstbi.c applies unchanged (the file is the same); test: kitty: a PNG longer than 1280 pixels on a side is kept at 1280 (the one path through zstbi, which no case walked: a 1300-pixel one-bit PNG built in the test, its row stored); kitty-test 45 of 45; the changelog says so
* lib: pardes's syntax is a library, as ghostty-vt is ghostty's: a package ↵Gabriel Schneider8 days
| | | | that depends on pardes is given build.zig's `library` and nothing of the editor, one module, `pardes-syntax` (src/lib_syntax.zig), naming what a program that draws source text itself takes, the editor's own code under its own names (highlightFileRange and analyzeSource for a Syn a byte and the sticky headers' declarations, parse and walkNodes over the tree-sitter bindings, theme, page, ink and synInk for a named theme's colours, the line arithmetic, pathFor for a language's name); every dependency but tree-sitter's runtime is lazy in the manifest, so such a package fetches the runtime and the grammars of its tree-sitter set alone, and pardes's own build asks for all it is missing in one round before its first b.dependency; build.zig's tree-sitter and theme-generator blocks become treeSitter and generatedThemes for both to call, a grammar not yet fetched asked for and left out of that round, and the scanners' -include of src/tree_sitter_heap.h is spelled from the root package's directory, where the compiler runs (pardes's own flags are as they were); File.synStyle's switch moves to colors.synInk, so the editor and the library colour a class from one place; test/lib is such a package, depending on pardes by path: it colours, outlines and walks a C and a Zig source in orchard's colours under the testing allocator, and `zig build lib-test`, which unit-test runs, is its own `zig build test` over this checkout's zig-pkg; ts_markdown is pinned by the commit its hash is of (a0a00f81): its split_parser branch moved to v0.5.4 and a fresh fetch no longer matched; building.typ and the changelog say so; syntax snapshots unchanged
* history: each dump is the command that brings it back, `Restore <label>` on ↵Gabriel Schneider8 days
| | | | | | | a line of its own, its date, size, pane count and names indented on the line under it, so the line is a whole command (a sweep of it, a click on its Restore, a look at it) and the details are read, not parsed; the builtins JSON, the reference and the changelog say so Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* docs: the changelog says what Enter, o and O do with a grammar's indent ↵Gabriel Schneider8 days
| | | | | | | query and that a +History row carries its Restore, the builtins JSON of both builds says History's new row, and the A4 cheatsheet is rendered again with History in the workspace tag Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* history: a +History row reads `Restore <label>` before its date, size and ↵Gabriel Schneider8 days
| | | | | | | panes, and a click on that Restore (an exec, or a look) is a Restore of that row's dump, exec.operandAt expanding the word to the label beside it as the row reads, where a bare Restore would have been this session's last dump; a look of the whole row reads past the word; the behaviour test clicks a row's Restore and looks at a row Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* panes: exec.noteRun and exec.commandDone become Pane methods (pane.noteRun, ↵Gabriel Schneider8 days
| | | | | | | pane.commandDone) at the end of the Pane struct, beside the command_* fields they keep, since they act on one command pane; commandDone takes the pane its two callers in Core already hold, with its id for the close and the report, in place of looking it up again Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* layout: exec.placeNew moves into layout.zig as layout.placeNew, with ↵Gabriel Schneider8 days
| | | | | | | NewPane, the type only it switches on, and acmeColumn and columnOf, which only it calls, before canSplitCol, since 29 of its 41 references are layout's own (acmePlace, takeRoom, splitTallest, placedRoomy); callers name layout, and Dir, mini and Store, which imported exec for it alone, import layout instead Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* normal: the selection and motion actions only executeNormalAction calls ↵Gabriel Schneider8 days
| | | | | | | (multiSelAction, maxLine, pointMove, wordMove, findMove, verticalMove with filePane, halfPageMove, gotoWindow, lineSelect, lineBoundsSelect and shrinkSelToLineBounds with lineStartOrEof) and selStart, which only replaySels calls, move from Text.zig to just before their callers as file-private fns taking the *Text, their bodies as they were, so a key's motion is read in the file that dispatches it Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* kind: a view's facts (Kind.viewOf) count its bands as Messages.bands makes ↵Gabriel Schneider8 days
| | | | | | | them from what a dump keeps (the pane's messages and prompt, the view's leader, rect and tag rows), never the derived copy a step or a park left in Pane.notices or Pane.pv, which a client joined from a dump has not: its kind was told other rows than the session's and the join diverged (`digest N differs in panes pane M.addon`); collectNotices makes the live view's from the same function Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* kind: a kind's open is the authority's alone (Kind.reopen, authorityOnly as ↵Gabriel Schneider8 days
| | | | | | | a key's or a word's into its pane is): a replica has no kind's code, so its guess of a word that opens a pane with no file (Snake, Life, Fake) made the open's outcome a default and was always mispredicted; it waits for the authority's unit now, as do a Look, a revived placeholder and a reload that reach the same open Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* syntax: a file's kept tree is told each edit (File.edit, ts_tree_edit) and ↵Gabriel Schneider8 days
| | | | | | | the next parse starts from it, so a new line's indent in a 9k-line Zig file costs the 0.2 ms of what the edit touched, not the 47 ms of a parse anew (3.5 ms → 0.5 ms for 400 lines); not while a rollback copy holds the tree, which an edit in place would change under the copy: that one is left as it was and parsed anew, as is one whose revision moved without it (a twin's edit), by node_tree_edits, the revision its edits reach Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* edit: Enter, o and O give the new line helix's indent where the file's ↵Gabriel Schneider8 days
| | | | | | | grammar has an indent query, its indent_for_newline over the file's tree (indent.zig: the reference's containment engine, every capture and predicate the vendored queries use, the hybrid heuristic), else acme's copy as before; and Enter between a pair puts the closer on a line of its own at that indent and the cursor on one a level in, as helix's insert_newline does, in plain text too Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* syntax: helix's indents.scm vendored beside each grammar's textobjects.scm ↵Gabriel Schneider8 days
| | | | | | | and embedded the same way (zig's adapted to this grammar's node names, rust's \A regexes written with ^, erlang's left out as it does not compile here), compiled when first asked for as a Lazy beside the textobjects, so a new line can take its indent from the tree Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* macos: pardes builds for darwin again as far as a Linux host can take it ↵Gabriel Schneider8 days
| | | | | | | (the tui links, the native shell's libpardes.a and its tests compile; the gui stops at SDL's frameworks and xcrun): recvmsg's CMSG_CLOEXEC and close_range are Linux's (darwin marks the received fds FD_CLOEXEC, closes the rest one by one), hungUp asks no fd of vaxis's test tty there, a kind exports pardes_addon only as its own library's root (macOS's libpardes.a had every compiled-in kind's), and macos.zig drops what the rewrite deleted (animation.zig, the CRT post pass and scene clock, pane transitions and their diff, the presentation's pointer map: the C ABI stays, its lists empty), with its scene, panel-order and panel-mask tests and the theme-fade half of its live-session test gone; the rest of upstream a41360e3 is dropped as superseded (views.zig's RenderMotion and drawOneAt, replica.zig's motion, input stamp, drawAt and animating with its two cursor tests, window_fields and the whitespace hunks) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* macos: a window client draws its own motions and follows the session: its ↵Gabriel Schneider8 days
| | | | | | | loop wakes a frame at a time while its glide, caret or trail moves (frontendMoving, also its FrameStats' animating) and at each blink edge, a touchpad's fraction is its picture with whole rows posted as inputs (stepScroll's body is scrollRows, the local pump's and the client's), and the session's Font is resolved here by the face's name (fonts.remote, syncReplicaFont), where before the client kept its own font and scrolled a whole row a turn Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* macos: a windowless gui authority follows its terminals' directories ↵Gabriel Schneider8 days
| | | | | | | (pollCwds before the no-window return, upstream's test ported onto forkShell's seven arguments), and a replica joined from a dump paints the restored theme's chrome (initDump runs finishThemeInitialization: Core.chrome is local and was never recomputed, so the join showed the default theme's tags until the next Theme, as the ported test showed before the line) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* macos: the AppKit trackpad adapter for the SDL window (upstream a41360e3's ↵Gabriel Schneider8 days
| | | | | | | Trackpad.zig, macos_trackpad.{h,m} and their test as they were), its gui.zig hooks on today's names (pointAt, view().jumps and active, one setFontPx for a key's step and a pinch) and the build's shim per gui module with macos-trackpad-test registered once after the loop, all gated to macOS so a Linux touchpad's pinch and the goldens stay as they were Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* kinds: a kind's place is its last call's outcome, on the tape and in ↵Gabriel Schneider8 days
| | | | | | | Slot.where_text on every core (digested now), which Jump and Recent read: they asked the kind through a taped placeOf that a Shadow answered from the place it last replayed, so a call in a step of another view's (after a window joined) moved the PDF's place unseen and the window's Esc back to it guessed 16:0.000000 1.000 against the authority's 16:0.000000 0.045 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* tape: a traced misprediction (PARDES_REPLICA_TRACE) shows each answer's ↵Gabriel Schneider8 days
| | | | | | | bytes, not its length alone: two answers of one length that differ say which bytes do Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* soak: a tty replica client draws its own motions (the glide, a jump's trail) ↵Gabriel Schneider8 days
| | | | | | | a frame a tick while they move, as the local loop's waitInput does: its loop woke only for an event, so a wheel's glide showed nothing until the next key (instant's tty scroll_wheel 56% at once, p99 624 ms, through the box and at 0 ms alike) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* a session's end leaves a slim dump and History lists them, the tags gain ↵Gabriel Schneider8 days
| | | | | | | Follow, History and the window's Fonts: every way out (Exit, the last pane's Del, the host's quit) runs Pardes.endSession, which puts a dump of the session in the state file under the usual label before quitting, slim by the dump's own means (dumpJoin's slim_terminals, and Store's slim-file swap now a Slim struct: no undo, a clean file's text read from its file again by revivePane, a terminal a size for a new shell), none for a session of shells alone; the dump's image carries the panes' names, which /dumps rows end with; the History builtin (SPC f h) lists the state file's dumps in a +History pane and a look at a row is a Restore of its label; the default tags: Follow after Collapse on text panes, History before Debug on the workspace row, Fonts after Themes in a window's view alone (tagline.topbarDefault picks the row per view; both rows are known defaults to the docs and tutor tests); the tty goldens re-recorded (the new words; a narrow pane's tag wraps to a second row, so its body rows shift), builtins JSON regenerated Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* idioms: std.Io's names for the std.fs aliases left in Addon, Kind, rollback ↵Gabriel Schneider9 days
| | | | | | | and replica (std.Io.Dir.path, std.Io.Dir.max_path_bytes), and the window's handover dump written and removed through the shell's io (Io.Dir.writeFile at 0600, deleteFile) instead of libc open, write and unlink Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* idioms: swallows a caller can decide on, decided: a key a macro or a repeat ↵Gabriel Schneider9 days
| | | | | | | cannot keep is said (Macro.append returns error{OutOfMemory}), a kind's found rows and list pane say their copy's failure as their fill's, a kind word's value past its pane's 256-byte record is said instead of dropped, and the REPL ask record's two prints, which fit, are unreachable with the reason Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* idioms: the terminal host's tasks say what they fail with: readPty returns ↵Gabriel Schneider9 days
| | | | | | | error{OutOfMemory} and watchFiles nothing, their futures typed so, for anyerror Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* idioms: the edit surface fails by name: the undo history (Journal.mark, ↵Gabriel Schneider9 days
| | | | | | | Text.remember and step, File's, terminal's and edit's pushUndo and undoStep) returns error{OutOfMemory} instead of dropping an undo point, setEditText, enterInsert and insertTab return edit.Error with try where they reported each failure, Registers.put and setYank return error{OutOfMemory} instead of losing a yank, and their other-file callers decide (try under edit.Error, said on the pane by Undo, Redo, Pipe, Edit, Query, keys, look, completion, Incl and Plumb, ENOMEM or null where a 9P write answers, Ask's false); ctl.get and getFile return GetError (fs.ReadError, now named at fs.zig's surface, and InvalidName) for the *anyerror out-parameter and errno, the 9P get, Get and Edit's e mapping it as before; the OOM undo test pins the error; perf.zig's try relabels its harness hash, the three baselines re-keyed to it (their numbers the base's) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* idioms: the 9P tree's swallows decided: a directory read stages every entry ↵Gabriel Schneider9 days
| | | | | | | or answers ENOMEM (stageDirent and sources.stage return error{OutOfMemory}, readdir's entries made by stageDir, an /os listing whose buffer fills ends there), a pane's tag read through tagOf fails by name (a read or an event write answers ENOMEM, a stat's length and ctl's line say 0), a pane that cannot close (removePane's nine swallowing callers) and a /pager text that cannot go in (fillClosedPagers) are said on their pane, and Queue.push says once why a lost record is not said Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
* locality: lsp_client's helpers beside their callers: query's (status with ↵Gabriel Schneider9 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 Schneider9 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 Schneider9 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: at the end of their files: every top-level test block of the 46 files ↵Gabriel Schneider9 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 Schneider9 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 Schneider9 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: hxparity is hxdiff's --parity mode, one driver: the hxparity step ↵Gabriel Schneider9 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 Schneider9 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: zz and zc put the cursor's line (rows - 1) / 2 rows down the view, ↵Gabriel Schneider9 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 Schneider9 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 Schneider9 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 Schneider9 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 Schneider9 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 Schneider9 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 Schneider9 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 Schneider9 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 Schneider9 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 Schneider9 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