Commit Graph

15394 Commits

Author SHA1 Message Date
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
Kovid Goyal
f3448cbbee ... 2025-03-20 12:31:02 +05:30
Kovid Goyal
4848c63796 Use cast() instead of type: ignore 2025-03-20 11:41:46 +05:30
Kovid Goyal
ca1555d12e Avoid spinning up the python interpreter just for running a shebang 2025-03-20 11:36:59 +05:30
Kovid Goyal
b853f3a986 Show timeout duration in error 2025-03-20 08:50:53 +05:30
Kovid Goyal
ce2a543c43 ... 2025-03-20 08:34:57 +05:30
Kovid Goyal
77de8316d2 Update nerd font symbol ranges for nerd fonts 3 2025-03-19 23:37:56 +05:30
Kovid Goyal
1c18cd9680 Document using gsettings to workaround GNOME's lack of UI to select light themes 2025-03-19 23:22:09 +05:30
Kovid Goyal
f20ad2fcb1 ... 2025-03-19 23:17:33 +05:30
Kovid Goyal
c6db9b0b21 Move text_fg_override code into vertex shader
This should be a ~100x speedup (depending on pixels per cell) for using this code. Note that it also means
that color emoji do not have their colors overridden. This makes sense
since overriding color sin them is not desired anyway and even otherwise
the performance benefits are too large.
2025-03-19 22:27:18 +05:30
Kovid Goyal
5ec653bf86 DRYer 2025-03-19 22:14:56 +05:30
Kovid Goyal
ec156c1380 Add a note about GNOME's stupid behavior 2025-03-19 22:12:45 +05:30
Kovid Goyal
3d02c272ac Fix spurious reload of shaders because of text_fg_override_threshold 2025-03-19 22:04:33 +05:30
Kovid Goyal
1ba47749f4 Use literal type for text_fg_override_threshold 2025-03-19 21:51:54 +05:30
Kovid Goyal
0db9b882fe Cleanup previous PR 2025-03-19 21:25:02 +05:30
Kovid Goyal
80db9b4734 Merge branch 'min-contrast-ratio' of https://github.com/arne314/kitty 2025-03-19 21:02:29 +05:30
Kovid Goyal
402e57ae2d Improve docs formatting 2025-03-19 14:43:34 +05:30
Kovid Goyal
801a1218de Merge branch 'master' of https://github.com/Firepup6500/kitty 2025-03-19 06:59:35 +05:30
Firepup Sixfifty
7814869fc1 Handle the edge case of someone running a development go build 2025-03-18 12:20:30 -05:00
Kovid Goyal
5f8c8a30fc ... 2025-03-18 14:18:09 +05:30
Kovid Goyal
2bab0b7b18 version 0.40.1 v0.40.1 2025-03-18 08:28:18 +05:30
Kovid Goyal
140b6d2cdf We need a per type in flight tracker for OSC 52
Since a single request can now write to multiple destinations
2025-03-18 08:13:35 +05:30
Kovid Goyal
5754fa2260 OSC 52: Fix specifying both clipboard and primary in OSC 52 requests not supported 2025-03-18 08:07:05 +05:30
Kovid Goyal
1696524949 Include json test data in bypy freeze 2025-03-15 23:20:05 +05:30
arne314
99016720c3 perf: branchless min contrast ratio 2025-03-15 13:42:31 +01:00
arne314
e1b454e49e fix: generate config min contrast 2025-03-15 13:35:32 +01:00