6129 Commits

Author SHA1 Message Date
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
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
Mitchell Hashimoto
2b785127b1 Merge pull request #1729 from jparise/bash-integration
shell-integration: automatic bash integration
2024-05-07 20:01:51 -07:00
Mitchell Hashimoto
4eaebe5abc update README 2024-05-07 20:01:30 -07:00
Mitchell Hashimoto
d64fa6d9db termio: shell integration uses arena 2024-05-07 19:57:26 -07:00
Mitchell Hashimoto
0445a017a2 Merge pull request #1736 from qwerasd205/metal-cell-fixes
Metal cell Contents structure improvements
2024-05-07 19:23:45 -07:00
Mitchell Hashimoto
0335b0eada core: preedit modification sets full screen dirty
Fixes #1735
2024-05-07 19:19:58 -07:00
Qwerasd
7e9bdb84a8 renderer/Metal: cell Contents asserts 2024-05-07 21:19:22 -04:00
Qwerasd
c801e28c39 renderer/Metal: cell Contents tests 2024-05-07 21:13:50 -04:00
Qwerasd
4f26eb203b renderer/Metal: cell Contents cleanup
Cleaned up naming, some logic changes, added comments.
2024-05-07 20:46:20 -04:00