diff options
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); }; |
