Commit Graph

14055 Commits

Author SHA1 Message Date
Kovid Goyal
c2e0ecef13 Wire up searching 2024-06-22 11:16:36 +05:30
Kovid Goyal
6e55949094 Start work on list-fonts kitten 2024-06-22 11:16:36 +05:30
Kovid Goyal
21f824e825 Code to read the STAT OpenType table 2024-06-22 11:16:36 +05:30
Kovid Goyal
086185e409 Needed for typing.NotRequired 2024-06-22 11:16:36 +05:30
Kovid Goyal
e3e7bded06 Refactor font selection code to share more between fontconfig and CoreText 2024-06-22 11:16:36 +05:30
Kovid Goyal
7e232b33be Make CoreText signatures for some font finding methods the same as their equivalents in fontconfig 2024-06-22 11:16:36 +05:30
Kovid Goyal
53be33f14d DRYer 2024-06-22 11:16:36 +05:30
Kovid Goyal
54b50858ec Implement basic support for selecting font variations in fontconfig 2024-06-22 11:16:36 +05:30
Kovid Goyal
46d75ea48f Wire up parsing of font specs 2024-06-22 11:16:34 +05:30
Kovid Goyal
bf73720805 Output resolved fonts in debug config 2024-06-22 11:13:23 +05:30
Kovid Goyal
eb580ed91b Implement parsing of fvar table
Cant rely on CoreText for this as it has incomplete and buggy APIs
2024-06-22 11:13:22 +05:30
Kovid Goyal
7f8ce387be Implement postscript variation name prefix for CoreText as well 2024-06-22 11:13:22 +05:30
Kovid Goyal
8ddd20770b Show the postscript variations name prefix when listing fonts 2024-06-22 11:13:22 +05:30
Kovid Goyal
53ea650c27 Use the full name from CoreText when available 2024-06-22 11:13:22 +05:30
Kovid Goyal
3b84498af9 Prune listings of variable fonts
Show only one entry per style per variable font as identified by path
2024-06-22 11:13:22 +05:30
Kovid Goyal
fa52066156 Ensure fontconfig pattern dict has all keys with default values 2024-06-22 11:13:22 +05:30
Kovid Goyal
e2e33cc11c Cleanup resource management
Also add slant to CTFont descriptor
2024-06-22 11:13:22 +05:30
Kovid Goyal
71a8801a68 Output psname for variation font 2024-06-22 11:13:22 +05:30
Kovid Goyal
e54e17acf8 Get variable font data from CoreText 2024-06-22 11:13:22 +05:30
Kovid Goyal
b57cb95522 Start work on listing variable fonts under macOS 2024-06-22 11:13:22 +05:30
Kovid Goyal
12fd1472f5 Fix building on older FreeType 2024-06-22 11:13:22 +05:30
Kovid Goyal
5a86960acd Add information about variable fonts to list-fonts output 2024-06-22 11:13:22 +05:30
Kovid Goyal
dbbc0ea9d4 Code to get variable data from freetype to python 2024-06-22 11:13:22 +05:30
Kovid Goyal
39f1ff6ead Work on list variable fonts on Linux 2024-06-22 11:13:22 +05:30
Kovid Goyal
2d088889f7 Allow fc-list to return variable fonts 2024-06-22 11:13:22 +05:30
Kovid Goyal
48a0a7fe82 Drop support for 32-bit x86 prebuilt binaries
SIMDe 0.8.2 doesnt build on 32 bit and while that will likely be fixed
eventually, 32bit isn't tested in CI and generally speaking there isn't
much use for this platform anymore. I dont know of any 32-bit computers
in common use these days.

