Kovid Goyal
aecf13302a
Fix off-by-one in NRGB
2025-10-09 08:30:20 +05:30
Kovid Goyal
d598157590
Make goroutines in choose_files panic safe
2025-10-09 08:11:47 +05:30
Kovid Goyal
e61e95da3a
...
2025-10-09 08:04:58 +05:30
Kovid Goyal
37bd77f4a8
Bump version of imaging
...
imaging is now panic safe. Also format nested panics a bit better.
2025-10-09 08:00:31 +05:30
Kovid Goyal
f067e9cd92
Make various goroutines panic-safe
2025-10-09 07:17:53 +05:30
Kovid Goyal
49d8b1a9d0
More work on image preview rendering
2025-10-08 22:00:12 +05:30
Kovid Goyal
811b4fa127
Fix #9083
2025-10-08 10:02:51 +05:30
Kovid Goyal
c2e75ba466
Fix disk cache not reading inode
...
Also use a faster atomic update mechanism
2025-10-08 08:35:35 +05:30
Kovid Goyal
16cdcf8cf8
Use inode number and size for more robust entries change tracking
2025-10-08 07:28:02 +05:30
Kovid Goyal
a6335777d9
disk cache: add a path based API
...
This allows maintaining only a single cache entry per path when the
path's contents change.
2025-10-08 06:41:12 +05:30
Kovid Goyal
3d5200e1ce
On second thoughts dont inject PATH as it is already handled by which() and exe_search_paths
2025-10-08 05:26:27 +05:30
Kovid Goyal
67ca9f5b7d
Rename read_from_login_shell -> read_from_shell
2025-10-08 05:21:48 +05:30
Kovid Goyal
6879432704
When using read_from_login_shell inject PATH into os.environ
...
This allows kitty to use that PATH to launch child executables
2025-10-08 05:19:47 +05:30
Kovid Goyal
726c693edf
Avoid reading shell env twice to get editor
...
Its cached, but still...
2025-10-07 22:27:57 +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
fcccadc8f3
Make reading resolved shell env more robust
...
We pass -0 to env so that it works even for env vars that have newlines
in them.
2025-10-07 21:44:01 +05:30
Kovid Goyal
8d0fc86bb6
Update some docs
2025-10-07 20:20:19 +05:30
Kovid Goyal
2babfa7ebf
macOS: Further restrict the live resize callback to only be used when live resize is actually in progress
2025-10-07 18:23:08 +05:30
Kovid Goyal
a76f32df2d
Code to serialize/unserialize loaded images
2025-10-07 17:25:47 +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
9f9216457e
Only showing metadata needs to be in the interface
2025-10-07 14:12:40 +05:30
Kovid Goyal
f0040edff2
More work on image previews
2025-10-07 13:30:28 +05:30
Kovid Goyal
1f37f065ab
Improve API of disk cache
...
Allow getting all keys and also return get result for added keys
2025-10-07 13:01:09 +05:30
Kovid Goyal
4af95b3c51
choose_files: start work on image previews
2025-10-07 11:11:42 +05:30
Kovid Goyal
224ccb170a
Micro optimisation
2025-10-07 09:23:22 +05:30
Kovid Goyal
328745cad9
removing a non-existent item from disk cache is not an error
2025-10-07 09:16:30 +05:30
Kovid Goyal
5d1ce327e0
Ensure adds to disk cache are atomic
2025-10-07 09:14:14 +05:30
Kovid Goyal
e8cfedee07
Log a warning when falling back to 8bit textures
2025-10-07 09:04:46 +05:30
Kovid Goyal
d3c5cb12c4
macOS: Dont do live resizing when window is fullscreen
...
The live resize causes crashes on some Tahoe machines due to macOS bugs.
It is not needed anyway when the window is fullscreen, so ignore it.
2025-10-07 08:57:57 +05:30
Kovid Goyal
25e1b052b8
Merge branch 'fix-unicode-input' of https://github.com/alex-huff/kitty
2025-10-07 08:05:16 +05:30
alex-huff
86698e0b17
unicode-input: fix race condition causing incorrect results
2025-10-06 19:14:06 -05:00
Kovid Goyal
77074d627d
...
2025-10-06 21:36:36 +05:30
Kovid Goyal
e9fc486473
Fix #9075
2025-10-06 21:04:30 +05:30
Kovid Goyal
a0699f5c9e
Remove the dropping of the first resize event since it did not fix the issue
...
Add a check to only callback if the thread is the main thread
2025-10-06 18:39:53 +05:30
Kovid Goyal
88ec2d9793
Add a more visible note that the payloads for remote control commands are documented in the protocol docs
2025-10-06 10:42:11 +05:30
Kovid Goyal
5af47b4881
...
2025-10-06 10:37:51 +05:30
Kovid Goyal
8d855a7eb4
Remove the docs on using kitty config infrastructure in custom kittens
...
That config infrastructure isnt really maintained anymore since
builtin kittens have now been almost all ported to Go. So in future
people should just use any of python's stdlib config modules such as
tomllib to store and retrieve their kitten configs.
2025-10-06 10:19:27 +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
fdf2c0725c
Help the dispatcher
2025-10-05 22:18:53 +05:30
Kovid Goyal
da39257020
Use the fact that GLSL supports multiple dispatch based on argument types
2025-10-05 22:14:01 +05:30
Kovid Goyal
e21d2f5191
Bump bundled OpenSSL for CVE
2025-10-05 21:59:02 +05:30
Kovid Goyal
aa814748a1
Use uints for partial workaround for #9072
2025-10-05 21:56:22 +05:30
Kovid Goyal
4545aab5f6
Link directly to diff/main.py in the docs to avoid confusion with Go code
2025-10-05 21:34:07 +05:30
Kovid Goyal
9192f35132
Fix #9070
2025-10-04 08:45:45 +05:30
Kovid Goyal
270c598f2c
macOS: Only live resize for resize events that occur in quick succession
...
Apparently on some systems Tahoe sends a resize event on wake from
sleep/lid open for obscure reasons and then proceeds to crash if one
redraws during that event. Sigh.
2025-10-02 19:39:13 +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
80a617a9ec
...
2025-10-02 10:06:07 +05:30