Commit Graph

1087 Commits

Author SHA1 Message Date
Kovid Goyal
21e19a90f4 Add test for multiple function handling 2024-07-18 22:25:02 +05:30
Kovid Goyal
9c75ea795d Recognize more linear bezier curves 2024-07-18 22:25:02 +05:30
Kovid Goyal
39dfa75fe7 Add test for steps easing function value calculation 2024-07-18 22:25:02 +05:30
Kovid Goyal
e927f8da62 Add some tests for easing function parsing 2024-07-18 22:25:02 +05:30
Kovid Goyal
a4cdc1cdf3 Send current size when in band resize events requested even if mode is already on 2024-07-18 20:40:05 +05:30
Kovid Goyal
8d1eb75f9c ... 2024-07-18 20:34:57 +05:30
Kovid Goyal
06b5eff6e6 Add support for in-band window resize notifications
Fixes #7642
2024-07-18 20:32:33 +05:30
Kovid Goyal
2ba28171ab DRYer 2024-07-16 10:45:46 +05:30
Kovid Goyal
c056df223e Nicer way to prevent defrag 2024-07-16 07:43:50 +05:30
Kovid Goyal
9a50e453b2 Ensure defrag doesnt run when testing hole coalescing 2024-07-15 22:41:22 +05:30
Kovid Goyal
24e6dda0bc disk-cache: Improve hole management
Make coalescing of neighboring holes robust. Speed up hole finding.
Cost is we replace a single array tracking holes with three hashmaps
tracking size->[pos] pos->size and endpos->size.
2024-07-15 21:13:59 +05:30
Kovid Goyal
2058cac203 Now the test should be fully robust 2024-07-15 09:29:30 +05:30
Kovid Goyal
a49bb8c5f9 DRYer 2024-07-15 09:24:19 +05:30
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