summaryrefslogtreecommitdiff
path: root/src/effect_sources.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-20 00:36:50 -0300
committerGabriel Schneider <[email protected]>2026-09-20 00:36:51 -0300
commita5088819d57c7767d90ae11e974ef6dc8e70b0e4 (patch)
treed7ad5afe559f7f56464b14c3122242fa3f16399b /src/effect_sources.zig
parent01104e7c7e4bbe049303b8a0bc5dbf0e964543e7 (diff)
downloadpardes-a5088819d57c7767d90ae11e974ef6dc8e70b0e4.tar.gz
pardes-a5088819d57c7767d90ae11e974ef6dc8e70b0e4.zip
Flatten the 9P control tree and move it out of fs.zig
The served tree loses the self/ level: /index /ctl /new /log /screen /listeners /pane/<n>/... /os, with /src only in -Dembed-sources=true builds (default off, on for esp32p4). ctl speaks the editor's own language with two lowercase verbs, look TEXT and exec TEXT, plus acme's addr verbs; the new/ factory directory becomes one clone file; cons is gone (exec Msg); name and sel are files; stats report real lengths, modes and mtimes; /log streams pane new/del/rename/save events. The tree code lives in src/ninep/ (tree, pane, ctl, addr, pty, events, screen, sources); fs.zig keeps host access, mounts, resolution and find/grep. Same engine and transports. README (fs-help.txt) and docs rewritten; tests updated and extended. Co-Authored-By: Claude Fable 5.1 <[email protected]>
Diffstat (limited to 'src/effect_sources.zig')
-rw-r--r--src/effect_sources.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/effect_sources.zig b/src/effect_sources.zig
index 3ca15c3f..08680860 100644
--- a/src/effect_sources.zig
+++ b/src/effect_sources.zig
@@ -79,6 +79,7 @@ pub fn forSetting(setting: config.Runtime.Setting) ?[]const []const u8 {
}
test "EffectCode paths resolve uniquely to this backend's archived inputs" {
+ if (!@import("memory.zig").limits.embedded_sources) return error.SkipZigTest;
for (config.Runtime.settings) |setting| {
const available = switch (setting.action) {
.transition => backend == .tty or backend == .gui or backend == .macos,