Commit graph

19108 commits

Author SHA1 Message Date
Kovid Goyal
c3d36a3dfe
Merge branch 'fix-doc-typos' of https://github.com/zaveshaa/kitty 2026-08-24 17:31:15 +05:30
zaveshaa
e01b09c557 Fix a few typos in the docs and the choose_files kitten help text 2026-08-24 14:58:48 +03:00
Kovid Goyal
5ee0267ae6
Merge branch 'dependabot/github_actions/actions-f5505118b8' of https://github.com/kovidgoyal/kitty 2026-08-24 09:23:39 +05:30
Kovid Goyal
2b36a8b6ad
Merge branch 'dependabot/go_modules/all-go-deps-c632cdcfe4' of https://github.com/kovidgoyal/kitty 2026-08-24 09:23:22 +05:30
dependabot[bot]
af1bcdaf4a
Bump github/codeql-action from 4.37.6 to 4.37.7 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.37.6 to 4.37.7
- [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.37.6...v4.37.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-24 03:44:59 +00:00
dependabot[bot]
349525bfa6
Bump github.com/seancfoley/ipaddress-go in the all-go-deps group
Bumps the all-go-deps group with 1 update: [github.com/seancfoley/ipaddress-go](https://github.com/seancfoley/ipaddress-go).


Updates `github.com/seancfoley/ipaddress-go` from 1.8.1 to 1.8.3
- [Release notes](https://github.com/seancfoley/ipaddress-go/releases)
- [Commits](https://github.com/seancfoley/ipaddress-go/compare/v1.8.1...v1.8.3)

---
updated-dependencies:
- dependency-name: github.com/seancfoley/ipaddress-go
  dependency-version: 1.8.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-24 03:43:13 +00:00
Kovid Goyal
77630f3a67
Fix random test failure when running in parallel on macOS 2026-08-23 20:39:43 +05:30
Kovid Goyal
6b5bdca90d
Avoid extra copy of image data into disk cache
Also fix a rare race and reduce memory consumption for transient images
2026-08-23 19:41:15 +05:30
Kovid Goyal
3c3133d339
Defense in depth use O_NOFOLLOW when opening regular files 2026-08-23 17:14:06 +05:30
Kovid Goyal
7616cfe854
Graphics: Make reading images robust against clients that truncate files that are being read by kitty 2026-08-23 17:05:06 +05:30
Kovid Goyal
8eee836555
Fix #10393 2026-08-23 13:15:17 +05:30
Kovid Goyal
393f0c720b
fix test failure on macOS 2026-08-23 10:53:56 +05:30
Kovid Goyal
554908ed0b
Drag and drop protocol: Deny drag sources that send identically named symlink/dir entries with an appropriate error 2026-08-23 10:01:35 +05:30
Kovid Goyal
fb862c019b
... 2026-08-23 09:30:28 +05:30
Kovid Goyal
d894ac8c1d
Follow libpng's documented contract 2026-08-23 09:24:02 +05:30
Kovid Goyal
26fa4b557d
bash completion: Dont remove common prefix. Fixes #10388 2026-08-23 08:36:58 +05:30
Kovid Goyal
365f29e369
... 2026-08-23 08:24:44 +05:30
Kovid Goyal
05444e9e61
Fix #10391 2026-08-23 08:18:59 +05:30
Kovid Goyal
7d2fbaadcc
Text sizing protocol: Fix a buffer overflow
When a natural width (no explicit ``w`` key) text sizing escape code
contains a grapheme cluster longer than four codepoints
2026-08-23 07:52:17 +05:30
Kovid Goyal
5f04193347
Merge branch 'fix/small-typos' of https://github.com/zaveshaa/kitty 2026-08-23 07:39:25 +05:30
Kovid Goyal
026d11f517
Drag and drop protocol: deny requests for drag data made before the user has actually dropped something onto the window 2026-08-23 07:34:35 +05:30
zaveshaa
15ceaac34b Fix doubled words in docs and a test comment 2026-08-22 23:10:54 +03:00
Kovid Goyal
9475a58f0b
autoformat 2026-08-22 13:01:01 +05:30
Kovid Goyal
3692fb01ec
Update changelog 2026-08-22 12:49:52 +05:30
Kovid Goyal
df703db215
Merge branch 'ime-preedit-style' of https://github.com/bjohas/kitty 2026-08-22 12:49:04 +05:30
bjohas
dbabd12ba6 Style IME pre-edit text with italics and a dashed underline
Pre-edit text was drawn in reverse video, which is a solid inverted block
moving through the line as you compose. Draw it as italic with a dashed
underline in the highlight color instead.

Underline rather than reverse video is what other terminals do: VTE renders the
pre-edit run with the input method's own attributes and marks only the cursored
cell distinctly, and foot underlines the run explicitly, excluding the part
under the cursor. Dashed avoids the underline styles applications already use:
curly for spell checking and straight for hyperlinks, which is the collision
that made reverse video look like the safer choice.

The styling is applied to the overlay's own cursor and restored afterwards,
alongside the wrap, cursor-visibility and insert-replace modes already saved
there. The previous code toggled reverse with XOR, which restored itself; the
three new attributes are saved and put back explicitly.

Closes #10382
2026-08-22 07:22:55 +01:00
Kovid Goyal
17d2814b4d
Fix #10383 2026-08-21 20:38:38 +05:30
Kovid Goyal
9a7892657f
Merge branch 'pluie/jj-ptkmpvyvpkks' of https://github.com/pluiedev/kitty 2026-08-21 13:20:41 +05:30
Leah Amelia Chen
81e0a86791
docs/graphics-protocol: replace demo image
The "Lenna" test image has been deprecated for several years at this
point in the computer graphics scientific community for being an
unauthorized, cropped scan of a Playboy magazine that is not only legally
problematic regarding redistribution (see #661) but also raises questions
about the appropriateness of using originally pornographic material in
scientific literature. **If scientific journals now find it unacceptable,
so should we, and we should do better**.

The image itself has been long gone from the repo itself following #661,
but it's still present in a screenshot attached to the documentation.
Although that resolved legal issues for Debian packaging, I think the
fundamental problem with the Lenna image remains unsolved, and over the
past 8 years the scientific consensus (and more importantly, the
sentiment from the model herself, Lena Forsén) has been very clear that
we shouldn't use this image in any shape or form now. So let's replace it
with something actually wholesome and thematically appropriate!

Instead, I've taken a screenshot of `gr.py`, but with Lenna replaced with
a photo of a friend's cat. I took the original photo myself and licensed
it under CC0 — no attribution is required, though it would certainly be
welcome. Some minor things about the composition have been changed, such
as the proportions of the images and the font used (sorry, I don't know
which font the original used, I'm using Iosevka here since it's my system
monospace font), but overall it shows off the capabilities of the
Graphics Protocol as well as the original.

Please let me know of any feedback regarding the image selection and the
composition, but I think this is a worthy step to take.
2026-08-21 15:40:56 +08:00
Kovid Goyal
a8dee8f0cd
Ignore CVE for openssl with a fix that has not yet been released 2026-08-21 10:53:01 +05:30
Kovid Goyal
d805e28aad
Fix handling of a=f chunked loading 2026-08-21 10:46:43 +05:30
Kovid Goyal
f5b4722c68
Fix incorrect key being used for animation compose
Regression in 0.45.0
Fixes #10379
2026-08-21 10:31:17 +05:30
Kovid Goyal
5bdbf2676b
Graphics: clipping against page margins on scroll
Fixes #10377
2026-08-21 09:16:22 +05:30
Kovid Goyal
2db805c71e
Wayland: Workaround clipboard managers that restore application private MIME types. Fixes #10376 2026-08-21 08:14:38 +05:30
Kovid Goyal
9b29654e90
clarify behavior of leading and trailing commas in the graphics protocol 2026-08-20 15:49:38 +05:30
Kovid Goyal
4fd834a5e7
... 2026-08-20 08:07:21 +05:30
Kovid Goyal
b71e5dfb3b
Cleanup previous PR 2026-08-20 07:53:47 +05:30
Kovid Goyal
1c6603bdb7
Merge branch 'go-kitten-ports' of https://github.com/KodeLoad/kitty 2026-08-20 07:31:03 +05:30
Kovid Goyal
406a92fc69
handle unknown pointer names in OSC 22 more gracefully
Also, allow using beam and arrow as aliases of text and default when
setting pointer shapes. These are the names kitty itself reports, so
they should be allowed in addition to the canonical list from the spec.

Fixes #10372
2026-08-19 04:56:27 +05:30
OBrutus
19a0bf0670 Merge origin/master into go-kitten-ports
Reconcile the three ported kittens with 529 upstream commits. Only conflicts
were in the shrunk resize_window/broadcast/remote_file main.py stubs (upstream
reformatted their OPTIONS strings); resolved by keeping upstream's formatting
plus the Go-port stubs (shrunk main, remote_file handle_result shim, dropped
-h alias). Go build + kitten tests pass; dev build regenerates CLI cleanly;
Python suite at baseline (1 pre-existing unrelated failure).
2026-08-18 16:18:54 +05:30
Kovid Goyal
0ecb10d158
Add AVX 512 implementations for remaining SIMD functions 2026-08-18 09:03:29 +05:30
Kovid Goyal
acadec4a70
Remove trailing whitespace from generated APC parsers 2026-08-18 08:30:12 +05:30
Kovid Goyal
db36f6b9b6
Increase default number of reps for benchmarking 2026-08-18 08:22:46 +05:30
Kovid Goyal
b381d2eb65
Cleanup OSC/APC number parsing 2026-08-18 08:15:34 +05:30
Kovid Goyal
5e2660143f
Update changelog 2026-08-18 08:04:48 +05:30
Kovid Goyal
d63e99e17f
Update changelog 2026-08-18 07:41:42 +05:30
Kovid Goyal
80b4e90933
Merge branch 'macos-fullscreen-tiling' of https://github.com/agmitron/kitty 2026-08-18 07:39:05 +05:30
Aleksei Gmitron
241ee9c4d1 macos: allow OS windows to participate in Split View tiling 2026-08-17 22:17:15 +04:00
OBrutus
49c0117339 remote_file/broadcast/resize_window: untrack generated CLI files, drop dead ToLower, document -h removal 2026-08-17 15:16:50 +05:30
Kovid Goyal
e7ccaa429d
Merge branch 'dependabot/github_actions/actions-24edcfd16d' of https://github.com/kovidgoyal/kitty 2026-08-17 09:23:00 +05:30