Mitchell Hashimoto
1e51cedd94
simd: isa.funcMap to ensure only possible ISAs are analyzed
2024-02-05 21:22:04 -08:00
Mitchell Hashimoto
6523721846
simd: utf8 count
2024-02-05 21:22:04 -08:00
Mitchell Hashimoto
5b295cf6e2
simd: only ref buildable decls
2024-02-05 21:22:03 -08:00
Mitchell Hashimoto
e682cea911
simd/utf8: document neon better
2024-02-05 21:22:03 -08:00
Mitchell Hashimoto
987c5d213e
simd: utf8 validation
2024-02-05 21:22:03 -08:00
Mitchell Hashimoto
dc041f86fd
src/simd: improve isa detection
2024-02-05 21:22:03 -08:00
Mitchell Hashimoto
7feba12eab
simd: indexOf implementation using NEON
2024-02-05 21:22:03 -08:00
Mitchell Hashimoto
31d5785105
simd: basic ISA detection, boilerplate
2024-02-05 21:22:03 -08:00
Mitchell Hashimoto
0c2a87e5fb
terminal: small stylistic tweaks
2024-02-05 21:20:20 -08:00
Qwerasd
cd570890f6
remove commented out test
2024-02-05 23:32:47 -05:00
Qwerasd
846b3421e6
terminal: replace utf8 decoding with custom decoder in stream.zig
...
(Completely removed utf8 handling from Parser.zig)
2024-02-05 23:20:47 -05:00
Qwerasd
f165d36dd2
Add fast DFA utf-8 decoder implementation
2024-02-05 22:15:58 -05:00
Mitchell Hashimoto
a738656394
Merge pull request #1460 from rockorager/split-auto
...
split: add `auto` as split option
2024-02-04 20:50:58 -08:00
Jeffrey C. Ollie
18005ffa35
Fix shader time uniforms ( #1462 )
...
* fix shader time uniforms
* renderer/metal: one typo
---------
Co-authored-by: Mitchell Hashimoto <mitchell.hashimoto@gmail.com>
2024-02-04 20:50:07 -08:00
Mitchell Hashimoto
f414787779
move SplitDirection to apprt
2024-02-04 20:42:42 -08:00
Mitchell Hashimoto
f1227a3ebd
build: get benchmarks building again
2024-02-04 20:27:53 -08:00
Mitchell Hashimoto
1a9f80c403
add helpgen entrypoint
2024-02-04 20:17:47 -08:00
Mitchell Hashimoto
1f2b30496b
move mdgen main to build dir
2024-02-04 20:04:18 -08:00
Mitchell Hashimoto
c2b3f99faa
build: create new build options per compile step
...
This is going to let us put more object-specific config into the options
rather than affecting every object build per build.
2024-02-04 19:40:59 -08:00
Tim Culverhouse
1824a0fe87
split: add auto
as split option
...
Add an `auto` split direction which splits along the larger direction.
2024-02-04 21:28:17 -06:00
Krzysztof Wolicki
3959364a86
Surface: fix reportColorScheme on Windows
2024-02-03 13:08:05 +01:00
Mitchell Hashimoto
d315223423
apprt/gtk: small stylistic edits
2024-02-02 20:00:10 -08:00
Jeffrey C. Ollie
0938835f87
Implement mode 2031 and DSR 996 for GTK
2024-02-02 21:10:58 -06:00
Mitchell Hashimoto
986fa34d3e
terminal: remove unused const
2024-02-02 13:28:19 -08:00
Mitchell Hashimoto
7aeb7c1a58
terminal: rename theme to color_scheme for dsr
2024-02-02 13:20:59 -08:00
Mitchell Hashimoto
6fe8376073
terminal: support mode 2031
2024-02-02 13:08:10 -08:00
Mitchell Hashimoto
258d51395c
apprt/embedded: add API for reporting color scheme
2024-02-02 13:02:16 -08:00
Mitchell Hashimoto
ae8f5f3ceb
core: colorSchemeCallback on surface, can report
2024-02-02 12:51:20 -08:00
Mitchell Hashimoto
3c26828a3f
terminal: distinguish between DSRs with "?" and not
2024-02-02 12:42:22 -08:00
Mitchell Hashimoto
eb653907d6
config: grapheme-width-method sets mode 2027
...
Fixes #1403
This changes the behavior of `grapheme-width-method = unicode` to change
the default state of mode 2027 to true. Prior to this, setting this
config would force grapheme clustering regardless of mode 2027. Now,
this only sets the default and running TUI programs can disable it if
they want.
2024-02-02 12:13:13 -08:00
Mitchell Hashimoto
7b3deb13d8
renderer/metal: apply layerContentsPlacement on macOS to fix stretching
...
Fixes #42
2024-02-02 08:39:08 -08:00
Mitchell Hashimoto
e5400bad06
config: add window-theme = auto for automatic choosing based on bg color
2024-02-01 20:49:28 -08:00
Erlend Lind Madsen
c418ae577c
url: add missing rarer (all) characters allowed in URL
2024-02-02 04:59:13 +01:00
Mitchell Hashimoto
bcab97b1ce
Merge pull request #1435 from erf/url-regex
...
url: add missing url-scheme tests
2024-02-01 18:42:31 -08:00
Erlend Lind Madsen
823aedbb88
url: add missing url-scheme tests
2024-02-02 03:17:24 +01:00
Mitchell Hashimoto
f1fe3d9c88
Merge pull request #1434 from erf/url-regex
...
url: support dash '-' in urls
2024-02-01 18:17:07 -08:00
Erlend Lind Madsen
a3e2d9d250
url: sort url schemes by most-used
2024-02-02 02:59:55 +01:00
Erlend Lind Madsen
ab8d5e261a
url: support dash '-' in urls
2024-02-02 02:45:48 +01:00
Mitchell Hashimoto
6482c25579
macos: titlebar tabs set window appearance based on bg luminance
...
Fixes #1427
2024-02-01 16:47:45 -08:00
Erlend Lind Madsen
4475f5b9c5
url/Link: simplify regex, remove 'find_longest' param and add new tests
2024-02-02 01:23:39 +01:00
Mitchell Hashimoto
07ebd2e6c0
renderer: only highlight link directly under mouse on line
...
Related to #1398
2024-02-01 14:01:42 -08:00
Mitchell Hashimoto
88e7c96eac
Merge pull request #1431 from mitchellh/mouse-mods-alt
...
core: handle mouse capture events with link highlighting
2024-02-01 09:20:04 -08:00
Mitchell Hashimoto
6de4533afb
core: handle mouse capture events with link highlighting
...
Fixes #1416
At a high level, the issue is that when mouse capture is enabled (i.e. in
neovim), "shift" escapes the capture. So "cmd+shift" is equal to "cmd"
which doesn't get sent to the TUI program and so on. For link
highlighting which now requires "cmd" (super) is held, we were sending
"cmd+shift" to the renderer so we weren't checking for links.
So the core of this commit is respecting this scenario and stripping the
shift modifier.
This commit also found that when the mouse wasn't over a link, we were
always checking and highlighting links on line one of the visible
screen. This bug is fixed and should also result in a very slight
performance improvement on rendering in all cases.
2024-02-01 09:19:39 -08:00
Mitchell Hashimoto
dcb3c6e78e
Merge pull request #1430 from jcollie/csi-n-typo
...
fix typo in CSI n handling
2024-02-01 09:15:59 -08:00
Jeffrey C. Ollie
67e347070d
fix typo in CSI n handling
2024-02-01 10:50:49 -06:00
Mitchell Hashimoto
eafc9559d7
core: add "reset" keybinding to reset the terminal
...
Fixes #1425
2024-02-01 08:46:39 -08:00
Mitchell Hashimoto
61b964b958
font/freetype: enable bitmap loading for colored faces
2024-02-01 08:40:18 -08:00
Mitchell Hashimoto
e4515d44c5
font/freetype: disallow bitmap strikes in scalable fonts
...
Fixes #1421
2024-02-01 08:28:33 -08:00
Mitchell Hashimoto
cdae0ac2bd
Merge pull request #1423 from allancalix/install-cli
...
Automatically inject ghostty cli to end of $PATH
2024-01-31 18:58:39 -08:00
Mitchell Hashimoto
c2e0cff1d2
termio/exec: only add ghostty path if it isn't already in path
2024-01-31 18:57:42 -08:00