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 --- runtime/9p.zig | 4 ++-- runtime/daemon.zig | 2 +- runtime/main.zig | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'runtime') diff --git a/runtime/9p.zig b/runtime/9p.zig index 61715750..67bfe900 100644 --- a/runtime/9p.zig +++ b/runtime/9p.zig @@ -26,7 +26,7 @@ pub const errmax = cloud9.fs.errmax; pub const errString = cloud9.fs.errString; pub const msize_min = cloud9.fs.msize_min; -/// The smallest msize a native listener offers (src/9p_io.zig). +/// The smallest msize a native listener offers (runtime/9p_io.zig). pub const min_msize: u32 = 4096; /// What a native listener negotiates. pub const msize: u32 = 65536; @@ -34,7 +34,7 @@ pub const msize: u32 = 65536; /// The editor's engine: native fid count, native file names, and room to /// park a write of any size a frame can carry -- a request that would change /// a pane while the editor is out in a syscall waits in the engine -/// (src/9p_io.zig, `serve`), and a write it cannot keep would fail instead. +/// (runtime/9p_io.zig, `serve`), and a write it cannot keep would fail instead. /// The largest write is msize less the Twrite header, 23 bytes (the test /// below asks a client), one byte more than `iohdrsz` allows for. /// Up to 128 reads held on one connection (a follower each of the log or diff --git a/runtime/daemon.zig b/runtime/daemon.zig index 4f770a3a..0d860918 100644 --- a/runtime/daemon.zig +++ b/runtime/daemon.zig @@ -402,7 +402,7 @@ pub const Note = union(enum) { /// stub's pipe; for a window session, both -1: open a window. attach: struct { tty: c_int, stub: c_int }, adopted: struct { pids: [max_fds]libc.pid_t, fds: [max_fds]c_int, n: usize }, - /// A replica's connection, its hello taken (src/replica.zig `Peers`), + /// A replica's connection, its hello taken (core/replica.zig `Peers`), /// and the view it joins again for, if it does. replica: Joining, }; diff --git a/runtime/main.zig b/runtime/main.zig index 61e9f3fd..11aceaeb 100644 --- a/runtime/main.zig +++ b/runtime/main.zig @@ -1114,7 +1114,7 @@ fn parseCtrlKey(raw: []const u8) ?u21 { fn nativeMain(std_init: std.process.Init) !void { var init = std_init; if (builtin.mode != .debug) init.gpa = pardes.memory.host(std.heap.c_allocator); - // A recorded session's tape replayed, no session of its own (src/tape.zig). + // A recorded session's tape replayed, no session of its own (core/tape.zig). if (init.environ_map.get("PARDES_REPLAY")) |tape| std.process.exit(pardes.tape.replayMain(tape)); var stderr_probe: [64]u8 = undefined; _ = std.debug.lockStderr(&stderr_probe); @@ -1917,7 +1917,7 @@ test { _ = pardes.config.User; // The rest this block collected is collected where it lives now: the // runtime's files by runtime/root.zig's test block, the core's by - // pardes.zig's, the devices' (the frontends) by dev/root.zig's. The + // core/root.zig's, the devices' (the frontends) by dev/root.zig's. The // window stays named: its C's allocator (ui_malloc and the rest) is // gui.zig's. if (comptime pardes.platform == .tui) { -- cgit v1.3