Commit Graph

17927 Commits

Author SHA1 Message Date
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
Kovid Goyal
94651eaff2 Go version of streaming base64 decoder 2026-04-21 09:34:25 +05:30
Kovid Goyal
8b3daa6a50 Fix drop data requests 2026-04-21 08:32:42 +05:30
Kovid Goyal
9a011dea3e More work on DnD kitten 2026-04-21 08:19:22 +05:30
Kovid Goyal
01e453a048 More work on DnD kitten 2026-04-20 20:16:02 +05:30
Kovid Goyal
a899d24b64 More work on DnD kitten 2026-04-20 19:19:51 +05:30
Kovid Goyal
54eab02709 Add tests for drop move events 2026-04-20 11:23:49 +05:30
Kovid Goyal
4c484ca1e8 Highlight current drop action 2026-04-20 09:28:31 +05:30
Kovid Goyal
235425ae85 Allow optionally dropping anywhere 2026-04-20 09:24:33 +05:30
Kovid Goyal
44121ee82e Merge branch 'dependabot/github_actions/actions-fd00acb19b' of https://github.com/kovidgoyal/kitty 2026-04-20 09:20:32 +05:30
Kovid Goyal
9a7ad9d29b Merge branch 'dependabot/go_modules/all-go-deps-01f8b8a567' of https://github.com/kovidgoyal/kitty 2026-04-20 09:18:34 +05:30
dependabot[bot]
20877f2079 Bump github/codeql-action from 4 to 4.35.1 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 to 4.35.1
- [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...v4.35.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-20 03:47:19 +00:00
Kovid Goyal
d3b8fd67a0 More work on dnd kitten 2026-04-20 09:16:53 +05:30
dependabot[bot]
28feb416fc Bump the all-go-deps group with 2 updates
Bumps the all-go-deps group with 2 updates: [golang.org/x/image](https://github.com/golang/image) and [golang.org/x/text](https://github.com/golang/text).


Updates `golang.org/x/image` from 0.38.0 to 0.39.0
- [Commits](https://github.com/golang/image/compare/v0.38.0...v0.39.0)

Updates `golang.org/x/text` from 0.35.0 to 0.36.0
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.35.0...v0.36.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-version: 0.39.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
- dependency-name: golang.org/x/text
  dependency-version: 0.36.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-20 03:43:30 +00:00
Kovid Goyal
4e04e34438 Refactor dnd cmd queueing API 2026-04-19 22:54:44 +05:30
Kovid Goyal
fcb260bdfa Sort imports 2026-04-19 21:53:09 +05:30
Kovid Goyal
04fcac72ec Update minimum python to 3.11 from 3.10
3.10 is failing in CI and I cant be arsed to figure out why. It's anyway
a few months from EOL
2026-04-19 21:41:58 +05:30
Kovid Goyal
08c3ab106d ... 2026-04-19 21:38:09 +05:30
Kovid Goyal
9bb359e1ef Bump python version in CI 2026-04-19 21:35:13 +05:30
Kovid Goyal
3a598218d3 Flush streams and sleep before printing crash report 2026-04-19 21:25:08 +05:30
Kovid Goyal
e9dcc4393f ... 2026-04-19 21:05:14 +05:30
Kovid Goyal
36e8094afe Make dnd kitten testing infra a bit more robust 2026-04-19 21:00:09 +05:30
Kovid Goyal
0ddbffdf79 Allow mocking remote clients 2026-04-19 20:42:43 +05:30
Kovid Goyal
51b0e9c4ad Work on testing infrastructure for DnD kitten 2026-04-19 20:21:55 +05:30
Kovid Goyal
f3c8ce919d Refactor test code to make it less cluttered 2026-04-19 14:28:46 +05:30
Kovid Goyal
79bb660493 Remove unused code 2026-04-19 14:03:32 +05:30
Kovid Goyal
b4d07ddece DRYer 2026-04-19 13:54:13 +05:30
Kovid Goyal
5558dfa953 Move dnd escape code encoding into dnd.c 2026-04-19 13:48:35 +05:30
Kovid Goyal
dc9bf889a6 Fix chunking of t=k not handling metadata present only on first chunk 2026-04-19 12:52:00 +05:30
Kovid Goyal
13add3532b Have copilot run gofmt automatically 2026-04-19 12:18:51 +05:30
Kovid Goyal
a3dfe2b55a Make sticky_header default to yes 2026-04-19 12:14:39 +05:30
Kovid Goyal
ed6bdacf44 Merge branch 'pdobrev/diff-sticky-header' of https://github.com/pdobrev/kitty 2026-04-19 12:12:37 +05:30
Petar Dobrev
bd9b5d80f3 fix docs reference 2026-04-19 09:32:25 +03:00
Petar Dobrev
4f5698a5a2 fix overlap with the next file's header 2026-04-19 09:24:44 +03:00
Kovid Goyal
f3cfbb8fbd ... 2026-04-19 10:45:03 +05:30
Kovid Goyal
df1d9235e8 ... 2026-04-19 10:37:42 +05:30
Kovid Goyal
ef07942c82 More work on dnd kitten 2026-04-19 10:35:29 +05:30
Kovid Goyal
36171d1233 More work on dnd kitten 2026-04-19 10:21:01 +05:30
Kovid Goyal
8e76a62815 Show error message when save_as_session has too many path arguments 2026-04-18 23:15:01 +05:30
Kovid Goyal
e7aa197b27 Merge branch 'macos26-explicit-window-corners' of https://github.com/zzhaolei/kitty 2026-04-18 22:37:08 +05:30
Petar Dobrev
7729e6e1ae kitten diff: add support for sticky header 2026-04-18 18:26:30 +03:00
zhaolei
b16221a1d3 macos: explicitly enable modern window corners on macOS 26
Use an explicit runtime check to apply the newer corner styling on macOS 26 while leaving behavior unchanged on older macOS versions for compatibility.

Also add the required QuartzCore framework for linking the corner curve API.
2026-04-18 20:41:38 +08:00
Kovid Goyal
75399c9026 ... 2026-04-18 14:08:54 +05:30
Kovid Goyal
797c7e86fe Bump sqlite for CVE 2026-04-18 13:40:47 +05:30
Kovid Goyal
2d18b88480 macOS: Switch to Tahoe style application icon 2026-04-18 13:28:22 +05:30
Kovid Goyal
2af98fd4fd Merge branch 'fix/overlay-line-null-deref' of https://github.com/fecet/kitty 2026-04-18 12:11:59 +05:30
distsystem
875ca70a55 Fix crash in overlay line drawing on uninitialized linebuf view
screen_draw_overlay_line accessed self->linebuf->line->cpu_cells
without ever calling linebuf_init_line on the shared view. Render
paths that initialize a stack-local Line via render_line_for_virtual_y
left the view's cpu_cells as NULL (the value set by alloc_line via
PyType_GenericAlloc), and the multicell-trim loop then dereferenced
NULL + xstart * sizeof(CPUCell), producing a SIGSEGV at a small
address (e.g. 0x1e for xstart=2). The crash was reachable any time
an IME pre-edit overlay was rendered with the cursor not in column 0
on a screen whose linebuf->line had not been re-pointed by some
unrelated prior call.

Fix by initializing the view at the overlay row on entry. Add a
test_draw_overlay_line method on Screen so the behavior can be
exercised directly from a regression test.
2026-04-18 13:10:07 +08:00