7573 Commits

Author SHA1 Message Date
Mitchell Hashimoto
1cc79c5e76 Merge pull request #2340 from ghostty-org/push-tspxklnxtxpp
macos: quick terminal app activation tweaks to avoid bringing up other windows
2024-09-30 20:49:10 -07:00
Mitchell Hashimoto
3eb2e5f0f0 ci: re-enable the build matrix, not happy with this yet 2024-09-30 20:48:32 -07:00
Mitchell Hashimoto
7a5a9c2a58 macos: quick terminal app activation tweaks to avoid bringing up other windows
Fixes #2336

The comments explain the issues here.
2024-09-30 20:45:54 -07:00
Mitchell Hashimoto
0dc141d8bb ci: fix invalid dependency on test 2024-09-30 20:29:58 -07:00
Mitchell Hashimoto
7e720d1765 Merge pull request #2339 from ghostty-org/push-pwtowtzumlnw
ci: only run macos build matrix on main or demand
2024-09-30 20:29:19 -07:00
Mitchell Hashimoto
d1fe931f59 ci: only run macos build matrix on main or demand
This is our longest running job in CI and I don't need it to run for
every PR. I'd like it running on main in case I miss a need for it in a
PR.
2024-09-30 20:24:55 -07:00
Mitchell Hashimoto
d1bba3737b Merge pull request #2335 from rockorager/fix-sgr-reset
fix(list-keybinds): reset SGR after pretty printing
2024-09-30 20:20:41 -07:00
Mitchell Hashimoto
4b9a3aaaa2 Merge pull request #2337 from ghostty-org/nonnative
macOS: fullscreen implementation improvements
2024-09-30 20:17:10 -07:00
Tim Culverhouse
e502597e8d fix(list-keybinds): reset SGR after pretty printing
Update libvaxis which now resets SGR at the end of a pretty print.

Fixes: #2333
2024-09-30 20:16:27 -07:00
Mitchell Hashimoto
22b9f24978 macos: clarify comments, clean up notifications for fullscreen 2024-09-30 20:10:23 -07:00
Mitchell Hashimoto
639434df33 macos: exit native fullscreen if we try to enter non-native 2024-09-30 15:01:44 -07:00
Mitchell Hashimoto
93f0b9dce9 macos: only exit on screen change if the screen really changed 2024-09-30 14:48:05 -07:00
Mitchell Hashimoto
ef5b835dc4 macos: only hide dock on the screen with the dock 2024-09-30 14:25:33 -07:00
Mitchell Hashimoto
408c33e174 macos: handle non-native fullscreen changing screens 2024-09-30 14:14:01 -07:00
Mitchell Hashimoto
35462331ae macos: non-native fs sets frame async to account for style changes
Fixes #1996
2024-09-30 10:44:26 -07:00
Mitchell Hashimoto
ba9ae0c0be macos: only get fullscreen mode on AppKit 2024-09-30 10:37:33 -07:00
Mitchell Hashimoto
045ecacd8c macos: fullscreen mode can be changed at runtime 2024-09-30 10:31:11 -07:00
Mitchell Hashimoto
5f9d4f9733 macos: fullscreen=true with non-native fullscreen works
Fixes #1377
2024-09-30 10:02:50 -07:00
Mitchell Hashimoto
718fa6042c macos: new fullscreen implementation 2024-09-30 09:42:46 -07:00
Mitchell Hashimoto
bdf153281e Merge pull request #2328 from Pangoraw/mouse-down
cli: handle mouse scroll before setting window
2024-09-30 08:35:26 -07:00
Paul Berg
aa10e5160b cli: handle mouse scroll before setting window 2024-09-30 11:02:32 +02:00
Mitchell Hashimoto
332e1a1494 macos: new FullscreenMode/Style architecture for fullscreen impls 2024-09-29 21:31:58 -07:00
Mitchell Hashimoto
ea46cb19e6 macos: use a different bundle identifier for debug builds
This is necessary to avoid conflicts with application data such
as permissions and preferences.
2024-09-29 16:16:55 -07:00
Mitchell Hashimoto
f434c2cb71 Merge pull request #2327 from ghostty-org/quickterm
macOS: Quick Terminal focus improvements
2024-09-29 15:44:57 -07:00
Mitchell Hashimoto
19012cb6f5 macos: quick terminal restores focus to previous application 2024-09-29 15:33:12 -07:00
Mitchell Hashimoto
c70e0b2634 macos: use orderOut which handles all of our focus logic for us 2024-09-29 15:06:54 -07:00
Mitchell Hashimoto
c8a40a7791 macos: quick terminal close focuses next window on same screen/space
Previously, we'd find the next Ghostty window anywhere. Now we find the
one on the same screen/space to avoid moving the focus to a different screen.
2024-09-29 14:56:03 -07:00
Mitchell Hashimoto
83505bb4c0 macos: ensure quick terminal becomes key and focused after animation in 2024-09-29 10:44:16 -07:00
Mitchell Hashimoto
99a1dbdf46 Merge pull request #2322 from Syphdias/fix_2271
Split GDK environment variables
2024-09-29 09:48:56 -07:00
Mitchell Hashimoto
b9545ec2f9 Merge pull request #2325 from ghostty-org/oob
Fix OOB write on curly underline, add bounds checking in runtime safety modes
2024-09-29 09:45:07 -07:00
Mitchell Hashimoto
bbacee66d0 font/sprite: fix out of bounds right on curly underline
Fixes #2321
2024-09-29 09:39:32 -07:00
Mitchell Hashimoto
f67a647a12 font/sprite: bounds checking for pixel writes on Pixman 2024-09-29 09:38:38 -07:00
Mitchell Hashimoto
e47e7a8b8b macos: quick terminal always brings Ghostty to the front 2024-09-29 09:31:56 -07:00
Christian Kugler
f9d3f64978 Merge branch 'main' into fix_2271 2024-09-29 14:15:56 +02:00
Christian Kugler
f309d4191e Use helper function to set correct env variables
GTK4 version 4.16 split the environment variable `GDK_DEBUG` into `GDK_DEBUG`
and `GDK_DISABLE`. This is being done by using the helper function `atLeast` to
handle certain versions accordingly.

