From f9a3179542012ec1a700e2020ac9f616b819f972 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 18 Nov 2026 21:23:22 -0300 Subject: dev: the frontends (dev/tui, dev/gui, the macOS app's Swift and resources in dev/macos), host_io, file_watch, fonts, the lsp client and Scip, Art, jump_trail, glide and vaxis_input into dev/ (the reorganisation's tree, step 2b): module `dev` (dev/root.zig) beside the core and the runtime, each naming the others; the window wired into it, sketchbook's devices imported as `sketchbook` (its `dev` would be ours); pardes.zig keeps its re-exports (host_io, file_watch, glide, fonts) so every caller reads as before; core-test and shell-test run the devices' test program too, so the same tests run (the ledger, tui and gui); nothing else changes: frames byte-identical, replicas and process-test the base's Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T --- src/macos/Sources/main.swift | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 src/macos/Sources/main.swift (limited to 'src/macos/Sources/main.swift') diff --git a/src/macos/Sources/main.swift b/src/macos/Sources/main.swift deleted file mode 100644 index 6cb2646e..00000000 --- a/src/macos/Sources/main.swift +++ /dev/null @@ -1,16 +0,0 @@ -import AppKit - -// Ghostty's ordering lesson: whatever must exist before AppKit boots goes above -// app.run(), because after that call the runloop owns this thread forever. -// pardes has nothing in that class — the core cannot come up until there is a -// window to measure, so pardes_init waits for applicationDidFinishLaunching. - -let app = NSApplication.shared -app.setActivationPolicy(.regular) - -// NSApplication does not own its delegate. This is a global, so it lives as -// long as the process does; the same line inside a function would not. -let delegate = AppDelegate() -app.delegate = delegate - -app.run() -- cgit v1.3