summaryrefslogtreecommitdiff
path: root/core/jj.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/jj.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/jj.zig')
-rw-r--r--core/jj.zig24
1 files changed, 12 insertions, 12 deletions
diff --git a/core/jj.zig b/core/jj.zig
index 64a27ead..a0dfec10 100644
--- a/core/jj.zig
+++ b/core/jj.zig
@@ -1842,9 +1842,9 @@ test "a client replays the open of a file at a revision and ends equal" {
var repo = try Repo.init(gpa) orelse return error.SkipZigTest;
defer repo.deinit(gpa);
const R = pardes.replica;
- const a = try R.Authority.init(gpa, .{ .cols = 80, .rows = 24 }, .{}, false);
+ const a = try R.Authority.init(gpa, .{ .cols = 80, .rows = 24 }, .{});
defer a.deinit();
- const r = try R.Replica.init(gpa, 1, try a.unit(0, 0), false);
+ const r = try R.Replica.init(gpa, 1, try a.unit(0, 0));
defer r.deinit();
var line: [4200]u8 = undefined;
r.confirm(try a.local(.{ .command = try std.fmt.bufPrint(&line, "Look {s}@@-:2", .{repo.file}) }));
@@ -1950,9 +1950,9 @@ test "a client replays Changes from what the session's jj answered and ends equa
var repo = try Repo.init(gpa) orelse return error.SkipZigTest;
defer repo.deinit(gpa);
const R = pardes.replica;
- const a = try R.Authority.init(gpa, .{ .cols = 80, .rows = 24 }, .{}, false);
+ const a = try R.Authority.init(gpa, .{ .cols = 80, .rows = 24 }, .{});
defer a.deinit();
- const r = try R.Replica.init(gpa, 1, try a.unit(0, 0), false);
+ const r = try R.Replica.init(gpa, 1, try a.unit(0, 0));
defer r.deinit();
var line: [4200]u8 = undefined;
r.confirm(try a.local(.{ .command = try std.fmt.bufPrint(&line, "Look {s}@@-", .{repo.file}) }));
@@ -1990,10 +1990,10 @@ const WorkerJj = struct {
fn init(repo: *const Repo, at: []const u8) !WorkerJj {
const shell = try testing.allocator.create(Shell);
shell.* = .{ .q = .{ .gpa = testing.allocator, .lsp_allocator = testing.allocator, .io = testing.io } };
- const a = try R.Authority.init(testing.allocator, .{ .cols = 80, .rows = 24 }, .{ .vtable = &vtable, .ctx = shell }, false);
+ const a = try R.Authority.init(testing.allocator, .{ .cols = 80, .rows = 24 }, .{ .vtable = &vtable, .ctx = shell });
errdefer a.deinit();
shell.core = a.core;
- const r = try R.Replica.init(testing.allocator, 1, try a.unit(0, 0), false);
+ const r = try R.Replica.init(testing.allocator, 1, try a.unit(0, 0));
var line: [4200]u8 = undefined;
r.confirm(try a.local(.{ .command = try std.fmt.bufPrint(&line, "Look {s}{s}", .{ repo.file, at }) }));
const id = a.core.view().active;
@@ -2325,9 +2325,9 @@ test "ghost rows ride with the text: a line deleted above moves them up, a line
var repo = try Ghosts.repo() orelse return error.SkipZigTest;
defer repo.deinit(testing.allocator);
const R = pardes.replica;
- const a = try R.Authority.init(testing.allocator, .{ .cols = 80, .rows = 24 }, .{}, false);
+ const a = try R.Authority.init(testing.allocator, .{ .cols = 80, .rows = 24 }, .{});
defer a.deinit();
- const r = try R.Replica.init(testing.allocator, 1, try a.unit(0, 0), false);
+ const r = try R.Replica.init(testing.allocator, 1, try a.unit(0, 0));
defer r.deinit();
var line: [4200]u8 = undefined;
r.confirm(try a.local(.{ .command = try std.fmt.bufPrint(&line, "Look {s}", .{repo.file}) }));
@@ -2507,9 +2507,9 @@ test "the lanes ride with the text: a line typed in a nested block is nobody's,
var repo = try Stack.repo(null) orelse return error.SkipZigTest;
defer repo.deinit(testing.allocator);
const R = pardes.replica;
- const a = try R.Authority.init(testing.allocator, .{ .cols = 80, .rows = 24 }, .{}, false);
+ const a = try R.Authority.init(testing.allocator, .{ .cols = 80, .rows = 24 }, .{});
defer a.deinit();
- const r = try R.Replica.init(testing.allocator, 1, try a.unit(0, 0), false);
+ const r = try R.Replica.init(testing.allocator, 1, try a.unit(0, 0));
defer r.deinit();
const Keys = struct {
fn send(au: *R.Authority, re: *R.Replica, keys: []const u8) !void {
@@ -2654,9 +2654,9 @@ test "Churn's counts ride with the text, and a client replays them equal" {
var repo = try Churned.repo() orelse return error.SkipZigTest;
defer repo.deinit(testing.allocator);
const R = pardes.replica;
- const a = try R.Authority.init(testing.allocator, .{ .cols = 80, .rows = 24 }, .{}, false);
+ const a = try R.Authority.init(testing.allocator, .{ .cols = 80, .rows = 24 }, .{});
defer a.deinit();
- const r = try R.Replica.init(testing.allocator, 1, try a.unit(0, 0), false);
+ const r = try R.Replica.init(testing.allocator, 1, try a.unit(0, 0));
defer r.deinit();
var line: [4200]u8 = undefined;
r.confirm(try a.local(.{ .command = try std.fmt.bufPrint(&line, "Look {s}", .{repo.file}) }));