Commit graph

19527 commits

Author SHA1 Message Date
Kovid Goyal
4a0fd8d971 Merge branch 'pr-10637' 2026-10-09 18:25:55 +05:30
rudolf-blue
6fba92e717 Set an error when getting the AES 256 GCM tag fails 2026-10-09 07:40:56 -04:00
rudolf-blue
390cfc7862 Fix leak of AES256GCMDecrypt object when the tag is too short 2026-10-09 07:40:56 -04:00
rudolf-blue
a2fa8ecbf2 Use Py_RETURN_NOTIMPLEMENTED in color rich comparisons 2026-10-09 07:40:56 -04:00
rudolf-blue
72da47342f Reject out of range width and height in png_from_32bit_rgba_data 2026-10-09 07:40:55 -04:00
rudolf-blue
ba21f4a74a Fix division by zero when the terminal reports a zero size 2026-10-09 07:40:55 -04:00
rudolf-blue
307561bb3e End bracketed paste in kittens even inside an unterminated sequence 2026-10-09 07:40:55 -04:00
rudolf-blue
ee56934397 Forget the disk position of a replaced zero length cache entry 2026-10-09 07:40:55 -04:00
rudolf-blue
cf114eab28 Fix leak of rsync hasher state when parsing the signature header 2026-10-09 07:40:55 -04:00
rudolf-blue
9a437cbb4e Add pixel_scroll_offset_y to the Screen type stub 2026-10-09 07:40:55 -04:00
rudolf-blue
74fd8e792f Ignore fractional scroll amounts that are not finite 2026-10-09 07:40:55 -04:00
Kovid Goyal
fb68ed81e0
Fix #10634
Some checks are pending
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run
2026-10-09 13:53:34 +05:30
Kovid Goyal
c726b75d13
More cleanup for last PR 2026-10-09 12:29:14 +05:30
Kovid Goyal
c5968e9604
Bump Go version 2026-10-09 11:15:51 +05:30
Kovid Goyal
f78106e296
Cleanup previous PR
- Back off on all accept() errors that leave the connection pending, not
  just resource exhaustion, so the talk thread cannot spin on a readable
  listener
- Use an atomic for the test only accept failure injection instead of
  taking the talk mutex on every accept
- Encrypt disk cache entries in chunks of up to 1MB to reduce the number
  of write syscalls for large images
- Have GlobalWatchers.set_extra() invalidate the cached watchers
2026-10-09 11:14:45 +05:30
Kovid Goyal
26de0a5d11 Merge branch 'more-fixes' of https://github.com/rudolf-blue/kitty
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 11:09:49 +05:30
Kovid Goyal
0607401967
Make history consumption on resize an explicit parameter
resize_screen_buffers() moves the storage of the source history buffer into
the result, both when reusing unchanged lines and in the same size fast path.
Replace the global used to opt out of this with an explicit HistoryResizeMode
argument so callers that must keep their history (HistoryBuf.rewrap) state it,
and make the same size fast path copy rather than steal in that mode. Document
that nothing may fail after the history has been consumed.
2026-10-09 10:49:57 +05:30
Kovid Goyal
b72cd15bea Merge branch 'perf-improvements' of https://github.com/rudolf-blue/kitty 2026-10-09 10:46:51 +05:30
rudolf-blue
96f728cc82 Avoid copying the scrollback on height only resizes 2026-10-09 00:01:01 -04:00
rudolf-blue
68bc11d2ce Fix continued line detection once scrollback has wrapped around 2026-10-09 00:01:01 -04:00
rudolf-blue
1adf1fbb76 Use a per instance cache for resolved action aliases 2026-10-09 00:01:01 -04:00
rudolf-blue
b9b7e0b29c Stop the talk thread from blocking on peer sockets 2026-10-08 23:59:57 -04:00
rudolf-blue
806c86b9b3 Keep the talk thread running after transient accept() errors 2026-10-08 23:59:57 -04:00
rudolf-blue
d1730b7eaa Clear global watchers when removed from config on reload 2026-10-08 23:59:57 -04:00
rudolf-blue
e6423bc05c Fix spacing edges in serialized launch args 2026-10-08 23:59:57 -04:00
rudolf-blue
2dc9687573 Fix deleting displayed and base animation frames 2026-10-08 23:59:57 -04:00
rudolf-blue
8637b48ad2 Fix escape handling in parse_input_from_terminal 2026-10-08 23:59:57 -04:00
rudolf-blue
37bfa25d0e Fix fractional scroll losing sub-line pixel remainders 2026-10-08 23:59:57 -04:00
rudolf-blue
fc63c2590f Fix off by one continued flag in dump_lines_with_attrs 2026-10-08 23:59:57 -04:00
rudolf-blue
f16d09603e Allow 16 entries on the pointer shape stack 2026-10-08 23:59:57 -04:00
rudolf-blue
d2a272bb98 Fix dotted and dashed underline SGR in as_ansi output 2026-10-08 23:59:57 -04:00
rudolf-blue
f7441cc323 Fix parsing of rgbi colors 2026-10-08 23:59:57 -04:00
rudolf-blue
dbab66501d Return a new reference for NotImplemented in font feature comparison 2026-10-08 23:59:57 -04:00
rudolf-blue
aee2e560c0 Fix reference leaks in font loading 2026-10-08 23:59:57 -04:00
rudolf-blue
9952b8275c Fix render_decoration raising KeyError for known decorations 2026-10-08 23:59:57 -04:00
rudolf-blue
518552241f Show the spec in the invalid font feature error 2026-10-08 23:59:57 -04:00
rudolf-blue
5f75c46ae5 Encrypt disk cache entries outside the lock 2026-10-08 23:59:56 -04:00
rudolf-blue
f3b74cdeac Fix key leak and stale entry accounting in disk cache defrag 2026-10-08 23:59:56 -04:00
rudolf-blue
3979ce68ff Fix size type passed to Py_BuildValue y# in load_png_data 2026-10-08 23:59:56 -04:00
rudolf-blue
9cfd91e812 Fix crash in png_from_32bit_rgba_data on invalid input 2026-10-08 23:59:56 -04:00
rudolf-blue
4d2a12df72 Fix lazy drag data being cut off after the first chunk on Wayland 2026-10-08 23:59:56 -04:00
rudolf-blue
dcac4bb35f Fix partial drag data writes and a NULL mime_type dereference on Wayland 2026-10-08 23:59:56 -04:00
rudolf-blue
eff37ff291 Fix drop data buffer overflow and unchecked mmap on Wayland 2026-10-08 23:59:56 -04:00
rudolf-blue
a24311b240 Stop CHT once the cursor reaches the last column 2026-10-08 23:59:56 -04:00
rudolf-blue
3d007dbf9e Fix out of bounds write in single line DECCARA 2026-10-08 23:59:56 -04:00
rudolf-blue
e1250cf8fb Fix erase in line and display orphaning halves of multicell characters 2026-10-08 23:59:56 -04:00
rudolf-blue
a1dc62a710 Use framebuffer copies when growing sprite textures 2026-10-08 23:59:56 -04:00
rudolf-blue
33463560f5 Grow the sprite decorations map geometrically 2026-10-08 23:59:56 -04:00
rudolf-blue
7bdcd8e766 Grow the sprite texture rows geometrically 2026-10-08 23:59:56 -04:00
rudolf-blue
d0a7052ce6 Account for the extra sprite row when computing max sprite rows 2026-10-08 23:59:56 -04:00