Mitchell Hashimoto
0c8dd34ea7
build: update build and comments
2024-02-05 21:22:28 -08:00
Mitchell Hashimoto
e88292f096
bench/stream: add utf8
2024-02-05 21:22:28 -08:00
David Rubin
a853277dbf
make benchmarks more accurate
...
by adding a `--size` flag we make the size of buffers not comptime known, which prevents certain unrolling optimizations from happening.
secondly, `noinline` creates a more reproducable env for benchmarking by isolating the contents of the functions
2024-02-05 21:22:27 -08:00
Mitchell Hashimoto
caf9405db0
bench/stream: add terminal option
2024-02-05 21:22:27 -08:00
Mitchell Hashimoto
b030663e03
bench/stream: benchmark for stream processing
2024-02-05 21:22:27 -08:00
Mitchell Hashimoto
120273aa1a
pkg/utfcpp
2024-02-05 21:22:27 -08:00
Mitchell Hashimoto
626d4170fe
move simdutf to a pkg
2024-02-05 21:22:27 -08:00
Mitchell Hashimoto
12885a445a
simd: remove old attempts
2024-02-05 21:22:27 -08:00
Mitchell Hashimoto
449d3b49a4
terminal: split input to fit output chunks
2024-02-05 21:22:27 -08:00
Mitchell Hashimoto
351d9eb402
terminal: use new VT simd to process slices
2024-02-05 21:22:27 -08:00
Mitchell Hashimoto
50e7159288
simd: implement utf8 decode until esc in C++
2024-02-05 21:22:27 -08:00
Mitchell Hashimoto
c751619b7e
terminal: use highway-based indexOf to support all targets
2024-02-05 21:22:26 -08:00
Mitchell Hashimoto
36b0db2a72
pkg/highway
2024-02-05 21:22:26 -08:00
Mitchell Hashimoto
fc605c7865
terminal: fix import issue
2024-02-05 21:22:26 -08:00
Mitchell Hashimoto
62ce93dcff
terminal: use SIMD w/ Neon to find ESC in VT streams
2024-02-05 21:22:25 -08:00
Mitchell Hashimoto
4fa3ea604b
simd/aarch64: additional intrinsics
2024-02-05 21:22:04 -08:00
Mitchell Hashimoto
c042b052b2
simd: convert indexOf, mess around with simdvt
2024-02-05 21:22:04 -08:00
Mitchell Hashimoto
a66174678b
simd: utf decode using simdutf
2024-02-05 21:22:04 -08:00
Mitchell Hashimoto
9391048e1a
simd: utf8 decode
2024-02-05 21:22:04 -08:00
Mitchell Hashimoto
fe098f80cc
simd: simplify isa.funcMap, find Zig compiler bug
2024-02-05 21:22:04 -08:00
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