Commit Graph

129 Commits

Author SHA1 Message Date
Kovid Goyal
e41592e3b1 More work on the DnD protocol 2026-04-02 12:03:49 +05:30
Kovid Goyal
4f7855aede More work on the DnD protocol 2026-04-01 12:01:04 +05:30
Kovid Goyal
4798ccd0d2 Fix completion for edit-in-kitty not including some common text file types 2026-03-27 20:07:55 +05:30
Kovid Goyal
bd2a5cccfb More work on dnd protocol 2026-03-21 17:13:19 +05:30
Kovid Goyal
67b706ff71 Make DND code constant available to kittens 2026-03-21 08:41:47 +05:30
Kovid Goyal
b4d57525ea Only base64 encode payload when needed 2026-03-21 08:41:47 +05:30
Kovid Goyal
5ad55ec936 Implement drop data transmission 2026-03-21 08:41:47 +05:30
Kovid Goyal
4f404f8c85 Send dropped message 2026-03-21 08:41:47 +05:30
Kovid Goyal
3a30c47942 Get drop status updates working 2026-03-21 08:41:47 +05:30
Kovid Goyal
b0e57b4dce Send drop move events to child 2026-03-21 08:41:46 +05:30
Kovid Goyal
5a8132d241 Start and stop accepting drops 2026-03-21 08:41:46 +05:30
Kovid Goyal
2898324047 Start work on DnD protocol 2026-03-21 08:41:46 +05:30
vishalpatil-45
7c8cd2cd1e Fix: Increase sRGB LUT precision to 8 decimal places for more accurate color rendering 2026-02-17 02:22:20 +05:30
Kovid Goyal
573bfb688a Move parsing of colors fully into C
Uses a perfect hash function for color name lookup
2025-12-31 14:21:45 +05:30
Kovid Goyal
6c81547e24 Output the set of special colors separately 2025-11-08 00:55:10 +05:30
Kovid Goyal
aa7d38d5b1 Cleanup some code 2025-11-08 00:51:15 +05:30
Kovid Goyal
9a4b52f8b9 diff kitten: Fix wheel_scroll_multiplier not being respected
Fixes #9054
2025-10-01 17:07:47 +05:30
Kovid Goyal
d8b524c692 Cache parsing of command line specifications
Change option specification from dict to tuple for better performance
and immutability and better type checking.
2025-09-29 12:31:10 +05:30
Kovid Goyal
80260e6eb1 Move back to individual settings for scrollbar
We need to split out the color settings so that they can be set in
themes anyway, so ...
2025-09-14 17:48:59 +05:30
Kovid Goyal
12c1b0cbdf remove leftover debug prints 2025-07-20 21:45:36 +05:30
Kovid Goyal
d5534b6238 Add conf file for desktop-ui kitten 2025-07-01 13:26:39 +05:30
Kovid Goyal
6b07ad7ba4 When scores match tie break with length 2025-06-24 21:17:02 +05:30
Kovid Goyal
9de6bfbbd7 More work on choose files kitten 2025-06-19 11:43:12 +05:30
Kovid Goyal
fe9b9d1d33 py3.10 compat 2025-06-18 17:39:26 +05:30
Kovid Goyal
ad03fa94b2 Update the list of nerd font names when updating other unicode data as well
No longer need to store the list of names in our source code
2025-05-21 13:19:27 +05:30
Kovid Goyal
c861259e3b Rename go module from kitty -> github.com/kovidgoyal/kitty
Makes the code more easily re-useable in other projects
2025-05-16 08:43:39 +05:30
Kovid Goyal
b950cb85ce ... 2025-04-29 09:39:05 +05:30
Kovid Goyal
24aa1f171c Make AsCommandLine() more parsimonious 2025-04-29 09:37:36 +05:30
Kovid Goyal
cd75baccf2 Remove unused code 2025-04-28 15:37:08 +05:30
Kovid Goyal
27c5b6aac5 Generate option parser in C for kitty CLI 2025-04-28 09:20:10 +05:30
Kovid Goyal
e42d410ee4 Move cli spec parsing code into simple module 2025-04-28 09:20:10 +05:30
Kovid Goyal
3f00dc1c9e Work on improving CLI parsing
Can now set bool values explicitly with =
Handle multi short flag args like -abc
Add unit tests for CLI parsing
Generate go code to serialize CLI options as a cmdline

TODO: Implement setting of bool vals in C and Go parsing code
TODO: Help/rst output should somehow indicate this feature
2025-04-26 09:01:54 +05:30
Kovid Goyal
82e2fe82d6 Add a couple more gseg tests 2025-04-11 13:34:16 +05:30
Kovid Goyal
c03dd673ae Restore fast path for printable ASCII 2025-04-11 09:34:21 +05:30
Kovid Goyal
e976cf67fd Make GraphemeBreakProperty available globally 2025-04-11 09:34:21 +05:30
Kovid Goyal
6712169c0f ... 2025-04-01 17:18:11 +05:30
Kovid Goyal
057dde35a7 Use a two stage lookup table for segmentation
Saves one extra array lookup at no cost in size
2025-04-01 14:25:24 +05:30
Kovid Goyal
557e6547f2 ... 2025-04-01 13:31:20 +05:30
Kovid Goyal
d4d2ae969e Use a branchless check for unicode range 2025-04-01 12:32:17 +05:30
Kovid Goyal
6ecd78d9db Remove bounds checking for unicode table access in Go 2025-04-01 10:41:17 +05:30
Kovid Goyal
de1adeee5e DRYer 2025-03-31 22:01:49 +05:30
Kovid Goyal
66856e7b52 Use a multi-stage lookup table for grapheme segmentation 2025-03-31 21:51:28 +05:30
Kovid Goyal
163b3de85b Also forgot to add non-characters to invalid class 2025-03-30 10:44:26 +05:30
Kovid Goyal
a5a25fbd8c Fix missed out some codepoints when porting is_non_rendered to unicode lookup table
Fixes #8495
2025-03-30 10:40:19 +05:30
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
01cdfcd002 Work on table based lookup for grapheme segmentation 2025-03-28 15:06:48 +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