Kovid Goyal
638a4b19ee
...
2024-07-15 09:19:13 +05:30
Kovid Goyal
aaf7808328
Add explicit check for holes in test
2024-07-15 09:05:44 +05:30
Kovid Goyal
85f49c4310
...
2024-07-15 08:52:21 +05:30
Kovid Goyal
d93e91d115
Fix flaky test
2024-07-14 14:31:47 +05:30
Kovid Goyal
bc8c4ac3d6
migrate graphics code to verstable
2024-07-12 11:45:48 +05:30
Kovid Goyal
2955c3f7a7
Move hyperlink hashmap to verstable
...
Also speedup getting url for hyperlink id by using a second hash map for
it. Change behavior when there are too many hyperlinks to discard new
hyperlinks instead of remapping old hyperlink id and making some old
hyperlink wrong.
2024-07-12 09:11:00 +05:30
Kovid Goyal
f8e9040d86
Port LastResort test
2024-07-02 19:36:53 +05:30
Kovid Goyal
71f96b3c83
Package the standalone NERD font
2024-07-02 19:08:52 +05:30
Kovid Goyal
3a8362ca2b
Accomodate the fact that arch linux fira code ttf package excludes the variable version. Sigh.
2024-06-24 21:03:29 +05:30
Kovid Goyal
20c919e16e
Skip DejaVu font test
2024-06-24 09:08:05 +05:30
Kovid Goyal
18ab18d090
Fix matching against style names in presence of elision
2024-06-24 07:54:19 +05:30
Kovid Goyal
67a9ee680b
Automatically propagate features from regular face to the other faces when they are set to auto
2024-06-24 07:54:19 +05:30
Kovid Goyal
a69d71d416
Render font feature list in UI
2024-06-24 07:54:18 +05:30
Kovid Goyal
57edb412e6
Add tests to validate feature-from-spec
2024-06-24 07:54:18 +05:30
Kovid Goyal
10cae2c557
more tests
2024-06-24 07:54:18 +05:30
Kovid Goyal
679abf0e84
Ensure bold face is at least as heavy as regular face when auto selecting
2024-06-24 07:54:17 +05:30
Kovid Goyal
d205b147eb
Improve auto selection of variable faces
2024-06-24 07:54:17 +05:30
Kovid Goyal
b017cc0c1e
Handle variable fonts like cascadia code that dont have a postfix variation prefix name for some of their faces
2024-06-24 07:54:17 +05:30
Kovid Goyal
28f2919753
Fix medium face selection when more than family specified
2024-06-24 07:54:17 +05:30
Kovid Goyal
8ba6d5a296
CoreText: When finding medium face for a family prefer variable font if available
2024-06-24 07:54:16 +05:30
Kovid Goyal
5d725c4883
Skip test o older freetype
2024-06-24 07:54:16 +05:30
Kovid Goyal
67d535a5db
Add a test for dejavu sans mono
2024-06-24 07:54:16 +05:30
Kovid Goyal
7fd9bca845
IBM Plex Mono workaround is needed only under fontconfig
2024-06-24 07:54:16 +05:30
Kovid Goyal
c27c731ffb
Get font selection for the cascadia code variable fonts working
2024-06-24 07:54:16 +05:30
Kovid Goyal
7cdcbe6aeb
Better scoring for malformed fonts with weird weight ranges
2024-06-24 07:54:16 +05:30
Kovid Goyal
304ecdd8c2
Refactor scoring
2024-06-24 07:54:16 +05:30
Kovid Goyal
b06a2bb937
Add more font selection tests
2024-06-24 07:54:16 +05:30
Kovid Goyal
1780028420
fontconfig: Prefer semi-bold as bold weight even for system selection
2024-06-24 07:54:16 +05:30
Kovid Goyal
ea65ede572
fontconfig: Lift axes spec to named style
2024-06-24 07:54:16 +05:30
Kovid Goyal
31fe34810f
Test for font selection
2024-06-24 07:54:16 +05:30
Kovid Goyal
1a38b60463
URL detection: Fix IPv6 hostnames breaking URL detection
...
Fixes #7565
2024-06-21 05:53:21 +05:30
Kovid Goyal
beb42d571b
Forgot to use aspect ratio calculation when only one of r/c is specified for determining cursor position and image cell overlaps. Fixes #7479
2024-05-28 21:30:26 +05:30
Kovid Goyal
d9631cdedd
Port the notifications test to handle urgency
2024-05-16 21:45:15 +05:30
Kovid Goyal
1307c2345d
Fix macOS binary build failing because of a test
2024-05-11 08:37:51 +05:30
Kovid Goyal
c17d7614e1
Allow showing a more useful error message when wait_till fails
2024-05-11 08:33:47 +05:30
Kovid Goyal
ab2a4f7de6
Simplify loop used to process input from child in test pty
...
This might surface better errors than Timeout on the occassional test
failure.
2024-05-10 09:29:27 +05:30
Kovid Goyal
38799f3173
...
2024-05-10 09:24:10 +05:30
Kovid Goyal
468d0c69a6
Add tests for cmdline reporting in shell integration
2024-05-09 13:46:19 +05:30
Kovid Goyal
219e53826b
More efficient encoding for cmdline in the prompt marking escape code
2024-05-09 12:03:02 +05:30
Kovid Goyal
1e528fd299
DRYer
2024-05-09 11:55:17 +05:30
Kovid Goyal
098ed41716
Add support for ANSI-C quoted strings to shlex
2024-05-09 11:46:23 +05:30
Kovid Goyal
04af71696a
Make processing of input from child in test pty device a bit more robust
2024-05-05 14:05:51 +05:30
Kovid Goyal
82ab44826c
Graphics: Fix aspect ratio of images not being preserved when only a single dimension of the destination rectangle is specified
...
Fixes #7380
2024-04-24 12:28:35 +05:30
Kovid Goyal
8413d298df
remove unused code
2024-04-05 12:09:08 +05:30
Kovid Goyal
aca13a619a
Retry all the ssh kitten tests on failure once
2024-03-26 19:45:20 +05:30
Kovid Goyal
4d93801d5f
Retry flaky test
2024-03-26 08:03:20 +05:30
Kovid Goyal
a0aba4da4a
Fix handling of tab character when cursor is at end of line and wrapping is enabled
...
Fixes #7250
2024-03-23 08:43:06 +05:30
Kovid Goyal
288fa0128b
Fix test suite running under sanitizers
2024-03-14 15:01:55 +05:30
Kovid Goyal
8fa592d849
Parse and ignore SOS codes
...
Fixes #7184
2024-03-03 08:58:47 +05:30
Kovid Goyal
1a9a7a59ac
Make XOR64 test also test alignment issues
2024-02-25 09:57:44 +05:30
Kovid Goyal
e7d6101bd4
DRYer
2024-02-25 09:57:44 +05:30
Kovid Goyal
76381f5cdd
Another tdir rmtree failure during tear down ignored
2024-02-25 09:57:44 +05:30
Kovid Goyal
40a4429e58
Ignore failure to remove tempdir during test tear down
2024-02-25 09:57:44 +05:30
Kovid Goyal
4caf8a6b14
Restore support for alternate character sets
...
Needed by the execrable ncurses. Adds an extra branch in the hot path,
sigh. Thanks to branch prediction it doesnt have any measurable impact
on the benchmark, thankfully.
2024-02-25 09:57:44 +05:30
Kovid Goyal
c19488f3be
Graphics protocol: Add a new delete mode for deleting images whose ids fall within a range
...
Useful for bulk deletion. See #7080
2024-02-25 09:57:44 +05:30
Kovid Goyal
ad3ab877f8
Use a fast SIMD implementation to XOR data going into the disk cache
2024-02-25 09:57:43 +05:30
Kovid Goyal
de92470f0d
Improve performance of disk cache when there are thousands of small images
...
Fixes #7080
2024-02-25 09:57:43 +05:30
Kovid Goyal
b65a5f78fd
Fix regression causing shells in darwin to not run in login mode
2024-02-25 09:57:43 +05:30
Kovid Goyal
e541c0534d
...
2024-02-25 09:57:42 +05:30
Kovid Goyal
41ec46d5bb
...
2024-02-25 09:57:42 +05:30
Kovid Goyal
b021e9b648
Do the default func test last so we can see what the failure is on more explicitly
2024-02-25 09:57:42 +05:30
Kovid Goyal
d0797a025b
Add dedicated tests for find_either_of_two
2024-02-25 09:57:42 +05:30
Kovid Goyal
f64739c29b
Fix regression that broke handling of single byte control chars when cursor is on second cell of wide character
2024-02-25 09:57:41 +05:30
Kovid Goyal
6cdc7ac91d
A further 5% speedup for UTF-8 decoding
...
Achieved by decoding in larger chunks thereby amortizing the cost
of creating various constant vectors over larger chunks.
2024-02-25 09:57:40 +05:30
Kovid Goyal
fa11858a72
Make bash integration tests more robust on macOS
2024-02-25 09:57:38 +05:30
Kovid Goyal
dafb876d75
Skip simd parser tests on machines without SIMD instructions
2024-02-25 09:57:38 +05:30
Kovid Goyal
b0ccaa09be
Clean up test env reporting
2024-02-25 09:57:37 +05:30
Kovid Goyal
bbaccfdaae
DRYer
2024-02-25 09:57:37 +05:30
Kovid Goyal
616fcfd201
More tests
2024-02-25 09:57:35 +05:30
Kovid Goyal
b3ca5d51fb
Use the new SIMD utf-8 decoder
2024-02-25 09:57:35 +05:30
Kovid Goyal
e783eccc97
fix handling of bits from high byte of 4 byte sequences
2024-02-25 09:57:35 +05:30
Kovid Goyal
fa3579656b
More invalid utf-8 tests
2024-02-25 09:57:34 +05:30
Kovid Goyal
8a10fcaf5a
More tests
2024-02-25 09:57:34 +05:30
Kovid Goyal
4c8b8caead
Handle trailing incomplete sequences
2024-02-25 09:57:34 +05:30
Kovid Goyal
4238fedee7
More tests
2024-02-25 09:57:34 +05:30
Kovid Goyal
b0dcdf74bd
More tests and micro-optimize switch to ASCII fast path
2024-02-25 09:57:34 +05:30
Kovid Goyal
b28fbf6817
fix zero-ing of last n bytes
2024-02-25 09:57:34 +05:30
Kovid Goyal
daa169b8ed
More work on utf8 SIMD decode
2024-02-25 09:57:34 +05:30
Kovid Goyal
b146e9c457
Add basic parser tests for pending mode activation/de-activation
2024-02-25 09:57:32 +05:30
Kovid Goyal
1f835b27c4
start work on implementing pending mode as paused rendering
2024-02-25 09:57:32 +05:30
Kovid Goyal
e52bcb5b93
more workon simd utf-8 decode
2024-02-25 09:57:31 +05:30
Kovid Goyal
74391d7c50
More work on SIMD utf-8 decode
2024-02-25 09:57:31 +05:30
Kovid Goyal
0ed1c6f840
Simplify utf8 parser func
...
Also show a replacement char for incomplete utf-8 sequences interrupted by an esc char
2024-02-25 09:57:31 +05:30
Kovid Goyal
1b11c3e923
Double timeouts on flaky test
2024-02-25 09:57:30 +05:30
Kovid Goyal
8742fb8cce
Detect availability of intrinsics on intel macs just in case
2024-02-25 09:57:30 +05:30
Kovid Goyal
a9f5519d11
Add tests for writing with cursor on trailer of wide char
2024-02-25 09:57:30 +05:30
Kovid Goyal
c5f0b03a62
Remove not needed function
2024-02-25 09:57:29 +05:30
Kovid Goyal
8dca5a6b9a
...
2024-02-25 09:57:26 +05:30
Kovid Goyal
200e5bf6e3
Examine 8 bytes at once for terminator char
2024-02-25 09:57:26 +05:30
Kovid Goyal
409ca6bfab
Allow larger graphics escape code sizes
2024-02-25 09:57:25 +05:30
Kovid Goyal
65aca5b140
Speedup utoi by loading numbers in 8 byte chunks
2024-02-25 09:57:24 +05:30
Kovid Goyal
e7c466797c
threading test for full buffer
2024-02-25 09:57:24 +05:30
Kovid Goyal
c66c0b8edc
threading tests for pending
2024-02-25 09:57:24 +05:30
Kovid Goyal
50935b6c93
Cleanup kitty dcs parsing
2024-02-25 09:57:24 +05:30
Kovid Goyal
8bff6f1995
More threading tests
2024-02-25 09:57:24 +05:30
Kovid Goyal
9f337e93fc
Add some threading tests
2024-02-25 09:57:24 +05:30
Kovid Goyal
72635c55c5
Convenience methods to test parser threading
2024-02-25 09:57:24 +05:30
Kovid Goyal
93784903b2
Remove FLUSH_DRAW as it is not needed
2024-02-25 09:57:24 +05:30
Kovid Goyal
afcffc03b1
Separate test of write and read so we can test threading
2024-02-25 09:57:24 +05:30
Kovid Goyal
6205fb32fd
Refactor VT parser for more speed
...
No longer copy bytes into a separate buffer, instead parse them in place
in the read buffer
2024-02-25 09:57:23 +05:30