Mitchell Hashimoto
a22ca8e4c1
renderer/opengl: clean up texture sync
2024-04-06 09:34:34 -07:00
Mitchell Hashimoto
45f518851d
renderer/opengl: convert to SharedGrid, new windows/tabs are frozen
2024-04-05 22:00:51 -07:00
Mitchell Hashimoto
b77513de1a
font/harfbuzz: work with new font structures
2024-04-05 21:48:53 -07:00
Mitchell Hashimoto
6aa659c4b5
renderer/metal: re-enable preedit rendering
2024-04-05 21:39:39 -07:00
Mitchell Hashimoto
2a06cf54ba
core: App asserts the font grid set is empty on close
2024-04-05 21:28:50 -07:00
Mitchell Hashimoto
29b172b3ac
renderer/metal: use new atlas APIs
2024-04-05 21:13:10 -07:00
Mitchell Hashimoto
de2b0f6857
font: Atlas updated to use monotonic ID
2024-04-05 21:10:10 -07:00
Mitchell Hashimoto
c45747bf1f
font: implement many rendering, caching functions for SharedGrid
2024-04-05 20:50:35 -07:00
Mitchell Hashimoto
c88137d254
font/shaper: work on new grid APIs
2024-04-05 20:21:13 -07:00
Mitchell Hashimoto
90ea733cbd
font: SharedGrid hasCodepoint
2024-04-05 19:07:45 -07:00
Mitchell Hashimoto
c99b27d364
font: SharedGrid.getIndex
2024-04-05 19:00:41 -07:00
Mitchell Hashimoto
329697779a
renderer/metal: convert more
2024-04-05 18:51:26 -07:00
Mitchell Hashimoto
d6c048f1e3
renderer/metal: picking away at font group => grid changes
2024-04-05 15:35:16 -07:00
Mitchell Hashimoto
04e0cd29e5
core: begin converting to SharedGridSet, renderers still broken
2024-04-05 15:25:45 -07:00
Mitchell Hashimoto
4a29da3525
font: SharedGridSet clarify memory ownership
2024-04-05 15:15:30 -07:00
Mitchell Hashimoto
719c5d7c25
font: SharedGridSet starts
2024-04-05 15:03:22 -07:00
Mitchell Hashimoto
b9471f3791
font: SharedGrid setup test infra
2024-04-05 14:39:31 -07:00
Mitchell Hashimoto
9fb883666a
font: start SharedGrid
2024-04-05 09:29:41 -07:00
Mitchell Hashimoto
88db80b7b0
font: CodepointResolver test box glyph
2024-04-05 09:29:41 -07:00
Mitchell Hashimoto
b2541d24f1
font: CodepointResolver style disabling test
2024-04-05 09:29:41 -07:00
Mitchell Hashimoto
4eccd42f6b
font: CodepointResolver beginnings
2024-04-05 09:29:41 -07:00
Mitchell Hashimoto
bd479db09f
font: Collection setSize
2024-04-05 09:29:41 -07:00
Mitchell Hashimoto
4d70859864
font: Collection autoItalicize
2024-04-05 09:29:41 -07:00
Mitchell Hashimoto
40b4183b1f
font: Collection deinit
2024-04-05 09:29:41 -07:00
Mitchell Hashimoto
0d0688404e
font: Collection.getIndex
2024-04-05 09:29:41 -07:00
Mitchell Hashimoto
833d54e441
font: Collection has load options
2024-04-05 09:29:41 -07:00
Mitchell Hashimoto
89b3e3ae4e
font: a mess
2024-04-05 09:29:41 -07:00
Mitchell Hashimoto
72d59956d5
font: [broken] working on extracting Collection from Group
2024-04-05 09:29:40 -07:00
Mitchell Hashimoto
7b428367df
font: improve log statements a bit
2024-04-05 09:29:40 -07:00
Mitchell Hashimoto
5de88fe3f8
core: deref the font group when not used
2024-04-05 09:29:40 -07:00
Mitchell Hashimoto
6d7053a1ad
core: convert surface/app to use GroupCacheSet
2024-04-05 09:29:40 -07:00
Mitchell Hashimoto
9f34edfa83
font: GroupCacheSet can initialize a group
2024-04-05 09:29:40 -07:00
Mitchell Hashimoto
2a386daa19
font: GroupCacheSet.Key has metric modifiers
2024-04-05 09:29:40 -07:00
Mitchell Hashimoto
9d8da8fcc7
font: CodepointMap hashable, use for groupcacheset
2024-04-05 09:29:40 -07:00
Mitchell Hashimoto
bfcd5f380a
font: introduce GroupCacheSet, use it for descriptors to start
2024-04-05 09:29:40 -07:00
Mitchell Hashimoto
7fef1aa294
font: descritor can hash using a hasher
2024-04-05 09:29:40 -07:00
Mitchell Hashimoto
5546469c37
font: remove unused struct
2024-04-05 09:29:39 -07:00
Mitchell Hashimoto
91ba47af1f
input: add test for backspace change
2024-04-05 08:25:14 -07:00
rok
51bfde69ba
input: do not emit sequence on <BS> when their's UTF-8 text
2024-04-05 19:55:17 +09:00
Mitchell Hashimoto
8e0faaf6c5
Merge pull request #1651 from aca/korean-esc
...
input: escape can be used to clear dead key state
2024-04-04 22:18:09 -07:00
Mitchell Hashimoto
0bd673435f
input: add test for esc clearing dead key state
2024-04-04 21:57:32 -07:00
Mitchell Hashimoto
3fa0df57d1
Merge pull request #1653 from mitchellh/coretext
...
Enable CoreText font shaper for macOS by default
2024-04-04 21:44:14 -07:00
Mitchell Hashimoto
eb4d21fcbf
font/coretext: handle two-byte utf16 followed by more chars
2024-04-04 21:31:07 -07:00
Qwerasd
624ebb5b51
fix(inspector): cell picker in scrollback
...
Previously cell picking only worked correctly in the active area, not when scrolled in to scrollback.
2024-04-04 20:39:39 -04:00
Qwerasd
be07856647
fix(terminal/Screen): selectionString multi-page
...
Corrected logic for detecting if the current row is the end of the
selection. Previous logic was faulty because when I calculated the
current page y incorrectly, not realizing that it was already
available as `y`.
2024-04-04 17:59:42 -04:00
Mitchell Hashimoto
6ace9e9d19
font/coretext: unit tests pass on macOS
2024-04-04 14:46:46 -07:00
Qwerasd
b03f80cadd
terminal/Screen: improve selectionString page test
...
More readable (smaller) output when failing, catches more edge cases.
At the time of this commit, this test is failing. Changed primarily to
address the edge case that was missed before.
2024-04-04 17:44:06 -04:00
Mitchell Hashimoto
1b8bae5f0a
Update src/font/shape.zig
...
Co-authored-by: Jon Parise <jon@indelible.org>
2024-04-04 13:25:27 -07:00
Mitchell Hashimoto
fd4d2313d0
build: do not build/link harfbuzz on macOS
2024-04-04 12:22:35 -07:00
Mitchell Hashimoto
e41e45e1ad
font/coretext: face doesn't need harfbuzz font if we're not using it
2024-04-04 12:18:28 -07:00