7489 Commits

Author SHA1 Message Date
Mitchell Hashimoto
08ee32b633 Forward std_options from entrypoint in main.zig 2024-09-27 10:51:19 -07:00
Mitchell Hashimoto
a753d94344 Merge pull request #2298 from Pangoraw/toggle_tab_overview
add binding to toggle tab overview
2024-09-27 10:19:49 -07:00
Mitchell Hashimoto
1bd0999eef macos: add unhandled action 2024-09-27 10:18:01 -07:00
Mitchell Hashimoto
be0d71f62d apprt/embedded: add the tab overview to the enum 2024-09-27 10:15:16 -07:00
Paul Berg
f1474c220d bind: add toggle_tab_overview binding 2024-09-27 10:13:05 -07:00
Paul Berg
7b8b58110c apprt/gtk: store tab_overview in Window struct 2024-09-27 10:12:08 -07:00
Paul Berg
6ef87d298c apprt/gtk: remove Window.hasAdwToolbar
this is the same as isAdwWindow
2024-09-27 10:12:08 -07:00
Paul Berg
fe4f4fdc72 apprt/gtk: fix build with -Dgtk-libadwaita=false 2024-09-27 10:12:08 -07:00
Mitchell Hashimoto
fb9df0449b Merge pull request #2305 from ghostty-org/macos-dispatch
libghostty: unified action dispatch
2024-09-27 06:55:12 -07:00
Mitchell Hashimoto
6d70ee7e2a Merge pull request #2302 from jcollie/update-zig-hook
nix: fix up zig hook in package.nix
2024-09-26 22:06:55 -07:00
Mitchell Hashimoto
928c306f1b Merge pull request #2303 from ghostty-org/dependabot/github_actions/namespacelabs/nscloud-cache-action-1.1.8
build(deps): bump namespacelabs/nscloud-cache-action from 1.1.7 to 1.1.8
2024-09-26 22:06:43 -07:00
Mitchell Hashimoto
40192ab770 Merge pull request #2304 from ghostty-org/dependabot/github_actions/cachix/install-nix-action-v29
build(deps): bump cachix/install-nix-action from V28 to 29
2024-09-26 22:06:30 -07:00
Mitchell Hashimoto
4ae20212bf libghostty: unified action dispatch
First, this commit modifies libghostty to use a single unified action
dispatch system based on a tagged union versus the one-off callback
system that was previously in place. This change simplifies the code on
both the core and consumer sides of the library. Importantly, as we
introduce new actions, we can now maintain ABI compatibility so long as
our union size does not change (something I don't promise yet).

Second, this moves a lot more of the functions call on a surface into
the action system. This affects all apprts and continues the previous
work of introducing a more unified API for optional surface features.
2024-09-26 22:00:11 -07:00
dependabot[bot]
998827e4c6 build(deps): bump cachix/install-nix-action from V28 to 29
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from V28 to 29. This release includes the previously tagged commit.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/V28...v29)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-27 00:40:39 +00:00
dependabot[bot]
8b6e993481 build(deps): bump namespacelabs/nscloud-cache-action from 1.1.7 to 1.1.8
Bumps [namespacelabs/nscloud-cache-action](https://github.com/namespacelabs/nscloud-cache-action) from 1.1.7 to 1.1.8.
- [Release notes](https://github.com/namespacelabs/nscloud-cache-action/releases)
- [Commits](https://github.com/namespacelabs/nscloud-cache-action/compare/v1.1.7...v1.1.8)

---
updated-dependencies:
- dependency-name: namespacelabs/nscloud-cache-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-27 00:40:37 +00:00
Jeffrey C. Ollie
196c9dc3ba nix: fix up zig hook in package.nix 2024-09-26 17:24:16 -05:00
Mitchell Hashimoto
84e0a05027 Merge pull request #2295 from qwerasd205/underlines
Various underline (and strikethrough) improvements
2024-09-26 14:54:43 -07:00
Mitchell Hashimoto
efe91fbb72 Merge pull request #2301 from ghostty-org/actiondecl
Purge @hasDecl from apprt APIs
2024-09-26 14:46:59 -07:00
Mitchell Hashimoto
3b419a2ba2 apprt/gtk: handle zero value notification pointers 2024-09-26 14:40:33 -07:00
Mitchell Hashimoto
4cc4eb5ed0 core: remove more hasdecls 2024-09-26 14:21:06 -07:00
Mitchell Hashimoto
4e2781fdec apprt/gtk 2024-09-26 14:13:18 -07:00
Mitchell Hashimoto
e29918ebb8 core: more actions 2024-09-26 10:20:44 -07:00
Mitchell Hashimoto
9202cba1f5 core: many more actions 2024-09-26 10:05:10 -07:00
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
Qwerasd
a0f017d6fd freetype: update expected ul pos in tests to account for removed fudge factor 2024-09-25 12:11:04 -06:00
Mitchell Hashimoto
13603c51a9 apprt: begin transition to making actions an enum and not use hasDecl 2024-09-25 11:02:45 -07:00
Qwerasd
003b100707 font: remove fudge factors in ul and st position calculations
These were present because of an incorrect calculation in the underline
sprite renderer, and are no longer necessary.
2024-09-25 12:01:24 -06:00
Qwerasd
9a87001fa6 font/sprite: correct underline placement calculation 2024-09-25 11:56:01 -06:00
Qwerasd
74d24a53ab correct diagram/description (+Y is down not up) 2024-09-25 11:41:12 -06: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
Qwerasd
ac68686036 freetype: fix underline position calculation 2024-09-23 22:30:59 -06: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
Qwerasd
7a1d304fa9 font: further improve ul/st position calculations 2024-09-23 22:10:43 -06: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