From 60367d8fe23f6af98ec28e3cf6c2094dfe332df0 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sun, 6 Sep 2026 18:11:36 -0300 Subject: Refactor panes and filesystem; replace FUSE with 9P Consolidate pane, layout, memory and host code. Serve 9P by default over Unix sockets, with runtime mounts and optional TCP/QUIC transports. Remove FUSE and obsolete proof-of-concept examples. Fix highlighting and terminal-history performance, expand differential and stress-test infrastructure, sort navigation results while preserving the next occurrence, add syntax-colored Braille minimaps, remove SPC-k, and document 9P interaction as a repository skill. --- src/web.zig | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/web.zig') diff --git a/src/web.zig b/src/web.zig index bfef38a7..3a9446b6 100644 --- a/src/web.zig +++ b/src/web.zig @@ -105,8 +105,8 @@ const State = struct { frame_rows: u16 = 0, fn init(cols: u16, rows: u16) !State { - const allocs = pardes.allocators.init(gpa); - errdefer pardes.allocators.deinit(); + const allocs = pardes.memory.init(gpa); + errdefer pardes.memory.deinit(); pardes.image.start(std.Io.failing, allocs.image); errdefer pardes.image.stop(); if (comptime pardes.pdf_enabled) pardes.pdf.start(allocs.pdf); @@ -131,7 +131,7 @@ const State = struct { pardes.image.stop(); if (comptime pardes.pdf_enabled) pardes.pdf.stop(); pardes.syntax.stop(); - pardes.allocators.deinit(); + pardes.memory.deinit(); } }; @@ -340,12 +340,12 @@ extern "pardes" fn host_download( ) callconv(.c) void; const vtable: pardes.Host.VTable = .{ - .push_present = present, - .push_write_file = writeFile, - .push_write_dump = writeDump, - .push_set_clipboard = setClipboard, - .pull_read_clipboard = readClipboard, - .push_open_link = openLink, + .present = present, + .write_file = writeFile, + .write_dump = writeDump, + .set_clipboard = setClipboard, + .read_clipboard = readClipboard, + .open_link = openLink, }; fn host(s: *State) pardes.Host { -- cgit v1.3