Commit Graph

17973 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
6000226cdf Add tests for file_at_fd.go and fix FD lifetime bug in CopyFolderContents
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/389bb81e-e9f9-4428-a79a-d8d461cfe943

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-25 11:30:59 +00:00
Kovid Goyal
851ec96979 save_as_session: when the filename input by the user has no extension, automatically add the `.kitty-session` extension
Fixes #9919
2026-04-25 14:30:26 +05:30
Kovid Goyal
a5940b4eb1 ... 2026-04-25 13:59:37 +05:30
Kovid Goyal
ecc241d891 For for background copy go routine to exit 2026-04-25 13:40:58 +05:30
Kovid Goyal
f6c0955e84 Read large directories in chunks for faster cancel 2026-04-25 13:34:21 +05:30
Kovid Goyal
a6e58e2ca9 Cleanup symlink seen handling 2026-04-25 13:25:33 +05:30
Kovid Goyal
5146cb388b Fix various minor bugs in copy folders 2026-04-25 13:02:27 +05:30
Kovid Goyal
8737da510f Add optional symlink following to copyfolder function 2026-04-25 12:08:56 +05:30
Kovid Goyal
bcfcfec8dd ... 2026-04-25 10:50:57 +05:30
Kovid Goyal
e414483264 Sanitize ssh kitten shm open error message when sending over tty
This prevents sending attacker controlled data over the tty where it
might end up getting evaled by the shell if the user is doing something
like cat of unsanitized data into the terminal (something that should
never be done).
2026-04-24 17:25:00 +05:30
Kovid Goyal
4a5ab0a05e Fix various minor bugs in the copy folders function 2026-04-24 15:35:44 +05:30
Kovid Goyal
0a384ffad4 DRYer 2026-04-24 15:15:03 +05:30
Kovid Goyal
68a4623f37 DRYer 2026-04-24 15:12:24 +05:30
Kovid Goyal
55c4519707 More pointless UNIX variability 2026-04-24 14:56:29 +05:30
Kovid Goyal
0f81bca430 DRYer 2026-04-24 14:37:34 +05:30
Kovid Goyal
ca7388c145 Bloody lazy Crapple
No mknodat. Sigh.
2026-04-24 14:22:41 +05:30
Kovid Goyal
2c37fb4845 API to copy folder contents using dir fds
Also make the various fd based wrappers handle EINTR automatically.
2026-04-24 14:12:04 +05:30
Kovid Goyal
ddcf471d90 rename file 2026-04-24 14:11:32 +05:30
Kovid Goyal
7666242914 More verbiage 2026-04-24 13:29:24 +05:30
Kovid Goyal
708987f0d9 ... 2026-04-24 10:49:12 +05:30
Kovid Goyal
896d193413 pep8 2026-04-24 10:42:25 +05:30
Kovid Goyal
a0b35a4597 Merge branch 'copilot/fix-issue-9910' of https://github.com/kovidgoyal/kitty
Fixes #9910
2026-04-24 10:35:05 +05:30
copilot-swe-agent[bot]
7d3ff332b9 macOS: fix args passed via open --args being ignored when macos-launch-services-cmdline is present (fixes #9910)
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/2cdc7e8f-5b64-4c97-bd65-dec508155313

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-24 04:52:37 +00:00
Kovid Goyal
a47ec50d72 More work on the dnd kitten 2026-04-23 17:23:21 +05:30
Kovid Goyal
cadaec5712 Cleanup previous PR 2026-04-23 12:51:27 +05:30
Kovid Goyal
ab75388bd0 Merge branch 'copilot/add-tests-for-symlink-behavior' of https://github.com/kovidgoyal/kitty 2026-04-23 12:49:18 +05:30
copilot-swe-agent[bot]
fd1e55dd81 Add tests for broken and non-broken symlinks in URI drop protocol
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/9be1623f-7a9a-451b-a0ed-695882c7c8f4

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-23 07:13:34 +00:00
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
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
6b9d449b0d Fix #9904 2026-04-22 07:43:57 +05:30
Kovid Goyal
77f2fef6a7 Merge branch 'fix/mac-os-window-cycle' of https://github.com/owenmead/kitty 2026-04-22 07:28:36 +05:30
Owen Mead-Robins
44d530f82e Fix bug #9215 cmd+` now cycles windows properly on MacOS Tahoe 2026-04-21 11:52:12 -07:00
Kovid Goyal
b4f7162a73 Use CLOEXEC with openat 2026-04-21 22:01:39 +05:30
Kovid Goyal
43035b7224 Rename at fd module 2026-04-21 21:59:05 +05:30
Kovid Goyal
828384a324 More fd based API 2026-04-21 21:58:33 +05:30
Kovid Goyal
b8de27655f Utility function to delete content of dir pointed to by open file 2026-04-21 21:41:17 +05:30
Kovid Goyal
bc87946a78 ... 2026-04-21 20:15:21 +05:30
Kovid Goyal
827b4b9e02 Option to have focus_follows_mouse only on drops
Fixes #9896
2026-04-21 20:05:00 +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
1ca6dba7e1 ... 2026-04-21 13:12:45 +05:30
Kovid Goyal
3d8a2fbb4f Use SIMD base64 everywhere 2026-04-21 11:56:55 +05:30
Kovid Goyal
744ad7438c Use SIMD base64 encoding for graphics transmission 2026-04-21 10:01:28 +05:30
Kovid Goyal
93573aec6f Switch to SIMD based base64 decoder 2026-04-21 09:52:39 +05:30
Kovid Goyal
1b741ca725 Clean up API of streaming decoder 2026-04-21 09:49:09 +05:30
Kovid Goyal
992e5e56a1 Merge branch 'copilot/add-comprehensive-tests-base64-decoder' of https://github.com/kovidgoyal/kitty 2026-04-21 09:47:47 +05:30
copilot-swe-agent[bot]
7b346d15c1 Add comprehensive tests for streaming_base64 decoder
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/b5dbc339-6907-46fb-a7e7-9ee08b7ed20d

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-21 04:13:30 +00:00