Commit Graph

17761 Commits

Author SHA1 Message Date
Kovid Goyal
eff590ab5a Merge branch 'copilot/improve-memory-management' of https://github.com/kovidgoyal/kitty 2026-04-01 21:13:38 +05:30
copilot-swe-agent[bot]
c5afef1142 Rename file_fd to file_fd_plus_one so zero value means invalid fd
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/e5f07308-d11d-43d9-9dd5-75b3a10c6e2e

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-01 15:29:12 +00:00
copilot-swe-agent[bot]
68cb5760b3 dnd.c: send file data in chunks instead of reading entire file into memory
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/5ec2905d-2e8a-4b6a-8070-cd59921cd61d

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-01 15:06:06 +00:00
Kovid Goyal
15e37efd00 Fix fd leak on invalid file 2026-04-01 20:16:49 +05:30
Kovid Goyal
03cf6f9348 Fix unclosed resource warning in test 2026-04-01 20:01:28 +05:30
Kovid Goyal
1fbb10e789 Use fstat() rather than stat() 2026-04-01 19:58:04 +05:30
Kovid Goyal
78f1607bf5 Cleanup previous PR 2026-04-01 19:52:40 +05:30
Kovid Goyal
05f4c324f1 Merge branch 'copilot/implement-dnd-protocol-dropping-remote' of https://github.com/kovidgoyal/kitty 2026-04-01 19:37:17 +05:30
copilot-swe-agent[bot]
51fe3dc274 Implement DnD protocol: t=s URI file transfer and t=d directory listing with tests
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/a5aee38b-1746-4699-9dcc-2138f43cabe8

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-01 08:55:55 +00:00
Kovid Goyal
81d0e2dc8e Cleanup previous PR 2026-04-01 13:05:56 +05:30
Kovid Goyal
9d5f7b085c Merge branch 'copilot/add-testing-framework-for-dnd-protocol' of https://github.com/kovidgoyal/kitty 2026-04-01 13:04:40 +05:30
copilot-swe-agent[bot]
02aec3fa3e Add DnD protocol test framework and tests
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/faa69cb9-991d-49f4-802b-263f4bb28ee9

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-01 07:22:47 +00:00
Kovid Goyal
4f7855aede More work on the DnD protocol 2026-04-01 12:01:04 +05:30
Kovid Goyal
3ee440b004 Merge branch 'copilot/fix-divider-drag-issues-again' of https://github.com/kovidgoyal/kitty 2026-04-01 09:26:35 +05:30
copilot-swe-agent[bot]
96d10e51a0 Fix drag resize direction bugs and add comprehensive tests
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/12198e55-3901-439b-9fba-9b5f5b470416

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-01 03:48:49 +00:00
Kovid Goyal
82df574539 Merge branch 'copilot/improve-password-input-visuals' of https://github.com/kovidgoyal/kitty 2026-04-01 08:25:52 +05:30
copilot-swe-agent[bot]
1853c48561 tui/password: make lock emoji blink at 500ms via repeating timer
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/3ee6840f-29cc-43bb-a4b6-bf9ae604ea11

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-01 02:51:40 +00:00
copilot-swe-agent[bot]
8aa83221e8 Improve password input: hide cursor and show lock emoji (U+1F512)
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/cf06c199-5837-41da-bebf-eb3c220684db

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-04-01 02:43:55 +00:00
Kovid Goyal
897a2f4126 Merge branch 'copilot/fix-mypy-errors' of https://github.com/kovidgoyal/kitty 2026-03-31 23:33:07 +05:30
copilot-swe-agent[bot]
6c354159a8 fix mypy errors in search_query_parser.py and actions.py
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/5d37ece0-388b-4c99-a1bc-3b2c3bed34e6

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-03-31 17:57:12 +00:00
Kovid Goyal
50ac569aad Add new set_progress() method to Screen declaration 2026-03-31 23:01:24 +05:30
Kovid Goyal
12ea072fce remove unused code 2026-03-31 22:57:19 +05:30
Kovid Goyal
ea7a82c0c6 Cleanup previous PR 2026-03-31 22:49:54 +05:30
copilot-swe-agent[bot]
973c5fb650 Implement OSC 9;4 progress bar rendering in kitty window
Fixes #9777
Fixes #9786
2026-03-31 22:45:25 +05:30
Kovid Goyal
1f3f1374e2 Merge branch 'copilot/fix-split-layouts-border-drag' of https://github.com/kovidgoyal/kitty 2026-03-31 22:10:10 +05:30
copilot-swe-agent[bot]
c3a111fbd2 Fix inverted border drag direction in splits layout
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/10200944-3143-4347-880c-f4d5b96749f5

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-03-31 16:28:19 +00:00
Kovid Goyal
53ec55a1da Cleanup previous PR
Fixes #9689
2026-03-31 21:10:31 +05:30
copilot-swe-agent[bot]
35ca3a178d Implement smooth animated scrolling for scroll_line_up and scroll_line_down
Fixes #9784
2026-03-31 21:02:53 +05:30
Kovid Goyal
50cc4f6630 Also check distance between clicks when detecting double click 2026-03-31 16:15:24 +05:30
copilot-swe-agent[bot]
c766b7e733 macOS: Add Copy/Paste menu items to the Edit menu in the global menu bar
Fixes #9780
Fixes #9781
2026-03-31 13:56:31 +05:30
Kovid Goyal
774b9af9e3 Fix crash when applying selections when rendering is paused
Use the scrolled by value from the paused rendering and clamp the
selection to the visual area.

