From e9a641ee2c743fec2fe2505d2e11c96fa36767b8 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 20 Nov 2026 15:13:18 -0300 Subject: core, docs: the docking vocabulary, the family the rename of attached_to to docked_to left (P37): layout.attachFrom -> layout.dockFrom (its five callers: Query.zig x2, Store.zig, its tests), testAttachment -> testDocking, Query.zig's local attached -> docked, the section "Attached panes" -> "Docked panes" (and the three comments that name it), and "attached", "attachment(s)", "unattached", "Attach new pane", "detaches it" where a pane is docked to a pane -> "docked", "docked pane(s)", "undocked", "Dock new pane", "undocks it", through core/layout.zig (two test names with it), core/Handover.zig, core/Store.zig, core/Query.zig, comments in core/panes.zig (4) and core/builtins.zig (2), docs/next-drag.md, docs/search-proto-converge.md and docs/next-daemon.md (1); every attach of a client to a session stays, as do the search prototype's name "attached" and its setting SearchPlace attached|column (docs/search-proto-converge.md:18, :134: names of the past) and the changelog's past entries; no behaviour changes; gate on the stack through this change and the docking vocabulary (load 4-32): tui core-test 871/1028 (157 skipped), shell-test 1070/1073, pane-test 183/184, term-test 17/17, kitty-test 45/45, behaviour-test 275/275 and --replay 275/275, consumer-test passes, addon-test 5/5, process-test 0 of 144 (tty boot: msg failed once at load 32 and passed alone), replicas --clients 5 and --bytes --clients 5: diverged 0, unequal 0, deltas wrong 0, quiet checks differed 0, unlisted stops 0, corpus 22 of 22, no leak; the semantics word a73794ff9e03f814 as on merge40; daemon.py --far, --games, --window-clients pass, plain fails 2 of 4 at "client C agrees with a shell's output" (a timeout), as merge40's build does 3 of 6; the macOS library (x86_64-linux, aarch64-macos, the ABI guard 2/2) and the FreeBSD cross-build build; frames 77/77, gui unit-test 1666/1670 (the perf check's BaselineHarnessMismatch), perfab corpus2x +0.054% (noise 0.054%), the 121 per-operation counts within 0.1% against tree2 (key-down on medium 10,039,720 and render on medium 11,454,636, merge40's gate 10,039,703 and 11,454,619) Co-Authored-By: Claude Opus Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T --- docs/next-drag.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/next-drag.md') diff --git a/docs/next-drag.md b/docs/next-drag.md index 47ccdb0b..dd2f24ed 100644 --- a/docs/next-drag.md +++ b/docs/next-drag.md @@ -43,7 +43,7 @@ window it goes to is found by asking every registry session. grip) released outside goes to `Handover.begin` instead of the layout move. Inside the window the grip drag is exactly as before. - `core/Handover.zig` (`Pardes.handover`), the core half: the pane with the - panes attached to it (an attachment dragged alone goes alone, unattached), + panes docked to it (a docked pane dragged alone goes alone, undocked), or the column, is dumped alone: `dump.dumpBytes(p, keep, carried)`, which `dumpState` now calls with no mask; `State.carried` (`pane`/`column`) marks such a dump. Each carried pane's serial and `File.revision` is @@ -61,7 +61,7 @@ window it goes to is found by asking every registry session. - `Handover.finish`: taken, each carried pane is closed with `Pardes.removePane` (Del's rows rule: its rows go to its neighbour; a carried column's empty column is dropped); a pane whose revision changed - since the dump is kept, unattached ("copied to …; edited on the way, kept + since the dump is kept, undocked ("copied to …; edited on the way, kept here too"). Refused or failed: everything stays, the reason on the message row. One handover flies at a time. - New option `--geometry=WxH[+X+Y]` (runtime/main.zig, `Options.geometry`). @@ -80,7 +80,7 @@ window it goes to is found by asking every registry session. dumped panes into free slots and places them where the pointer is: a pane goes right under the group the pointer is over, out of that group owner's rows alone (the owner keeps its rows down to the pointer's row; - over one of its attachments, half); a column goes beside the column the + over one of its docked panes, half); a column goes beside the column the pointer is over, out of that column's width alone (`insertColumn`). Every other pane's rect is unchanged (tested). The ctl write is answered after the panes are in, so the source closes its pane only once the target has -- cgit v1.3