18 Commits

Author SHA1 Message Date
Jonathan Marler
a2e881ff4e windows: initial support for zig build test
Makes progress getting "zig build test" to work on windows.  Mostly
fixed issues around build configuration and added some branches throughout
the Zig code to return/throw errors for unimplemented parts.

I also added an initial implementation for getting the home dir.
2023-09-14 03:15:40 -06:00
Mitchell Hashimoto
314f9287b1 Update Zig (#164)
* update zig

* pkg/fontconfig: clean up @as

* pkg/freetype,harfbuzz: clean up @as

* pkg/imgui: clean up @as

* pkg/macos: clean up @as

* pkg/pixman,utf8proc: clean up @as

* clean up @as

* lots more @as cleanup

* undo flatpak changes

* clean up @as
2023-06-30 12:15:31 -07:00
Mitchell Hashimoto
56f8e39e5b Update zig, mach, fmt 2023-06-25 11:08:20 -07:00
Mitchell Hashimoto
872c1211f5 pty: deinit should close child end 2023-03-18 19:15:29 -07:00
Mitchell Hashimoto
f64d871847 os: FlatpakHostCommand uses thread with its own event loop 2023-02-27 10:18:56 -08:00
Mitchell Hashimoto
fc3802e632 termio: use host-spawn for pty 2023-02-25 22:36:20 -08:00
Mitchell Hashimoto
ec956debb7 Command/Pty work better with Flatpak but not 100% yet 2023-02-25 21:19:57 -08:00
Mitchell Hashimoto
57551e3990 macos: disable sandbox 2023-02-19 10:44:56 -08:00
Mitchell Hashimoto
84b1ae9a3c set IUTF8 on the pty
This is important on Mac since the pty by default on Mac does NOT have
this enabled. Without this, attempting to read/write UTF-8 characters
in the raw pty layer would sometimes turn into '?' even though ghostty
fully supports it.
2022-11-24 10:20:18 -08:00
Mitchell Hashimoto
34e1c96dd7 workaround for https://github.com/ziglang/zig/issues/13277 2022-10-23 11:39:21 -07:00
Mitchell Hashimoto
bc3762e85b update zig to latest, fix todos 2022-10-23 10:54:39 -07:00
Mitchell Hashimoto
8decfa6452 I think this gets us on master zig... 2022-10-13 11:31:02 -07:00
Mitchell Hashimoto
c565a889f9 pty: use libc ioctl for compat 2022-04-26 14:20:17 -07:00
Mitchell Hashimoto
cf40a33fdd hook up pty master to libuv 2022-04-25 19:32:39 -07:00
Mitchell Hashimoto
9cc19b0553 execute the child command 2022-04-24 14:33:25 -07:00
Mitchell Hashimoto
747ebfb628 fix pty resizing on darwin 2022-04-24 09:32:03 -07:00
Mitchell Hashimoto
c023fed8f0 compilation for macos works? 2022-04-23 14:15:54 -07:00
Mitchell Hashimoto
2cd51f0cc4 basic pty opening 2022-04-15 13:09:35 -07:00