Commit graph

15419 commits

Author SHA1 Message Date
Kovid Goyal
2eed7b62ab
More work on seg lookup tables 2025-03-29 09:35:44 +05:30
Kovid Goyal
d9d483d2c1
More work on segmentation lookup table 2025-03-29 08:49:52 +05:30
Kovid Goyal
31345cc0b0
Merge branch 'cmd-output-paging-pr-fixup' of https://github.com/rivenirvana/kitty 2025-03-29 05:30:13 +05:30
Kovid Goyal
26747284bb
version 0.41.0 2025-03-29 04:57:55 +05:30
Arvin Verain
6d75f7cff4
test: Add method to easily set last_visited attributes 2025-03-28 22:38:19 +08:00
Arvin Verain
07f30122e6
test: Add more tests for cmd paging edge cases 2025-03-28 22:38:18 +08:00
Arvin Verain
59f134d511
fix: Edge case when paging from a line within output
When OUTPUT_START is already past scrollback and can't be
found upwards, properly handle the first prompt encountered
to capture the correct command output to be paged.
2025-03-28 22:38:16 +08:00
Arvin Verain
80d7da0902
fix: Edge case when paging from a line within prompt
When PROMPT_START is already past scrollback and can't be
found upwards, set the proper values depending on if the
search is over or deferred downwards.
2025-03-28 22:38:08 +08:00
Kovid Goyal
01cdfcd002
Work on table based lookup for grapheme segmentation 2025-03-28 15:06:48 +05:30
Kovid Goyal
56b49c49fb
... 2025-03-28 11:49:47 +05:30
Kovid Goyal
5d43ffe3d9
Add a para on buggy monospaced fonts to the FAQ 2025-03-28 10:40:33 +05:30
Kovid Goyal
f72a8183f9
Merge branch 'danny/added-warp-to-list' of https://github.com/dannyneira/kitty 2025-03-28 07:17:54 +05:30
danny neira
dc759e6a07
updated list of other terminals that support kitty image protocol 2025-03-27 17:16:45 -06:00
Kovid Goyal
f1b90f6ce6
Update changelog 2025-03-27 11:29:01 +05:30
Kovid Goyal
9e1601a9b5
Nicer way to include grapheme test data in Go tests 2025-03-27 03:20:27 +05:30
Kovid Goyal
e76daa3736
Fix failing go vet in CI 2025-03-27 02:51:26 +05:30
Kovid Goyal
7807e51e65
... 2025-03-26 22:06:17 +05:30
Kovid Goyal
f058c597ae
Dont rely on hard links 2025-03-26 21:59:24 +05:30
Kovid Goyal
305c1a25c5
More robust fetching of grapheme break test data in Go test 2025-03-26 21:56:52 +05:30
Kovid Goyal
2aa2607adc
... 2025-03-25 17:13:54 +05:30
Kovid Goyal
3e50588525
Add a test for PUA recog 2025-03-25 16:52:01 +05:30
Kovid Goyal
fd2bbf57e3
Make unicode category data useable in other modules 2025-03-25 16:35:09 +05:30
Kovid Goyal
294de16898
Use ms table for remaining UCD lookups 2025-03-25 15:41:34 +05:30
Kovid Goyal
aad58cf703
Declare CharProps just once 2025-03-25 14:08:47 +05:30
Kovid Goyal
d429f732e1
DRYer 2025-03-25 13:45:56 +05:30
Kovid Goyal
61ae12e0a9
DRYer 2025-03-25 13:29:11 +05:30
Kovid Goyal
b66a763ddf
Use a 3 stage table for Unicode properties
Halves the data size and reduces source code size by 50x
Shows no significant runtime performance effect.
Allows for easily adding more properties to the table in the future
2025-03-25 13:16:59 +05:30
Kovid Goyal
b8dc31930a
... 2025-03-24 16:15:57 +05:30
Kovid Goyal
26c6b3034f
... 2025-03-24 15:18:41 +05:30
Kovid Goyal
9f7643078c
Use unicode multi-table for remaining hot path lookups
Results in a 15% improvement in the unicode throughput benchmark
2025-03-24 15:04:33 +05:30
Kovid Goyal
2c0bc79be1
Typo causing crash on Waylnd compositors that dont support xdg-toplevel-icon
Fix #8471
2025-03-24 14:23:32 +05:30
Kovid Goyal
3d0e45ace8
Use the new multi-stage unicode table for wcwidth 2025-03-24 14:20:40 +05:30
Kovid Goyal
7697a1650d
Add is_emoji_presentation_base to char props table 2025-03-24 13:55:49 +05:30
Kovid Goyal
f02245af79
Also run gofmt on kittens subdir in CI 2025-03-23 20:26:10 +05:30
Kovid Goyal
c73f5ab8a0
... 2025-03-23 19:37:23 +05:30
Kovid Goyal
16f7380cb0
Implement grapheme segmentation in Go 2025-03-23 19:24:12 +05:30
Kovid Goyal
aa8c32006f
Implement grapheme seg algo in Go 2025-03-22 14:54:58 +05:30
Kovid Goyal
7e780a2294
CharProps data for Go 2025-03-22 13:18:09 +05:30
Kovid Goyal
097c16b895
Nicer bitfield names 2025-03-22 12:39:41 +05:30
Kovid Goyal
4c31cb179e
Make go bitfield generation code re-useable 2025-03-22 12:05:56 +05:30
Kovid Goyal
9663f935fb
... 2025-03-22 11:56:56 +05:30
Kovid Goyal
583a858769
Use a multistage lookup table for grapheme segmentation 2025-03-22 11:50:04 +05:30
Kovid Goyal
272045287a
Fix #8459 2025-03-21 22:20:02 +05:30
Kovid Goyal
f57f3d9909
Fix #8464 2025-03-21 19:55:45 +05:30
Kovid Goyal
8417e42d8b
Fix a regression in the previous release causing a crash when the underline thickness of the font is zero
Fixes #8443
2025-03-21 15:32:25 +05:30
Kovid Goyal
1b0dc5ef3d
Fix #8461 2025-03-21 13:07:40 +05:30
Kovid Goyal
ce5cfdd9ca
kitty +open: Ask for confirmation when running executables
Workaround for badly designed program that try to open links in
untrusted documents that point to executables on the local system.
They should really not be doing that, but, since such programs do exist,
let's be safe by default.

Users that use better designed programs and want to disable the
confirmations can do so by writing their own launch-actions.conf
2025-03-20 14:00:09 +05:30
Kovid Goyal
191ea16cd7
Confirm and run tool 2025-03-20 13:35:12 +05:30
Kovid Goyal
d82edad2be
... 2025-03-20 12:50:51 +05:30
Kovid Goyal
0afa6d5b3d
Fix shebang viewing of short scripts not working 2025-03-20 12:49:28 +05:30