Commit Graph

1824 Commits

Author SHA1 Message Date
Kovid Goyal
f06f85a9e0 Cleanup previous PR 2025-10-15 09:12:32 +05:30
Kovid Goyal
7c237dcb02 macOS: Fix progress bar on dock icon doubling speed with every indeterminate progress state without an intervening clear
Fixes #9114
2025-10-14 22:28:31 +05:30
Kovid Goyal
3ba6c3f4b9 macOS: Handle dropping of file promises into kitty in addition to file paths
Fixes #9084
2025-10-11 11:02:51 +05:30
Kovid Goyal
c397fc4301 Fix continuous redraw when disable_ligatures set to cursor and tab bar visible
Fixes #9071
2025-10-11 10:14:36 +05:30
Kovid Goyal
6d66c87077 Cleanup previous PR
Fixes #9091
2025-10-11 09:16:35 +05:30
Kovid Goyal
a2604f6958 Fix animated images sometimes not auto playing or auto playing at the wrong start frame if the same image id is used for a subsequent image 2025-10-09 21:42:37 +05:30
Kovid Goyal
a9f80fe05b Allow easily injecting env vars from the login shell config into the env in which kitty runs child processes
Fixes #9042
2025-10-07 22:23:31 +05:30
Kovid Goyal
8f91fcefbe Update changelog 2025-10-07 14:38:58 +05:30
Kovid Goyal
fa808c3b10 Fix tab bar sometimes showing incorrect tabs when it is filtered to show only tabs from the current session
Fixes #9079
2025-10-07 14:35:13 +05:30
Kovid Goyal
e46a75ca57 Fix rendering broken on ancient GPU drivers that dont support rendering to 16 bit textures
Fixes #9068
2025-10-06 08:54:53 +05:30
Kovid Goyal
2665a871c0 Fix a regression in the previous release that broke goto_session -1 2025-10-02 18:52:31 +05:30
Kovid Goyal
ccdc50007e Fix a regression in 0.43.0 that caused a black flicker when closing a tab in the presence of a background image
Fixes #9060
2025-10-02 14:48:37 +05:30
Kovid Goyal
9740861ec5 Splits layout: Fix corrupted layout in some circs
Basically one function was adding a window id instead of a group id
to the pairs. Fixes #9059
2025-10-02 10:43:36 +05:30
Kovid Goyal
7f24dd68c9 version 0.43.1 2025-10-01 08:21:20 +05:30
Kovid Goyal
460d10902f Cleanup previous PR
The overrides were not being passed to the askpass kitten.
And we dont need to support backward compatibility for secrets with no
backend, since this feature has never been released.
2025-09-30 20:38:44 +05:30
Kovid Goyal
a11bc34a44 Update changelog 2025-09-30 16:59:28 +05:30
Kovid Goyal
4122f029df ... 2025-09-30 08:46:11 +05:30
Kovid Goyal
b92246448d Fix a regression in the previous release that caused the cursor trail to not be hidden properly
In refactoring the trail shader, I guess I forgot to premultiply the
output color.

Fixes #9039
2025-09-29 20:35:12 +05:30
Kovid Goyal
13e3ecad5c Session files: Fix a regression in the previous release that broke matching on windows in the current tab
Fixes #9037
2025-09-29 19:44:01 +05:30
Kovid Goyal
d2cc22e7c6 macOS: React to changes in effective appearance of the NSApplication not the content view for each window
This is nicer now every OS Windows doesnt cause a notification. Also
fixes #9034 which was caused by us setting an explicit appearance on the
window when the titlebar is set to a specific color thereby preventing
the views in the window from getting appearance change notifications.
2025-09-29 17:17:46 +05:30
Kovid Goyal
7a71db8830 ... 2025-09-29 13:08:49 +05:30
Kovid Goyal
2ceddba923 goto_session: Add --sort-by=alphabetical
Have the interactive session picker list the sessions in a fixed order
rather than by most recent.
2025-09-29 13:03:23 +05:30
Kovid Goyal
fb4a3d7f17 Revert reversion of Tahoe fix in 7589bf4b11
It is still needed. Instead change the frame to havezero size and leaves
its origin unchanged.
2025-09-29 08:58:41 +05:30
Kovid Goyal
16faa1d541 Fix a regression in the previous release that caused the incorrect tab to be active when loading a session
Fixes #9025
2025-09-28 21:46:08 +05:30
Kovid Goyal
cdb6986ce0 ... 2025-09-28 21:27:16 +05:30
Kovid Goyal
e542cd8378 macOS: Fix a big where the color of a transparent titlebar was off when running in the release build versus the build from source. Also fix using a transparent titlebar causing the background opacity to be darkened.
There were two issues.

1) Setting window background color to a non-zero opacity causes
   darkening (essentially there were two layers of blending)

2) The titlebar background view could end up in the wrong position
   because it was a child of the content view rather than its super view

