Commit Graph

1482 Commits

Author SHA1 Message Date
Kovid Goyal
880078cab8 Get rendering of faces panel working 2024-06-22 11:16:39 +05:30
Kovid Goyal
88058c9075 Work on faces panel 2024-06-22 11:16:39 +05:30
Kovid Goyal
ecdea9d4d3 Start work on faces panel 2024-06-22 11:16:39 +05:30
Kovid Goyal
5ace209024 ... 2024-06-22 11:16:39 +05:30
Kovid Goyal
71bbf4ecb9 Fix graphics being freed instead of deleted in draw_screen() 2024-06-22 11:16:39 +05:30
Kovid Goyal
1590462038 Get preview to basically display 2024-06-22 11:16:39 +05:30
Kovid Goyal
1735404a05 Move listing code into its own file 2024-06-22 11:16:39 +05:30
Kovid Goyal
3c18d20d1b Code to get specs from options 2024-06-22 11:16:39 +05:30
Kovid Goyal
804ad62a33 Start work on displaying font sampler images 2024-06-22 11:16:38 +05:30
Kovid Goyal
2c2fbd4445 Implement rendering of sample text 2024-06-22 11:16:38 +05:30
Kovid Goyal
333e94622e Move the query_terminal implementation to Go 2024-06-22 11:16:38 +05:30
Kovid Goyal
41869d88c2 Work on rendering sample text for a font 2024-06-22 11:16:38 +05:30
Kovid Goyal
65b790df40 Also get the current fg/bg colors to render text with 2024-06-22 11:16:38 +05:30
Kovid Goyal
5d74d210ee Query font size and DPI from terminal 2024-06-22 11:16:38 +05:30
Kovid Goyal
431fc98659 Get query terminal working again
Also return current OS Window's font size
2024-06-22 11:16:38 +05:30
Kovid Goyal
21d3759f62 Report when a family has variable fonts 2024-06-22 11:16:38 +05:30
Kovid Goyal
d6016f4246 Get clicking on family names functional 2024-06-22 11:16:37 +05:30
Kovid Goyal
688736c4cf ... 2024-06-22 11:16:37 +05:30
Kovid Goyal
d86da0616e Wire up the backend 2024-06-22 11:16:37 +05:30
Kovid Goyal
926dfd7ba1 Replace list_fonts with choose-fonts kitten 2024-06-22 11:16:37 +05:30
Kovid Goyal
e1b367e1b3 Use stdlib maps/slices 2024-06-22 11:16:37 +05:30
Kovid Goyal
de9d9fd157 Wire up arrow keys for moving in family list 2024-06-22 11:16:36 +05:30
Kovid Goyal
c2e0ecef13 Wire up searching 2024-06-22 11:16:36 +05:30
Kovid Goyal
a6c7744119 ssh kitten: Passthrough when -V is specified
Fixes #7515
2024-06-06 19:52:35 +05:30
Kovid Goyal
f17a5934e2 Fix #7504 2024-06-04 11:02:47 +05:30
Mike Giroux
4aeb32cc4f Trivial "It's"->"Its" fix 2024-05-27 10:44:03 -04:00
Kovid Goyal
5036b9f8a5 Fix failing test in CI 2024-05-22 08:13:59 +05:30
Kovid Goyal
61c5167554 Show stdio output from ssh if getting options fails 2024-05-22 08:05:32 +05:30
Kovid Goyal
512d6bd308 Simplify panel check
We only dont work on macOS. So dont need to check or DISPLAY env vars
since all other display servers are supported.
2024-05-17 19:43:16 +05:30
Harsh Sharma
a00a371b20 Add check for wayland display env for panel kitten
panel kitten previously checked only for DISPLAY env variable,
but a wayland session has WAYLAND_DISPLAY env set.
Due to this wayland sessions without xwayland could not run panel
kitten.
2024-05-17 19:26:43 +05:30
Kovid Goyal
8c1e365eb5 hints kitten: Allow clicking on matched text to select it in addition to typing the hint 2024-05-14 15:22:03 +05:30
Kovid Goyal
4d9b1b81ea Fix #7426 2024-05-13 08:35:17 +05:30
Kovid Goyal
5e125c35d1 hints kitten: Report the pattern used when no matches are found 2024-04-20 05:14:03 +05:30
Kovid Goyal
1317a7c4ac show-key kitten: Show plain text received not associated with a key event 2024-04-05 13:40:41 +05:30
Kovid Goyal
b0d29e7348 Add a note that sway bg covers kitten bg 2024-03-31 12:20:45 +05:30
Kovid Goyal
4b282211de Fix #7276 2024-03-28 18:15:10 +05:30
Kovid Goyal
ede332fecf Use our monotonic everywhere
Gives nicer times relative to process start time than the python stdlib
monotonic
2024-03-26 13:26:18 +05:30
Kovid Goyal
3adf05244d Allow using --debug-rendering with panel kitten 2024-03-25 13:56:35 +05:30
Kovid Goyal
0b6943fb5a ... 2024-03-24 20:48:20 +05:30
Kovid Goyal
333ea519ed Infrastructure to go from panel CLI opts all the way to wayland layer shell implementation 2024-03-24 20:48:20 +05:30
Kovid Goyal
3b74fcb88c switch to a maintained fork of imaging 2024-03-22 10:38:22 +05:30
Kovid Goyal
e11081ac09 Use exiffix rather than imaging to handle EXIF rotation
exiffix works for more formats than just JPEG
2024-03-22 09:35:39 +05:30
Kovid Goyal
0eae7ba21d Remove unused parameter 2024-03-22 09:25:13 +05:30
Kovid Goyal
a3d8be5e2f icat: Nicer error when user specifies invalid screen geometry 2024-03-05 10:49:47 +05:30
Kovid Goyal
c3c99113c7 hints kitten: Use default editor rather than hardcoding vim to open file at specific line
Fixes #7186
2024-03-04 21:49:06 +05:30
Kovid Goyal
05881db492 Remove unused code 2024-02-28 12:15:20 +05:30
Kovid Goyal
b8774327b6 icat kitten: Add a command line argument to override terminal window size detection
Fixes #7165

I had five minutes, so why not.
2024-02-27 23:06:10 +05:30
Kovid Goyal
a5f3142514 hints kitten: The option to set the text color for hints now allows arbitrary colors
Fixes #7150
2024-02-25 10:02:38 +05:30
Kovid Goyal
16d36c46fe Update to using math/rand/v2 2024-02-25 09:57:43 +05:30
Kovid Goyal
7467307200 Add some alignment tests 2024-02-25 09:57:42 +05:30