Commit Graph

15175 Commits

Author SHA1 Message Date
Kovid Goyal
6a6f685044 macOS: Fix clang on macOS behaving differently when casting double to unsigned than on Linux 2025-02-10 16:56:58 +05:30
Kovid Goyal
23097ee184 Function to easily test decoration rendering 2025-02-10 16:31:03 +05:30
Kovid Goyal
32e34f3866 Change undercurl metrics calculation so that it matches the Python version 2025-02-10 16:22:38 +05:30
Kovid Goyal
82d4234d9a Run at exit cleanup functions explicitly instead of relying on the ever unreliable python interpreter to do it 2025-02-10 15:06:18 +05:30
Kovid Goyal
5ebdfe17d9 Fix #8301
Crash is fixed however corruption of cells remains, that's going to be
harder to track down.
2025-02-10 14:03:32 +05:30
Kovid Goyal
54a42b564e More work on Go VT parser 2025-02-10 11:46:46 +05:30
Kovid Goyal
e314755e4b ... 2025-02-10 10:38:11 +05:30
Kovid Goyal
4d0f5ec5c5 Merge branch 'dependabot/go_modules/all-go-deps-d0ca0c50f7' of https://github.com/kovidgoyal/kitty 2025-02-10 09:29:20 +05:30
dependabot[bot]
4b195391f7 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/sys](https://github.com/golang/sys).


Updates `golang.org/x/image` from 0.23.0 to 0.24.0
- [Commits](https://github.com/golang/image/compare/v0.23.0...v0.24.0)

Updates `golang.org/x/sys` from 0.29.0 to 0.30.0
- [Commits](https://github.com/golang/sys/compare/v0.29.0...v0.30.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-10 03:54:09 +00:00
Kovid Goyal
cf8407b8d3 ... 2025-02-09 15:10:41 +05:30
Kovid Goyal
8bf383d1c4 DRYer: Use the existing unix package stat() 2025-02-09 15:01:05 +05:30
Kovid Goyal
4b6226a160 And another incorrect use of unix.Stat_t 2025-02-09 14:24:05 +05:30
Kovid Goyal
3832e45a6f Fix another incorrect use of unix.Stat_t 2025-02-09 14:22:08 +05:30
Kovid Goyal
8e4050b923 ... 2025-02-09 14:12:46 +05:30
Kovid Goyal
a582de98dc Fix building of kitten on other platforms 2025-02-09 14:11:14 +05:30
Kovid Goyal
2f775086b0 ... 2025-02-09 13:03:23 +05:30
Kovid Goyal
949860ff22 ssh kitten: Fix incorrect copying of data files when using the python interpreter and also fix incorrect hard link detection 2025-02-09 12:59:33 +05:30
Kovid Goyal
85ba68b59c ssh kitten: When using python interpreter fix symlinks with absolute paths not working with the copy command 2025-02-09 11:12:47 +05:30
Kovid Goyal
04f28e4b7a ... 2025-02-08 14:04:47 +05:30
Kovid Goyal
3f54b83991 Remove unnecessary branch 2025-02-08 13:51:09 +05:30
Kovid Goyal
3b8f3dc69e Another kitty icon 2025-02-08 10:34:14 +05:30
Kovid Goyal
f412ec617c Track line continuation in only one place
The canonical flag tracking this is the last cell of the previous line.
So use that only rather than copying it onto a line attribute. Should
micro-optimize cases where we init a line but dont need the continuation
status.
2025-02-08 08:58:50 +05:30
Kovid Goyal
f55704c50d launch --next-to should control OS window selection for --type=tab 2025-02-08 08:42:48 +05:30
Kovid Goyal
07a7b23223 Fix #8302 2025-02-08 08:21:22 +05:30
Kovid Goyal
af917e6bcc Fix #8304 2025-02-08 07:56:21 +05:30
Kovid Goyal
c3ed945a93 Another micro optimization 2025-02-07 21:04:00 +05:30
Kovid Goyal
1838440366 Micro-optimization to claw back some of the perf lost by multicell
multicell speed has gone from ~10% slower to ~5% slower
2025-02-07 20:45:41 +05:30
Kovid Goyal
b0c41a70bd Start work on VT LineBuf in Go 2025-02-07 20:09:00 +05:30
Kovid Goyal
244f4597dc launch: Decouple source and dest windows from active window
Fixes #8295
2025-02-07 13:40:44 +05:30
Kovid Goyal
77416d0fc8 Make mypy happy 2025-02-07 12:57:17 +05:30
Kovid Goyal
2f57d20153 Add hyperlink id to CellAttrs 2025-02-06 20:35:50 +05:30
Kovid Goyal
c4d28c8bca Merge branch 'report-as-via-escape-code' of https://github.com/rivenirvana/kitty 2025-02-06 19:40:28 +05:30
Arvin Verain
aeb8ec79c2 fix: Report OSC 30101 bg change as via escape code 2025-02-06 21:35:10 +08:00
Kovid Goyal
92e2b93e95 Start work on VT implementation in Go
Will be used by pager kitten
2025-02-06 12:31:32 +05:30
Kovid Goyal
4b38818dca Make CodeQL happy 2025-02-06 10:13:48 +05:30
Kovid Goyal
b3a0a9907f ... 2025-02-06 09:08:51 +05:30
Kovid Goyal
087c74919e Add some clarifications to text-sizing spec
Based on feedback from users
2025-02-06 08:59:27 +05:30
Kovid Goyal
bfbb54cdf3 ... 2025-02-05 17:04:14 +05:30
Kovid Goyal
d22c8f5878 Nicer reporting of errors when using geninclude 2025-02-05 16:24:38 +05:30
Kovid Goyal
32e7cd6e35 ... 2025-02-05 12:00:04 +05:30
Kovid Goyal
d578401fed Fix #8289 2025-02-05 11:57:50 +05:30
Kovid Goyal
ce76c6bc90 Make mypy 1.15 happy 2025-02-05 09:36:21 +05:30
Kovid Goyal
2f0dbf7766 Fix #8286 2025-02-05 09:15:49 +05:30
Kovid Goyal
0dd3ee0046 Add some more command to replay commands 2025-02-05 08:48:16 +05:30
Kovid Goyal
d896d7713d Fix #8288 2025-02-05 08:31:36 +05:30
Kovid Goyal
9ca420a6bf Clarify that text sizing is relative to base font size 2025-02-05 07:59:59 +05:30
Kovid Goyal
ea5db4ec09 fix build with old compiler 2025-02-03 14:01:11 +05:30
Kovid Goyal
0c5a053c9c ... 2025-02-03 11:18:18 +05:30
Kovid Goyal
20821f4beb macOS: Fix fallback font rendering for bold/italic text not working for some symbols that are present in the Menlo regular face but not the bold/italic faces
Fixes #8282
2025-02-03 11:06:42 +05:30
Kovid Goyal
02a88b2803 Use 64 byte aligned memory for cairo surface buffer 2025-02-03 11:06:42 +05:30