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
Qwerasd
575a477be5
cast dpi to int again
...
forgot to change this back when I reverted the dpi from f32 to u16
2024-05-09 00:03:40 -04:00
Qwerasd
fb913f0d9e
Enable libpng in harfbuzz freetype dep
...
Without this, this replaces the dep on the main level, breaking color glyphs
2024-05-09 00:03:40 -04:00
Qwerasd
9056771509
keep font size in sane range
2024-05-09 00:03:40 -04:00
Qwerasd
d01db9f793
revert dpi type to u16
2024-05-09 00:03:40 -04:00
Qwerasd
fa45c18a6a
fix point size type
2024-05-09 00:03:40 -04:00
Qwerasd
a9daba6d6d
fix freetype face size calculation
2024-05-09 00:03:40 -04:00
Qwerasd
3156df261f
fix a couple test failures
2024-05-09 00:03:40 -04:00
Qwerasd
d4a7549222
feat(font): Non-integer point sizes
...
Allows for high dpi displays to get odd numbered pixel sizes, for
example, 13.5pt @ 2px/pt for 27px font. This implementation performs
all the sizing calculations with f32, rounding to the nearest pixel
size when it comes to rendering. In the future this can be enhanced
by adding fractional scaling to support fractional pixel sizes.
2024-05-09 00:03:40 -04:00
Mitchell Hashimoto
08940940d5
Merge pull request #1742 from mitchellh/macos-matrix
...
ci: add renderer, font engine macOS build+test matrix
2024-05-08 20:59:31 -07:00
Mitchell Hashimoto
6dcf567554
font: fix coretext test issues with harfbuzz shaper
2024-05-08 18:33:14 -07:00
Mitchell Hashimoto
435bd32cfd
font: SharedGridSet works without font discovery
2024-05-08 18:24:55 -07:00
Mitchell Hashimoto
995f39314d
ci: add renderer, font engine macOS build+test matrix
2024-05-08 12:31:30 -07:00
Mitchell Hashimoto
3c882e364a
font: disable CJK unification fallback with freetype rasterizer
2024-05-08 12:18:35 -07:00
Mitchell Hashimoto
e037c55da6
Merge pull request #1740 from mitchellh/ct-rtl
...
coretext: force LTR font shaping
2024-05-08 10:19:57 -07:00
Mitchell Hashimoto
1cb70d6e40
font/coretext: force LTR shaping
2024-05-08 10:11:57 -07:00
Severus
245aaa34bf
Add upstream's issue
2024-05-09 00:00:14 +07:00
Severus
b33190131f
Add GDK_DEBUG as default environment variable for linux
...
Since gtk 4.14, we need to define driver to run OpenGL as (gtk's issue)[https://gitlab.gnome.org/GNOME/gtk/-/issues/6589 ]
2024-05-08 23:50:08 +07:00
Mitchell Hashimoto
eeb7f7aa02
pkg/macos: add more text APIs
2024-05-08 09:49:16 -07:00
Mitchell Hashimoto
18e5382909
font/coretext: do not assume capacity on arraylist append
...
Now that we're padding the cells with blanks if we have shaped ligatures
we don't actually know the exact count based on the CoreText APIs, so we
should just dynamically add.
2024-05-08 08:55:28 -07:00
Mitchell Hashimoto
f13a471e05
Merge pull request #1738 from jparise/bash-histfile
...
shell-integration: expand bash HISTFILE value
2024-05-08 07:59:48 -07:00
Jon Parise
054e01eaaf
shell-integration: expand bash HISTFILE value
...
bash reads HISTFILE at startup to locate its history file, but this is
apparently too early for it to be able to expand home-relative paths. We
now manually expand the full path and add that to the environment.
2024-05-08 07:49:46 -07:00