Commit graph

50 commits

Author SHA1 Message Date
copilot-swe-agent[bot]
7af3f4ee83
Refactor dnd kitten: track num_dropped_files instead of data_has_been_dropped
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/84513fee-68de-4504-b41b-e8643e0ea585

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-05-18 08:44:07 +00:00
copilot-swe-agent[bot]
d5a6c072d9
Add data URI support to dnd kitten parse_uri_list
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/dd371733-fa08-484e-888a-8d0ebdadb853

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-05-18 07:54:57 +00:00
Kovid Goyal
a1b1b89feb
macOS requires URLs to directories to end with a slash 2026-05-17 08:38:11 +05:30
copilot-swe-agent[bot]
66dca3cde1
Fix dnd kitten: restrict drop to boxes matching drag source allowed operations
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/41b8254d-fc79-4f41-9775-67d1ddfceb5b

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-05-14 02:49:17 +00:00
Kovid Goyal
9b27f095c8
A couple more places to expand ~ 2026-05-14 06:21:07 +05:30
Kovid Goyal
a771b1d7e5
Expand ~ when processing args for dnd kitten
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-14 06:13:53 +05:30
Kovid Goyal
634f13e65f
More work on dnd kitten 2026-05-11 21:51:23 +05:30
Kovid Goyal
fb7b5d7155
Turn on mouse tracking so text is not selected in the dnd kitten 2026-05-06 17:22:19 +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
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
fd451f5974
Add flag to specify drop directory for dnd kitten 2026-05-05 09:47:12 +05:30
Kovid Goyal
4fe29f2630
dd basic drag thumbnail support to dnd kitten 2026-05-03 22:18:18 +05:30
Kovid Goyal
a7a7a4fd8f
More work on the dnd kitten 2026-05-03 12:09:40 +05:30
Kovid Goyal
7d468cb000
More work on dnd kitten 2026-05-03 06:54:43 +05:30
Kovid Goyal
ff7c6425e6
More work on dnd kitten 2026-05-02 12:16:42 +05:30
Kovid Goyal
511ef6db31
More work on DnD kitten 2026-05-02 08:06:44 +05:30
Kovid Goyal
197115cb95
More work on the dnd kitten 2026-05-01 12:37:35 +05:30
Kovid Goyal
bddf6d5bbd
More work on dnd kitten 2026-04-30 17:18:57 +05:30
Kovid Goyal
d70ec000ff
Start work on drag source implementation 2026-04-30 15:06:22 +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
86c055d96a
More work on dnd kitten 2026-04-29 12:40:46 +05:30
Kovid Goyal
2920270fbb
Initialize drop_output_dir 2026-04-28 17:32:02 +05:30
Kovid Goyal
9a6f4c3fb8
More work on dnd kitten 2026-04-27 17:31:23 +05:30
Kovid Goyal
8c2c32a5a5
More work on the dnd kitten 2026-04-27 08:22:17 +05:30
Kovid Goyal
3e46fa9f81
More work on dnd kitten 2026-04-26 22:55:11 +05:30
Kovid Goyal
151fb9220f
More work on dnd kitten 2026-04-26 20:45:41 +05:30
Kovid Goyal
20bd31db0b
Allow multiple drops on the dnd kitten 2026-04-26 18:42:14 +05:30
Kovid Goyal
eb6eb37613
Remove option used only for testing 2026-04-26 13:50:10 +05:30
Kovid Goyal
3cf037d263
More work on the dnd kitten 2026-04-23 12:04:05 +05:30
Kovid Goyal
04b80e49b0
Move drop code into its own file 2026-04-23 09:15:54 +05:30
Kovid Goyal
b3221f1cd7
Move render code into its own file 2026-04-23 08:51:28 +05:30
Kovid Goyal
64342abda0
More work on the dnd kitten 2026-04-23 08:15:34 +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
4c484ca1e8
Highlight current drop action 2026-04-20 09:28:31 +05:30
Kovid Goyal
235425ae85
Allow optionally dropping anywhere 2026-04-20 09:24:33 +05:30
Kovid Goyal
d3b8fd67a0
More work on dnd kitten 2026-04-20 09:16:53 +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
f3cfbb8fbd
... 2026-04-19 10:45:03 +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
bcae760ea7
Skeleton for dnd kitten 2026-04-14 11:20:30 +05:30