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 --- docs/ghostty-macos-notes.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/ghostty-macos-notes.md') diff --git a/docs/ghostty-macos-notes.md b/docs/ghostty-macos-notes.md index 3974d0d8..830d4b1f 100644 --- a/docs/ghostty-macos-notes.md +++ b/docs/ghostty-macos-notes.md @@ -30,7 +30,7 @@ constant with no Zig tag. This is the single most transferable thing in the repository, it costs about ten lines of build plumbing, and it runs on Linux. pardes now does the same thing in -`src/macos.zig`, extended to compare exported function arity and scalar widths as +`runtime/macos.zig`, extended to compare exported function arity and scalar widths as well, because a hand-written header drifts in signatures too. ## Zig→host is one callback, not N @@ -56,7 +56,7 @@ comptime { The payoff is that adding a feature adds an enum case, not a struct field: hosts that do not implement it return `false` and the ABI never changed. Worth copying the day a fixed callback list starts growing. pardes has three callbacks today -— `wakeup`, `set_clipboard`, `read_clipboard` (`Runtime` in `src/macos.zig:153`) +— `wakeup`, `set_clipboard`, `read_clipboard` (`Runtime` in `runtime/macos.zig:153`) — and does not need it yet. Two userdata scopes, worth noting: the runtime struct's `userdata` is @@ -102,7 +102,7 @@ there Swift owns an `MTKView` and passes a command buffer *into* Zig (`ghostty_inspector_metal_render`, `macos/Sources/Ghostty/Surface View/InspectorView.swift:417`). pardes inverts this deliberately — see `docs/macos.md`. The short version: a -terminal grid rendered by a hand-written Metal atlas is what `src/gui/gui.zig` +terminal grid rendered by a hand-written Metal atlas is what `dev/gui/gui.zig` already spends thousands of lines on, and a cell grid is exactly what CoreText draws natively. -- cgit v1.3