Commit Graph

18011 Commits

Author SHA1 Message Date
Kovid Goyal
ffc39cabfd code cleanup 2026-04-27 09:54:16 +05:30
Kovid Goyal
dc29e102cc Merge branch 'copilot/convert-removechildren-to-stack' of https://github.com/kovidgoyal/kitty 2026-04-27 09:38:03 +05:30
copilot-swe-agent[bot]
7757d160bc RemoveChildren: use RefCountedFile instead of DupFile, skip seek for child dirs
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/e648c02e-d4cc-4f6c-8188-17941e8a1dd8

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-27 04:01:02 +00:00
Kovid Goyal
358ca311f7 Merge branch 'dependabot/github_actions/actions-f3e34333ea' of https://github.com/kovidgoyal/kitty 2026-04-27 09:27:10 +05:30
copilot-swe-agent[bot]
708cff7f4b Convert RemoveChildren from recursive to iterative stack-based
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/bd5ca209-e811-4c49-bec7-5dd3a40d8c57

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-27 03:50:32 +00:00
Kovid Goyal
b92d82e5e3 Merge branch 'dependabot/go_modules/all-go-deps-8a2bba4eff' of https://github.com/kovidgoyal/kitty 2026-04-27 09:19:06 +05:30
dependabot[bot]
30686c39b4 Bump github/codeql-action from 4.35.1 to 4.35.2 in the actions group
Bumps the actions group with 1 update: [github/codeql-action](https://github.com/github/codeql-action).


Updates `github/codeql-action` from 4.35.1 to 4.35.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v4.35.1...v4.35.2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.35.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-27 03:47:32 +00:00
dependabot[bot]
6515eea8b6 Bump github.com/dlclark/regexp2 in the all-go-deps group
Bumps the all-go-deps group with 1 update: [github.com/dlclark/regexp2](https://github.com/dlclark/regexp2).


Updates `github.com/dlclark/regexp2` from 1.11.5 to 1.12.0
- [Commits](https://github.com/dlclark/regexp2/compare/v1.11.5...v1.12.0)

---
updated-dependencies:
- dependency-name: github.com/dlclark/regexp2
  dependency-version: 1.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-27 03:43:24 +00:00
Kovid Goyal
c655df1c2d ... 2026-04-27 09:12:43 +05:30
Kovid Goyal
9e59bf2f6a Avoid extra lstat() per entry when removing directory tree 2026-04-27 09:09:07 +05:30
Kovid Goyal
0990da61e9 Merge branch 'copilot/add-tests-for-functions-8c2c32a' of https://github.com/kovidgoyal/kitty 2026-04-27 08:47:02 +05:30
copilot-swe-agent[bot]
1c63131b72 Fix redundant condition and misleading comment in buildTree helper
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/2fffdd1f-2d67-4a28-b124-437c26794e25

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-27 03:04:15 +00:00
copilot-swe-agent[bot]
cca16aabd3 Add tests for RenameAt, find_overwrites, and rename_contents
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/2fffdd1f-2d67-4a28-b124-437c26794e25

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-27 03:02:32 +00:00
Kovid Goyal
8c2c32a5a5 More work on the dnd kitten 2026-04-27 08:22:17 +05:30
Kovid Goyal
5fd06628be Note that nvim now supports the kitty graphics protocol 2026-04-27 06:43:49 +05:30
Kovid Goyal
27048839eb Fix #9928 2026-04-27 06:34:13 +05:30
Kovid Goyal
18bed3ac89 Merge branch 'terminfo_cursor_reset_style' of https://github.com/kylesower/kitty 2026-04-27 06:28:42 +05:30
Kyle Sower
5a4103ad2a Update Se terminfo entry to reset cursor to configured default 2026-04-26 17:50:16 -05:00
Kovid Goyal
3e46fa9f81 More work on dnd kitten 2026-04-26 22:55:11 +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
db2d5e0111 More work on dnd kitten 2026-04-26 21:07:28 +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
ab673768b3 Add a line telling the user that the password request comes from program running in the window 2026-04-26 17:22:29 +05:30
Kovid Goyal
de677bc239 Merge branch 'add-test' of https://github.com/zzhaolei/kitty 2026-04-26 15:10:21 +05:30
zhaolei
5c591d5355 Add tests for glyph_matches_dot_liga_final_component 2026-04-26 16:43:37 +08:00
Kovid Goyal
eb6eb37613 Remove option used only for testing 2026-04-26 13:50:10 +05:30
Kovid Goyal
ff560f615e ... 2026-04-26 13:15:08 +05:30
Kovid Goyal
b67f479040 Remove leftover debug print 2026-04-26 12:54:29 +05:30
Kovid Goyal
7824b7b7f2 ... 2026-04-26 12:21:53 +05:30
Kovid Goyal
2f81f9e43b Cleanup previous PR 2026-04-26 12:19:01 +05:30
Kovid Goyal
39f3f090e6 Merge branch 'fix-ligature-iosevka' of https://github.com/zzhaolei/kitty 2026-04-26 11:44:15 +05:30
Kovid Goyal
5623ce52bb Disallow parsing color specs as conf files for clone-in-kitty and edit-in-kitty 2026-04-26 10:47:24 +05:30
Kovid Goyal
2ead0de844 Only parse color options for key=val specs in parse_colors 2026-04-26 10:15:28 +05:30
Kovid Goyal
54d94d93b0 Allow turning off geninclude when parsing config 2026-04-26 09:35:37 +05:30
zhaolei
98c8357ebe Add shaping tests for ligature cases and bundle Comfy Code 2026-04-25 19:43:17 +08:00
Kovid Goyal
f42a5f89c3 Merge branch 'copilot/add-tests-for-file-at-fd-functions-again' of https://github.com/kovidgoyal/kitty 2026-04-25 17:12:20 +05:30
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
zhaolei
a36634e6e1 fix ligature 2026-04-25 18:28:27 +08: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