From c1917b949b9580de8bf0977874a210f0266812da Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 6 Nov 2026 06:24:42 -0300 Subject: kinds #14, the core's PDF code gone: pdf.zig and pdf_view.zig leave and every pdf_enabled branch with them; look, Jump, Recent, dumps (one from before the addon opens as its pane), the watch, mouse, keys, the rail and the tag go through Kind for any kind's pane; test/pdf.zig's behaviours are T1 cases over 9P (addons_pdf.zig) and pane cases (a Shadow over a replica, a file changed under it), the harnesses load pdf.so by path Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- src/replica.zig | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/replica.zig') diff --git a/src/replica.zig b/src/replica.zig index 622537d7..25507ec5 100644 --- a/src/replica.zig +++ b/src/replica.zig @@ -175,7 +175,6 @@ pub const Authority = struct { // tells an allocator from none. var opts = options; opts.image_allocator = opts.image_allocator orelse gpa; - opts.pdf_allocator = opts.pdf_allocator orelse gpa; opts.tree_sitter_allocator = opts.tree_sitter_allocator orelse gpa; opts.frame_allocator = opts.frame_allocator orelse gpa; const a = try gpa.create(Authority); @@ -712,7 +711,6 @@ pub const Replica = struct { o.frame_allocator = epoch; o.tree_sitter_allocator = epoch; o.image_allocator = o.image_allocator orelse std.heap.c_allocator; - o.pdf_allocator = o.pdf_allocator orelse std.heap.c_allocator; // The session's closed panes and Recent are the authority's. o.state = .off; // Its emulators off the epoch, as `terminal.create` makes a screen -- cgit v1.3