Mitchell Hashimoto
1e010b8e08
core: more actions
2024-09-26 09:37:31 -07:00
Mitchell Hashimoto
26cba70b69
core: no need for hasTabs apprt function
2024-09-26 08:34:20 -07:00
Mitchell Hashimoto
02d7e766e1
core: move password input into action enum
2024-09-25 11:43:48 -07:00
Mitchell Hashimoto
ae98dddead
apprt/embedded: support new performAction API
2024-09-25 11:31:14 -07:00
Mitchell Hashimoto
0e043bc0e4
apprt: transition all hasDecls in App.zig to use the new action dispatch
2024-09-25 11:28:10 -07:00
Mitchell Hashimoto
13603c51a9
apprt: begin transition to making actions an enum and not use hasDecl
2024-09-25 11:02:45 -07:00
Mitchell Hashimoto
fade882574
Merge pull request #2300 from vancluever/terminal-kitty-large-signed-ints
...
terminal/kitty: increase value buffer, make 'H' and 'V' i32
2024-09-25 09:41:40 -07:00
Chris Marchesi
861531a1fd
terminal/kitty: increase value buffer, make 'H' and 'V' i32
...
This commit increases the value buffer to 11 characters - this is
technically what it should be to allow for large negative integers
(i.e., 2.4 billion plus the sign character).
Additionally corrected the types for 'H' (horizontal offset) and 'V'
(vertical offset) - these are supposed to be i32 versus u32.
Added some extra tests to test all of this stuff as well.
I've also added a few more tests to help track these cases.
2024-09-25 09:01:39 -07:00
Mitchell Hashimoto
d6e9db4ec5
Merge pull request #2299 from ghostty-org/global-keybind
...
Keybind features: System-global keybindings and target-all-terminal keybindings
2024-09-24 21:01:32 -07:00
Mitchell Hashimoto
6d6052d204
small comment changes
2024-09-24 20:53:45 -07:00
Mitchell Hashimoto
1b31663865
apprt/embedded: new_window can be called without a parent
2024-09-24 18:33:10 -07:00
Mitchell Hashimoto
bea24f7725
config: clarify docs
2024-09-24 16:41:29 -07:00
Mitchell Hashimoto
689ee0f385
typos
2024-09-24 16:38:42 -07:00
Mitchell Hashimoto
ed7ac8aa21
macos: better enable timing depending on process launch time
2024-09-24 16:38:17 -07:00
Mitchell Hashimoto
1ad904478d
Tap events, core API to handle global keybinds
2024-09-24 16:29:02 -07:00
Mitchell Hashimoto
37452a9623
Merge pull request #2297 from Pangoraw/wt-ghostty
...
apprt/gtk: support window-theme != ghostty
2024-09-24 06:31:02 -07:00
Paul
b41f45d7a3
apprt/gtk: support window-theme != ghostty
...
- support for gtk-tabs-location=bottom
- support for gtk-titlebar=false
2024-09-24 08:10:06 +02:00
Mitchell Hashimoto
38db305d29
Merge pull request #2289 from jcollie/ghostty-adwaita-version
...
gtk/adw: conditional tab keybindings
2024-09-23 21:11:32 -07:00
Mitchell Hashimoto
70ce25cec4
Merge pull request #2293 from tristan957/window-color
...
apprt/gtk: override the top bar colors in libadwaita correctly
2024-09-23 21:00:29 -07:00
Mitchell Hashimoto
1d2a9a891e
Merge pull request #2294 from qwerasd205/sequoia-ctrl-return
...
macOS: prevent ctrl-return key equivalent
2024-09-23 20:59:43 -07:00
Mitchell Hashimoto
0f3f01483e
apprt/embedded: API for checking if there are global keybinds
2024-09-23 20:45:58 -07:00
Mitchell Hashimoto
c5eeb514cd
input: fix tests
2024-09-23 20:39:43 -07:00
Mitchell Hashimoto
17caeb5fac
core: "all" bindings work
2024-09-23 19:21:23 -07:00
Mitchell Hashimoto
7f8c1a37ff
core: handle app bindings in the App struct
2024-09-23 19:08:23 -07:00
Qwerasd
92d310a660
macOS: prevent ctrl-return key equivalent
...
macOS 15 adds this as a default key equivalent to show the context menu,
this is annoying, so we capture the event and tell macOS we handled it.
2024-09-23 16:55:11 -06:00
Tristan Partin
81c50e588c
apprt/gtk: override the top bar colors in libadwaita correctly
...
This is the way to override the color in libadwaita < 1.6. We can
transition to named colors, specifically headerbar-{fg,bg}-color for
libadwaita 1.6.
Fixes : #2266
Signed-off-by: Tristan Partin <tristan@partin.io>
2024-09-23 17:09:14 -05:00
Mitchell Hashimoto
070cc22172
input: global/all bindings can't be sequenced
2024-09-23 14:23:35 -07:00
Mitchell Hashimoto
66143a33ef
input: move flags to a packed struct
2024-09-23 14:03:53 -07:00
Mitchell Hashimoto
0394c8e2df
input: parse global keys, document them
2024-09-23 10:08:35 -07:00
Jeffrey C. Ollie
8186e95902
gtk/adw: perform version check at both comptime and runtime
2024-09-23 11:41:39 -05:00
Mitchell Hashimoto
8f6ecaa4f0
Merge pull request #2290 from ghostty-org/push-tlrkmpvyqvut
...
update libxev
2024-09-23 09:34:35 -07:00
Mitchell Hashimoto
c91c5164ff
update libxev
...
This fixes the issue where a write could be interrupted and not retried.
2024-09-23 09:30:57 -07:00
Jeffrey C. Ollie
2805657213
gtk/adw: conditional tab keybindings
...
adw_tab_view_remove_shortcuts (and related APIs) was added in libadwaita
1.2.0.
2024-09-23 10:31:01 -05:00
Mitchell Hashimoto
70eb5b7485
Merge pull request #2288 from Pangoraw/tabs-gtk
...
apprt/gtk: set tabs reorderable/detachable on GtkNotebook
2024-09-23 06:31:10 -07:00
Paul Berg
2033e59240
apprt/gtk: set tabs reorderable/detachable on GtkNotebook
2024-09-23 10:16:10 +02:00
Mitchell Hashimoto
599934d5de
Merge pull request #2287 from ghostty-org/minidump
...
Minidump Parser
2024-09-22 14:12:12 -07:00
Mitchell Hashimoto
9178d1cf38
crash/minidump: locationReader to read locations in a minidump
2024-09-22 14:06:59 -07:00
Mitchell Hashimoto
5b1d729748
crash/minidump: handle padding in the ThreadList stream
2024-09-22 14:06:59 -07:00
Mitchell Hashimoto
df629044fa
crash/minidump: working on rich stream type decoding, ThreadList
2024-09-22 14:06:59 -07:00
Mitchell Hashimoto
c0719fceef
crash/minidump: typos
2024-09-22 14:06:59 -07:00
Mitchell Hashimoto
ca1ab7bcdc
crash/minidump: streamIterator
2024-09-22 14:06:59 -07:00
Mitchell Hashimoto
facbabfd2c
crash/minidump: StreamReader
2024-09-22 14:06:58 -07:00
Mitchell Hashimoto
b8ec91242f
crash/minidump: reader that streams data from a source
2024-09-22 14:06:58 -07:00
Mitchell Hashimoto
3cc18b62e7
crash/minidump: split out into multiple files
2024-09-22 14:06:58 -07:00
Mitchell Hashimoto
ae8859bc7b
crash/minidump: read the streams from the minidump file
2024-09-22 14:06:58 -07:00
Mitchell Hashimoto
5a2bbe9a08
crash/minidump: header parsing
2024-09-22 14:06:58 -07:00
Mitchell Hashimoto
826ba6e46e
Merge pull request #2286 from ghostty-org/push-uknuvwouqqnu
...
macos: enable dead code stripping
2024-09-22 11:05:45 -07:00
Mitchell Hashimoto
ce73917325
Merge pull request #2285 from ghostty-org/push-lwxwvlyootok
...
macos: cannot call mouseEntered/Exited with blank NSEvent
2024-09-22 10:28:07 -07:00
Mitchell Hashimoto
554dd6ff95
macos: enable dead code stripping
...
This is a recommended Xcode setting, the binary _seems_ to run fine.
It eliminates a warning from builds and reduces the binary size.
2024-09-22 10:21:51 -07:00
Mitchell Hashimoto
c63af5efaa
macos: cannot call mouseEntered/Exited with blank NSEvent
...
Fixes #2283
macOS <= 14 crash with an invalid NSEvent error. macOS 15 seems to just
ignore the blank event. We just got lucky with this. Since we don't
override mouseEntered/Exited anymore we can remove this completely.
The regression was from: e89a4f74089b66c00043096589dc75fff5ab6674
2024-09-22 10:17:45 -07:00