Commit graph

18894 commits

Author SHA1 Message Date
Kovid Goyal
af0c6b9efb
micro optimisation 2026-08-07 17:16:18 +05:30
Kovid Goyal
795cc90d78
Auto hide spotlight when mouse pointer is hidden 2026-08-07 17:11:45 +05:30
Kovid Goyal
bd4165be60
More custom shaders 2026-08-07 16:41:41 +05:30
Kovid Goyal
192c1042da
Fireworks custom shaders 2026-08-07 16:26:31 +05:30
Kovid Goyal
19e386e9fd
Make constants all caps 2026-08-07 16:08:44 +05:30
Kovid Goyal
0bad7464cb
... 2026-08-07 15:59:56 +05:30
Kovid Goyal
b55e539dc3
Add spotlight custom shader 2026-08-07 15:56:04 +05:30
Kovid Goyal
b80acf8fe9
Add mouse control to shader 2026-08-07 15:37:53 +05:30
Kovid Goyal
faf56836d7
... 2026-08-07 15:06:56 +05:30
Kovid Goyal
0e964d2c5a
Make mouse position available as a uniform 2026-08-07 15:04:34 +05:30
Kovid Goyal
d773dcc81b
prevent user activity from restarting stopped shader when both are present in animation conditions 2026-08-07 12:14:22 +05:30
Kovid Goyal
d0ebd8d6ea
Nicer shader anim events logging 2026-08-07 12:03:22 +05:30
Kovid Goyal
b250667df5
Avoid traceback during shutdown 2026-08-07 12:02:00 +05:30
Kovid Goyal
2fb3bc13e4
Reduce debug rendering noise 2026-08-07 11:43:29 +05:30
Kovid Goyal
4e99889a4f
... 2026-08-07 11:40:14 +05:30
Kovid Goyal
563eb0d27b
stop matrix custom shader on user idle 2026-08-07 11:32:12 +05:30
Kovid Goyal
ba68f587e1
Add user activity events 2026-08-07 11:28:57 +05:30
Kovid Goyal
8cc31ee185
More joy for CodeQL 2026-08-07 10:47:01 +05:30
Kovid Goyal
5b32ba846f
... 2026-08-07 10:43:13 +05:30
Kovid Goyal
918b89bba7
Make CodeQL happy 2026-08-07 10:22:07 +05:30
Kovid Goyal
cccee2eb09
fix animation life cycle with os window focus in event 2026-08-07 10:15:18 +05:30
Kovid Goyal
a01a65b6bf
... 2026-08-07 10:00:53 +05:30
Kovid Goyal
8f02d80199
Initial port of inside the matrix custom shader 2026-08-07 09:51:16 +05:30
Kovid Goyal
a2efe2e072
... 2026-08-07 09:26:06 +05:30
Kovid Goyal
982d8f548e
add debug-rendering logging for custom shaders 2026-08-06 22:30:11 +05:30
Kovid Goyal
45b5b859d5
default animation duration is cursor_blink_interval 2026-08-06 22:20:11 +05:30
Kovid Goyal
88e18a985d
Dont calculate animation easing values multiple times for indentical easing curves 2026-08-06 21:37:46 +05:30
Kovid Goyal
89dbb25b5f
Pass animation easing curve value to shaders in uniform 2026-08-06 20:18:31 +05:30
Kovid Goyal
2c8767b4e3
wire up custom shader animation events 2026-08-06 20:00:41 +05:30
Kovid Goyal
39feb5d3eb
Script to autoformat all files 2026-08-06 14:58:15 +05:30
Kovid Goyal
21772e43cd
start work on animation framework for custom shaders 2026-08-06 13:22:24 +05:30
Kovid Goyal
6a89fea569
Fix signing of slangc in macOS build 2026-08-06 09:58:56 +05:30
Kovid Goyal
7a436920de
Clean up previous PR 2026-08-06 08:18:25 +05:30
Kovid Goyal
8623b721e6
Merge branch 'add-elio-integration' of https://github.com/MiguelRegueiro/kitty 2026-08-06 08:16:45 +05:30
MiguelRegueiro
f7280f458c Add elio to graphics and DnD support lists 2026-08-05 20:12:23 +02:00
MiguelRegueiro
b6a9f7e9b4 Add elio to integrations 2026-08-05 19:39:10 +02:00
Kovid Goyal
cb4cefee5a
misc layout code robustness fixes 2026-08-05 21:04:30 +05:30
Kovid Goyal
3d02563153
Update changelog 2026-08-05 20:35:57 +05:30
Kovid Goyal
3cb7bfe594
Merge branch 'fix-session-inactive-layout-state' of https://github.com/chancez/kitty 2026-08-05 20:32:37 +05:30
Chance Zibolski
1b81045008 Save the layout state of every layout a tab has used to sessions
save_as_session recorded only the state of the tab's active layout, so the state
of any layout the tab had been toggled away from was lost. Toggling a splits tab
to the stack layout and saving discarded the splits tree entirely, because Stack
has no layout_state() of its own, and switching back to splits after restoring
rebuilt the tree from scratch along the default axis.

The session file also carried no last_used_layout, so _last_used_layout was None
after a restore and toggle_layout <current layout> silently did nothing, since it
delegates to last_used_layout() which returns early when unset. The key that
produced the stack layout no longer undid it.

Tab now keeps the layouts it has used, by name, and writes their state plus
last_used_layout into the existing set_layout_state JSON rather than adding new
session commands. Older versions of kitty ignore unknown keys in that dict but
abort on unknown commands, so nesting keeps session files readable by them.

Restoring the state of a layout that is not being made current must not reorder
the window list, since only the current layout determines window order, hence
apply_to_window_list. Splits.set_layout_state also has to accept state for a
layout whose tree is still empty, which is the case for a layout that has not
laid out any windows yet.

Fixes #10320
2026-08-05 07:53:47 -07:00
Kovid Goyal
51b0993b5c
Try newer clang-format installed via pip 2026-08-05 20:15:07 +05:30
Kovid Goyal
0268bc3bce
Use newer ubuntu version in CI for newer clang-format 2026-08-05 20:07:55 +05:30
Kovid Goyal
28467b4000
... 2026-08-05 20:01:16 +05:30
Kovid Goyal
96a9fce149
Enforce formatting of C code in CI 2026-08-05 19:53:04 +05:30
Kovid Goyal
2af2d313de
autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
Kovid Goyal
ffd09aad91
More C autoformat 2026-08-05 19:29:02 +05:30
Kovid Goyal
bcf5ffe73f
Ensforce Python formatting in CI 2026-08-05 19:25:27 +05:30
Kovid Goyal
f8829f44b7
... 2026-08-05 19:18:47 +05:30
Kovid Goyal
4c6467814b
autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
Kovid Goyal
f2c367301b
Ignore some more generated files 2026-08-05 19:03:39 +05:30