Commit Graph

13836 Commits

Author SHA1 Message Date
Kovid Goyal
9b14946176 Add image_preview.nvim to the integrations docs 2024-04-25 07:39:22 +05:30
Kovid Goyal
82ab44826c Graphics: Fix aspect ratio of images not being preserved when only a single dimension of the destination rectangle is specified
Fixes #7380
2024-04-24 12:28:35 +05:30
Kovid Goyal
8c7994c0ac Dont call wl_egl_window_resize on every swap 2024-04-24 10:04:06 +05:30
Kovid Goyal
8e59b598e0 Improve logging slightly 2024-04-24 09:38:59 +05:30
Kovid Goyal
72272ab4fe Remove need for context switching
Call wl_egl_window_resize just buffer swapping buffers at which point
the context is already correct.

Also might workaround bugs in the NVIDIA driver: https://github.com/NVIDIA/egl-wayland/issues/52
2024-04-24 09:27:02 +05:30
Kovid Goyal
b7e22a357f ... 2024-04-24 08:57:49 +05:30
Kovid Goyal
d89e68f5e9 Output OpenGL version in debug config 2024-04-24 08:55:56 +05:30
Kovid Goyal
0f00b0cfb6 Use RAII for context management 2024-04-24 08:21:27 +05:30
Kovid Goyal
37864961d7 Add shell integration to the list of things tmux breaks 2024-04-22 22:28:14 +05:30
Kovid Goyal
9755d0d879 Wayland: Ensure context is correct when calling wl_egl_window_resize
Fixes #7373 (I hope)
2024-04-22 18:07:34 +05:30
Kovid Goyal
fbefd8600f output window id is debug logs useful for debugging issues with multiple os windows 2024-04-22 14:04:26 +05:30
Kovid Goyal
4cb74fac2e ... 2024-04-22 09:22:07 +05:30
Kovid Goyal
2cd8322bdc Highlight some key phrases 2024-04-21 20:04:14 +05:30
Kovid Goyal
abfd51ad0d Fix #7376 2024-04-21 19:57:48 +05:30
Kovid Goyal
ef9d279305 paste_actions: Fix replace-newline not working with confirm
Fixes #7374
2024-04-21 09:10:18 +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
8d1b0e54af Use double for wayland float calculation 2024-04-19 22:23:01 +05:30
Kovid Goyal
5055c0d98d Merge branch 'master' of https://github.com/goodactive/kitty 2024-04-19 17:05:27 +05:30
goodactive
6ae24a8c8d chore: remove repetitive words
Signed-off-by: goodactive <goodactive@qq.com>
2024-04-19 18:29:06 +08:00
Kovid Goyal
7f61f1f9f3 version 0.34.1 v0.34.1 2024-04-19 11:05:41 +05:30
Kovid Goyal
bb3b5df99a better field name 2024-04-18 22:46:20 +05:30
Kovid Goyal
ab26d2204f Update changelog 2024-04-18 22:36:07 +05:30
Kovid Goyal
2e2caa167a Better fix for #7263
Don't blank the upper 16 bits when copying index from freetype face
2024-04-18 22:36:00 +05:30
Kovid Goyal
4ba6d02ab6 Revert "Workaround for fontconfig returning junk in all but the lowest eight bits for FC_INDEX"
This reverts commit d2c21ee297.

Apparently fontconfig overloads the top 16 bits as "instance index"
which is some kind of index for variable fonts? Who knows. fontconfig is
a natural disaster.

