Commit Graph

17960 Commits

Author SHA1 Message Date
Kovid Goyal
4e04e34438 Refactor dnd cmd queueing API 2026-04-19 22:54:44 +05:30
Kovid Goyal
fcb260bdfa Sort imports 2026-04-19 21:53:09 +05:30
Kovid Goyal
04fcac72ec Update minimum python to 3.11 from 3.10
3.10 is failing in CI and I cant be arsed to figure out why. It's anyway
a few months from EOL
2026-04-19 21:41:58 +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
3a598218d3 Flush streams and sleep before printing crash report 2026-04-19 21:25:08 +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
5558dfa953 Move dnd escape code encoding into dnd.c 2026-04-19 13:48:35 +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
Kovid Goyal
13add3532b Have copilot run gofmt automatically 2026-04-19 12:18:51 +05:30
Kovid Goyal
a3dfe2b55a Make sticky_header default to yes 2026-04-19 12:14:39 +05:30
Kovid Goyal
ed6bdacf44 Merge branch 'pdobrev/diff-sticky-header' of https://github.com/pdobrev/kitty 2026-04-19 12:12:37 +05:30
Petar Dobrev
bd9b5d80f3 fix docs reference 2026-04-19 09:32:25 +03:00
Petar Dobrev
4f5698a5a2 fix overlap with the next file's header 2026-04-19 09:24:44 +03:00
Kovid Goyal
f3cfbb8fbd ... 2026-04-19 10:45:03 +05:30
Kovid Goyal
df1d9235e8 ... 2026-04-19 10:37:42 +05:30
Kovid Goyal
ef07942c82 More work on dnd kitten 2026-04-19 10:35:29 +05:30
Kovid Goyal
36171d1233 More work on dnd kitten 2026-04-19 10:21:01 +05:30
Kovid Goyal
8e76a62815 Show error message when save_as_session has too many path arguments 2026-04-18 23:15:01 +05:30
Kovid Goyal
e7aa197b27 Merge branch 'macos26-explicit-window-corners' of https://github.com/zzhaolei/kitty 2026-04-18 22:37:08 +05:30
Petar Dobrev
7729e6e1ae kitten diff: add support for sticky header 2026-04-18 18:26:30 +03:00
zhaolei
b16221a1d3 macos: explicitly enable modern window corners on macOS 26
Use an explicit runtime check to apply the newer corner styling on macOS 26 while leaving behavior unchanged on older macOS versions for compatibility.

Also add the required QuartzCore framework for linking the corner curve API.
2026-04-18 20:41:38 +08:00
Kovid Goyal
75399c9026 ... 2026-04-18 14:08:54 +05:30
Kovid Goyal
797c7e86fe Bump sqlite for CVE 2026-04-18 13:40:47 +05:30
Kovid Goyal
2d18b88480 macOS: Switch to Tahoe style application icon 2026-04-18 13:28:22 +05:30
Kovid Goyal
2af98fd4fd Merge branch 'fix/overlay-line-null-deref' of https://github.com/fecet/kitty 2026-04-18 12:11:59 +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
Kovid Goyal
9fd83e7cfb Merge branch 'master' of https://github.com/stevenxxiu/kitty 2026-04-17 20:40:39 +05:30
Steven Xu
dbce70908b docs: add *BICat* to graphics protocol applications 2026-04-18 01:06:16 +10:00
Kovid Goyal
480720693c Merge branch 'copilot/rewrite-mouse-demo-drop' of https://github.com/kovidgoyal/kitty 2026-04-16 21:09:33 +05:30
copilot-swe-agent[bot]
2e314ecba9 Rewrite mouse-demo drop to use OnDnDData API; fix QueueDnDData bugs
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/3359d812-5cb2-44a6-ae6e-ba1d708c490a

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-16 15:32:49 +00:00
Kovid Goyal
f8dd59ebb0 Loop callback for dnd escape codes 2026-04-16 20:47:16 +05:30
Kovid Goyal
5ea424abeb Loop API for DnD transmission 2026-04-16 20:06:12 +05:30
Kovid Goyal
b16d199c54 ... 2026-04-16 19:24:21 +05:30
Kovid Goyal
0e41c937ac More modernization 2026-04-16 19:15:19 +05:30
Kovid Goyal
c3d1665fa6 run go modernizer 2026-04-16 19:12:31 +05:30
Kovid Goyal
9b406c21ff Make CodeQL happy 2026-04-16 15:30:21 +05:30
Kovid Goyal
8a61dbeee0 Micro optimisation 2026-04-16 15:03:44 +05:30
copilot-swe-agent[bot]
69c608c70f Add tests for watch_for_kitty_config_changes Go function
Fixes #9882
2026-04-16 14:55:34 +05:30
Kovid Goyal
e9f3844f64 Implement auto reload of config 2026-04-16 14:41:29 +05:30
Kovid Goyal
efbfbb49f9 Use a single go routine to watch all dirs 2026-04-16 12:53:53 +05:30
Kovid Goyal
aa0a415500 Parse config files to determine set of dirs to watch 2026-04-16 12:49:48 +05:30
Kovid Goyal
80ad647336 Start work on config watcher kitten 2026-04-16 12:37:43 +05:30
Kovid Goyal
a4608c77a6 Update changelog 2026-04-16 08:49:26 +05:30