Commit graph

18141 commits

Author SHA1 Message Date
Kovid Goyal
07f1a7ac03
...
Some checks failed
CI / Linux (python=3.13 cc=clang sanitize=1) (push) Has been cancelled
CI / Linux (python=3.11 cc=gcc sanitize=0) (push) Has been cancelled
CI / Linux (python=3.12 cc=gcc sanitize=1) (push) Has been cancelled
CI / Linux package (push) Has been cancelled
CI / Bundle test (macos-latest) (push) Has been cancelled
CI / Bundle test (ubuntu-latest) (push) Has been cancelled
CI / macOS Brew (push) Has been cancelled
CI / Test ./dev.sh and benchmark (push) Has been cancelled
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Has been cancelled
CodeQL / CodeQL-Build (c, macos-latest) (push) Has been cancelled
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Has been cancelled
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Has been cancelled
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Has been cancelled
Depscan / Scan dependencies for vulnerabilities (push) Has been cancelled
2026-05-09 22:33:00 +05:30
Kovid Goyal
7da113e4ab
Modify the drag remote data protocol to accommodate macOS semantics
Some checks are pending
CI / Linux (python=3.13 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.11 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run
Implementation to follow
2026-05-09 13:15:11 +05:30
Kovid Goyal
a0da884c6a
Add optional error descriptions to drop errors as well 2026-05-09 12:24:43 +05:30
Kovid Goyal
21d8b2bcc0
Add descriptions to error codes for drag sources
Some checks are pending
CI / Linux (python=3.13 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.11 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run
2026-05-09 09:58:38 +05:30
Kovid Goyal
10efa4be76
dnd kitten: fix remote -> local on Wayland
The compositor can request data for items before dropping
2026-05-09 08:33:42 +05:30
Kovid Goyal
0cddb39d95
More work on dnd kitten 2026-05-08 22:23:29 +05:30
Kovid Goyal
e4eb85216d
Cleanup previous PR 2026-05-08 21:24:38 +05:30
Kovid Goyal
947139fd81
Merge branch 'copilot/fix-drag-finished-event' of https://github.com/kovidgoyal/kitty 2026-05-08 21:24:32 +05:30
Kovid Goyal
744fc12ca8
Cleanup previous PR
We cant rely on is_wayland() during parsing as that can occur in offline
contexts.
2026-05-08 21:07:51 +05:30
copilot-swe-agent[bot]
e99a6c686b
Add DRAG_FINISH_TIMEOUT_SECONDS named constant for the 2-second timeout
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/5f783d91-e095-4f98-9d13-9d6359889ea2

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-05-08 15:29:11 +00:00
copilot-swe-agent[bot]
2b4c51707f
Fix GLFW_DRAG_FINSHED never firing after GLFW_DRAG_DROPPED on macOS
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/5f783d91-e095-4f98-9d13-9d6359889ea2

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-05-08 15:27:36 +00:00
Kovid Goyal
5c99f0735d
Merge branch 'pr-os-window-position' of https://github.com/oxysoft/kitty 2026-05-08 20:55:47 +05:30
Kovid Goyal
46c83298e3
dnd kitten: get local -> finder working 2026-05-08 20:34:30 +05:30
Kovid Goyal
d2641d93c9
Bump go version 2026-05-08 19:16:27 +05:30
nuck
bb7df075cf Honor OS window positions in launch paths 2026-05-08 08:06:50 -04:00
Kovid Goyal
9e8bd7207b
Track remote client on drag source items 2026-05-08 16:54:20 +05:30
Kovid Goyal
b85ec2b8c6
Update changelog 2026-05-07 10:17:17 +05:30
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