Commit Graph

1628 Commits

Author SHA1 Message Date
Kovid Goyal
75f5908009 Allow jumping to the nth previous active tab via goto_tab
This matches the docs for the goto_tab action and there is no reason not
to have this. For backwards compat 0 and -1 both go to the first previously
active tab as before. However -2 goes to the second previously active
tab, -3 to the third and so on.
2024-08-26 12:09:54 +05:30
Kovid Goyal
0d57253300 ... 2024-08-24 17:18:05 +05:30
Kovid Goyal
611d8baf28 Linux: Fix a regression in 0.36.0 that caused font features defined via fontconfig to be ignored
Fixes #7773
2024-08-24 17:17:37 +05:30
Kovid Goyal
95245ee473 version 0.36.1 2024-08-24 06:22:42 +05:30
Kovid Goyal
808c68dd0b ... 2024-08-23 15:44:33 +05:30
Kovid Goyal
036241fc6c macOS: Fix a regression in the previous release that caused --single-instance to not work when using macos-launch-services-cmdline 2024-08-23 15:27:26 +05:30
Kovid Goyal
d75d372da0 Reset base64 streaming decoder after invalid input
Fixes #7757
2024-08-20 17:37:25 +05:30
Kovid Goyal
2ac26b0e6d Fix #7752 2024-08-20 17:27:13 +05:30
Kovid Goyal
0084f93e1b MacOS Intel: Fix a crash in the choose-fonts kitten when displaying previews of variable fonts
Looks like a bug in Py_BuildValue for s# values on that platform. Workaround by
constructing the string directly and passing to to Py_BuildValue.

Fixes #7734
2024-08-18 17:22:12 +05:30
Kovid Goyal
554a2b1811 Allow unfocused cursor shape to remain unchanged
Fixes #7728
2024-08-17 15:49:55 +05:30
Kovid Goyal
96b0912400 version 0.36.0 2024-08-17 10:05:06 +05:30
Kovid Goyal
bb090ccc72 Fix a regression in notify_on_cmd_finish that caused notifications to appear for every command after the first
Fixes #7725
2024-08-16 20:47:52 +05:30
Kovid Goyal
81061a8d43 macOS: Bump the minimum required macOS version to Catalina released five years ago.
Catalina is actually already EOL as of July 2022 but we dont need
anything from newer releases that isn't detected at runtime. Going to
Catalina allows us to use a better format for the generated DMG (UMNO
instead of ULFO which compresses better).
2024-08-13 09:03:38 +05:30
Kovid Goyal
2bff4af9bf When shell is set to . respect the SHELL environment variable in the environment in which kitty is launched
Fixes #7714
2024-08-11 21:56:44 +05:30
Kovid Goyal
d7902f6b24 Wayland GNOME: Fix a small rendering artifact when docking a window at a screen edge or maximizing it
For some reason destroying the shadow surfaces causes mutter to render one of them at its old relative position. So workaround by not destroying the surfaces, modern mutter anyway seems to hide them when the window is docked.

Fixes #7701
2024-08-07 13:34:10 +05:30
Kovid Goyal
62bd6c88e9 Wayland GNOME: Fix the font size in the OS Window title bar changing with the size of the text in the window 2024-08-01 12:37:04 +05:30
Kovid Goyal
35d23e817c typo in docs 2024-08-01 11:33:09 +05:30
Kovid Goyal
bc0eed88d1 Add docs for the notify kitten 2024-08-01 07:21:48 +05:30
Kovid Goyal
aeeabed23c Add buttons to the notifications spec 2024-08-01 06:58:32 +05:30
Kovid Goyal
1944ac9c13 Update changelog 2024-07-31 20:46:58 +05:30
Kovid Goyal
b015a1fe8c Desktop notifications spec: Add support for icons
Fixes #7657
2024-07-31 08:49:19 +05:30
Kovid Goyal
7cb35ad8e4 Update changelog 2024-07-31 07:35:57 +05:30
Kovid Goyal
de21e5e488 Implement filtering of desktop notifications
Fixes #7670
2024-07-28 08:41:24 +05:30
Kovid Goyal
ea112a6592 Start work on adding icon support to desktop notifications 2024-07-26 22:46:21 +05:30
Kovid Goyal
bb3aecd2a5 kitten run-shell: Automatically add the directory containing the kitten binary to PATH if needed
Controlled via the --inject-self-onto-path option
2024-07-26 22:29:05 +05:30
Kovid Goyal
db6f62a749 Desktop notifications protocol: Add support for closing previous notifications
Feel free to comment if you have concerns. Not yet implemented in kitty.
Fixes #7659
2024-07-23 21:42:00 +05:30
Kovid Goyal
e14894888c Desktop notifications protocol: Add support for querying if the terminal emulator supports the protocol
Fixes #7658
2024-07-23 20:16:25 +05:30
Kovid Goyal
e4433eefc7 Also allow using other image formats for window_logo_path 2024-07-23 15:29:19 +05:30
Kovid Goyal
b6ca501111 Document the new color control protocol 2024-07-22 13:24:25 +05:30
Kovid Goyal
0cf9a79760 A new option second_transparent_bg
Makes a second background color semi-transparent via background_opacity.
Useful for things like cursor line highlight in editors.

