Commit Graph

16831 Commits

Author SHA1 Message Date
Kovid Goyal
102ea9bf8b ... 2025-11-23 17:08:35 +05:30
Kovid Goyal
ccd16b82fa Add support for video previews 2025-11-23 17:05:17 +05:30
Kovid Goyal
f5fdb5f983 Bump various dependencies 2025-11-23 14:04:28 +05:30
Kovid Goyal
7c52f727dc Show file metadata based preview with an error message when preview fails to render 2025-11-23 12:48:14 +05:30
Kovid Goyal
0c4cefd720 Fully fix flicker on first use of calibre preview backend
Also show the user the error from the calibre backend, if any
2025-11-23 12:39:30 +05:30
Kovid Goyal
5ecc221e70 DRYer 2025-11-23 12:32:23 +05:30
Kovid Goyal
24d6e0e629 Fix flicker on first transition to calibre backed preview 2025-11-23 12:30:46 +05:30
Kovid Goyal
43253ad7c4 Change version added for choose files
Its only becoming fully functional now
2025-11-23 12:16:47 +05:30
Kovid Goyal
fae50137a9 Add a clear cache action 2025-11-23 12:15:29 +05:30
Kovid Goyal
37da04aad6 choose files: Add default mappings to choose a file and insert it into the terminal 2025-11-23 11:41:21 +05:30
Kovid Goyal
29d2796692 Fix output format not being respected for STDOUT 2025-11-23 11:02:33 +05:30
Kovid Goyal
69a513d814 Run calibre metadata server process in the background 2025-11-23 10:46:32 +05:30
Kovid Goyal
2184d3b7d0 ... 2025-11-23 10:24:40 +05:30
Kovid Goyal
ffac770cce Add string reps for preview classes 2025-11-23 10:22:29 +05:30
Kovid Goyal
07b0801990 Nicer title for text file previews 2025-11-23 10:07:47 +05:30
Kovid Goyal
5047a46c94 ... 2025-11-23 09:51:34 +05:30
Kovid Goyal
3a69e3e58f Fix cache not being used for custom image preview rendered content without an image 2025-11-23 09:49:49 +05:30
Kovid Goyal
7f2d0aebe9 choose-files: Add calibre based previews for ebook/document file types 2025-11-23 09:39:08 +05:30
Kovid Goyal
76f9cdc426 ... 2025-11-22 20:03:01 +05:30
Kovid Goyal
4cf92fbf26 Make image preview code re-useable for other types of previews that have both metadata and an image 2025-11-22 13:21:21 +05:30
Kovid Goyal
9c3c6260c2 Show filename in text file preview 2025-11-22 12:39:29 +05:30
Kovid Goyal
4d4b287a4a Show file name and extension for filetypes without previews 2025-11-22 12:32:50 +05:30
Kovid Goyal
75c3019756 Avoid flicker when changing preview
Only render the new preview when it is fully ready, keep showing
previous preview till then.
2025-11-22 12:24:09 +05:30
Kovid Goyal
c5bde715a7 Only unload preview when changed instead of on each render 2025-11-22 11:27:27 +05:30
Kovid Goyal
11dd7eeb8e Have the --start-as flag be respected when used with --single-instance
Fixes #9228
2025-11-17 17:42:26 +05:30
Kovid Goyal
4ea6862dd3 Remove unused code 2025-11-17 17:23:40 +05:30
Kovid Goyal
1240a17b2d Disk cache: Do not encrypt disk cache contents when the disk cache file was opened with O_TMPFILE
Avoids paying the XOR overhead on all cached data. Temp files opened
using O_TMPFILE are secure enough, as far as I know. Processes without
elevated privileges cannot read from them unless they inherit the file
descriptor.
2025-11-17 14:30:15 +05:30
Kovid Goyal
6de4e5237f Resize method should not use bounds 2025-11-17 12:59:04 +05:30
Kovid Goyal
1c470fe1f7 ... 2025-11-17 12:46:54 +05:30
Kovid Goyal
478294a335 Fix typo that caused OSC 3008 to set title rather than just be ignored
Fixes #9226
2025-11-17 12:23:10 +05:30
Kovid Goyal
e6d7e91000 Avoid using lseek() to track disk cache file write offset
It's slow and not thread safe.
We use pwrite() so it's not reliable anyway.
2025-11-17 11:16:30 +05:30
Kovid Goyal
bfca1763f2 Function to save 24bit RGB data as PNG 2025-11-16 23:30:34 +05:30
Kovid Goyal
9bcbdb9f14 ... 2025-11-16 22:35:57 +05:30
Kovid Goyal
e49d940621 kitten @ ls: Also output the neighbors for every window 2025-11-16 21:01:55 +05:30
Kovid Goyal
e0118e4553 Bump version of imaging 2025-11-16 09:24:24 +05:30
Kovid Goyal
68805850a5 Preserve opacity when resizing on image load 2025-11-15 14:56:21 +05:30
Kovid Goyal
25cf8622bc Avoid double is_opaque scan 2025-11-15 13:06:17 +05:30
Kovid Goyal
fb6332d8e2 Resize frames in parallel 2025-11-15 12:41:14 +05:30
Kovid Goyal
c3d0170059 Bump version of imaging 2025-11-15 12:28:45 +05:30
Kovid Goyal
1d19942811 Store more metadata about pixel data shape when serializing 2025-11-15 12:23:56 +05:30
Kovid Goyal
d4633bf5f9 Graphics: Disallow PNGs of size greater than MAX_IMAGE_DIMENSION to match behavior with loading RGB data 2025-11-14 07:58:04 +05:30
Kovid Goyal
9bc29a7fa6 Dont write to ~/.gitconfig in the tests
Just in case the tests are run without setting HOME
2025-11-13 18:50:42 +05:30
Kovid Goyal
83f0d6bc1a Have reloading config also reload the custom tab bar python modules 2025-11-13 14:41:46 +05:30
Kovid Goyal
2797b1f926 Update changelog 2025-11-13 08:34:21 +05:30
Kovid Goyal
cda5b2bfec Merge branch 'sessions-dir' of https://github.com/akvachan/kitty 2025-11-13 08:32:58 +05:30
Arsenii Kvachan
8a1f4bda3b Allow browsing a directory with sessions
- interpret a directory argument by listing only *.kitty-session and similar files
  - reuse the existing sorting logic for the directory chooser and document the workflow
2025-11-12 17:37:13 +01:00
Kovid Goyal
35d95d7a43 Also remove shadow from zero sized window
Hopefully that means no clickable region at all?
2025-11-12 14:01:37 +05:30
Kovid Goyal
98e13787a9 ... 2025-11-12 12:23:24 +05:30
Kovid Goyal
81f429d52b Move the code to cycle through OS Windows into glfw 2025-11-12 12:02:38 +05:30
Kovid Goyal
7fe38ae579 macOS: Add a cycle through OS windows backwards action 2025-11-12 10:36:45 +05:30