3102 Commits

Author SHA1 Message Date
Mitchell Hashimoto
e6128f3327 Merge pull request #603 from mitchellh/zig-pkg2
Adopt Zig Package Manager, drop most submodules
2023-10-01 19:22:39 -07:00
Mitchell Hashimoto
7f3c2fa375 prettier 2023-10-01 19:00:23 -07:00
Mitchell Hashimoto
6fb08f8a0f ci: remove tests for macos cross-compile 2023-10-01 18:55:15 -07:00
Mitchell Hashimoto
0021b290cf pkg: add test targets 2023-10-01 18:43:25 -07:00
Mitchell Hashimoto
f0d4e9c7c3 pkg: remove all old build.zig files 2023-10-01 18:35:31 -07:00
Mitchell Hashimoto
0b6cfac8b0 don't run dependency tests anymore 2023-10-01 18:34:51 -07:00
Mitchell Hashimoto
4e1b3b3224 fix failing test, freetype needs libpng 2023-10-01 18:33:37 -07:00
Mitchell Hashimoto
bb6f17e6ee remove mach-sdk submodules 2023-10-01 17:47:51 -07:00
Mitchell Hashimoto
e61c319588 remove a great many submodules 2023-10-01 17:46:24 -07:00
Mitchell Hashimoto
e3a58526ce fix dynamic build 2023-10-01 17:42:18 -07:00
Mitchell Hashimoto
d71197dc59 no more system_sdk 2023-10-01 17:38:30 -07:00
Mitchell Hashimoto
3a4842a0a5 fix build on linux 2023-10-01 17:32:59 -07:00
Mitchell Hashimoto
ccd6eee5fe progress on glfw 2023-10-01 17:30:11 -07:00
Mitchell Hashimoto
d1c993b093 pkg/tracy 2023-10-01 17:11:40 -07:00
Mitchell Hashimoto
8395bb7470 pkg/tracy 2023-10-01 17:11:04 -07:00
Mitchell Hashimoto
7bd4c96b41 remove unused deps 2023-10-01 17:04:17 -07:00
Mitchell Hashimoto
aece38ecb2 macos: fix missing symbols in archive 2023-10-01 17:03:32 -07:00
Mitchell Hashimoto
ec26fb7cee pkg/macos 2023-10-01 17:02:12 -07:00
Mitchell Hashimoto
fefbd7afbe pkg/pixman, utf8proc 2023-10-01 16:59:24 -07:00
Mitchell Hashimoto
2237b43df0 pkg/freetype, harfbuzz modules 2023-10-01 16:57:45 -07:00
Mitchell Hashimoto
bc0f5c3012 pkg/fontconfig module 2023-10-01 16:52:36 -07:00
Mitchell Hashimoto
8666ab81c3 libxev, zig-js, zig-objc 2023-10-01 16:49:02 -07:00
Mitchell Hashimoto
3ed6a02176 pkg/utf8proc 2023-10-01 16:45:39 -07:00
Mitchell Hashimoto
5d52a94792 pkg/apple-sdk: set sysroot 2023-10-01 16:39:19 -07:00
Mitchell Hashimoto
b9cc763a3a pkg/harfbuzz needs to use apple sdk for coretext 2023-10-01 15:33:40 -07:00
Mitchell Hashimoto
5feeac66b2 pkg/pixman 2023-10-01 15:04:55 -07:00
Mitchell Hashimoto
5f8dbb498f pkg/fontconfig: depend on libxml2 2023-10-01 14:55:47 -07:00
Mitchell Hashimoto
7a27228660 pkg/libxml2 2023-10-01 12:56:20 -07:00
Mitchell Hashimoto
d3746bc96f add fontconfig 2023-10-01 12:46:17 -07:00
Mitchell Hashimoto
8ef10ebf4b add build.zig.zon 2023-10-01 12:44:04 -07:00
Mitchell Hashimoto
7edb86f9e1 pkg/fontconfig 2023-10-01 12:43:36 -07:00
Mitchell Hashimoto
2312c465c6 use package manager for font stack 2023-10-01 12:32:17 -07:00
Mitchell Hashimoto
6aef48288a pkg/harfbuzz 2023-10-01 12:23:38 -07:00
Mitchell Hashimoto
7dc3fcc41e pkg/freetype 2023-10-01 12:12:05 -07:00
Mitchell Hashimoto
6e2b7c607e pkg/libpng, pkg/zlib use package manager 2023-10-01 11:25:18 -07:00
Mitchell Hashimoto
a75403990a Merge pull request #602 from mitchellh/update-zig
update zig
2023-10-01 09:26:44 -07:00
Mitchell Hashimoto
9e6cb63a1e update zig 2023-10-01 09:11:57 -07:00
Mitchell Hashimoto
a9f70f875c Merge pull request #599 from mitchellh/win-size
Add `window-width`, `window-height` configurations for initial window size
2023-09-30 21:49:40 -07:00
Mitchell Hashimoto
cec45de842 config: note gtk bug 2023-09-30 21:48:22 -07:00
Mitchell Hashimoto
769e7df675 apprt/gtk: implement default window size 2023-09-30 21:41:17 -07:00
Mitchell Hashimoto
a1a8aeb104 initial window size needs to take into account window chrome 2023-09-30 21:35:50 -07:00
Mitchell Hashimoto
cc8e1cd936 macos: support initial window size 2023-09-30 20:47:31 -07:00
Mitchell Hashimoto
8cb96a28c1 config: increase eval branches for new configs 2023-09-30 20:15:07 -07:00
Mitchell Hashimoto
604eeceb03 apprt/glfw: support window-width, window-height configurations 2023-09-30 20:10:08 -07:00
Mitchell Hashimoto
3c0700c6b0 os: launchFromDesktop works even if the artifact is a lib
Fixes #598
2023-09-30 19:09:52 -07:00
Mitchell Hashimoto
268259112b Merge pull request #597 from nfisher1226/linux_text_pointer
Set the mouse pointer to "text" (an I-beam) when it is over the gl_area
2023-09-30 15:46:33 -07:00
Mitchell Hashimoto
abf43ddfcc apprt/gtk: change default cursor to text 2023-09-30 15:46:03 -07:00
Nathan Fisher
614a9775c6 Set the mouse pointer to "text" (an I-beam) when it is over the gl_area
which the terminal embeds into for the Gtk interface. Addresses https://github.com/mitchellh/ghostty/issues/596
2023-09-30 18:26:40 -04:00
Mitchell Hashimoto
5320f1bd11 Merge pull request #595 from mitchellh/gtk-single
apprt/gtk: gtk-single-instance defaults to true only if desktop env
2023-09-30 08:54:33 -07:00
Mitchell Hashimoto
6c69f0ef63 apprt/gtk: gtk-single-instance defaults to true only if desktop env
Fixes #473

A new config value for `gtk-single-instance = desktop` is now valid.
This value uses GTK single instance mode only if it detects Ghostty was
launched from a desktop environment (i.e. clicking on the icon) through
the `.desktop` Freedesktop file. Otherwise, it disables single instance.

This enables Ghostty to work well with the CLI and accept all the
typical CLI flags. It will make Ghostty launch slower from the CLI but I
think this is an acceptable tradeoff.
2023-09-30 08:46:39 -07:00