From 1bb73d877ff1ad21e80533c8a9dbc440aaf2f208 Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Sun, 24 Aug 2025 16:09:53 +0200 Subject: [PATCH 1/3] fix(zig-0.15): update thespian --- build.zig.zon | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.zig.zon b/build.zig.zon index 4f058c9..59c256f 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -18,8 +18,8 @@ .hash = "dizzy-1.0.0-q40X4YCRAAAGYO9QOZiYYSOwiiFlqZlecMuQcxPiBcXM", }, .thespian = .{ - .url = "git+https://github.com/neurocyte/thespian?ref=master#d9c93e9783546f2fb040ffcff84576fe46d6495b", - .hash = "thespian-0.0.1-owFOjjQbBgAxIs7QYErDVaESLxgLdNQcoTIgU-QoNqlt", + .url = "git+https://github.com/neurocyte/thespian?ref=master#e9629548ee015d80b5016503a44ada3667d6db98", + .hash = "thespian-0.0.1-owFOji8bBgCadcbBQrlLXg4jVd0KXvVYQpBD08bi4ff5", }, .themes = .{ .url = "https://github.com/neurocyte/flow-themes/releases/download/master-952f9f630ea9544088fd30293666ee0650b7a690/flow-themes.tar.gz", From 71344d961f9daf0fb643cf522670151fab291367 Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Sun, 24 Aug 2025 16:10:24 +0200 Subject: [PATCH 2/3] fix(zig-0.15): more syntax changes --- src/EventHandler.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/EventHandler.zig b/src/EventHandler.zig index 0d5f1d7..3f54463 100644 --- a/src/EventHandler.zig +++ b/src/EventHandler.zig @@ -147,18 +147,18 @@ pub const List = struct { pub fn init(allocator: Allocator) List { return .{ .allocator = allocator, - .list = ArrayList(EventHandler).init(allocator), + .list = .empty, }; } pub fn deinit(self: *List) void { for (self.list.items) |*i| i.deinit(); - self.list.deinit(); + self.list.deinit(self.allocator); } pub fn add(self: *List, h: EventHandler) !void { - (try self.list.addOne()).* = h; + (try self.list.addOne(self.allocator)).* = h; } pub fn remove(self: *List, h: EventHandler) !void { From b7d825e82cc2a08c2125781f0dc5a20d340171d8 Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Sun, 24 Aug 2025 16:38:31 +0200 Subject: [PATCH 3/3] fix(zig-0.15): more libvaxis zig-0.15 changes --- build.zig.zon | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.zig.zon b/build.zig.zon index 59c256f..0e4191c 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -30,8 +30,8 @@ .hash = "fuzzig-0.1.1-Ji0xivxIAQBD0g8O_NV_0foqoPf3elsg9Sc3pNfdVH4D", }, .vaxis = .{ - .url = "git+https://github.com/neurocyte/libvaxis?ref=zig-0.15#851427cce25664626f5005322903c7398ecce781", - .hash = "vaxis-0.5.1-BWNV_B8YCQCzszczPof3gSnh1UJYBkGUouqR1m_NKbL3", + .url = "git+https://github.com/neurocyte/libvaxis?ref=zig-0.15#52d9193a3bbaf529bdde0a4fe1bf7fa793392856", + .hash = "vaxis-0.5.1-BWNV_FcYCQCTHIK-wrMmgBpU3TppdGXHmbrbdM-RyWrw", }, .zeit = .{ .url = "git+https://github.com/rockorager/zeit?ref=zig-0.15#ed2ca60db118414bda2b12df2039e33bad3b0b88",