Commit graph

18125 commits

Author SHA1 Message Date
copilot-swe-agent[bot]
e13e509672
Add :cve: role for CVE links in Sphinx docs
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/03d55020-513b-464f-b257-b4e4c87628c2

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-05-07 04:26:50 +00:00
Kovid Goyal
e07177ecae
Update changelog 2026-05-07 09:54:03 +05:30
Kovid Goyal
6146031183
... 2026-05-07 09:44:14 +05:30
Kovid Goyal
5de8734ce3
choose-files kitten: Output a trailing newline when writing to a tty in text format
Fixes #9982
2026-05-07 08:53:09 +05:30
Kovid Goyal
fc8a41c93e
Old compiler compat 2026-05-06 20:47:57 +05:30
Kovid Goyal
7db469d3c4
Merge branch 'copilot/fix-drag-thumbnail-background' of https://github.com/kovidgoyal/kitty 2026-05-06 20:44:39 +05:30
copilot-swe-agent[bot]
ef02c64ff5
Fix cyan garbage background by clearing context before fill in cocoa_render_line_of_text
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/b2ef3bec-1f2a-4525-8c57-926b72616f57

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-05-06 15:09:20 +00:00
copilot-swe-agent[bot]
a3c09cc1be
Fix transparent background for text drag thumbnail on macOS
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/20db1e1c-78e0-46b0-aa55-281f88408d6f

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-05-06 11:55:38 +00:00
Kovid Goyal
fb7b5d7155
Turn on mouse tracking so text is not selected in the dnd kitten 2026-05-06 17:22:19 +05:30
Kovid Goyal
3d7cda3e21
Merge branch 'fix-docs-for-next-tab' of https://github.com/Paryz/kitty 2026-05-06 17:15:02 +05:30
Kovid Goyal
ac05abc774
Merge branch 'copilot/fix-drag-hover-drop-events' of https://github.com/kovidgoyal/kitty 2026-05-06 17:14:04 +05:30
Kamil Zielinski
9981778131
Remove shift from next tab shortcut 2026-05-06 13:11:07 +02:00
copilot-swe-agent[bot]
6f5ac9f342
Fix macOS drag MOVE events: check mimes_count not drag_accepted in draggingUpdated
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/c5e95934-f4e3-4ba9-8b12-5240a853fd3a

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-05-06 10:33:13 +00:00
Kovid Goyal
5ec8c52025
... 2026-05-06 12:15:08 +05:30
Kovid Goyal
6d17f32bcf
Merge branch 'copilot/use-set-for-uniqify-dir-entries' of https://github.com/kovidgoyal/kitty 2026-05-06 12:08:45 +05:30
copilot-swe-agent[bot]
ba6ce4a8e2
Fix OOM handling: continue outer loop instead of breaking on first-seen insert failure
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/9b3f4b30-d5c8-48cb-83e4-6989d3025931

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-05-06 06:22:03 +00:00
copilot-swe-agent[bot]
bc6a3b7764
Use verstable hash set in uniqify_dir_entries_for_case_insensitive_fs
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/9b3f4b30-d5c8-48cb-83e4-6989d3025931

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-05-06 06:17:36 +00:00
Kovid Goyal
b8dd685363
Merge branch 'copilot/handle-case-conflict-dnd' of https://github.com/kovidgoyal/kitty 2026-05-06 11:38:59 +05:30
copilot-swe-agent[bot]
4a0b189bce
Fix loop style in detect_tempdir_case_sensitivity and lowercase_copy
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/8c155dc2-c7ee-448f-9300-825f74411ddd

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-05-06 03:42:19 +00:00
copilot-swe-agent[bot]
ea47deeb5c
Handle case conflicts in DnD t=k remote file/dir transfer
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/8c155dc2-c7ee-448f-9300-825f74411ddd

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-05-06 03:38:57 +00:00
Kovid Goyal
10f4adb12f
Merge branch 'copilot/add-tests-for-dnd-query-response' of https://github.com/kovidgoyal/kitty 2026-05-06 08:57:01 +05:30
copilot-swe-agent[bot]
96df7d7b43
Add tests for dnd query response
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/c73a0723-2890-4786-a97c-b40cc6c198e2

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-05-06 03:24:55 +00:00
Kovid Goyal
e024f33b70
... 2026-05-06 08:53:23 +05:30
Kovid Goyal
ff1ce8fa76
Add detection for dnd protocol 2026-05-06 08:48:26 +05:30
Kovid Goyal
abcb7d0e3d
Docs for the dnd kitten 2026-05-06 08:12:00 +05:30
Kovid Goyal
247ac6df59
Drag source delete on drop should only be done for remote drops 2026-05-05 21:49:42 +05:30
Kovid Goyal
c224fae023
Merge branch 'copilot/delete-files-on-drag-drop' of https://github.com/kovidgoyal/kitty 2026-05-05 21:47:44 +05:30
copilot-swe-agent[bot]
6129fd66b3
Delete source files on move drag, clear drag_sources and allow_drags
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/2f6384ba-c55a-4842-83a9-4cf1b0937420

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-05-05 16:10:19 +00:00
Kovid Goyal
f7c8fe9c78
flag to track if a drag source sends remote data 2026-05-05 21:39:42 +05:30
Kovid Goyal
de6643d899
Merge branch 'copilot/implement-exit-on-flag' of https://github.com/kovidgoyal/kitty 2026-05-05 21:17:45 +05:30
copilot-swe-agent[bot]
13898e73f2
Implement --exit-on flag for dnd kitten
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/b6835902-79c3-4d14-9761-8633073db808

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-05-05 10:33:11 +00:00
Kovid Goyal
74787a60d7
New option to control when dnd kitten exits
To be implemented
2026-05-05 15:55:02 +05:30
Kovid Goyal
516ca9a8c4
Dont try to generate drag thumbnail from file contents as its too slow 2026-05-05 15:47:05 +05:30
Kovid Goyal
b6a7724369
... 2026-05-05 15:37:45 +05:30
Kovid Goyal
14c3590259
Merge branch 'copilot/implement-remove-dropped-items' of https://github.com/kovidgoyal/kitty 2026-05-05 15:18:22 +05:30
copilot-swe-agent[bot]
fe6807c9b0
implement move deletion and add tests for dnd kitten drop
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/e2238746-2319-43e5-9b01-4899e7f06b50

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-05-05 09:37:50 +00:00
Kovid Goyal
9a3f3ed14e
... 2026-05-05 14:54:09 +05:30
Kovid Goyal
898599ff14
Use a fallback icon as drag thumbnail is none is found 2026-05-05 14:47:50 +05:30
Kovid Goyal
3896846b63
Fix self drops on macOS 2026-05-05 12:42:09 +05:30
Kovid Goyal
00e5472fd9
... 2026-05-05 12:05:45 +05:30
Kovid Goyal
e89d835de6
Make CodeQL happy 2026-05-05 11:54:21 +05:30
Kovid Goyal
668e959895
Merge branch 'copilot/add-nerd-font-fallback' of https://github.com/kovidgoyal/kitty 2026-05-05 11:49:19 +05:30
Kovid Goyal
99630a5ed1
... 2026-05-05 11:48:44 +05:30
copilot-swe-agent[bot]
d112d1f853
Add builtin NERD font as fallback in cocoa_render_line_of_text
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/f8c3bf89-a05f-4d78-9e2e-cb8c6ca5a9f1

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-05-05 06:15:52 +00:00
Kovid Goyal
787e4c25ae
Merge branch 'copilot/fix-dnd-draw-text-issues' of https://github.com/kovidgoyal/kitty 2026-05-05 11:39:50 +05:30
copilot-swe-agent[bot]
313561d282
Fix bg_alpha opacity and wide char truncation in freetype_render_ui_text.c
1. Fix alpha_blend_premult to compute result alpha as
   over_alpha + (1 - over_alpha/255) * under_alpha instead of
   just using the under (background) alpha. This fixes the DnD drag
   image where bg_alpha was incorrectly making the entire image
   semi-transparent (including fully-opaque text pixels), because text
   pixels were inheriting the background pixel's alpha value.

2. Fix truncation check in render_run from >= to > so that characters
   whose cursor advance exactly equals the available output width are
   not wrongly treated as truncating. This fixes wide characters like
   笔 and NERD font symbols being rendered as '...' (ellipsis) when
   draw_window_title shrinks the render width to the computed text
   width via freetype_text_width_for_single_line.

Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/6ca5e045-57ab-4fba-bff5-fa4dece3131f

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-05-05 06:01:40 +00:00
Kovid Goyal
c690a3f3e8
Remove pointless realloc 2026-05-05 11:09:11 +05:30
Kovid Goyal
132ce019d1
... 2026-05-05 11:07:29 +05:30
Kovid Goyal
3165a47579
More work on the DnD kitten 2026-05-05 10:49:56 +05:30
Kovid Goyal
a0a81dbe88
Merge branch 'copilot/fix-test-fish-sudo-parser-failure' of https://github.com/kovidgoyal/kitty 2026-05-05 10:10:16 +05:30