Kovid Goyal
7c0007c1bd
Ensure bold face is at least as heavy as regular face when auto selecting
2024-06-22 11:16:42 +05:30
Kovid Goyal
d2d2f6c503
Improve auto selection of variable faces
2024-06-22 11:16:42 +05:30
Kovid Goyal
69fb2e4231
Handle variable fonts like cascadia code that dont have a postfix variation prefix name for some of their faces
2024-06-22 11:16:42 +05:30
Kovid Goyal
b90fede2c1
Fix medium face selection when more than family specified
2024-06-22 11:16:41 +05:30
Kovid Goyal
29377db94c
CoreText: When finding medium face for a family prefer variable font if available
2024-06-22 11:16:41 +05:30
Kovid Goyal
8d8c2d7170
Skip test o older freetype
2024-06-22 11:16:41 +05:30
Kovid Goyal
5be4f7b566
Add a test for dejavu sans mono
2024-06-22 11:16:41 +05:30
Kovid Goyal
8f8da2d2c6
IBM Plex Mono workaround is needed only under fontconfig
2024-06-22 11:16:40 +05:30
Kovid Goyal
a230eb87a1
Get font selection for the cascadia code variable fonts working
2024-06-22 11:16:40 +05:30
Kovid Goyal
4ce7da044f
Better scoring for malformed fonts with weird weight ranges
2024-06-22 11:16:40 +05:30
Kovid Goyal
ceccacafa8
Refactor scoring
2024-06-22 11:16:40 +05:30
Kovid Goyal
df80da7cb5
Add more font selection tests
2024-06-22 11:16:40 +05:30
Kovid Goyal
983bf134a1
fontconfig: Prefer semi-bold as bold weight even for system selection
2024-06-22 11:16:40 +05:30
Kovid Goyal
e25c61f781
fontconfig: Lift axes spec to named style
2024-06-22 11:16:40 +05:30
Kovid Goyal
d6026c377b
Test for font selection
2024-06-22 11:16:40 +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