Commit Graph

62 Commits

Author SHA1 Message Date
Kovid Goyal
0c6c387312 Modify spec to add allowed operations to drop events 2026-05-14 09:09:05 +05:30
Kovid Goyal
634f13e65f More work on dnd kitten 2026-05-11 21:51:23 +05:30
Kovid Goyal
43b028bd6a Finish terminal side port of new dnd sub protocol 2026-05-11 13:39:43 +05:30
Kovid Goyal
7da113e4ab Modify the drag remote data protocol to accommodate macOS semantics
Implementation to follow
2026-05-09 13:15:11 +05:30
Kovid Goyal
21d8b2bcc0 Add descriptions to error codes for drag sources 2026-05-09 09:58:38 +05:30
Kovid Goyal
6146031183 ... 2026-05-07 09:44:14 +05:30
Kovid Goyal
ff1ce8fa76 Add detection for dnd protocol 2026-05-06 08:48:26 +05:30
Kovid Goyal
1b4cec36e2 Allow using text to specify the drag thumbnail 2026-05-04 09:58:39 +05:30
Kovid Goyal
a87441b91a Fix failing test 2026-05-02 17:16:27 +05:30
Kovid Goyal
ff7c6425e6 More work on dnd kitten 2026-05-02 12:16:42 +05:30
Kovid Goyal
bddf6d5bbd More work on dnd kitten 2026-04-30 17:18:57 +05:30
Kovid Goyal
ee84e68ca4 Have top level symlink behavior match for local and remote drops 2026-04-30 09:38:17 +05:30
Kovid Goyal
b915e3317e Drop protocol: have the final drop operation be reported at the end. This is needed for when there are errors in the client processing the dropped data. 2026-04-28 17:30:18 +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
4c6f7ff6b5 Modify drop protocol to allow transmission of broken symlinks in the URI list 2026-04-23 12:36:22 +05:30
Kovid Goyal
8b3daa6a50 Fix drop data requests 2026-04-21 08:32:42 +05:30
Kovid Goyal
4e04e34438 Refactor dnd cmd queueing API 2026-04-19 22:54:44 +05:30
Kovid Goyal
36171d1233 More work on dnd kitten 2026-04-19 10:21:01 +05:30
Kovid Goyal
4942ac98a1 More work on DnD protocol 2026-04-13 19:40:23 +05:30
Kovid Goyal
77512086df ... 2026-04-13 13:58:00 +05:30
Kovid Goyal
9354a334fd More spelling errors 2026-04-12 12:55:01 +05:30
Kovid Goyal
3d0a34254a ... 2026-04-12 12:52:57 +05:30
Kovid Goyal
916173dcb3 Improve machine id docs formatting 2026-04-12 12:46:49 +05:30
Kovid Goyal
f81111245e ... 2026-04-12 12:42:06 +05:30
Kovid Goyal
864ef70484 Have the client send machine id to terminal rather than vice versa
The terminal is the trusted by user party here.
2026-04-12 11:00:23 +05:30
Kovid Goyal
9ebe692bf7 Allow drop clients to use machine id as well 2026-04-12 09:27:16 +05:30
Kovid Goyal
df20d4aa7c Add machine id and stub for t=k transfers 2026-04-11 17:20:53 +05:30
Kovid Goyal
564c964ed0 Add remote drag protocol
Needs to be implemented.
2026-04-10 20:32:53 +05:30
Kovid Goyal
b466f8b4df Fix no way to unambiguously identify sub-dirs in drop protocol 2026-04-10 12:47:56 +05:30
Kovid Goyal
eda9fb58a4 Change the error code for responses used in drag offer protocol to E from R so that there is no ambiguity with drop responses 2026-04-09 22:04:20 +05:30
Kovid Goyal
3ab89a2fa8 Refactor the drop protocol
Get rid of request_id. Instead use the x, y, and Y fields to
disambiguate requests. Specify error handling a little more robustly.

Implementation needed.
2026-04-09 20:39:54 +05:30
copilot-swe-agent[bot]
4d2b63fce8 Revert to 1-based directory entry indexing in DnD protocol
- dnd.c: entry_num==0 closes handle; entry_num>=1 reads at entry_num-1
- parse-dnd-command.h: revert cell_y default to 0 (from {0} init)
- gen/apc_parsers.py: remove post_init for DnD parser
- docs/dnd-protocol.rst: update to say 1-based indexing
- tests: all .index() calls add +1, rename test_dir_entry_one_based_index

Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/d4074aba-3aeb-4d2b-adc1-d6c6f2b539e7

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-09 11:52:31 +00:00
Kovid Goyal
a92b381dc3 Change how directories and symlinks in directories are handled when reading drop data
Needs implementation.
2026-04-09 16:47:03 +05:30
Kovid Goyal
1923184cba ... 2026-04-09 09:02:26 +05:30
Kovid Goyal
7bb73a3c54 ... 2026-04-09 08:27:13 +05:30
Kovid Goyal
71fcc7e233 Add a request id for DnD protocol data requests
Allows multiple in-flight requests. Needs implementation.
2026-04-09 08:23:33 +05:30
Kovid Goyal
0684c13898 Code to get and use machine id during DnD 2026-04-09 07:47:57 +05:30
Kovid Goyal
47b5b2ea65 Prevent reading uri-list items for a drag and drop in same window 2026-04-09 06:38:58 +05:30
Kovid Goyal
3fb748e3db Add cancelling of current drag offer 2026-04-08 20:49:10 +05:30
Kovid Goyal
702f9905d2 More work on the DnD protocol 2026-04-08 19:19:20 +05:30
Kovid Goyal
348151c457 More work on DnD protocol 2026-04-08 19:07:15 +05:30
Kovid Goyal
a29b9387fa More work on DnD protocol implementation 2026-04-04 14:27:03 +05:30
Kovid Goyal
ce041fab84 More work on DnD protocol implementation 2026-04-04 13:32:18 +05:30
Kovid Goyal
0fcbd265b6 Accumulate DnD image data 2026-04-03 23:18:07 +05:30
Kovid Goyal
f6339d0bbf More work on the DnD protocol 2026-04-03 11:42:22 +05:30
Kovid Goyal
06d201c3a5 ... 2026-04-03 09:55:36 +05:30
Kovid Goyal
0584cbfadc Implement sending drag start message to client 2026-04-03 09:42:57 +05:30
Kovid Goyal
e41592e3b1 More work on the DnD protocol 2026-04-02 12:03:49 +05:30
Kovid Goyal
4688992d57 ... 2026-04-02 08:45:09 +05:30
Kovid Goyal
4f7855aede More work on the DnD protocol 2026-04-01 12:01:04 +05:30