From 99f5b10eccd95aa0066ea6fe6bb75f367ab56a47 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 18 Nov 2026 22:03:14 -0300 Subject: core: src/ becomes core/, pardes.zig its root.zig (the reorganisation's tree, step 2d), and every mention of a src/ path follows: the build's paths, the core's imports of its root, the tests that read the repository's files by path (lspbench's, look.zig's spans over core/look.zig), the comments that cite files, the documents and the manual (the typst corpus reads core/tutor.txt and core/plumbing); left as they were: the /src tree's served names (src/pardes.zig and the rest are the 9P tree's, not the repository's), the CHANGELOG's history, fixtures that are only strings; fs-unit-test runs from the core's root (a module of the core rooted at fs.zig had the runtime's and the devices' `core` be fs.zig); nothing else changes: the ledger (pardes.test.* now root.test.*), frames byte-identical, replicas and process-test the base's Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T --- abi/wire.zig | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'abi/wire.zig') diff --git a/abi/wire.zig b/abi/wire.zig index d6098325..cf3daf2e 100644 --- a/abi/wire.zig +++ b/abi/wire.zig @@ -16,9 +16,9 @@ const config = @import("pardes_config"); /// 22: a PDF's pixel scroll (0x1a) is gone with the core's PDF, the pdf /// addon's panes scrolled by the wheel as any kind's are; /// 21: a session's views are `Pardes.views` in its dump and its digest -/// (src/views.zig), the panes' shares of the others under `shares`; +/// (core/views.zig), the panes' shares of the others under `shares`; /// 20: a digest takes a blob of 4 KiB and up (a file's text, a register's, -/// an undo entry's bytes) by its length, not its bytes (src/walk.zig): a +/// an undo entry's bytes) by its length, not its bytes (core/walk.zig): a /// text's revision says what it holds; /// 19: a client joining again names the view it had in its hello, and a /// bye says whether it joins again for it (views.away); @@ -90,7 +90,7 @@ pub const ClientTag = enum(u8) { hello = 0x01, bye = 0x02, ping = 0x03, - /// A replica's word about a terminal's state (src/term/screen_state.zig): the + /// A replica's word about a terminal's state (core/term/screen_state.zig): the /// delta it holds, or rows it asks for. Opaque here. screen_ack = 0x04, /// What is the session's digest, in stream order (a replica checks @@ -103,7 +103,7 @@ pub const ClientTag = enum(u8) { want = 0x07, /// The session's clocks (realtime and monotonic, ns) as the client /// guessed them for the input that follows: its time, which the step - /// reads (src/replica.zig). + /// reads (core/replica.zig). stamp = 0x08, key = 0x10, @@ -166,26 +166,26 @@ pub const ServerTag = enum(u8) { refused = 0x02, /// A ping's value back. pong = 0x03, - /// A piece of the join's dump (src/dump.zig): the welcome says how long + /// A piece of the join's dump (core/dump.zig): the welcome says how long /// it is whole. dump = 0x04, - /// A unit of the authority's stream (src/replica.zig): its origin, seq, + /// A unit of the authority's stream (core/replica.zig): its origin, seq, /// clocks and tape. unit = 0x05, - /// A terminal's delta, or rows asked for (src/term/screen_state.zig), applied + /// A terminal's delta, or rows asked for (core/term/screen_state.zig), applied /// before the next unit. Opaque here. screen = 0x06, /// The session's digest (u64le), after every unit before it. check = 0x07, /// Part of the join's list of blobs, to a far client: each one's place - /// in the state, its length and its BLAKE3 hash (src/replica.zig). + /// in the state, its length and its BLAKE3 hash (core/replica.zig). blobs = 0x08, /// A piece of a far client's stream from here on, zstd-compressed: the /// messages in it are framed as these are. Opaque here. zstd = 0x09, /// A piece of a record's bytes by hash (tape.zig `Big`), before the /// unit naming it: the hash, the whole's length and this piece's place - /// (u64le each), then at most 1 MiB of it (src/replica.zig). + /// (u64le each), then at most 1 MiB of it (core/replica.zig). blob = 0x0a, }; -- cgit v1.3