diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-22 20:21:32 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-22 20:21:32 -0300 |
| commit | 3f250d0f963f375d699f11ffc02b07f2e2cbbbee (patch) | |
| tree | 4e5a1f577fd3dd247f3643d979868347524ce703 /abi/wire.zig | |
| parent | 34e2d82a322bd3767a8ec62b3a4c0894399e8c04 (diff) | |
| parent | c607dc14502a6956bdfa3575bc7363514a7abeb4 (diff) | |
| download | pardes-3f250d0f963f375d699f11ffc02b07f2e2cbbbee.tar.gz pardes-3f250d0f963f375d699f11ffc02b07f2e2cbbbee.zip | |
integration (a base for the terminals' next round, not yet the gathered line): the viewport in the view and the patches in the semantics hash on merge58 with the terminal put back: pardes-raw-tty (`muwnrqro`, on pardes-merge58: a TERM that reaches a session while it leaves its terminal no longer leaves it raw: `Killed.disarm` puts the cooked modes back itself, `leave` calls it last) and pardes-term-join-10's two changes (`xktusoyq` on `qtxssxyk`, on pardes-term-join-9: where a view stands in a terminal's history is the view's (`Pane.scrolled_to`), carried once a confirmed write that moves rows, the wire at 31; build/patches hashed into a replica's semantics); no conflict; core-test 917/1077 (160 skipped), shell-test 1119/1122, pane-test 182/183, term-test 16/16; NOT gated whole: the viewport's gate had one perf count over its budget ("terminal on all" +0.235%), which the next round brings down before this is the gathered line (2026-11-22)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'abi/wire.zig')
| -rw-r--r-- | abi/wire.zig | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/abi/wire.zig b/abi/wire.zig index 8f7a7bdb..55a08909 100644 --- a/abi/wire.zig +++ b/abi/wire.zig @@ -10,6 +10,9 @@ const pardes = @import("core"); const config = @import("pardes_options"); const build_info = @import("build_info"); +/// 31: where a view stands in a terminal's history is the view's: a pane's +/// `scrolled_to` (and its share's in each view) in the dump and the digest, +/// the emulator's own view out of both (its `Parts.view` gone); /// 30: the terminals' one road: the screen-state messages are retired (a /// replica's `screen_ack`, 0x04, and the session's `screen`, 0x06: gaps), /// a welcome says no road (its `bytes` byte gone), and a pane's @@ -59,7 +62,7 @@ const build_info = @import("build_info"); /// part B); 14: the hello names a session and /// carries the semantics hash, and a ping is answered (phase 5's /// groundwork); 13: the frames went (phase 3). -pub const version: u16 = 30; +pub const version: u16 = 31; /// The terminal's build and the window's step alike (`semantics`). const family = switch (config.platform) { @@ -71,8 +74,10 @@ const family = switch (config.platform) { /// its own, and one of another build is refused. The protocol, the release /// and commit, the platform and build options, every dependency's content /// hash (grammars, the terminal emulator, Unicode), the walker codec's assumptions -/// (pointer width, byte order) and the tape's shape (tape.shape: what each -/// input and each answer of the host's is laid out as). Not the OS: a Linux +/// (pointer width, byte order), the tape's shape (tape.shape: what each +/// input and each answer of the host's is laid out as) and what pardes +/// changes in its dependencies (build_info.patches: the patches' text, the +/// Unicode tables' configuration). Not the OS: a Linux /// client of a FreeBSD session is the main case, and what differs there is /// the host's, taped, in a shape every OS shares (an error by its name, a /// stat as fs.OsStat). Nor the build mode: a Debug build steps as a @@ -93,12 +98,12 @@ pub const semantics: u64 = blk: { // 11 KB) joined on, not formatted: formatting them at comptime was 5 % // of a compile of the core. break :blk std.hash.Wyhash.hash(0, std.fmt.comptimePrint( - "wire {d}\npardes {s} {s}\n{s} grammars true {} {} {} workspace_tag {} sources {}\nusize {d} {t}\n", + "wire {d}\npardes {s} {s}\n{s} grammars true {} {} {} workspace_tag {} sources {}\nusize {d} {t}\npatches {x}\n", .{ version, build_info.version, build_info.commit orelse "unstamped", family, g != .none, g != .none, g == .full, config.workspace_tag, config.embed_sources, - @sizeOf(usize), builtin.cpu.arch.endian(), + @sizeOf(usize), builtin.cpu.arch.endian(), build_info.patches, }, ) ++ build_info.deps ++ "\n" ++ pardes.tape.shape); }; |
