6408 Commits

Author SHA1 Message Date
Mitchell Hashimoto
add8c9b2c6 Merge pull request #1761 from qwerasd205/fix-link-highlight
fix(renderer/Metal): dirty track link highlights
2024-05-17 16:47:09 -04:00
Mitchell Hashimoto
6307162e49 small comment changes 2024-05-17 16:46:30 -04:00
Mitchell Hashimoto
6f93d1113a Merge pull request #1767 from peteschaffner/fix-title-bar-window-theme-regression
Fix title bar window theme regression
2024-05-17 16:31:42 -04:00
Mitchell Hashimoto
69a3137956 macos: use enum for window theme 2024-05-17 16:31:18 -04:00
Mitchell Hashimoto
6cff87e60e Merge pull request #1769 from mitchellh/dependabot/github_actions/cachix/install-nix-action-27
build(deps): bump cachix/install-nix-action from 26 to 27
2024-05-17 16:20:40 -04:00
ilk
a1a97913d3 refactor(shell-integration:elvish): refactor to improve readability 2024-05-17 18:11:00 +03:00
ilk
597328432c feat(shell-integration): add integration for Elvish
- contains `.elv` file that implements the core of Elvish integration.
- does not contain routines needed for automatic integration.
- stored in `./elvish/lib/...` in preparation for automatic integration:
  Elvish imports `.../elvish/lib/*.elv`.

checklist:
- no confirmation on close where the cursor is at prompt:
  works, only occasionally doesn't, I'm not yet sure when.
- new terminals start in pwd of previously focused terminal: works
- prompts resize correctly: works
- triple-click while holding `ctrl` selects output of a command:
  works (when mouse is over the output)
- cursor at the prompt is turned into a bar: works
- ghostty:`jump_to_prompt` scrolls through prompts: works
- `opt`-click moves cursor at the prompt: works
- `sudo` preserves ghostty terminfo:
   untested - not sure when this is needed exactly, but did not encounter
   any errors after sudo, either
2024-05-16 20:45:14 +03:00
dependabot[bot]
4498752665 build(deps): bump cachix/install-nix-action from 26 to 27
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 26 to 27.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v26...V27)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-16 00:28:23 +00:00
Pete Schaffner
c437416014 Make title/tab bar respect window-theme setting 2024-05-14 20:17:28 -04:00
Mitchell Hashimoto
cbcb4b27bc Merge pull request #1766 from jparise/bash-readme
shell-integration: update Bash integration details
2024-05-14 18:22:16 -04:00
Mitchell Hashimoto
56d61cb0c9 Merge pull request #1764 from jparise/bash-shellcheck
shell-integration: suppress shellcheck issues
2024-05-14 18:21:54 -04:00
Jon Parise
d5414d50ea shell-integration: update Bash integration details 2024-05-14 15:06:05 -07:00
Jon Parise
016c58cfe4 shell-integration: handle 'bash -c command'
When the -c option is present, then commands are read from the first
non-option argument command string. Our simple implementation assumes
that if we see at least the '-c' option, a command string was given, and
the shell is always considered to be non-interactive - even if the '-i'
(interactive) option is also given.
2024-05-14 11:01:49 -07:00
Jon Parise
11f3400e49 shell-integration: suppress shellcheck issues 2024-05-14 06:57:02 -07:00
Mitchell Hashimoto
c1eda22047 Merge pull request #1763 from mitchellh/vsync
config: default window-vsync to true
2024-05-14 07:22:18 -04:00
Mitchell Hashimoto
d7b37a9006 config: default window-vsync to true
Fixes #1409
Fixes macOS 14.4,14.5 kernel panics

As noted in the comment in this diff, I've decided to default this to
true because it fixes a couple _really bad_ issues for macOS users. For
macOS users on 14.4 and 14.5 (latest released as of this commit), this
resolves or at least heavily mitigates a possible kernel panic.

This also fixes #1409 where external displays over certain connections
such as DisplayLink would be unusably slow to render.
2024-05-14 07:19:15 -04:00
Qwerasd
4d67f660a4 fix(renderer/Metal): dirty track link highlights
Partial fix for link highlight dirty tracking. Some issues remain with
soft-wrapped links (see TODO in code), as well as pressing cmd while
hovering without moving the mouse at all doesn't highlight until you do
move the mouse for some reason.
2024-05-12 18:46:32 -04:00
Jeffrey C. Ollie
a89f817b9e adjust log message 2024-05-11 18:13:00 -05:00
Jeffrey C. Ollie
085c964be7 add strict rate limit 2024-05-11 18:13:00 -05:00
Jeffrey C. Ollie
b4404b691d suppress identical desktop notifications 2024-05-11 18:12:57 -05:00
Mitchell Hashimoto
7d22b42e01 Merge pull request #1758 from jcollie/gtk-menu-splits
Add split right & split down menu entries for the GTK apprt.
2024-05-11 16:02:00 -07:00
Jeffrey C. Ollie
aa9813bc79 Add split right & split down menu entries for the GTK apprt.
Inspired by #1752
2024-05-11 11:48:11 -05:00
Mitchell Hashimoto
edde6cd4db Merge pull request #1757 from mitchellh/point
macos: ime coordinate needs to be converted from view to window coords
2024-05-10 20:55:08 -07:00
Mitchell Hashimoto
d2adf0501c macos: ime coordinate needs to be converted from view to window coords
Fixes #1756

