1117 Commits

Author SHA1 Message Date
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