Commit graph

2071 commits

Author SHA1 Message Date
Kovid Goyal
aef9988c62
Allow configuring how video previews are generated 2025-11-23 18:28:59 +05:30
Kovid Goyal
abcd2ca884
Increase video preview resolution 2025-11-23 17:09:43 +05:30
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
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
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
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
25cf8622bc
Avoid double is_opaque scan 2025-11-15 13:06:17 +05:30
Kovid Goyal
1d19942811
Store more metadata about pixel data shape when serializing 2025-11-15 12:23:56 +05:30
Kevin Klement
d979be915c
Update main.py
Fix misspellings of "within"
2025-11-11 08:33:05 -05:00
Kovid Goyal
6f588a0c29
run modernize 2025-11-11 17:09:37 +05:30
Kovid Goyal
d19fc375ba
Switch to external shm package 2025-11-10 12:01:05 +05:30
Kovid Goyal
1c8e8e9530
Switch over to the new imaging backend for icat
Greatly simplifies a whole bunch of code. The new backend takes care of
falling back to ImageMagick efficiently itself.
2025-11-10 11:34:56 +05:30
Kovid Goyal
87f4c5ccec
Remove no longer needed code 2025-11-08 12:21:28 +05:30
Kovid Goyal
a814ab4c2e
icat: Allow controlling how images are fit
Fixes #9201
2025-11-08 11:51:11 +05:30
Kovid Goyal
57f7c8f65e
Bump version of imaging for a few more fixes 2025-11-08 10:27:56 +05:30
Kovid Goyal
f8c78909fa
Use an explicit APNG identifier for apng files with ImageMagick
Required as per Imagemgick docs: https://imagemagick.org/script/formats.php
2025-11-07 11:33:13 +05:30
Kovid Goyal
1e6d67b975
Update to the latest version of imaging
Gives us a bunch of new features and allows us to move a bunch of code
into imaging
2025-11-06 22:31:31 +05:30
Kovid Goyal
aec3c82c48
ssh kitten: Fix a bug where automatic login was not working
Fixes #9187
2025-11-05 19:35:36 +05:30
Nathan Monfils
ff7e1a90a8 Fix: Make portals.conf fallback (Fixes #9144) 2025-10-24 18:02:57 +02:00
Kovid Goyal
284ae74201
icat: Report panics in the render function correctly
Also, only fallback to imagemagick on error when the engine is not
specified as builtin
2025-10-15 08:17:53 +05:30
Zephyr Lykos
831c59996f
Fix creating default event loop on Python 3.14+
Closes #9107
2025-10-13 20:09:54 +08:00
Kovid Goyal
b627d2e4ab
Move error handling code into its own library 2025-10-12 13:51:16 +05:30
Kovid Goyal
4c0c5c01f2
Bump version of imaging 2025-10-11 13:17:15 +05:30
Kovid Goyal
a0f6152aee
Ensure num_cols is never zero 2025-10-09 16:05:13 +05:30
Kovid Goyal
ed33e64101
Ensure placement is transmitted after data 2025-10-09 15:35:57 +05:30
Kovid Goyal
167b254d97
DRYer 2025-10-09 15:23:52 +05:30
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
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
4ec94c786d
Fix previews being right aligned 2025-10-09 09:03:09 +05:30