228 Commits

Author SHA1 Message Date
Mitchell Hashimoto
97d9157d22 update zig version 2023-05-07 20:50:51 -07:00
Mitchell Hashimoto
4de8ddbeb5 update build 2023-04-06 08:57:29 -07:00
Jakub Konka
29e93a8984 macos: force macOS 12 SDK for latest macOS 13 as Mach does not support it 2023-03-26 22:51:37 +02:00
Mitchell Hashimoto
86c5b04ff9 copy mac binary must depend on binary 2023-03-24 20:33:36 -07:00
Mitchell Hashimoto
3be86cc79a don't prefix warning 2023-03-24 20:19:04 -07:00
Mitchell Hashimoto
19106575eb use new build struct 2023-03-24 20:17:25 -07:00
Mitchell Hashimoto
7a6826ee0e build: run tests 2023-03-24 19:51:17 -07:00
Mitchell Hashimoto
5dc98da9a0 build compiles at least 2023-03-24 19:39:50 -07:00
Mitchell Hashimoto
8e8aabf4c0 build.zig: detect build outside of Nix environment and provide warning 2023-03-13 11:12:12 -07:00
Mitchell Hashimoto
d99cc0aec1 build.zig: automatically patchelf the rpath when in a nix shell 2023-03-13 10:59:30 -07:00
Mitchell Hashimoto
03f5addd34 build.zig handles tagged releases 2023-03-05 09:04:59 -08:00
Mitchell Hashimoto
0907da4eba build: generate a version number, show in log on startup 2023-03-04 20:34:15 -08:00
Mitchell Hashimoto
06035e2f95 can now use -Dfont-backend to choose the font backend to use 2023-03-04 10:50:13 -08:00
Mitchell Hashimoto
2b73fbaa0d iterating on the new for loop syntax 2023-02-27 21:53:09 -08:00
Mitchell Hashimoto
5db9854e63 build: install the proper linux desktop file depending on flatpak or not 2023-02-27 15:20:31 -08:00
Mitchell Hashimoto
533cfbc9b8 ci: add flatpak builder 2023-02-27 14:37:52 -08:00
Mitchell Hashimoto
52d22a140c termio: exec uses new flatpak command, no more host-spawn 2023-02-27 11:26:31 -08:00
Mitchell Hashimoto
5b9bc9abdb flatpak: build GTK version 2023-02-25 23:08:04 -08:00
Mitchell Hashimoto
f18789da87 build: omit icon that is too large for freedesktop 2023-02-25 19:39:16 -08:00
Mitchell Hashimoto
b927105959 build: add freedesktop file and icon 2023-02-25 14:57:48 -08:00
Mitchell Hashimoto
3dbb7e44bf build: don't build bench by default 2023-02-25 14:57:48 -08:00
Mitchell Hashimoto
90bea1b742 gtk: get proper content scaling 2023-02-24 07:58:30 -08:00
Mitchell Hashimoto
48c9c65915 add app runtime option, add gtk backend 2023-02-24 07:58:29 -08:00
Mitchell Hashimoto
ff9af8a07b lots of progress running a surface but still crashes 2023-02-19 10:44:56 -08:00
Mitchell Hashimoto
f30d80cabe build: must set run condition to always now 2023-02-19 10:44:55 -08:00
Mitchell Hashimoto
1f9d4eb9f4 update to latest build API, rebase 2023-02-19 10:44:55 -08:00
Mitchell Hashimoto
2b3531378f build: bundle compiler rt 2023-02-19 10:44:54 -08:00
Mitchell Hashimoto
9bd527fe00 macos: config API 2023-02-19 10:44:54 -08:00
Mitchell Hashimoto
d2d21801d8 macos: need to link to libstdc++ 2023-02-19 10:44:54 -08:00
Mitchell Hashimoto
d2dd3df86a libtoolstep 2023-02-19 10:44:54 -08:00
Mitchell Hashimoto
8b80e65928 lots of broken stuff 2023-02-19 10:44:54 -08:00
Mitchell Hashimoto
1abaf87de9 build: LipoStep 2023-02-19 10:44:53 -08:00
Mitchell Hashimoto
55aff76922 build: remove SwiftBuildStep 2023-02-19 10:44:53 -08:00
Mitchell Hashimoto
abd739f3ef build: just copy xcframework 2023-02-19 10:44:53 -08:00
Mitchell Hashimoto
8035865596 build: ghostty lib, framework, build into app 2023-02-19 10:44:53 -08:00
Mitchell Hashimoto
4d09f8dba6 build: add SwiftBuildStep to run "swift build" 2023-02-19 10:44:52 -08:00
Mitchell Hashimoto
b49634a57c add TODO notes about arch 2023-02-19 10:44:52 -08:00
Mitchell Hashimoto
1f70181032 build: can build the app using Swift (noop) 2023-02-19 10:44:52 -08:00
Mitchell Hashimoto
a2f17aa71a fix tests, wasm build works again 2023-02-14 21:06:09 -08:00
Mitchell Hashimoto
be75109a1d new build system 2023-02-14 20:58:33 -08:00
Mitchell Hashimoto
4a1ff37d63 build conformance into dedicated directory 2023-02-10 08:43:32 -08:00
Mitchell Hashimoto
7d16acdf06 build: add comptime check to verify Zig version 2023-02-08 15:42:41 -08:00
Mitchell Hashimoto
f07e21c22e remove libuv from build 2023-02-04 17:37:51 -08:00
Mitchell Hashimoto
60fca27c33 vendor/libxev 2023-01-30 19:17:43 -08:00
Mitchell Hashimoto
e9bf2a5680 pkg/objc: extract to zig-objc repo 2023-01-02 21:35:32 -08:00
Mitchell Hashimoto
ce490e21ea can specify a wasm target in build 2022-12-31 08:53:11 -08:00
Mitchell Hashimoto
241bfee7d4 wasm: use shared, imported memory
This switches our wasm build to use "shared" memory. Shared memory can
be shared across multiple web workers, which is something we'll want to
support for our multi-threaded behaviors later.

Shared memory has a number of different restrictions so this updates
zig-js to support it as well as updates some of our functions that need
to be aware of it.
2022-12-24 16:24:43 -08:00
Mitchell Hashimoto
c34d911488 wasm: disable stack protector 2022-12-13 10:03:26 -08:00
Mitchell Hashimoto
2c5b5429e3 wasm: build.zig uses addDeps for wasm 2022-12-07 18:39:46 -08:00
Mitchell Hashimoto
2a74330911 font: begin making Group work with wasm 2022-12-05 16:08:20 -08:00