8046 Commits

Author SHA1 Message Date
Mitchell Hashimoto
b65a0a4646 Merge pull request #2746 from ghostty-org/push-lyqwxytykwyx
apprt/gtk: set inherited working directory manually
2024-11-20 14:53:07 -08:00
Mitchell Hashimoto
7aeee06471 apprt/gtk: set inherited working directory manually
Fixes #2745

GTK uses a delayed surface initialization since we initialize on
GTKGLArea realize not on the actual callback. Because of that, our
inherited directory doesn't always work since that depends on a
previously focused widget.

This copies our desired inherited directory to an allocation so that we
can set it during realize.
2024-11-20 14:49:01 -08:00
Mitchell Hashimoto
1798fc67bf ci: release job should set xcode version earlier 2024-11-20 14:14:53 -08:00
Mitchell Hashimoto
53dba182bf Merge pull request #2735 from ghostty-org/theme
Configuration to specify separate light/dark mode theme
2024-11-20 14:12:36 -08:00
Mitchell Hashimoto
f8a8b0464c renderer/opengl: fix memory leak when copying font features 2024-11-20 14:08:00 -08:00
Mitchell Hashimoto
5f49ffad6a Merge pull request #2736 from ghostty-org/push-sltwuokrztpt
macos: enable Metal shader logging
2024-11-20 06:37:29 -08:00
Mitchell Hashimoto
cc776fd78b Merge pull request #2739 from AnthonyZhOon/main
Change oniguruma link target from `oniguruma` to `onig`
2024-11-20 06:36:13 -08:00
Anthony
daa0fe00b1 Change oniguruma link target from oniguruma to onig 2024-11-20 18:34:21 +11:00
Mitchell Hashimoto
aad101565a macos: enable Metal shader logging
This enables the compile options and Xcode configuration so that logging
in Metal shaders shows up in our Xcode debug console. This doesn't add
any log messages, but makes it so that when we iterate on the shaders in
the future, we can add and see logs to help us out.
2024-11-19 18:59:41 -08:00
Mitchell Hashimoto
03b60ab2ef apprt/gtk: support light/dark mode change on the fly 2024-11-19 16:12:11 -08:00
Mitchell Hashimoto
67d5eaa6af config: update some docs 2024-11-19 16:06:39 -08:00
Mitchell Hashimoto
243b6f8c8d config: macos-titlebar-style transparent disabled with light/dark mode 2024-11-19 16:00:30 -08:00
Mitchell Hashimoto
0e006dbd8d config: disable window-theme=auto if light/dark mode theme is configured 2024-11-19 15:51:35 -08:00
Mitchell Hashimoto
b7f1eaa145 apprt: action to change conditional state, implement for embedded 2024-11-19 15:36:31 -08:00
Mitchell Hashimoto
d2566287e9 config: load dark/light theme based on conditional state 2024-11-19 13:34:22 -08:00
Mitchell Hashimoto
13d5f37e50 config: theme parses light/dark but only loads light for now 2024-11-19 11:16:47 -08:00
Mitchell Hashimoto
7d2dee2bc3 cli: parseCLI form works with optionals 2024-11-19 11:05:20 -08:00
Mitchell Hashimoto
d2cdc4f717 cli: parse auto structs 2024-11-19 10:46:25 -08:00
Mitchell Hashimoto
df4e616e71 config: theme loading unit tests 2024-11-19 10:17:03 -08:00
Mitchell Hashimoto
04a61e753a config: some docs updates 2024-11-19 10:17:03 -08:00
Mitchell Hashimoto
234e3986f9 config: function to change conditional state 2024-11-19 10:17:03 -08:00
Mitchell Hashimoto
f016c5028c config: Replay.Step supports a conditional arg 2024-11-19 10:17:03 -08:00
Mitchell Hashimoto
712da4288f config: add basic conditional system core logic (no syntax yet)
Note: this doesn't have any syntax the user can use in a configuration
yet. This just implements a core, tested system.
2024-11-19 10:17:03 -08:00
Mitchell Hashimoto
14f603e691 Merge pull request #2733 from jparise/path_sep
os: replace PATH_SEP with std.fs.path.delimiter
2024-11-19 10:12:27 -08:00
Jon Parise
433b6b4fe2 os: replace PATH_SEP with std.fs.path.delimiter
This standard library symbol is equivalent.
2024-11-19 10:51:02 -05:00
Mitchell Hashimoto
29c3a52e96 config: clarify config-file behavior
No one has actually ever complained about this but I wanted to
explicitly call it out.
2024-11-18 15:14:57 -08:00
Mitchell Hashimoto
d605509775 Merge pull request #2728 from gpanders/push-zptlqykzosss
vim: fix comment syntax pattern
2024-11-18 14:40:38 -08:00
Gregory Anders
bc6cd631e5 vim: fix comment syntax pattern
Only lines which contain (optional) whitespace followed by a # character
are comments. We should not treat lines like "foreground = #aaa" as
containing a comment.
2024-11-18 16:11:44 -06:00
Mitchell Hashimoto
e54ae31d1c Merge pull request #2726 from ghostty-org/push-mqwylwsuwzqv
build: always emit-docs in system packaging mode
2024-11-18 08:23:32 -08:00
Mitchell Hashimoto
cd214dbeac build: always emit-docs in system packaging mode
System packages are always going to want docs. This forces to true so a
build error can appear if `pandoc` is unavailable.
2024-11-18 08:15:19 -08:00
Mitchell Hashimoto
43bca7540f Merge pull request #2717 from aymanbagabas/patch-1
website: vt/cht: correct v-2 results
2024-11-18 08:02:45 -08:00
Mitchell Hashimoto
e747345b03 Merge pull request #2712 from notcancername/set-xdg-data-dirs-default
Append the default value of XDG_DATA_DIRS when setting up shell integration
2024-11-18 06:24:35 -08:00
Ayman Bagabas
b0e60a103d website: vt/cht: correct v-2 results
Fixes: https://github.com/ghostty-org/ghostty/issues/2716
2024-11-17 19:39:53 -05:00
Mitchell Hashimoto
3e971f2837 termio: tweaks to xdg data dir handling (no logic changes) 2024-11-17 09:48:42 -08:00
Mitchell Hashimoto
86c601f136 Merge pull request #2700 from tristan957/pwd
apprt/gtk: handle pwd action
2024-11-17 09:40:45 -08:00
notcancername
8e736aa4eb Append the default value of XDG_DATA_DIRS when setting up shell integration 2024-11-17 15:28:41 +01:00
Tristan Partin
9c25811576 apprt/gtk: handle pwd action
Use it as a tooltip for the tab.

