Kovid Goyal
d02b0d5c06
Allocate shape_buffer on the heap so it works with arbitrary input length
2025-02-16 11:03:47 +05:30
Kovid Goyal
4005fb5bfb
Micro optimize by using hb_buffer_add_codepoints
...
This skips harfbuzz buffer validation which we dont need since out
codepoints are already valid. HarfBuzz docs claim it does "deep-sanity
checking" no idea what that is, but I dont think its actually
necessary, we will see if it causes any actual text rendering
regressions.
2025-02-16 10:44:13 +05:30
Kovid Goyal
f218be564b
Remove unused function parameter
2025-02-16 10:36:34 +05:30
Kovid Goyal
61ef28e975
Cleanup loop exit condition
2025-02-16 10:21:40 +05:30
Kovid Goyal
25cceb2c5c
Same for cell_as_utf8_for_fallback
2025-02-16 10:08:30 +05:30
Kovid Goyal
96d231dfa5
Use buffer size in cell_as_unicode_for_fallback as well
2025-02-16 10:02:39 +05:30
Kovid Goyal
b4b2b44c92
Multicell selections: Clamp to line
...
When the end point of the selection is within a multicell character of
the same size and vertical position as the start point, clamp the
selection line to the start line to avoid un-intuitive multiline
selections.
Fixes #8310
2025-02-15 13:11:46 +05:30
Kovid Goyal
dc5c9b5bf4
Another test
2025-02-15 11:38:49 +05:30
Kovid Goyal
f7c136b408
Only output prompt type markers if we are outputting first cell in line
2025-02-15 11:15:59 +05:30
Kovid Goyal
0e820f5d9c
ANSI output: Preserve use of natural_width
...
Keeps semantics of the text the same when roundtripping rather than
visual appearance.
2025-02-15 11:03:20 +05:30
Kovid Goyal
888b8a3bfb
Use same algorithm for multicell selection expansion and text extraction
2025-02-15 10:43:32 +05:30
Kovid Goyal
0eb4959a56
Clarify that the size limit refers to size of data before base64 encoding
2025-02-15 10:17:59 +05:30
Kovid Goyal
fc8e678eb5
Change clipboard spec to specify 4096 as the max chunk size in both directions
...
Makes it consistent and easy to remember. And there is no real reason to
specify it as a hard maximum in only one direction. Fixes #8331
2025-02-15 10:12:28 +05:30
Kovid Goyal
f5a7d91603
Simplify condition
2025-02-14 21:17:18 +05:30
Kovid Goyal
61edc2aef7
Dont treat multicells containing narrow emoji as having emoji presentation
...
Fixes #8330
2025-02-14 20:37:31 +05:30
Kovid Goyal
5f91fb3792
Update FAQ
2025-02-13 21:33:42 +05:30
Kovid Goyal
aa146e08b7
Update the changelog
2025-02-13 09:11:11 +05:30
Kovid Goyal
3169183403
...
2025-02-13 07:46:31 +05:30
Kovid Goyal
a31aa1fb8d
Merge branch 'fix-historybuf-cmd-output-paging' of https://github.com/rivenirvana/kitty
2025-02-12 21:37:01 +05:30
Arvin Verain
f24701e6e2
fix: Properly find wrapped lines in history buffer
2025-02-12 20:47:37 +08:00
Kovid Goyal
50f64d5981
Only use window occlusion on platforms where it is supported
2025-02-12 12:02:46 +05:30
Kovid Goyal
2cf83070a0
Report ancient xdg-shell versions
2025-02-12 11:31:28 +05:30
Kovid Goyal
d27e4f84b7
notify_on_cmd_finish invisible now uses actual OS Window visibility as reported by the window manager
...
Fixes #8320
2025-02-12 10:30:18 +05:30
Kovid Goyal
4472d91fbb
API to query if OS window is invisible
...
Checks is window is minimized or occluded.
2025-02-12 10:14:55 +05:30
Kovid Goyal
3c2d6f623f
Add max text length per escape code to the text-sizing-protocol
2025-02-12 09:51:52 +05:30
Kovid Goyal
1c00ae80e6
Limit max number of combining chars per cell
2025-02-12 09:03:48 +05:30
Kovid Goyal
e7a40300d1
Fix crash when rendering a cell with a large number of combining chars
...
Caused by kitty now supporting larger number of combining chars per
cell. Fixes #8318
2025-02-12 08:23:46 +05:30
Kovid Goyal
fb54f1527f
Update type signatures generated by gen/config.py
2025-02-11 22:22:57 +05:30
Kovid Goyal
c7fb942c4c
Fix a regression in the previous release that broke setting of nullable colors
2025-02-11 22:07:42 +05:30
Kovid Goyal
35d51415f7
...
2025-02-11 13:02:32 +05:30
Kovid Goyal
d61055b51d
Finish up render_decoration() wrapper
2025-02-11 13:02:13 +05:30
Kovid Goyal
f523d154c4
Bump version of imaging
2025-02-11 12:40:24 +05:30
Kovid Goyal
2281a55201
Make CodeQL happy
2025-02-11 11:59:01 +05:30
Kovid Goyal
077116e027
Fix a typo causing corruption of multiline chars split between history buffer and line buffer on resize
2025-02-11 11:55:15 +05:30
Kovid Goyal
47a025752a
Nuke multicell chars at the prompt when rewrpping it to prevent corrupted multicell chars
2025-02-10 20:53:33 +05:30
Kovid Goyal
ce763e0c4b
Cleaner handling of negative y
2025-02-10 17:02:55 +05:30
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