Fix both issues setting the window background to clear color and
moving the background view into the super view while making sure it is
positioned correctly using explicit constraints. Phew.
2025-09-28 21:24:00 +05:30
Kovid Goyal
99a5f6bd5f version 0.43.0 2025-09-28 09:54:43 +05:30
Kovid Goyal
52015bbf13 Update changelog 2025-09-27 10:24:28 +05:30
Kovid Goyal
510c3f2001 ... 2025-09-26 15:27:12 +05:30
Kovid Goyal
4d95af20c2 Make a note about possibly needing to adjust background_opacity 2025-09-24 07:54:04 +05:30
Kovid Goyal
da6f26d229 Improve rendering of rounded rectangles
Uses the standard distance to curve via sampling method of antialiasing
instead of super sampled antialiasing. Need to investigate behavior very
thin lines <= 3 pixels.

Also need to check if we should migrate the other call sites of
draw_parametrized_curve_with_derivate()

Fixes #9000
2025-09-22 22:57:28 +05:30
Kovid Goyal
982b5156e1 macOS: When toggling in the quick access terminal move it to the currently active screen
Fixes #9003
2025-09-22 20:04:42 +05:30
Kovid Goyal
e7514c68ae Fix updating panel configuration on visibility toggle and via remote control not working
Fixes #8984
2025-09-20 05:15:50 +05:30
Kovid Goyal
7af7aa95c6 Another workaround for another macOS Tahoe bug
Dont redraw an OSWindow during a resize event if the resize event is
accompanied by a screen change as it causes a crash in macOS OpenGL
driver. Fixes #8983
2025-09-19 12:05:34 +05:30
Kovid Goyal
55254d9079 ... 2025-09-16 22:43:51 +05:30
Kovid Goyal
3483c615f8 Update changelog 2025-09-14 13:13:17 +05:30
Aleksey Smolenchuk
65a4d89282 Interactive scrollbar implementation 2025-09-08 11:33:15 -07:00
Kovid Goyal
d837a64e36 Workaround for latest Apple regression in Tahoe
Now NSWindow::close no longer actually closes the window. Sigh. Have to
also set its frame to zero size, otherwise an invisible rect remains
that intercepts mouse events and takes up space in Mission Control.

Life is too short for this shit. Fixes #8952
2025-09-05 17:27:46 +05:30
Kovid Goyal
574386f45b Fix rendering of underlines when using larger text sizes with the space and en-space characters
Fixes #8950
2025-09-04 20:44:35 +05:30
Kovid Goyal
315562d73d Cleanup previous PR 2025-09-03 21:46:47 +05:30
Kovid Goyal
1544830307 Allow using a custom python function in tab_title_template
Makes it easier to do complex processing
2025-08-30 09:02:39 +05:30
Kovid Goyal
14741b1b29 Implement rendering of blinking text
Fixes #8551
2025-08-25 13:55:23 +05:30
Kovid Goyal
229413cbe8 ... 2025-08-21 15:50:17 +05:30
Kovid Goyal
d7c2cdccb1 macOS: Fix closing an OS Window when another OS Window is minimized causing the minimized window to be un-minimized
This is a bug we inherited from GLFW.
Fixes #8913
2025-08-18 21:26:54 +05:30
Kovid Goyal
3638adda6c macOS: Elaborate dance to work around yet another Cocoa bug
Fixes #8740
2025-08-18 16:01:51 +05:30
Kovid Goyal
b8b7592b40 ... 2025-08-18 15:07:12 +05:30
Kovid Goyal
6beded7b49 Cleanup previous PR 2025-08-18 14:45:18 +05:30
Kovid Goyal
34ae42cf30 Update changelog 2025-08-17 14:32:38 +05:30
Kovid Goyal
1aeb22c158 Bump version of Wayland bundled with kitty
From 1.23.1 to 1.24.0

The just released mesa 25.2.0 doesn't work with libwayland < 1.24.0.
Sigh. Wayland is basically the world's biggest waste of time.

Fixes #8884
2025-08-16 08:42:50 +05:30
Kovid Goyal
d52f2e7981 Rewrite rendering pipeline
This was needed to fix various corner cases when doing blending of colors
in linear space. The new architecture has the same performance as the
old in the common case of opaque rendering with no UI layers or images.

In the case of only positive z-index images there is a performance
decrease as the OS Window is now rendered to a offscreen texture and
then blitted to screen. However, in the future when we move to Vulkan or
I can figure out how to get Wayland to accept buffers with colors in
linear space, this performance penalty can be removed. The performance
penalty was not significant on my system but this is highly GPU
dependent. Modern GPUs are supposedly optimised for rendering to
offscreen buffers, so we will see. The awrit project might be a good
test case.

Now either we have 1-shot rendering for the case of opaque with only ext
or all the various pieces are rendered in successive draw calls into an
offscreen buffer that is blitted to the output buffer after all drawing
is done.

Fixes #8869
2025-08-11 00:47:02 +05:30