Commit Graph

1044 Commits

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