summaryrefslogtreecommitdiff
path: root/src/replica.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-17 22:02:15 -0300
committerGabriel Schneider <[email protected]>2026-11-17 22:06:24 -0300
commit7d10ad68b07a7bbab23fa8565d39183e4387c478 (patch)
tree5711e0680c6eb681a02965c17eb616265f189131 /src/replica.zig
parent484841325bb35b0bb7c55f7980178388c4e39c71 (diff)
downloadpardes-7d10ad68b07a7bbab23fa8565d39183e4387c478.tar.gz
pardes-7d10ad68b07a7bbab23fa8565d39183e4387c478.zip
words: `remote` out of the code where it meant a client (PARDES.md ruling 1: it meant any client, this machine's too): tui.zig's `Remote` is `Client` (the window's word already), `tui.remote` and `gui.remote` are `runClient`, `gui.remoteSession` is `clientSession`, `main.remoteAttach` is `attachClient`, the Shell's and Input's `remote` fields `client`, `fonts.remote` `fromSession` and the window's `remote_font_request` `session_font_request`; what a person reads: the window client's log "remote font is not installed here" is "the session's font is not installed here", attach's "no runtime directory to name the remote socket by" names the far socket; NOT renamed: the env var PARDES_REMOTE_RUNTIME (the user types it), 9p_io's error.Remote and RemoteError (a 9P peer's refusal), fs.zig's remote_path (a 9P mount's), tui.zig:86's terminal over ssh and :1579's shell over ssh, pty.zig's test prompt; names only, no logic moved; tui core-test 811/950 (139 skipped), shell-test 993/996, behaviour-test 269/273 (the four addon ABI tests the base fails), process-test 2 of 144 failed (lspcomplete and lspcompletemoved, the base's), daemon.py main passes; gui frame corpus 77/77 byte-identical against mbase, unit-test 1582/1590 (the base's 8 failures)
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'src/replica.zig')
-rw-r--r--src/replica.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/replica.zig b/src/replica.zig
index 5513b2d9..32c8acd7 100644
--- a/src/replica.zig
+++ b/src/replica.zig
@@ -2726,7 +2726,7 @@ pub fn readLink(gpa: Allocator, fd: c_int, rest: *Framer, ctx: anytype, comptime
const upgrade_words = "session upgraded to a newer pardes: upgrade this client too";
/// A replica client's join, the terminal's and the window's alike (their
-/// `remote`): the session at `path` dialled, its build checked to be this
+/// `runClient`): the session at `path` dialled, its build checked to be this
/// one's, and its dump loaded into a replica checked against the session
/// as it was dumped. Or, `old` given, joined again once old's link has
/// ended, for old's view (`redial`): the core it leaves held meanwhile so
@@ -2807,7 +2807,7 @@ fn redial(gpa: Allocator, path: []const u8, session: []const u8, why: *[600]u8,
}
/// A replica client's link to its session, the terminal's (tui.zig
-/// `remote`) and the window's (gui.zig `remote`): its replica, its socket,
+/// `runClient`) and the window's (gui.zig `runClient`): its replica, its socket,
/// what the session said, and what it checks. Drawing is the frontend's.
pub const Link = struct {
r: *Replica,