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
Kovid Goyal
d598157590
Make goroutines in choose_files panic safe
2025-10-09 08:11:47 +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
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
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
4af95b3c51
choose_files: start work on image previews
2025-10-07 11:11:42 +05:30
Kovid Goyal
9a4b52f8b9
diff kitten: Fix wheel_scroll_multiplier not being respected
...
Fixes #9054
2025-10-01 17:07:47 +05:30
Kovid Goyal
460d10902f
Cleanup previous PR
...
The overrides were not being passed to the askpass kitten.
And we dont need to support backward compatibility for secrets with no
backend, since this feature has never been released.
2025-09-30 20:38:44 +05:30
NightWatcher
d02c63ac86
ssh kitten: add optional password and TOTP auto-fill via ssh.conf
...
Motivation: Some environments disallow or do not reliably accept one-way
pubkey-only auth, or require keyboard-interactive password + TOTP. This adds an
optional, host-scoped automation via kitty's native askpass to reduce repetitive
manual entry while preserving the ssh kitten UX.
- Add auth_config.go to parse password/totp_* from ssh.conf by host block
- Ignore these keys in main ssh.conf parser to avoid bad-line warnings
- Pass host/user to askpass for host-aware lookup
- Auto-answer password and OTP prompts in askpass; fallback to UI otherwise
Security: Secrets in ssh.conf are plain text; users should enforce strict
permissions or avoid storing passwords if unacceptable. Only login password/OTP
prompts are auto-answered; passphrases and host key confirmations are not.
feat(ssh): add secret backend support for auth passwords and TOTP secrets
Introduce support for specifying secret backends in SSH auth config, currently supporting only the "text" backend for storing secrets directly. This allows for future extensibility while maintaining backward compatibility by treating values without a backend as "text:<value>".
The changes include new fields in AuthEntry for backends, updated parsing logic in lineHandler, error handling for invalid backends, and normalization for existing configs. A new parseBackendSecret function handles the parsing with validation.
2025-09-30 17:31:16 +05:30
Kovid Goyal
ba96fa06fe
Allow using defer in KittenMain
2025-09-30 11:20:37 +05:30
Kovid Goyal
7dae6e3945
...
2025-09-30 08:40:30 +05:30
Kovid Goyal
d8b524c692
Cache parsing of command line specifications
...
Change option specification from dict to tuple for better performance
and immutability and better type checking.
2025-09-29 12:31:10 +05:30
alex-huff
a1e63ee87c
hints: make default regex ignore trailing whitespace
2025-09-28 11:54:44 -05:00
Josh Frankel
a8aed5abeb
Update documentation for kitty_override kitten quick_access_terminal
2025-09-27 14:38:12 -04:00
Kovid Goyal
8b8918ee4b
Have toggling the quick access terminal via the kitten also move it to the active monitor
2025-09-23 07:31:42 +05:30
Kovid Goyal
41f6b443e6
Fix #9007
2025-09-22 13:20:41 +05:30
alex-huff
508df554ce
fix 'incrementally_update_layer_shell_config'
2025-09-22 02:09:53 -05:00