We previously converted from view to screen coordinates but if the view
doesn't take up the full window then the view coordinates are wrong. We
need to convert to window coordinates in the middle.
2024-05-10 20:45:51 -07:00
Mitchell Hashimoto
b4433cd364 Merge pull request #1755 from mitchellh/imgui
update Dear Imgui for Inspector to 1.90.6
2024-05-10 10:25:28 -07:00
Mitchell Hashimoto
a11c7ac785 update Dear Imgui to 1.90.6 2024-05-10 10:17:33 -07:00
Mitchell Hashimoto
103ebf6da5 Merge pull request #1752 from cryptocode/cc-split-menu-renaming
Rename Split Horizontally/Vertically to Split Right/Down
2024-05-10 09:46:08 -07:00
Mitchell Hashimoto
2783d758a4 Merge pull request #1754 from jparise/bash-preexec
shell-integration: update bash-preexec.sh
2024-05-10 09:44:38 -07:00
Jon Parise
baf5116140 shell-integration: update bash-preexec.sh
This pulls in a fix for `bind -x` bindings unintentionally calling the
preexec hook: https://github.com/rcaloras/bash-preexec/pull/152
2024-05-10 09:39:26 -07:00
Qwerasd
ac5725d582 fix(renderer): rebuild font grid and reset shaper cache on hot reload
When hot reloading config with a new font, shaper cache data needs to be
invalidated and the font grid needs to be rebuilt. This change just
makes that happen on all config reloads since it's a rare action so it's
not a performance concern.
2024-05-10 09:39:07 -07:00
cryptocode
a304c953bf Rename menu item variable name accordingly 2024-05-10 12:08:19 +02:00
cryptocode
2faa0c9bee Rename Split Horizontally/Vertically to Split Right/Down
I make the following suggestion through a PR since I already tried this locally and have a branch ready:

- Rename Split Horizontally to Split Right
- Rename Split Vertically to Split Down

Rationale:

The terms horizontal and vertical are ambiguous in the context of splitting (does it mean the splitter is vertical, or are the panes organized vertically?)
Different apps pick different interpretations, so people get confused.

IntelliJ made the same change as above based on user feedback: https://youtrack.jetbrains.com/issue/IJPL-130991/Split-Vertically-and-Split-Horizontally-are-ambiguous-and-should-be-renamed

Ghostty is using the left/right nomenclature in other menu items. In the codebase, SplitDirection is already left/right.
2024-05-10 11:17:11 +02:00
Mitchell Hashimoto
f410c9535f Merge pull request #1750 from mitchellh/simdutf
pkg/simdutf: update to 5.2.8
2024-05-09 21:19:35 -07:00
Mitchell Hashimoto
0030ce7ff9 nix: update hash again 2024-05-09 21:08:43 -07:00
Mitchell Hashimoto
3c0703eafb Revert "pkg/libxml2: udpate"
This reverts commit 7df335dde968ed4b80d8bda28f5f971bf8e52510.
2024-05-09 21:05:38 -07:00
Mitchell Hashimoto
76ff6b81d8 nix: update cache hash 2024-05-09 21:02:26 -07:00
Mitchell Hashimoto
12e059d275 pkg/zlib: update 2024-05-09 21:01:08 -07:00
Mitchell Hashimoto
7df335dde9 pkg/libxml2: udpate 2024-05-09 21:00:18 -07:00
Mitchell Hashimoto
240c60b62a pkg/libpng: update 2024-05-09 20:59:28 -07:00
Mitchell Hashimoto
650bf3788f pkg/glslang update 2024-05-09 20:57:28 -07:00
Mitchell Hashimoto
6672568473 pkg/harfbuzz: update 2024-05-09 20:55:02 -07:00
Mitchell Hashimoto
0c0b67c887 pkg/highway: update 2024-05-09 20:53:45 -07:00
Mitchell Hashimoto
8b7bca53c1 pkg/simdutf: update to 5.2.8 2024-05-09 20:50:54 -07:00
Mitchell Hashimoto
61fd7f7fbf renderer/metal: reset cells when font size changes to avoid blank
Fixes #1743
2024-05-09 09:48:08 -07:00
Mitchell Hashimoto
ae0464cf70 Merge pull request #1741 from qwerasd205/non-integer-point-size
feat(font): Non-integer point sizes
2024-05-08 21:36:48 -07:00
Mitchell Hashimoto
f5594eb0cb Merge pull request #1744 from mitchellh/matrix
ci: collapse renderer/font matrix into single job
2024-05-08 21:36:35 -07:00
Mitchell Hashimoto
a26a0b0b66 ci: collapse renderer/font matrix into single job
We were overloading our macOS runner quota.
2024-05-08 21:20:50 -07:00
Mitchell Hashimoto
9515d642ee Merge pull request #1739 from NgoHuy/fix-gtk4.14
Add GDK_DEBUG as default environment variable for linux
2024-05-08 21:06:47 -07:00
Mitchell Hashimoto
e81f525101 apprt/gtk: set GDK_DEBUG 2024-05-08 21:04:50 -07:00
Qwerasd
5df0935f82 update font_size to f32 in libghostty 2024-05-09 00:03:40 -04:00