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 --- tools/demos/jumps.txt | 2 +- tools/gen_themes.zig | 8 ++++---- tools/shared_libs_check.zig | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'tools') diff --git a/tools/demos/jumps.txt b/tools/demos/jumps.txt index 97189105..d87e087b 100644 --- a/tools/demos/jumps.txt +++ b/tools/demos/jumps.txt @@ -97,5 +97,5 @@ 104480 paste a pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\n 105080 key escape 105780 phase look-new-pane -105780 exec Look ../../src/layout.zig:9000 +105780 exec Look ../../core/layout.zig:9000 107280 end diff --git a/tools/gen_themes.zig b/tools/gen_themes.zig index 3293349d..4f3946ad 100644 --- a/tools/gen_themes.zig +++ b/tools/gen_themes.zig @@ -1,6 +1,6 @@ //! Build-time generator: a vendored helix or zed theme in, one `.zig` file per //! theme out. build.zig runs it before anything compiles and hands the output -//! directory to src/pardes.zig as the `generated_themes` module, so a theme is +//! directory to core/root.zig as the `generated_themes` module, so a theme is //! an ordinary source file by the time the compiler sees it. //! //! ADDING A THEME IS DROPPING A FILE INTO `vendor/themes/`: a helix `.toml` or @@ -14,7 +14,7 @@ //! both projects ship — helix's runtime themes and zed's three families — //! because "which ones are worth having" is not a question a build tool gets //! to answer on the user's behalf. The one exception is helix's copy of a -//! theme pardes ports by hand (src/themes/: dracula, nord, ...): not vendored. +//! theme pardes ports by hand (core/themes/: dracula, nord, ...): not vendored. //! //! NAMES. A helix theme is its file stem; a zed variant is its `name` slugged //! with `_zed` on the end. Both projects ship gruvbox, ayu and one, so the @@ -26,7 +26,7 @@ //! `ayu_dark` and `nord` as `_helix.toml`, kept (unlike helix's other //! copies of themes ported here) because helix themes inherit them; those //! `inherits` lines name the renamed file. Two themes answering to -//! one name is a bug (`Theme ` would silently pick one), so src/colors.zig +//! one name is a bug (`Theme ` would silently pick one), so core/colors.zig //! asserts the ring's names are distinct at comptime. //! //! Provenance: vendor/themes/*.toml are helix's own runtime themes (from @@ -54,7 +54,7 @@ const Rgb = [3]u8; /// pardes's Theme, minus the type: the generated file spells an anonymous /// `.{...}` because a theme file deliberately imports NOTHING (it is data, not -/// code) — src/colors.zig's `fold` is what turns it into a real Theme. +/// code) — core/colors.zig's `fold` is what turns it into a real Theme. const Theme = struct { name: []const u8, bg: ?Rgb, diff --git a/tools/shared_libs_check.zig b/tools/shared_libs_check.zig index d475f631..9634ce24 100644 --- a/tools/shared_libs_check.zig +++ b/tools/shared_libs_check.zig @@ -45,7 +45,7 @@ const always = [_]Family{ .{ .what = "a second zlib", .symbols = &.{ "inflate_table", "inflate_fast", "deflate_slow" }, .most = 1 }, // One FreeType: the build's, which MuPDF is compiled against. .{ .what = "a second FreeType", .symbols = &.{ "FT_Init_FreeType", "FT_New_Library" }, .most = 1 }, - // One zstd: the build's, a far replica's stream (src/replica.zig). + // One zstd: the build's, a far replica's stream (core/replica.zig). .{ .what = "a second zstd", .symbols = &.{ "ZSTD_compressStream2", "ZSTD_decompressStream", "ZSTD_createCCtx_advanced" }, .most = 1 }, }; -- cgit v1.3