summaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-20 19:22:32 -0300
committerGabriel Schneider <[email protected]>2026-11-20 19:51:13 -0300
commit4e1432049765be6e793a3834c93c4cd5318e82bc (patch)
treeaa8e98c4cb2b7ee6ba33a49255fa85cab0089e2d /dev
parent486f347adeed5bac6aaabe8be34e6a69bf323a62 (diff)
parent2d75490196a9d15eff6ac471e9584101a5697afe (diff)
downloadpardes-4e1432049765be6e793a3834c93c4cd5318e82bc.tar.gz
pardes-4e1432049765be6e793a3834c93c4cd5318e82bc.zip
integration: six slot fields typed, the docking vocabulary, the Mac's callbacks and consumer-test, on six small faults: pardes-slots (Pipe.PendingPipe.pane, Ask.wait.pane, theme_file_pane, ThemeFileRequest.pane as Pane.Id; Authority.view_of and Peer.view as View.Id; layout.dockFrom and the prose; macos State.callbacks; the build step consumer-test) and pardes-merge42; one conflict, in Peers.detach, where the pair's lifetime rule (daemon.keepSession) and the view's type (peer.view.index()) met on neighbouring lines: both kept; tui core-test 874/1031 (157 skipped), shell-test 1073/1076, term-test 17/17, both soaks diverged 0, unequal 0, unlisted 0, the window builds; this line carries the client's heap corruption that came with pardes-merge40 (a fix is being made): not gated further until it has it
Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'dev')
-rw-r--r--dev/file_watch.zig6
-rw-r--r--dev/macos/Sources/AppDelegate.swift4
2 files changed, 5 insertions, 5 deletions
diff --git a/dev/file_watch.zig b/dev/file_watch.zig
index c575f436..a0a500d7 100644
--- a/dev/file_watch.zig
+++ b/dev/file_watch.zig
@@ -611,12 +611,12 @@ pub fn applyThemeEffect(
const pane = request.pane;
const bytes = filesystem.readFile(&pardes.tape.none, gpa, request.path) catch |err| {
colors.failThemeFile(core, generation, err);
- core.noteLateFailure(.at(pane));
+ core.noteLateFailure(pane);
return false;
};
defer gpa.free(bytes);
if (!colors.loadThemeFile(core, generation, bytes)) {
- core.noteLateFailure(.at(pane));
+ core.noteLateFailure(pane);
return false;
}
const hash = std.hash.Wyhash.hash(0, bytes);
@@ -659,7 +659,7 @@ pub fn reloadTheme(
live.generation = .{ .text = hash };
if (announce) {
var msg_buf: [256]u8 = undefined;
- core.setMessage(.at(request.pane), message.stamp(&msg_buf, "reloaded theme", request.path));
+ core.setMessage(request.pane, message.stamp(&msg_buf, "reloaded theme", request.path));
}
return false;
}
diff --git a/dev/macos/Sources/AppDelegate.swift b/dev/macos/Sources/AppDelegate.swift
index 4168999f..5ee775cf 100644
--- a/dev/macos/Sources/AppDelegate.swift
+++ b/dev/macos/Sources/AppDelegate.swift
@@ -132,7 +132,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate, PardesViewDelegate {
// to change the day macos_min_version reaches 14.
NSApp.activate(ignoringOtherApps: true)
- var runtime = pardes_callbacks_s(
+ var callbacks = pardes_callbacks_s(
userdata: Unmanaged.passUnretained(self).toOpaque(),
wakeup: { ud in
// A pty reader thread. Every other function in pardes.h is
@@ -168,7 +168,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate, PardesViewDelegate {
// greeting until it has seen a size, so a correction sent afterwards
// arrives with the first prompt already wrapped to the wrong width.
let grid = view.gridSize
- let rc = pardes_init(&runtime, grid.cols, grid.rows)
+ let rc = pardes_init(&callbacks, grid.cols, grid.rows)
if rc != 0 {
NSLog("pardes: the core failed to boot at \(grid.cols)x\(grid.rows), pardes_init returned \(rc)")
// Not NSApp.terminate — that runs applicationWillTerminate, which