Kovid Goyal
dc90771780
Add a small top margin above the image preview
2025-10-09 15:16:17 +05:30
Kovid Goyal
4cdedc422e
Add modified date to image preview
2025-10-09 15:13:45 +05:30
Kovid Goyal
127459012a
Fix incorrect alpha values returned by NRGB color model
2025-10-09 11:39:39 +05:30
Kovid Goyal
298daa4e83
Utility method to save frame as uncompressed PNG
2025-10-09 10:56:33 +05:30
Kovid Goyal
9f2b22c4d6
Forgot to include metadata key in resized cache
2025-10-09 10:44:41 +05:30
Kovid Goyal
a2255e979f
Only retransmit placements when actually needed
2025-10-09 10:12:32 +05:30
Kovid Goyal
9be66bfe4a
When rendering with Go image libraries fails fallback to ImageMagick
2025-10-09 09:40:46 +05:30
Kovid Goyal
2ac2c17929
Fix transmission by file
2025-10-09 09:35:06 +05:30
Kovid Goyal
c6582e9f51
...
2025-10-09 09:25:47 +05:30
Kovid Goyal
4ec94c786d
Fix previews being right aligned
2025-10-09 09:03:09 +05:30
Kovid Goyal
ceb712f791
DRYer
2025-10-09 09:00:37 +05:30
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