Fixes #7361
2024-04-18 22:06:57 +05:30
Kovid Goyal
b9dc48b798 ... 2024-04-18 11:50:30 +05:30
Kovid Goyal
37f842d06a Merge branch 'build-docs-typo-fix' of https://github.com/timstapl/kitty 2024-04-17 20:28:19 +05:30
Tim Stapleton
2cdabdfebd fix typo in dependency name 2024-04-17 09:51:31 -05:00
Kovid Goyal
63ffa2606c Give the close X a distressed look 2024-04-17 11:05:05 +05:30
Kovid Goyal
f66ee68834 Wayland GNOME: Draw the titlebar buttons without using a font
Fixes #7349
2024-04-17 10:39:30 +05:30
Kovid Goyal
494892c7e4 Dont create the region unless actually needed 2024-04-16 18:16:28 +05:30
Kovid Goyal
6c1a83ffd7 Wayland KDE: Fix window background blur not adapting when window is grown. Also fix turning it on and off not working.
Fixes #7351
2024-04-16 18:11:26 +05:30
Kovid Goyal
e531791f79 Code to get peer pid on a few more platforms 2024-04-15 19:14:29 +05:30
Kovid Goyal
5b587060a4 Fix #7346 2024-04-15 16:07:38 +05:30
Kovid Goyal
4ad8d30751 Prevent a crash when user uses notifications in a kitty process run via a binary from outside a bundle 2024-04-15 11:59:25 +05:30
Kovid Goyal
2b671100d9 version 0.34.0 v0.34.0 2024-04-15 06:54:21 +05:30
Kovid Goyal
ed6ab27a67 Fix #7342 2024-04-14 07:35:05 +05:30
Kovid Goyal
e7fb4376c0 ... 2024-04-12 15:26:29 +05:30
Kovid Goyal
684d28d328 Fix flickering of prompt during window resize
Works by keeping the old prompt unreflowed rather than clearing it.
There may still be some flicker for people using long or right side
prompts, but that cant be avoided, since we cannot know how the shell
will redraw after the resize. But in the common case of a left side
smallish prompt that fits in the resized window, the flicker is
eliminated.

It means we have to do some more copying work on resize, but the nicer
visuals is worth it, IMO.
2024-04-12 15:16:34 +05:30
Kovid Goyal
a5b0db3219 Add a note about the remote_control scroll-window action to the docs for the default scroll actions 2024-04-12 15:09:25 +05:30
Kovid Goyal
cf0a5fb607 Expose pause_rendering to Python 2024-04-12 11:39:24 +05:30
Kovid Goyal
e0374ee623 Avoid pointlessly querying window pos on Wayland 2024-04-12 11:31:04 +05:30
Kovid Goyal
655494f37b Exclude tests from pylsp type checking 2024-04-12 08:52:23 +05:30
Kovid Goyal
353a56dbbf Wayland: Fix initial font size wrong when using fractional scales
We have to check for window scale after window is shown as Wayland has
this crazy design where the compositor only sets fractional scale after
the window is shown. Which means kitty has to do useless work
calculating font metrics twice. Sigh.
2024-04-12 08:29:53 +05:30
Kovid Goyal
1c8fd0ccc4 When asking for quit confirmation because of a running program, mention the program name
Fixes #7331
2024-04-11 14:55:16 +05:30
Kovid Goyal
1c3d3ad9be Fix report_device_attributes 2024-04-10 08:24:39 +05:30
Kovid Goyal
e66b8a47d4 Add support for screen_erase_characters ECH 2024-04-10 08:04:56 +05:30
Kovid Goyal
e57692e4f5 Possibly fix #7327 2024-04-09 21:19:25 +05:30
Kovid Goyal
437fc0d8c2 Revert renaming of kitty.dekstop to kitty-terminal.desktop
Changing the default value for application id/WM_CLASS is a no go, since
existing scripts can depend on it and I try to avoid breaking people's
workflows wherever possible. Guess xdg-mime will just have to live with
the horror of an unhyphenated file name.

Fixes #7326
2024-04-09 12:47:14 +05:30
Kovid Goyal
3d98b33076 ... 2024-04-09 08:39:42 +05:30
Kovid Goyal
a444b5eccb Only use raw monotonic time on Linux and macOS 2024-04-09 08:21:20 +05:30