Commit Graph

16142 Commits

Author SHA1 Message Date
Kovid Goyal
6d2b17d877 opts serialization is done by base class 2025-08-02 12:49:06 +05:30
Kovid Goyal
bbbeeb8206 More rigorous set layout state sanity check 2025-08-02 12:48:04 +05:30
Kovid Goyal
c4ed1d3b69 Implement unserialization for splits layout
Also cleanup the serialization code.
2025-08-02 12:12:40 +05:30
Kovid Goyal
f64182e16c Scroll indicator should usepremult blending whenever draw_cells_simple uses it 2025-07-31 21:24:17 +05:30
Kovid Goyal
8b9d802206 Specify the color space on Wayland surfaces
Uses sRGB with the sRGB transfer function. Seems to give identical
results as not specifying a color space. But sadly does not get the
compositor to blend in linear space, we need another wayland protocol
extension for that I suppose. Sigh.
2025-07-31 19:18:09 +05:30
Kovid Goyal
2ffa8cd7c2 Apparently gamma22 gives incorrect colors or at least colors different from rendering without color management. srgb transfer function gives expected colors. 2025-07-31 19:07:28 +05:30
Kovid Goyal
caa654b6b8 Also track needed color manager features 2025-07-31 18:53:24 +05:30
Kovid Goyal
12c6d799b7 ... 2025-07-31 18:34:29 +05:30
Kovid Goyal
d37bd7afcf Create the sRGB colorspace description we need 2025-07-31 18:30:47 +05:30
Kovid Goyal
df22e8c9b7 Only report missing features when color manager itself is supported 2025-07-31 15:41:17 +05:30
Kovid Goyal
fe860d170f Track that the compositor supports the sRGB primary 2025-07-31 15:39:55 +05:30
Kovid Goyal
46114c251b Create the color manager object for a window surface 2025-07-31 15:24:21 +05:30
Kovid Goyal
77106b1035 DRYer 2025-07-31 15:15:49 +05:30
Kovid Goyal
8762576a5b Also track support for extlinear transfer function 2025-07-31 15:12:26 +05:30
Kovid Goyal
d0a862bedb Get the color manager capabilities from the compositor 2025-07-31 15:09:18 +05:30
Kovid Goyal
f04e963683 Bind the wayland color manager interface 2025-07-31 14:37:42 +05:30
Kovid Goyal
0382463bcb Grab keyboard when running file chooser kitten via portal 2025-07-30 07:52:19 +05:30
Kovid Goyal
8c8d7d6ce3 Fix continuous retry on macOS when reading and writing to a peer that has closed its end of the socket
Apparently, macOS sends POLLHUP for POLLOUT as well. Fixes #8865
2025-07-29 19:33:12 +05:30
Kovid Goyal
f41091366e ... 2025-07-29 19:06:26 +05:30
Kovid Goyal
e468885b03 spelling 2025-07-29 10:04:21 +05:30
Kovid Goyal
a0b73b4c19 Merge branch 'dependabot/go_modules/all-go-deps-beec343394' of https://github.com/kovidgoyal/kitty 2025-07-28 09:35:16 +05:30
dependabot[bot]
1cc9f97138 Bump github.com/bmatcuk/doublestar/v4 in the all-go-deps group
Bumps the all-go-deps group with 1 update: [github.com/bmatcuk/doublestar/v4](https://github.com/bmatcuk/doublestar).


Updates `github.com/bmatcuk/doublestar/v4` from 4.9.0 to 4.9.1
- [Release notes](https://github.com/bmatcuk/doublestar/releases)
- [Commits](https://github.com/bmatcuk/doublestar/compare/v4.9.0...v4.9.1)

---
updated-dependencies:
- dependency-name: github.com/bmatcuk/doublestar/v4
  dependency-version: 4.9.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-28 04:02:16 +00:00
Kovid Goyal
9229af98b8 ... 2025-07-27 11:34:24 +05:30
Kovid Goyal
83bc0423b2 Micro optimisation
Dont lookup char props for ascii char at start of draw command.
Improves benchmark by 2-5%
2025-07-26 09:34:13 +05:30
Kovid Goyal
53aea0642f ... 2025-07-26 09:28:34 +05:30
Kovid Goyal
f61b15b284 Fix incorrect handling of VS16 when it causes char to wrap to next line and is part of a draw command with more characters following it
Needed to initialize full text loop state rather than just segmentation
state on wrap. Fixes #8848
2025-07-26 09:25:01 +05:30
Kovid Goyal
0f67ff37df Allow accepting the currently displayed parent directory by pressing ctrl+enter 2025-07-24 08:20:43 +05:30
Kovid Goyal
988070612b ... 2025-07-23 10:46:45 +05:30
Kovid Goyal
07354f4d6d Update wording of warning regarding changes to text sizing algorithm 2025-07-23 10:45:43 +05:30
Kovid Goyal
cac3ac80fc Use any window if no active window is available 2025-07-23 09:48:50 +05:30
Kovid Goyal
85b6ba54dc Make mypy happy 2025-07-23 09:46:32 +05:30
Kovid Goyal
57bfa9e2e5 ... 2025-07-23 09:37:54 +05:30
Kovid Goyal
8a39976449 Watchers: A new event for global watchers corresponding to the tab bar being changed
Fixes #8842
2025-07-23 09:24:12 +05:30
Kovid Goyal
45b2678db1 Allow backspace to wrap cursor to previous line
Fixes #8841
2025-07-23 08:56:54 +05:30
Kovid Goyal
55a2f2c55c Cocoa: fix quick access terminal hide focus restore
Apple now makes kitty the front most application before sending the
service notification. So instead watch for front most application change
events from the shared workspace and restore focus to the last non-self
application.
2025-07-21 14:55:12 +05:30
Kovid Goyal
fd5876b94e Use SIMD to replace C0 control codes in Go code 2025-07-21 08:54:22 +05:30
Kovid Goyal
12c1b0cbdf remove leftover debug prints 2025-07-20 21:45:36 +05:30
Kovid Goyal
b980eb2726 Fix sort by dates initial application 2025-07-20 21:44:29 +05:30
Kovid Goyal
92988c19c0 ... 2025-07-20 19:30:26 +05:30
Kovid Goyal
bd0f55531f Implement previews for plain text files 2025-07-20 19:24:17 +05:30
Kovid Goyal
28fce006d6 Make highlight code fully re-useable 2025-07-20 15:37:03 +05:30
Kovid Goyal
2bdbbd909c Handle color scheme changes in choose-files kitten 2025-07-20 13:43:59 +05:30
Kovid Goyal
9068bbaba9 Make code to highlight file re-useable 2025-07-20 10:32:31 +05:30
Kovid Goyal
2e92d610d5 Implement metadata based previews in choose-files 2025-07-20 09:31:17 +05:30
Kovid Goyal
6347ea0210 Add a note to icat --clear that it doesnt work with terminal multiplexers
Fixes #8839
2025-07-20 08:26:39 +05:30
Kovid Goyal
063cf243c1 add cursor_trail_color to nullable_colors and all_color_settings 2025-07-19 07:03:13 +05:30
Kovid Goyal
7738c55c4b Wayland: Fix incorrect window size calculation when transitioning from fullscreen to non-fullscreen with client side decorations
Fixes #8826
2025-07-17 20:36:38 +05:30
Kovid Goyal
c16e2aad05 Update changelog 2025-07-17 11:10:16 +05:30
Kovid Goyal
50d7926457 Merge branch 'add-cursor-trail-color-option' of https://github.com/CollinEMac/kitty 2025-07-17 11:08:48 +05:30
CollinEMac
7021271e81 Add cursor trail color option 2025-07-17 00:35:31 -05:00