Kovid Goyal
938c3956bd
...
2026-05-14 14:03:44 +05:30
Kovid Goyal
a061e0782e
Fix is_remote_client not being passed along
2026-05-14 13:48:18 +05:30
Kovid Goyal
d44a11a4a8
...
2026-05-14 13:28:44 +05:30
Kovid Goyal
b7c11166f5
Merge branch 'copilot/finish-source-actions-implementation' of https://github.com/kovidgoyal/kitty
2026-05-14 11:24:36 +05:30
copilot-swe-agent[bot]
344fa2bc5f
Extract update_drop_source_actions helper in cocoa backend to avoid duplication
...
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/91dbd1d2-ae9d-4816-b710-7d6f3147cda6
Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com >
2026-05-14 05:49:20 +00:00
copilot-swe-agent[bot]
077f402bee
Implement source_actions for X11 and cocoa DnD backends
...
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/91dbd1d2-ae9d-4816-b710-7d6f3147cda6
Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com >
2026-05-14 05:46:21 +00:00
Kovid Goyal
6d4371f596
Properly pass source actions to drop events
...
Implemented for Wayland. Needs implementation for X11 and macOS
2026-05-14 11:07:52 +05:30
Kovid Goyal
0c6c387312
Modify spec to add allowed operations to drop events
2026-05-14 09:09:05 +05:30
Kovid Goyal
96b07602f0
Merge branch 'copilot/fix-drag-drop-validation' of https://github.com/kovidgoyal/kitty
2026-05-14 09:06:49 +05:30
Kovid Goyal
5eee2c54ce
Bloody Apple native apps refuse to accept drops if a private MIME type is present. Sigh. Back to the drawing board.
2026-05-14 08:25:58 +05:30
copilot-swe-agent[bot]
8acb6e7ecb
Address review comments: rename variable and improve comments
...
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:53:15 +00:00
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
f2c79ed7c7
Add debug logging for NSDraggingSession
2026-05-14 08:16:03 +05:30
Kovid Goyal
bfc3646868
Fix spurious drag start on initial click
2026-05-14 07:59:53 +05:30
Kovid Goyal
5064608879
Fix dragging from one kitty window to another in the same kitty instance not working
2026-05-14 07:10:57 +05:30
Kovid Goyal
afe9493990
...
2026-05-14 07:04:29 +05:30
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
2026-05-14 06:13:53 +05:30
Kovid Goyal
a28abf1573
Ignore inapplicable CVE
2026-05-13 15:03:17 +05:30
Kovid Goyal
5b8d8b9f43
Merge branch 'fix-hints-utf8-rune-slicing' of https://github.com/gogongxt/kitty
2026-05-13 14:53:45 +05:30
gogongxt
56f276580f
Fix hints kitten breaking multi-byte UTF-8 characters when overlaying hint labels
...
In highlight_mark(), mark_text was sliced using byte-based indexing
(mark_text[:len(hint)] and mark_text[len(hint):]). Since len(hint)
equals the rune count (hint is always ASCII), but len(mark_text) is a
byte count, this could slice in the middle of a multi-byte UTF-8
sequence (e.g. CJK characters), producing an invalid byte sequence
rendered as the Unicode replacement character (�).
Fix by converting mark_text to []rune first, then slicing at rune
boundaries. The hint is ASCII so len(hint) == rune count, requiring
no conversion on the hint side.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-13 17:09:42 +08:00
Kovid Goyal
8b17088b58
dnd fix remote drag source premature removal of remote file data
...
Instead the remote data is removed from the cache on:
1) new drag start
2) window destruction
3) application exit
2026-05-13 12:35:10 +05:30
Kovid Goyal
8b85bc3440
Cleanup previous PR
2026-05-13 11:51:18 +05:30
Kovid Goyal
7cd9ba03a3
Merge branch 'read-fc-matrix' of https://github.com/Strykar/kitty
2026-05-13 11:50:13 +05:30
Kovid Goyal
572b14f994
Merge branch 'pr-single-instance-background-overrides' of https://github.com/oxysoft/kitty
2026-05-13 11:20:04 +05:30
Kovid Goyal
c2a7225657
Ensure drag finish timer doesnt fire will waiting for remote item data
2026-05-13 10:59:44 +05:30
Kovid Goyal
9c29c612a5
Merge branch 'copilot/finish-promised-data-ready-function' of https://github.com/kovidgoyal/kitty
2026-05-13 10:44:04 +05:30
copilot-swe-agent[bot]
217a01cfdf
Implement promised_data_ready() in glfw/cocoa_window.m
...
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/38f75cd7-b61b-42b4-9d28-9a40459a9536
Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com >
2026-05-13 03:03:47 +00:00
Kovid Goyal
c909809bb4
More work on DnD kitten
2026-05-13 08:25:14 +05:30
Kovid Goyal
b28712bfae
More work on the DnD kitten
2026-05-13 07:17:06 +05:30
Kovid Goyal
cb8fe24ab1
Merge branch 'fix/help-pager-fallback' of https://github.com/Xuyiyang23333/kitty
2026-05-13 04:48:59 +05:30
Xuyiyang23333
c0661024d8
Fix silent failure when pager (less) is not installed
...
When kitten --help is run in a terminal and less is not available,
ShowHelpInPager silently discards the error from pager.Run(), resulting
in no output and a zero exit code. Fall back to writing help text
directly to stdout when the pager fails, matching the behavior of the
Python equivalent in kitty/cli.py which catches FileNotFoundError and
prints the text as a fallback.
Signed-off-by: Xuyiyang23333 <xuyiyang23333@gmail.com >
2026-05-13 00:37:55 +08:00
Kovid Goyal
824b46507c
Keep text/uri-list as private MIME for kitty to kitty DnD
2026-05-12 13:20:35 +05:30
Kovid Goyal
b9261c4e26
Fix failing test
...
Ensure we never write empty payloads for symlinks/dir listings
2026-05-12 12:52:04 +05:30
Kovid Goyal
2bda489698
Clear remote_item_write_id on completion
...
Needed as send next remote item checks it is zero before sending
2026-05-12 12:39:34 +05:30
Kovid Goyal
0a69b89a80
More work on dnd kitten
2026-05-12 12:23:57 +05:30
Kovid Goyal
12bdf972e0
...
2026-05-12 09:37:16 +05:30
Kovid Goyal
4e3a3ba6ab
Fix infinite wait in test
2026-05-12 09:36:30 +05:30
nuck
654cce687e
Honor background image overrides for single instance windows
2026-05-11 18:52:04 -04:00
Kovid Goyal
f4e9824e18
Fix off by one in if condition
2026-05-11 22:06:32 +05:30
Kovid Goyal
02cfa89bae
...
2026-05-11 21:59:45 +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
114f1ff128
Merge branch 'dependabot/github_actions/actions-937d73b4db' of https://github.com/kovidgoyal/kitty
2026-05-11 09:35:58 +05:30
Kovid Goyal
845aeeffd9
Merge branch 'dependabot/go_modules/all-go-deps-c79d8bb26a' of https://github.com/kovidgoyal/kitty
2026-05-11 09:35:30 +05:30
dependabot[bot]
9993f82d64
Bump github/codeql-action from 4.35.2 to 4.35.3 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.2 to 4.35.3
- [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.2...v4.35.3 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.35.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: actions
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-05-11 03:52:22 +00:00
dependabot[bot]
15f71ebd37
Bump the all-go-deps group with 4 updates
...
Bumps the all-go-deps group with 4 updates: [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma ), [github.com/klauspost/compress](https://github.com/klauspost/compress ), [github.com/shirou/gopsutil/v4](https://github.com/shirou/gopsutil ) and [golang.org/x/sys](https://github.com/golang/sys ).
Updates `github.com/alecthomas/chroma/v2` from 2.23.1 to 2.24.1
- [Release notes](https://github.com/alecthomas/chroma/releases )
- [Commits](https://github.com/alecthomas/chroma/compare/v2.23.1...v2.24.1 )
Updates `github.com/klauspost/compress` from 1.18.5 to 1.18.6
- [Release notes](https://github.com/klauspost/compress/releases )
- [Commits](https://github.com/klauspost/compress/compare/v1.18.5...v1.18.6 )
Updates `github.com/shirou/gopsutil/v4` from 4.26.3 to 4.26.4
- [Release notes](https://github.com/shirou/gopsutil/releases )
- [Commits](https://github.com/shirou/gopsutil/compare/v4.26.3...v4.26.4 )
Updates `golang.org/x/sys` from 0.43.0 to 0.44.0
- [Commits](https://github.com/golang/sys/compare/v0.43.0...v0.44.0 )
---
updated-dependencies:
- dependency-name: github.com/alecthomas/chroma/v2
dependency-version: 2.24.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: all-go-deps
- dependency-name: github.com/klauspost/compress
dependency-version: 1.18.6
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all-go-deps
- dependency-name: github.com/shirou/gopsutil/v4
dependency-version: 4.26.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all-go-deps
- dependency-name: golang.org/x/sys
dependency-version: 0.44.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-05-11 03:48:34 +00:00
Kovid Goyal
07ec007388
Start work on porting code to new remote drag source protocol
2026-05-10 05:04:46 +05:30
Strykar
b3e7c3e717
Read FC_MATRIX from fontconfig
...
pattern_as_dict() in fontconfig.c never read FC_MATRIX, so any per-font
transform set by fontconfig was silently dropped. fontconfig ships a
default rule (90-synthetic.conf) that applies a slant matrix to any
roman-only font when italic is requested, which is why italic CJK has
been rendering upright in kitty.
Read the matrix, carry it on the descriptor as a 4-tuple of doubles,
apply it once in face_from_descriptor() via FT_Set_Transform, also
inform HarfBuzz via hb_font_set_synthetic_slant + hb_ft_font_changed
so shaping reflects the slanted rendering. Extend
face_equals_descriptor() to compare the matrix so the per-FontGroup
fallback cache returns the right face when upright and italic share a
font file.
The FT transform is sticky on the face, so subsequent FT_Load_Glyph
calls inherit it with no per-call overhead, and the per-Face glyph
atlas cache stays correct because the matrix is set at init and never
changes. Pure shears (xx=1, yy=1) preserve horizontal advance and do
not disturb monospace cell width.
The HB synthetic_slant call is gated on HB_VERSION_ATLEAST(4,0,0) since
setup.py allows down to 1.5.0. hb_ft_font_changed runs unconditionally
to invalidate any populated caches.
Refs #9857 , #9700 .
2026-05-10 02:48:29 +05:30
Kovid Goyal
07f1a7ac03
...
2026-05-09 22:33:00 +05:30