summaryrefslogtreecommitdiff
path: root/build/macos.zig
Commit message (Collapse)AuthorAge
* abi: plain.zig and term.zig, the addon header and its Zig module, pardes.h ↵Gabriel Schneider9 days
| | | | | | | and the replica stream's wire into abi/ (the reorganisation's tree, step 2c; abi.zig, the seam, is step 12's): plain, the addon's and pardes.h's modules as before from their new place, the wire a module of its own (`wire`, named by the core, the runtime and main.zig); shell-test runs the wire's tests on the core's set, since a window's set links the window's C, whose allocator gui.zig holds; nothing else changes: the ledger, frames byte-identical, replicas and process-test the base's Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
* dev: the frontends (dev/tui, dev/gui, the macOS app's Swift and resources in ↵Gabriel Schneider9 days
| | | | | | | 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 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
* runtime: main, daemon, upgrade, crash, addon_test, 9p_io, 9p and macos.zig ↵Gabriel Schneider9 days
| | | | | | | into runtime/ (the reorganisation's tree, step 2a), skill.txt with main.zig, its one reader: module `runtime` (runtime/root.zig) and the core, each naming the other, a product's root (main.zig, macos.zig) a module of its own over both; the files name across by module (`@import("runtime").daemon`, `@import("core").look`), pardes.zig exporting what they name (ctl, edit_cmd, tracy, selection_pipe, and the frontends until they move); core-test and shell-test run each module's test program, so the same tests run (the ledger: every named test of every suite the base's, tui and gui); nothing else changes: frames byte-identical, the same counts (tui core-test 822/963, the one more an anonymous collector) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
* build: build() cut into build/*.zig, as pure movesGabriel Schneider10 days
build.zig 2,406 -> 658 lines; the pieces moved verbatim into a file per thing, each a function called where its code stood, so every step, module and option is made in the same order as before: build/docs.zig (the typst renders, builtins-json, command-line.txt), build/addons.zig (the GPU addons, the pdf addon and its benches, the image addon), build/patches.zig (vaxis, zstbi, ghostty's kitty loader, mvzr), build/gui.zig (the window's shells and its renderer and atlas tests), build/macos.zig (the app, dmg, e2e, its unit-test), build/tools.zig (harnesses, hx*, benches, perf, the syntax snapshots, lib-test, history), build/tests.zig (unit-test and its roots), build/library.zig (what a dependent package gets), build/core.zig (the options module, themes, grammars, uucode, the editor module, wireCore); mupdf.zig is build/mupdf.zig. A fragment takes what it uses as explicit parameters, or as one struct of exactly those (cloud9's and build/process.zig's pattern). Platform, PerfBuild and TreeSitterGrammars stay in build.zig: Options names an enum or struct by @typeName, so where they are declared is in every options file. Gate: zig build --print-configuration, -l and -h byte-identical to the base over bare (-Dhome-install=false), tui, gui, macos, tui and gui ReleaseFast, -Dpdf=false (tui, gui), -Dtree-sitter=minimal, musl, -Dtracy, and test/lib's -l and --print-configuration. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T