Commit Graph

1432 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
4d55d30614 Enhance regression test with additional geometry validity assertions
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/3b0c9eab-24ba-4934-a941-be477477cee4

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-05-01 15:05:34 +00:00
copilot-swe-agent[bot]
20185fc317 Fix display corruption when maximizing horizontal split with window_padding_width >= 4 (issue #9946)
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/3b0c9eab-24ba-4934-a941-be477477cee4

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-05-01 15:04:46 +00:00
Kovid Goyal
cff2e6efcf ... 2026-05-01 12:49:50 +05:30
Kovid Goyal
197115cb95 More work on the dnd kitten 2026-05-01 12:37:35 +05:30
Kovid Goyal
614a32c790 More work on DnD kitten 2026-05-01 08:48:21 +05:30
copilot-swe-agent[bot]
777c1aa718 Update symlink tests to reflect new top-level symlink protocol behavior
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/9d43f7a2-9a0f-4749-aab8-bf72b82e7277

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-30 04:13:51 +00:00
Kovid Goyal
ee84e68ca4 Have top level symlink behavior match for local and remote drops 2026-04-30 09:38:17 +05:30
Kovid Goyal
79bf7ef1a4 Cleanup previous PR 2026-04-30 09:23:22 +05:30
copilot-swe-agent[bot]
0615823d15 Add text/uri-list edge case tests and overwrite confirmation tests to dnd_kitten_drop
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/cc433db7-b78f-4174-a6a7-1ba6e51955ac

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-29 13:27:02 +00:00
Kovid Goyal
8bbce578f2 Basic dnd test working 2026-04-29 17:59:33 +05:30
Kovid Goyal
1d6f695140 More work on dnd kitten 2026-04-29 17:46:12 +05:30
Kovid Goyal
6dffc06e8f ... 2026-04-29 12:57:41 +05:30
Kovid Goyal
86c055d96a More work on dnd kitten 2026-04-29 12:40:46 +05:30
Kovid Goyal
58d314be7c Cleanup previous PR 2026-04-28 16:57:14 +05:30
Idate96
5a74cb126f Guard line buffer copy bounds 2026-04-28 13:10:34 +02:00
Kovid Goyal
3e46fa9f81 More work on dnd kitten 2026-04-26 22:55:11 +05:30
Kovid Goyal
9acc16cc44 Clarify that end of drop escape code discards queued requests 2026-04-26 22:34:30 +05:30
Kovid Goyal
20bd31db0b Allow multiple drops on the dnd kitten 2026-04-26 18:42:14 +05:30
Kovid Goyal
de677bc239 Merge branch 'add-test' of https://github.com/zzhaolei/kitty 2026-04-26 15:10:21 +05:30
zhaolei
5c591d5355 Add tests for glyph_matches_dot_liga_final_component 2026-04-26 16:43:37 +08:00
Kovid Goyal
eb6eb37613 Remove option used only for testing 2026-04-26 13:50:10 +05:30
Kovid Goyal
b67f479040 Remove leftover debug print 2026-04-26 12:54:29 +05:30
Kovid Goyal
2f81f9e43b Cleanup previous PR 2026-04-26 12:19:01 +05:30
zhaolei
98c8357ebe Add shaping tests for ligature cases and bundle Comfy Code 2026-04-25 19:43:17 +08:00
Kovid Goyal
896d193413 pep8 2026-04-24 10:42:25 +05:30
Kovid Goyal
a0b35a4597 Merge branch 'copilot/fix-issue-9910' of https://github.com/kovidgoyal/kitty
Fixes #9910
2026-04-24 10:35:05 +05:30
copilot-swe-agent[bot]
7d3ff332b9 macOS: fix args passed via open --args being ignored when macos-launch-services-cmdline is present (fixes #9910)
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/2cdc7e8f-5b64-4c97-bd65-dec508155313

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-24 04:52:37 +00:00
Kovid Goyal
a47ec50d72 More work on the dnd kitten 2026-04-23 17:23:21 +05:30
Kovid Goyal
cadaec5712 Cleanup previous PR 2026-04-23 12:51:27 +05:30
copilot-swe-agent[bot]
fd1e55dd81 Add tests for broken and non-broken symlinks in URI drop protocol
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/9be1623f-7a9a-451b-a0ed-695882c7c8f4

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-23 07:13:34 +00:00
Kovid Goyal
4c6f7ff6b5 Modify drop protocol to allow transmission of broken symlinks in the URI list 2026-04-23 12:36:22 +05:30
Kovid Goyal
3cf037d263 More work on the dnd kitten 2026-04-23 12:04:05 +05:30
Kovid Goyal
c655ea8946 More work on dnd kitten 2026-04-21 14:06:33 +05:30
Kovid Goyal
d0a6b5eeac Implement writing of MIME data on drop 2026-04-21 13:32:02 +05:30
Kovid Goyal
8b3daa6a50 Fix drop data requests 2026-04-21 08:32:42 +05:30
Kovid Goyal
9a011dea3e More work on DnD kitten 2026-04-21 08:19:22 +05:30
Kovid Goyal
01e453a048 More work on DnD kitten 2026-04-20 20:16:02 +05:30
Kovid Goyal
a899d24b64 More work on DnD kitten 2026-04-20 19:19:51 +05:30
Kovid Goyal
54eab02709 Add tests for drop move events 2026-04-20 11:23:49 +05:30
Kovid Goyal
08c3ab106d ... 2026-04-19 21:38:09 +05:30
Kovid Goyal
9bb359e1ef Bump python version in CI 2026-04-19 21:35:13 +05:30
Kovid Goyal
e9dcc4393f ... 2026-04-19 21:05:14 +05:30
Kovid Goyal
36e8094afe Make dnd kitten testing infra a bit more robust 2026-04-19 21:00:09 +05:30
Kovid Goyal
0ddbffdf79 Allow mocking remote clients 2026-04-19 20:42:43 +05:30
Kovid Goyal
51b0e9c4ad Work on testing infrastructure for DnD kitten 2026-04-19 20:21:55 +05:30
Kovid Goyal
f3c8ce919d Refactor test code to make it less cluttered 2026-04-19 14:28:46 +05:30
Kovid Goyal
79bb660493 Remove unused code 2026-04-19 14:03:32 +05:30
Kovid Goyal
b4d07ddece DRYer 2026-04-19 13:54:13 +05:30
Kovid Goyal
dc9bf889a6 Fix chunking of t=k not handling metadata present only on first chunk 2026-04-19 12:52:00 +05:30
distsystem
875ca70a55 Fix crash in overlay line drawing on uninitialized linebuf view
screen_draw_overlay_line accessed self->linebuf->line->cpu_cells
without ever calling linebuf_init_line on the shared view. Render
paths that initialize a stack-local Line via render_line_for_virtual_y
left the view's cpu_cells as NULL (the value set by alloc_line via
PyType_GenericAlloc), and the multicell-trim loop then dereferenced
NULL + xstart * sizeof(CPUCell), producing a SIGSEGV at a small
address (e.g. 0x1e for xstart=2). The crash was reachable any time
an IME pre-edit overlay was rendered with the cursor not in column 0
on a screen whose linebuf->line had not been re-pointed by some
unrelated prior call.

Fix by initializing the view at the overlay row on entry. Add a
test_draw_overlay_line method on Screen so the behavior can be
exercised directly from a regression test.
2026-04-18 13:10:07 +08:00