Signed-off-by: Tristan Partin <tristan@partin.io>
2024-11-16 15:20:53 -06:00
Mitchell Hashimoto
4a71812352 Merge pull request #2696 from jparise/macos-about-properties
macos: support linkable AboutView properties
2024-11-16 10:42:10 -08:00
Mitchell Hashimoto
002832deb5 Merge pull request #2703 from furtidev/port-to-latest-vaxis
cli: update to latest libvaxis and fix `+list-themes` bugs
2024-11-16 08:49:02 -08:00
furtidev
d32e3be0b3 update nix cache 2024-11-16 21:15:20 +06:00
furtidev
8901027e6d fix: theme search ranking is now case insensitive 2024-11-16 20:05:11 +06:00
furtidev
fb2510c2ed fix: +list-themes crashing when there's search result is empty 2024-11-16 20:03:58 +06:00
furtidev
a6bdd2f201 port +list-themes to latest libvaxis 2024-11-16 20:02:35 +06:00
furtidev
e7b9a2ac95 port +list-keybinds to latest libvaxis 2024-11-16 19:39:48 +06:00
furtidev
eb9b7681c7 dep: add latest libvaxis and zf 2024-11-16 19:38:22 +06:00
Jon Parise
8a74b59a7e macos: struct attributes can be private 2024-11-15 22:47:38 -05:00
Jon Parise
de60382824 macos: further simplify using a @ViewBuilder 2024-11-15 22:43:21 -05:00
Jon Parise
2db43158a8 macos: formatting 2024-11-15 22:36:11 -05:00
Jon Parise
1807eabcb8 macos: prefer private View structs to functions 2024-11-15 22:33:27 -05:00
Mitchell Hashimoto
77ab6448f5 Merge pull request #2697 from ghostty-org/push-xmnyomtrnlml
macos: swap out pointerVisible with NSCursor.setHiddenUntilMouseMoves
2024-11-15 19:16:11 -08:00