Fixes #7646
2024-07-21 20:22:31 +05:30
Kovid Goyal
681048f1ca launch command: A new --bias option to adjust the size of newly created windows declaratively
Still need to implement it for the Grid layout.
Fixes #7634
2024-07-20 12:37:18 +05:30
Kovid Goyal
681a2b7b28 Sessions: A new command focus_matching_window to shift focus to a specific window, useful when creating complex layouts with splits 2024-07-19 14:54:44 +05:30
Kovid Goyal
43769bc3e0 Allow controlling the easing curves used for the visual bell 2024-07-19 11:35:00 +05:30
Kovid Goyal
3ff7eb68f8 Document how to animate the cursor blinking 2024-07-19 09:09:13 +05:30
Kovid Goyal
06b5eff6e6 Add support for in-band window resize notifications
Fixes #7642
2024-07-18 20:32:33 +05:30
Kovid Goyal
e0a7d25dda Splits layout: Fix the move_to_screen_edge action breaking when only a single window is present
Fixes #7621
2024-07-12 12:13:31 +05:30
Kovid Goyal
ee7afeea5a Remove workaround for kwin sending out of order events press/focus events on Wayland as it is not needed with up-to-date kwin and causes issues with multiple OS windows.
The code wasnt correct anyway as active_draw_in_window was a window id
and it was being compared to an OS window id.

Fixes #7381
2024-07-09 08:02:10 +05:30
Kovid Goyal
f8beaa0a4b Dispatch any clicks waiting for click_interval on key events
Fixes #7601
2024-07-07 20:17:22 +05:30
Kovid Goyal
3d77950b45 Update changelog 2024-07-02 19:16:05 +05:30
Kovid Goyal
98c85d2923 Use builtin NERD fonts
Prevents users from having to install their own NERD font. System fonts
are still used preferentially on Linux but on macOS the builtin one is
used preferentially. Cant find any CoreText API to change this.

Still has to be implemented on macOS. And need to add code to the build
system to bundle the font when building.
2024-07-02 10:28:07 +05:30
Kovid Goyal
314da124f3 macOS 15: Handle Fn modifier when detecting global shortcuts
Fixes #7582
2024-07-01 09:54:01 +05:30
Kovid Goyal
78d1275601 macOS: Fix rendering of the unicode hyphen (U+2010) character when using a font that does not include a glyph for it
The problem was caused by CoreText falling back to the glyph for the
ASCII hyphen U+00AD when the font does not contain a glyph for U+2010.
However, HarfBuzz does not do this automatic fallback (see
https://github.com/harfbuzz/harfbuzz/issues/517). This leads to the
character not being rendered.

To fix this we specialize HarfBuzz glyph lookup for this character
to follow CoreText. HarfBuzz should really do this automatically when
the hb_font is based on a CTFontRef, but I dont have the time/energy to
argue with its maintainers. Note that HarfBuzz already does this
automatic fallback for U+2011.

Hopefully, there aren't many more such special cases in CoreText.

Fixes #7525
2024-06-29 14:22:04 +05:30
Kovid Goyal
ab296b1551 ... 2024-06-29 11:08:23 +05:30
Kovid Goyal
107cd957d3 Update changelog 2024-06-25 13:16:05 +05:30
Kovid Goyal
5bb8378dc1 icat: Add an option to leave the cursor to the right of the image
Fixes #7574
2024-06-25 13:06:46 +05:30
Kovid Goyal
190566be8e Wayland: Fix specifying the output name for the panel kitten not working
Fixes #7573
2024-06-25 12:53:37 +05:30
Kovid Goyal
b34bd8dc93 Update change log with variable font support 2024-06-24 10:06:43 +05:30
Kovid Goyal
3fd51e4ebb Cleanup previous PR 2024-06-23 19:27:11 +05:30
Kovid Goyal
ad328bfeaa version 0.35.2 2024-06-22 09:04:46 +05:30
Kovid Goyal
1a38b60463 URL detection: Fix IPv6 hostnames breaking URL detection
Fixes #7565
2024-06-21 05:53:21 +05:30