summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Support continuous macOS history swipes with command-only hapticsmacosGabriel Schneider11 days
| | | | | | | | Keep tracking after each history jump, use a shorter threshold for subsequent steps, and allow reversals without lifting. Stationary fingers and post-gesture momentum do not repeat commands. Remove preview haptic pulses so feedback accompanies navigation only. Update the guide and adapter regressions for repeated steps, reversals, cancellation, threshold reset and absence of preview pulses. Validated with the native adapter tests, macOS GUI release build, remote session rendering and digest checks, and user trackpad testing.
* Improve macOS detached client gestures and renderingGabriel Schneider12 days
| | | | | | | | Add a thin AppKit input adapter for SDL trackpad momentum, multi-finger and force clicks, deliberate pinch zoom, rotation haptics, and shorter history swipes with early haptic cues. Keep remote cursor motion on the frontend clock, resolve configured fonts locally, follow terminal directories without an authority window, and render live tagline themes without waiting for daemon ticks. Validate with native GUI and TUI release builds, trackpad policy and adapter tests, targeted scroll and replica theme regressions, live remote digest checks, visual theme switching, and user trackpad testing.
* Fix macOS stale tag borders, spacing and drag cursorsGabriel Schneider2026-11-02
|
* Enable native macOS replica sockets and repair platform validationGabriel Schneider2026-10-31
|
* Merge the upstream daemon and replicated client/server refactorGabriel Schneider2026-10-31
|\
| * docs/next-daemon.md: the query pane's two: a speculated Enter that panicked ↵Gabriel Schneider2026-10-31
| | | | | | | | | | | | in Query.land (a current item outliving its row: a frozen pane's rows edited, an Esc's `saved` of them), and a window joined from a dump making a `/` query's rows plain where its session had coloured them (a row's colours painted from the derived highlights and locations cache); the fixes, the tests, the gates and the seed-7 box soak with no rejoin Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * locations: a row's colours are in no digest (a `digest` of Row's own; a dump ↵Gabriel Schneider2026-10-31
| | | | | | | | | | | | keeps them): they are painted from what the process has painted, the owner's highlights a frame made and the locations cache, both derived, so a window joined from a dump made a `/` query's rows plain where its session had coloured them (the box soak's `pane 21.file.location_rows` at win207-4's `/r`, unit 4/447); replica.zig's test, main fails it at `pane 1.file.location_rows` Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * Query: Enter lands on a current row only while its place is there: a frozen ↵Gabriel Schneider2026-10-31
| | | | | | | | | | | | query pane's rows edited go with the text they were of (setContentSpan's dropped marks) while its items and current stay, and an Esc's `saved` keeps them so, so Enter indexed `location_rows` past its end, on a frozen pane's row (the test) and, in the box soak's window, on line 1 of a live one (Query.land, `index 1, len 0`: its speculated Enter, another view's SPC b b and Esc ordered otherwise than the session's); with none it is as with no current row, the keyboard to the owner Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * docs/next-daemon.md: a window that joined late diverged at the next key that ↵Gabriel Schneider2026-10-31
| | | | | | | | | | | | moved another view's pane (`pane 23.file.scroll`: a pane's `view` was derived, never dumped, read before the step's sync, the default in a core loaded from a dump; the tty's `SPC t w` at 243 s, its lines unwrapped in the session and wrapped in the joiner), the fix, the test, a 120-seed exploration before and after; not this one: the box run's query-pane divergence (`location_rows`) and `Query.land`'s panic; the gates Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * panes: a pane's view (Pane.view, and a parked view's share of it) is ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | digested and dumped, no longer derived: a key's move reads it before its step syncs (halfPageMove, ensureCursorVisible, through File.geometry), and a core loaded from a dump had the default, Wrap on and no row heights, so a window that joined after `SPC t w` scrolled further at the terminal view's next Ctrl-D (the box soak's `pane 23.file.scroll`, seed 7: win207-3 at its join); replica.zig's test, main's fails at `pane 0.file.scroll` Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * test/soak.py: a box ssh that stalls is no session's death: whether the ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | session lives is asked again (three times), and the harness goes on (a 20-minute box run ended at 14 min on one `kill -0` over ssh that took more than 30 s) Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * test/soak.py: a quiet point's check is the second new line after its key, as ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | daemon.py's made_live: the first may answer a check the client took before it sent the key, and its /layout read another client's view, still the live one (the "panes left its view with no rejoin" breaches, at 207 ms: a line 104 and 133 ms after the key, where one asked after it comes no sooner than ~500 ms) Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * docs/next-daemon.md: the box soak's divergences and its clean quit: the ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | session that quit at its 1093rd input was asked to (window mode left open took `imike quebec `, `SPC q` in a tag); a FreeBSD session's +Help one row short of its Linux clients' (Tty9p a Linux build's word alone), the hunt's `pane 2.file.scroll` gone with it, before and after at seeds 32 and 41 on the box; a Debug replica of a release session at every Grep (Names' query buffer past its length); the gates Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * Names: its query buffer is digested as far as its length (a replica `len`): ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | past it, what is undefined was 0xAA in a Debug build and not in a release one, so a Debug replica of a release session diverged at every Grep's query pane (cross_replay.py, a ReleaseSafe tape replayed by Debug: `pane 2.query`) Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * builtins: Tty9p is a word of every hosted build, not a Linux build's alone, ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | so a build's words, the rows of its Help, are the same on FreeBSD: a Linux client of a box session made SPC ?'s +Help with one row more than its session's and joined again (`pane 4.file.content`, and `.splice` over a +Help made again: two of the box soak's three divergences); whether its host is Linux is the authority's answer (tape.authority), so a replica of a FreeBSD session refuses Tty9p as its session does; test/cross_replay.py's session runs Help (a FreeBSD tape replayed here diverged at its pane's content) Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * views: a client that joins again has its own view back, layout, focus and ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | the panes opened in it: an Upgrade's clients and one whose bye says it joins again (a divergence's, wire 19's `bye.again`) leave their view kept for them (`views_away`, digested and dumped, so an Upgrade's new build has it; taped `awayView`), the client names it in its next hello (`Hello.view`, handed on by the daemon with the connection) and its join takes it back (taped `rejoinView`) rather than a copy of the session's; the live view is never a kept one, `views.count` counts the others, and a join with every view taken lets one go (every Upgrade made each client's own panes leave its view: the hunt's 80 ms cell lost `+Search` and `+New`) Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * dump: a closed terminal brought back on a screen-state replica gets its ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | emulator on the C heap, as terminal.create makes one (terminal.emulatorGpa): loadPane named no `.terminal` allocator, so its emulator was the rollback epoch's, and its screen replica's blobs, made with State.gpa, were freed with the C heap's behind the epoch at a client's end and again by it (H21: `double free or corruption` in Epoch.deinit at a hangup, `free(): invalid pointer` at a rejoin), and a rollback freed what a delta under a held copy made of them Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * test/soak.py: the monkey never asks for Exit: window mode ended with Enter ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | (left open, it took the next action's keys, and a `k` at a column's top went to its tag, where `quebec` typed `SPC q`, Exit, and a session with nothing unsaved quit as asked: the box's 1093rd-input quit), and no word starts with q Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * docs/next-daemon.md: phase 6's instant interaction notes: what stopped each ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | input, counted by name; pardes's own steps over a terminal speculated (H14), its view moved here and put back on a rollback, applied again over each delta; a pane's teardown no stop; the echo's lost predictions waiting for their keys; the authority's yes or no guessed; an input's time its client's; mosh's rules checked; before and after per action class at 0/30/80/207 ms and through the box, the soak's blink, the replicas harness; what is left Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * replica: no digest is taken in a speculation: one over a terminal kept its ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | digest to check its unit's against, and a blob born under the copy and digested there keeps its word past the epoch's free of it (src/walk.zig), so a later blob at that address read as it (the replicas harness, Debug, seed 11 at 207 ms: "not what its kept word was"; in a release build a divergence); a speculation over a terminal is confirmed by its records, as any other, its unit taken at once when more is applied on top Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * replica: an input's time is its client's: it is sent stamped with the ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | client's guess of the session's clocks (wire 18's `stamp`), the guess its speculation records, and the authority's step reads that, not its own clocks (within a second of them, else its own), so a step's clock read never mispredicts: an edit's second across a turn, a message's millisecond (Ctrl-W's, a jump's) were each a rollback (fixer 1: 4 seen in 2 minutes), and every reapply of one now reads the same time Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * tape: a yes or no only the authority holds (whether a script reads a pane's ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | events, whether the session serves a socket) is guessed by a replica's speculation from the authority's last answer to that question, recorded as the answer so its unit confirms or rolls it back: a Look or a click's command in a pane shows at once again, not a round trip late (11 of a Look class's 12 stops); lists (the closed panes, Recent) are still asked Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * echo: predictions lost while their keys are still on their way (a delta that ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | moved the screen's top, a misprediction, a cursor missed) make the keys typed next wait for the newest of them to show, as keys behind one not predicted do: predicted at once from the screen's cursor, they landed where those keys' echo was about to, and at 207 ms (three keys in flight) one such drop misjudged every key after it, so the line's typing was predicted and drawn nowhere (p50 65 ms key to output, 5 of 6 judged wrong); a trace of each misjudged cell (PARDES_REPLICA_TRACE) Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * terminal: a pane without an emulator (a file's, a picker's, a preview's) ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | torn down in a replica's speculation does not stop it: deinitEmulator asked the authority before it looked for an emulator, so the input after any close (its reap) waited a round trip (the finder's typing, 4 of 6 stops) Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * replica: pardes's own steps over a terminal speculated, not every input ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | while one has the keyboard (H14): what reaches its program is a pty write and stops as before; its view (normal-mode keys, the wheel, Ctrl-u) moves here at once, the rollback copy keeping each terminal's view (it holds no emulator) and a delta setting it, put back between the units it replays in the order the deltas came among them; what was applied over a terminal applied again over each delta or rows that come while it waits, and its unit taken at once rather than kept to replay over later deltas; closing a terminal stops (its pty's end is the authority's) Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * replica: what stopped each input's speculation is counted by name ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | (PARDES_REPLICA_STATS's `stops`: a host function's, a site's, or a poison's reason, which tape.poison now takes; PARDES_REPLICA_TRACE says it with the input); a window client's PARDES_TEST_LATENCY says each input (`I seq ns at-once`) and, after each unit, the first of its own not confirmed (`U ns seq`), so a harness finds the frame that shows an input that waited Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * docs/next-daemon.md: fix3: a +Search's rows recoloured in place (dropped_marks)Gabriel Schneider2026-10-30
| | | | | | | | Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * Query: a +Search's rows recoloured are made again (locations.cloneRows, ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | Query.save's copy), never written in place: the rows are a blob (File.State location_rows), whose word a digest keeps by address and a replica's rollback copy pins, so a release session kept the word of their colours before a paint landed (recolor's @memcpy); an edit moved them into dropped_marks with the stale word, a replica that hashed them at another time diverged there (fixer 1's soak: `pane 5.file.dropped_marks`), and a client loading the session's dump hashed the colours it carried and loaded "as another session"; dropped_marks stays in the digest, as an undo back to its text reads it; Stream's test, which a Debug build fails before (`the 82-byte blob ... is not what its kept word was: written in place`) Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * test/soak.py: a soak's session gets a workspace tag without Exit, Dump and ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | their like: the monkey's keys land in tags, and minutes of them ran Exit there (the box's session quit cleanly 88 s in, its stats written, no panic) Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * test/soak.py: a pane that left a client's view says whether the client ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | joined again since (its view new, the known gap) or not, with its /index row; the check compares serials (/layout's and /index's), never slots Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * test/soak.py instant: an input shown within two frames is at once at a short ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | round trip too (a window's software present takes up to a frame); the shell's predicted echo counted over its letters, not the link's keys (its Ctrl-U is never predicted) Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * test/soak.py instant: does each local action feel local: per action class ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | (type in a file, at a shell prompt, move by keys and by click, scroll a file by keys and the wheel, a terminal's history by keys and the wheel, select, the Panes picker) and client kind, the share applied at once (the replica's trace of stopped inputs, and shown within half a round trip), keystroke to present p50/p99 against a local session's frontend measured in the same run, and the shell's predicted echo; breaches under 99% at once, over two frames past local, under 95% predicted; the soak's blink breach at a visible rollback a minute; clicks as one write; a box restart with no core to keep Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * test/soak.py: an Upgrade alone can be asked for (--events ''); a terminal ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | client's rejoins after an Upgrade counted by the Upgrades made while it ran (its notice can be gone before a frame shows it); a client's visible rollbacks are its process's count, not summed over its links Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * test/soak.py: the gate commands and the narrowing flags in its header; a ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | client's speculation (at once of its inputs) and predicted echo in the table; each session's log kept an epoch, and a dead box session's core; the box's 9P forward waited for until it answers, its socket made afresh at a restart Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * test/soak.py: a cell measures to its end: a client that dies is started ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | again as its user would, and the session too, its epochs counted; the panes on a client's view kept between quiet points (lost: still open, no longer on it); rejoins after a divergence told from an Upgrade's; each client its own XDG_STATE_HOME, as a client on another machine has; cores (systemd-coredump) and deaths by signal are breaches; a session that will not Exit is killed, not a lost table Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * test/soak.py: a soak of replica clients, what a person does in them through ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | each link, measured: a session on a directory and two shells (here, or on the FreeBSD box over ssh), terminal clients in a pty kept by pyte and offscreen window clients through their test feed, each a seeded monkey of moves, edits, undo, saves, Looks, pickers, shells with programs, panes and columns, clicks, the wheel, the pointer resting, pastes and idle gaps, beside resizes, detaches and attaches, an Upgrade and a script's 9P edits; its table a client (rejoins, checks that differ, exits and cores, freezes at quiet points, a terminal client's screen and cursor against the session's render of its view, visible rollbacks, keystroke to output or frame p50/p99) and the session's worst boundary, exit 1 on any breach; test/delay_relay.py takes --jitter (order kept) Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * docs/next-daemon.md: fix's gates, run again over npzpposw and wxpkrpwoGabriel Schneider2026-10-30
| | | | | | | | Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * docs/next-daemon.md: two leaks the soak showed after the first round, a ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | resize made inside a step and a loaded search's regex, their fixes and tests, and a breach not confirmed Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * terminal: an authority with screen-state replicas sizes a terminal after the ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | step's unit, not inside it (resize_to, made by Peers.unit, null from `create` on): a client typing at another size than the last typist read history rows its replay held as holes, and the rows the session sent for them came in the new grid's numbering, which the replica cannot take, so its replay read blank text (the soak's local80 cell: jumps, njumps, jcur, pane 1.body at a b; fixer 2's H18, pane N.ovl); test/replicas.zig sizes them after its fill too; an in-process test reads the history in the step that resizes, with the session's order of flush, fill and unit, and another makes a terminal from 0xAA memory and finds no size waiting Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * Places: its regex made again from its pattern when a set holds none: `re` is ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | derived (in no dump and no rollback copy), so a client that joined took a loaded search for a list's and found nothing an edit made, and diverged at the next edit, again at every rejoin (the soak's local207 cell: pane 3.places.hits, and pane 17.cwd, which inherits pane 2's and hashes it whole); a test loads a session's dump and makes the same edit in both Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * docs/next-daemon.md: fix's gates on uxwrlzlw, and the ReleaseSafe far joins' ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | RSS as measured there Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * docs/next-daemon.md: fix3: a 9P write's Grep or Find, its search a tape siteGabriel Schneider2026-10-30
| | | | | | | | Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * Stream: a search run on the loop (a 9P write's Grep or Find, which answers ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | whether it found anything) is a tape site, `search`, its batches what the replay takes, as it takes a worker's (Event.search): its file reads were no site, so a replica of a session a script greps in read no file and joined again (`a syscall that is no tape site, made replaying`, a terminal client live, 2 of 2 before, none after); test/cross_replay.py's session greps and finds again Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * test/daemon.py: a session Exited by its 9P may close the link before the ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | | | | | write's clunk is answered: that EOF is the session gone, as asked (exit_session, at the three places that Exit twice past unsaved text) The far clients' teardown failed once in a Debug run of 20: the second Exit ended the session, and ninep.write's clunk after it met the closed link, an EOFError the test did not take for the session going. The session is right: a link is closed with its session, whatever was asked on it after the write that ended it. Four runs of 20 since, each through the far clients. Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * docs/next-daemon.md: fix2 on H18 (the same mechanism as fixer 1's, which ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | lands; its create must make resize_to null), the kept-rows read flag, and the round's gate Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * terminal: a step that reads a terminal's rows as the core keeps them marks ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | | | | | | | | | it read too: `fill` sent a client that came since (its history all holes) none of the rows the step read shellRows set `read` only when it built the rows, not when it handed out the ones kept since the last write, so after a client joined (or was started afresh) a step reading through the cache left the client's holes unsent, and it replayed the step on blanks. Found on the way to H18, whose fix is fixer 1's (wwkwwlzt). Test (failing before): a step that reads a terminal's rows as the core keeps them sends a new client the ones it holds as holes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * docs/next-daemon.md: fix3's second round: H19 (an enum digested by its ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | number), the linger leak, H15 (Adopt), the web build, and a 9P Grep's untaped search found on the way Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * walk: an enum is digested by its name (its word, a fixed-width hash), not ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | its number: registry.Builtin, made at compile time, has Tty9p in a Linux build and not a FreeBSD one, so a +LocationsConfig (its output's origin a Builtin) digested otherwise in each, and a Linux client of a FreeBSD session holding one could not join (the hunt's H19: `the session's dump loaded as another session`, main's window client of main's session on the box; after, a terminal and a window client here join one with a +Search, a directory, a renamed file and a +LocationsConfig, and agree); walk's test, and test/cross_replay.py's session holds a +LocationsConfig and a renamed file (a FreeBSD tape replayed here diverged at pane 2.file.output before) Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * web: the build links no libc, so what is the C heap's is a hosted build's ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | alone: terminal.create takes emulator_gpa (std.heap.c_allocator) only in a hosted build, as only one has a screen-state replica, and walk's blob lists (a replica client's, a join's) only with libc; `zig build web` failed on main at terminal.zig:601, and at walk.zig:115 behind it; it builds, and test/web-snapshots/touch.mjs passes (the driver's own CDP-deadline test fails as on main, untouched) Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * Adopt and a terminal reader's failure are inputs (Pardes.adoptShell, ↵Gabriel Schneider2026-10-30
| | | | | | | | | | | | readerFailed; tape.Input adopt_shell, reader_failed): tty.zig's and gui.zig's adoptShell ran the Tty word and cleared the pane's greeting straight on the core, and the window's reader failure set its pane's mode, between steps and untaped, so every client of a session that took in a dead session's shells joined again (the hunt's H15: `the unit of 0/48 diverged: the core called poll_frame where the tape has a host (10)`, gone after); replica.zig's test, which the old writes fail Co-Authored-By: Claude Opus 5.5 <[email protected]>