165 Commits

Author SHA1 Message Date
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
Mitchell Hashimoto
437f1772f1 logging works for wasm 2022-12-04 12:29:11 -08:00
Mitchell Hashimoto
940828ed97 font: web canvas creates a canvas element 2022-12-03 22:11:01 -08:00
Mitchell Hashimoto
21faf0b6fb add zig-js 2022-12-03 21:46:00 -08:00
Mitchell Hashimoto
6b101c2293 support unit testing wasm via wasmtime 2022-12-01 13:02:17 -08:00
Mitchell Hashimoto
24cc01e055 move wasm main to src/, export an Atlas API
We don't need the Atlas API for wasm at all, but its a good way to test
things work incrementally and its a pretty cool thing to have as a wasm
library really.
2022-12-01 13:02:17 -08:00
Mitchell Hashimoto
5c58067489 add pixman package 2022-11-24 10:21:27 -08:00
Mitchell Hashimoto
894d36f28a build: support for dynamic linking pixman 2022-11-24 10:21:27 -08:00
Mitchell Hashimoto
699370bd4a pkg/pixman: starting API 2022-11-24 10:21:27 -08:00
Mitchell Hashimoto
30d62fc144 workaround for x86_64 ABI issue: https://github.com/ziglang/zig/issues/13598 2022-11-19 22:07:48 -08:00
Mitchell Hashimoto
81fbc94b3c Add a benchmark exe for testing parser throughput 2022-11-13 11:29:05 -08:00
Mitchell Hashimoto
9d736985b3 Mac bundle, icons 2022-10-31 14:04:41 -07:00
Mitchell Hashimoto
c1b70cb788 metal: devmode 2022-10-31 09:44:37 -07:00
Mitchell Hashimoto
090bab6798 metal: setup the render loop, draw the background color 2022-10-31 09:44:36 -07:00