As such the overhead of maintaining these is not worth it for me.
kitty itself remains buildable on 32-bit though no guarantees for how
long that will last. kitten remains available on 32bit.
2024-06-22 11:13:22 +05:30
Kovid Goyal
fbeead1661 bump simde to 0.8.2 2024-06-22 11:13:21 +05:30
Kovid Goyal
ad328bfeaa version 0.35.2 v0.35.2 2024-06-22 09:04:46 +05:30
Kovid Goyal
df229dafa0 Clarify docs that remote_control_script is a convenience wrapper for launch 2024-06-21 06:17:32 +05:30
Kovid Goyal
1a38b60463 URL detection: Fix IPv6 hostnames breaking URL detection
Fixes #7565
2024-06-21 05:53:21 +05:30
Kovid Goyal
b63e523098 ... 2024-06-20 15:50:57 +05:30
Kovid Goyal
2bcb32d611 Fix scrollback_indicator_opacity not actually controlling the opacity
Fixes #7557
2024-06-19 06:03:30 +05:30
Kovid Goyal
fbdc2b44e0 Merge branch 'fn' of https://github.com/pcc/kitty 2024-06-18 14:06:24 +05:30
Peter Collingbourne
be1000669f Prevent Fn key from scrolling to the bottom
When the Fn key is pressed it should not cause us to scroll to the bottom
of the scrollback. This is because Fn may be used to access movement keys
(e.g. on a MacBook keyboard, Fn+Up = Page Up).

Most keyboards do not expose Fn to the operating system as a separate key
event, but there are two known exceptions: Macs running Linux (generates
XF86Fn) and some ThinkPads (generates XF86WakeUp). Ignore both key
events when deciding whether to scroll to the bottom. For consistency,
do the same when deciding whether key events should hide the mouse.
2024-06-17 23:18:57 -07:00
Kovid Goyal
48f053b8cc Fix #7555 2024-06-18 05:59:12 +05:30
Kovid Goyal
4a48e96e81 Merge branch 'fix-gnome44-transparent-title-bar' of https://github.com/adamschmalhofer/kitty 2024-06-17 20:32:35 +05:30
Adam Schmalhofer
8fabc47776 Fix Gnome 44 invisible title bar on Wayland
a.k.a. title bar is completely missing

Fixes: https://github.com/kovidgoyal/kitty/issues/7425
2024-06-17 13:18:48 +02:00
Kovid Goyal
7b477ccca8 clarify some docs further 2024-06-17 09:27:40 +05:30
Kovid Goyal
9be6b9c374 When using --single-instance allow creating sessions with only background processes 2024-06-17 08:01:43 +05:30
Kovid Goyal
499eb3c3c2 ... 2024-06-17 07:39:04 +05:30
Kovid Goyal
2a6870b21f Wayland labwc: Fix kitty timing out waiting for compositor to quit fucking around with scales on labwc
labwc is unique among Wayland compositors in implementing fractional
scale but not preferred integer buffer scale events. We didn't cater to
this particular combination of before. And to top it off it appears to
have no way for the user to set/control the scale so I cant even test
what it will do with fractional scales other than 1. Sigh. As with all
things Wayland, you need to be a masochist to subject yourself to them.

Fixes #7540
2024-06-16 15:01:46 +05:30
Kovid Goyal
57aa591a90 ... 2024-06-16 06:13:54 +05:30
Kovid Goyal
e0998fcbb1 Update changelog 2024-06-16 06:09:01 +05:30
Kovid Goyal
608a497421 forgot to port test to use new API 2024-06-15 16:41:11 +05:30
Kovid Goyal
f4bec5f4ab Remote control: Fix empty password not working
Fixes #7538
2024-06-15 11:15:19 +05:30
Kovid Goyal
68649d78df Cleanup previous PR 2024-06-15 06:12:31 +05:30
Kovid Goyal
5babab18a0 Merge branch 'unfocused_cursor_shape' of https://github.com/n0pl4c3/kitty 2024-06-15 05:59:45 +05:30
Kovid Goyal
6c4cb4c1d6 Fix #7545 2024-06-15 05:40:10 +05:30
n0pl4c3
1968d0b8e0 Implemented option to change cursor shape in unfocused window 2024-06-14 23:02:34 +02:00
Kovid Goyal
6f0366d42f Update changelog and cleanup docs of the window_logo_scale option 2024-06-14 13:49:58 +05:30