Fixes #9778
2026-03-31 09:10:14 +05:30
Kovid Goyal
59d93577b1 Fix double click to rename tab being triggered too easily
Fixes #9774
2026-03-30 17:09:52 +05:30
Kovid Goyal
db7d0b701f Add license metadata to pyproject.toml 2026-03-30 13:42:18 +05:30
Kovid Goyal
9e8e32e771 Clean up bar click handling 2026-03-30 10:28:43 +05:30
Kovid Goyal
7aad230721 Store event position in recent events 2026-03-30 09:34:12 +05:30
Kovid Goyal
0f0ea8e43b ... 2026-03-30 09:25:19 +05:30
Kovid Goyal
1c95b321c4 ... 2026-03-30 09:22:08 +05:30
Kovid Goyal
b3bdfbc487 Add link to where in the Unicode spec VS15 behavior comes from 2026-03-30 09:21:31 +05:30
Kovid Goyal
c146d133dc Merge branch 'dependabot/go_modules/all-go-deps-6f9acf81d2' of https://github.com/kovidgoyal/kitty 2026-03-30 09:18:45 +05:30
dependabot[bot]
4a1aee4254 Bump github.com/klauspost/compress in the all-go-deps group
Bumps the all-go-deps group with 1 update: [github.com/klauspost/compress](https://github.com/klauspost/compress).


Updates `github.com/klauspost/compress` from 1.18.4 to 1.18.5
- [Release notes](https://github.com/klauspost/compress/releases)
- [Commits](https://github.com/klauspost/compress/compare/v1.18.4...v1.18.5)

---
updated-dependencies:
- dependency-name: github.com/klauspost/compress
  dependency-version: 1.18.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-30 03:43:15 +00:00
Kovid Goyal
cf8ae0781e ... 2026-03-29 21:09:59 +05:30
Kovid Goyal
dd31561481 Docs: Sample function to output a line of text robustly in the face of VS15 narrowing the last grapheme 2026-03-29 20:57:51 +05:30
Kovid Goyal
9721346387 XWayland: Fix a regression where some wheel mice were not scrolling properly
We assume increment == 1 and delta * 120 == integer means we have
V120 events in units of 1/120.

Fixes #9770
2026-03-29 14:43:48 +05:30
Kovid Goyal
f976bea4cc Add font installation instructions for copilot 2026-03-29 10:01:59 +05:30
Kovid Goyal
53f832a20a ... 2026-03-28 17:15:24 +05:30
Kovid Goyal
158e947f34 Fix drop on + tab creating a spurious extra tab 2026-03-28 17:09:52 +05:30
Kovid Goyal
5d0e038afc Cleanup previous PR 2026-03-28 14:40:45 +05:30
Kovid Goyal
4a6b4a022b Merge branch 'copilot/improve-window-dragging-feature' of https://github.com/kovidgoyal/kitty 2026-03-28 14:39:34 +05:30
copilot-swe-agent[bot]
8dc97f37f9 Force tab bar visible when dragging a window over an OS window
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/93865645-4c0b-4371-9ed0-c58bdfd4e07d

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
2026-03-28 09:05:39 +00:00
Kovid Goyal
4718881e45 ... 2026-03-28 14:35:27 +05:30