5093 Commits

Author SHA1 Message Date
Mitchell Hashimoto
e45b3b4d48 ci: test self-hosted x86 runners 2024-02-10 09:38:20 -08:00
Mitchell Hashimoto
f7c945c4a7 Merge pull request #1494 from mitchellh/grapheme-break
Optimized grapheme break detection (6x speedup)
2024-02-10 07:54:06 -08:00
Mitchell Hashimoto
49cc5e2f47 Merge pull request #1483 from peteschaffner/improve-titlebar-tabs-background-color
Improve titlebar unselected tabs background color
2024-02-10 07:52:24 -08:00
Mitchell Hashimoto
0e482b8519 macos: nitpicks 2024-02-10 07:52:02 -08:00
Mitchell Hashimoto
5275d44e7d unicode: precompute grapheme break data 2024-02-09 20:50:13 -08:00
Mitchell Hashimoto
6f8b4204b9 terminal: use new grapheme break algo 2024-02-09 20:31:20 -08:00
Mitchell Hashimoto
132fbb3a46 unicode: use packed struct for break state 2024-02-09 20:29:36 -08:00
Mitchell Hashimoto
c47ad97f62 unicode: remove unused 2024-02-09 20:23:29 -08:00
Mitchell Hashimoto
5f3574a4bf unicode: direct port of ziglyph to start 2024-02-09 19:44:57 -08:00
Mitchell Hashimoto
a830675ec8 macos: copy fish resources into app bundle
Fixes #1492
2024-02-09 17:08:20 -08:00
Mitchell Hashimoto
d93161c8ee Merge pull request #1490 from tt/keep-shadows-for-native-tab-bar
Keep shadows for native tab bar
2024-02-09 14:22:35 -08:00
Mitchell Hashimoto
56b453a93f macos: comment why we guard 2024-02-09 14:22:21 -08:00
Mitchell Hashimoto
9f487810c1 Merge pull request #1488 from erf/replace-ziglyph
Replace ziglyph.codePointWidth with unicode.table.get(cp).width
2024-02-09 14:13:45 -08:00
Mitchell Hashimoto
057341ffae Merge pull request #1491 from gpanders/reset-status-display
Reset status display after a full reset
2024-02-09 14:12:53 -08:00
Troels Thomsen
c3dbd32462 Keep shadows for native tab bar 2024-02-09 23:10:31 +01:00
Gregory Anders
21412847c7 Reset status display after a full reset 2024-02-09 15:50:50 -06:00
Pete Schaffner
77e82b4d2a Improve window buttons backdrop with window opacity 2024-02-09 22:46:49 +01:00
Erlend Lind Madsen
928d338c2b preeditCallback(self): remove fast path codepoint width 2024-02-09 21:44:54 +01:00
Mitchell Hashimoto
0632410857 unicode: get grapheme boundary class 2024-02-09 12:22:23 -08:00
Mitchell Hashimoto
8eaf49bd68 Merge pull request #1487 from jcollie/eval-branch-quota
bump eval branch quota for newer Zig versions
2024-02-09 12:20:44 -08:00
Erlend Lind Madsen
ca426a4267 remove unused ziglyph import 2024-02-09 20:05:11 +01:00
Erlend Lind Madsen
cf0d498e75 replace ziglyph codePointWidth -> table.get 2024-02-09 20:04:51 +01:00
Jeffrey C. Ollie
f910bcd4ca bump eval branch quota for newer Zig versions 2024-02-09 12:18:59 -06:00
Mitchell Hashimoto
6437623500 bench/grapheme-break 2024-02-09 09:12:05 -08:00
Mitchell Hashimoto
fc459ad827 Merge pull request #1486 from mitchellh/unilut
Use precomputed lookup tables for even faster codepoint width computations
2024-02-08 21:51:33 -08:00
Mitchell Hashimoto
60a553cdeb Merge pull request #1485 from qwerasd205/stream-experiments
CSI param parsing fast-path optimization
2024-02-08 21:44:57 -08:00
Mitchell Hashimoto
a471756ee0 build: unigen needs libc 2024-02-08 21:34:28 -08:00
Mitchell Hashimoto
8d891fb05c terminal: fast-path ASCII on char width 2024-02-08 21:28:14 -08:00
Mitchell Hashimoto
c838bfc1c1 terminal: swap to table implementatino 2024-02-08 21:17:30 -08:00
Mitchell Hashimoto
4834b8e925 remove utf8proc 2024-02-08 21:11:11 -08:00
Mitchell Hashimoto
f6e694bf80 bench: update codepoint-width 2024-02-08 21:10:06 -08:00
Mitchell Hashimoto
9755d0696e unicode: generate our own lookup tables 2024-02-08 21:01:11 -08:00
Qwerasd
777ecffe6b fix(terminal/stream): fix OOB read and integer overflow 2024-02-08 22:34:21 -05:00
Qwerasd
68c0813397 terminal/stream: Added ESC parsing fast tracks 2024-02-08 21:49:58 -05:00
Pete Schaffner
20ed099940 Cache new tab button image to improve performance 2024-02-09 00:06:40 +01:00
Mitchell Hashimoto
4ae41579da add utf8proc back for bench 2024-02-08 13:21:36 -08:00
Pete Schaffner
7e945a52f1 Move separator hiding back into updateConstraintsIfNeeded
I moved this into `update` when doing the tab bar background coloring
but the separators would still show briefly.
2024-02-08 18:16:17 +01:00
Pete Schaffner
95c8541efd Color the new tab button image appropriately 2024-02-08 17:46:16 +01:00
Pete Schaffner
8831c601a4 Use draw rect to do the "plus darker" blending
This is a lot simpler and doesn't require adding Obj-C into the mix.
2024-02-08 16:38:07 +01:00
Pete Schaffner
33a8368a68 Make unselected tabs blend better with background color
This enables the standard effect created by a sytem tab bar, which
ensures unselected tabs blend with the window's/titlebar's background
color. This also ensures the `windowButtonsBackdrop` view matches the
color of the adjacent tab (be it selected or not).
2024-02-08 10:14:15 +01:00
Pete Schaffner
40cfa1abd4 Add CALayer subclass for use in titlebar tabs
It uses a private compositing filter to match what the sytem does to
color unselected tabs in the window's tab bar (specifically with a
light appearance).
2024-02-08 10:10:40 +01:00
Qwerasd
f8c544c119 terminal: stream/parser changes 2024-02-07 19:08:34 -05:00
Mitchell Hashimoto
7da82688b8 Merge pull request #1479 from peteschaffner/fix-titlebar-tabs-shadows
Remove titlebar tab shadows
2024-02-07 15:39:59 -08:00
Mitchell Hashimoto
ae50f2ec97 Merge pull request #1481 from mitchellh/codewidth
SIMD Codepoint Width Implementation
2024-02-07 15:35:20 -08:00
Mitchell Hashimoto
4e2502c11e simd/codepoint-width: assertions for avx512 padding 2024-02-07 15:23:43 -08:00
Mitchell Hashimoto
e5c7d4e3ee simd: increase padding for avx 2024-02-07 14:43:08 -08:00
Mitchell Hashimoto
ae74117269 simd: use less vector ops for 16-bit 2024-02-07 14:31:06 -08:00
Mitchell Hashimoto
a69d3c7f1c simd/codepoint-width: split by 16-bit 2024-02-07 14:04:48 -08:00
Pete Schaffner
93fb852d9b Add comments/docs and make method name clearer 2024-02-07 21:44:44 +01:00
Pete Schaffner
591c05641b Use shallow search to improve performance 2024-02-07 21:39:36 +01:00