summaryrefslogtreecommitdiff
path: root/core/dump.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-22 16:50:34 -0300
committerGabriel Schneider <[email protected]>2026-11-22 16:53:19 -0300
commit9863a63b614d200852853825031189364dcacfdc (patch)
treed235648a2ac14b3e311746ced3433ed6865e2061 /core/dump.zig
parent6544f73a6b50e5ba68564beea7784593bb54348e (diff)
parentbad506bd45846e012246a33b5d3097b3e92f02bc (diff)
downloadpardes-9863a63b614d200852853825031189364dcacfdc.tar.gz
pardes-9863a63b614d200852853825031189364dcacfdc.zip
integration: the old road deleted and the emulator's boundary on the gathered line: pardes-merge56 (`qvwrwxtu`: the installed tree and the source view's changes to their last slice) and pardes-term-join-9 (`twssqzqw`, fourteen changes on pardes-merge55: every client's terminals by the pty's bytes and nothing else: the delta protocol, its flow control and core/term/screen_state.zig deleted (-3,605 +504 lines), the wire at 30, one soak; S1: abi/term.zig's Ops in replicated and local, the terminal's digest covering what a step reads, every call of the core's into a terminal listed with its rule as a test; a client's own join again judged after its goodbye; a pty's size one fact the core hands its host for every fork, adopt and resize; a closed view sizes no terminal); no textual conflict; one semantic one, resolved here: core/jj.zig's Churn test (the layers' last round) called Authority.init and Replica.init with the road's flag the deletion took away: the argument removed; core-test 916/1073 (157 skipped), shell-test 1115/1118; its gate: .scratch/sketch/reorg/merge57, the numbers in PARDES.md (2026-11-22)
Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/dump.zig')
-rw-r--r--core/dump.zig17
1 files changed, 6 insertions, 11 deletions
diff --git a/core/dump.zig b/core/dump.zig
index 18ac28f7..c3742a21 100644
--- a/core/dump.zig
+++ b/core/dump.zig
@@ -255,16 +255,12 @@ pub fn image(p: *Pardes, name: []const u8) ![]u8 {
return pardes.Db.image(gpa, name, buf.written(), w.blobs.items, panes, names.written());
}
-/// A dump for a screen-state replica's join (core/replica.zig): its blobs'
-/// bytes left out and noted in `deferred` (they are the session's, alive
-/// while pinned: memory.zig `pin`), its terminals' emulators left out (the
-/// first delta brings each afresh). What is left is the session's mutable
-/// state, made in its step.
+/// A dump for a replica's join (core/replica.zig): its blobs' bytes left
+/// out and noted in `deferred` (they are the session's, alive while pinned:
+/// memory.zig `pin`), each terminal whole (as the join's step reloaded it
+/// on every side: panes.reloadTerminals), its sequence in flight with it.
+/// What is left is the session's mutable state, made in its step.
pub fn dumpJoin(p: *Pardes, deferred: *std.ArrayListUnmanaged(walk.Deferred)) ![]u8 {
- // Under bytes, each terminal whole (as the join's step reloaded it on
- // every side: panes.reloadTerminals), its sequence in flight with it.
- slim_terminals = p.tape.screen_state;
- defer slim_terminals = false;
// The join's file reads are the session's host's, between its steps:
// with its io, which the core's tape holds (a walk's hook takes no more).
join_files = p.tape.io;
@@ -272,8 +268,7 @@ pub fn dumpJoin(p: *Pardes, deferred: *std.ArrayListUnmanaged(walk.Deferred)) ![
return dumpWith(p, deferred);
}
-/// `dumpJoin`'s under screen state and `dumpExit`'s: a terminal dumps its
-/// size, not its emulator.
+/// `dumpExit`'s: a terminal dumps its size, not its emulator.
pub var slim_terminals = false;
/// `dumpJoin`'s: a plain kind's pane carries its file (SlotRecord.file),
/// read with this io.