`GSK_RENDERER` also only needs to be set in later GTK versions (>=1.14.0).
2024-09-29 14:04:13 +02:00
Mitchell Hashimoto
c2fe2ccc71 Merge pull request #2319 from jcollie/nix-stdenv-unstable
nix: use stdenv from unstable to build the package
2024-09-28 21:25:59 -07:00
Mitchell Hashimoto
4796583a51 Merge pull request #2320 from ghostty-org/slideterm
macOS: Quick Terminal ("Quake-style" terminal)
2024-09-28 21:20:00 -07:00
Mitchell Hashimoto
4f9d49b380 macos: handle multiple monitors properly 2024-09-28 20:52:22 -07:00
Mitchell Hashimoto
bcdbb5899b macos: only define quick terminal configs for AppKit 2024-09-28 19:14:27 -07:00
Mitchell Hashimoto
76a2041cbf macos: make quick terminal animation 0.2 instead of 0.3 2024-09-28 19:11:40 -07:00
Mitchell Hashimoto
1d727320b4 macos: if initializing new surface tree, move focus to it 2024-09-28 19:11:16 -07:00
Mitchell Hashimoto
1f3c3dde10 input: note fullscreen isn't supported by quick terminal 2024-09-28 18:51:47 -07:00
Mitchell Hashimoto
61dd395251 macos: show alert if new tab is attempted from quick term 2024-09-28 18:46:52 -07:00
Mitchell Hashimoto
11d5ec7dc1 config: support quick terminal position 2024-09-28 18:42:25 -07:00
Jeffrey C. Ollie
6cbced7078 nix: use stdenv from unstable to build the package 2024-09-28 20:05:56 -05:00
Mitchell Hashimoto
13eb8ac6e2 macos: ability to interrupt animation, track it in menu 2024-09-28 15:29:57 -07:00
Mitchell Hashimoto
1570ef01a7 rename slide to quick terminal 2024-09-28 15:20:35 -07:00
Mitchell Hashimoto
e3b340c6d3 macos: set initial terminal dimensions 2024-09-28 15:08:27 -07:00
Mitchell Hashimoto
2e2e6d71c5 Merge pull request #2315 from jcollie/nix-devshell-remove-tracy
nix: remove tracy from the devshell
2024-09-28 14:55:43 -07:00
Jeffrey C. Ollie
0a3ca77296 nix: remove tracy from flake.nix 2024-09-28 12:56:39 -05:00