Commit Graph

16704 Commits

Author SHA1 Message Date
Kovid Goyal
fb4a3d7f17 Revert reversion of Tahoe fix in 7589bf4b11
It is still needed. Instead change the frame to havezero size and leaves
its origin unchanged.
2025-09-29 08:58:41 +05:30
Kovid Goyal
bdae74d7ed Wayland: Ensure color manager get_surface is called just once
This should not be needed since create_surface is called just once, but
good to be safe.
2025-09-29 08:36:51 +05:30
Kovid Goyal
0d15c6f7c7 Also escape choices 2025-09-28 23:12:35 +05:30
Kovid Goyal
f0b79f9f64 Fix #9028 2025-09-28 23:11:56 +05:30
Kovid Goyal
80285b67f1 Merge branch 'fix-default-regex' of https://github.com/alex-huff/kitty 2025-09-28 22:44:56 +05:30
alex-huff
a1e63ee87c hints: make default regex ignore trailing whitespace 2025-09-28 11:54:44 -05:00
Kovid Goyal
16faa1d541 Fix a regression in the previous release that caused the incorrect tab to be active when loading a session
Fixes #9025
2025-09-28 21:46:08 +05:30
Kovid Goyal
545db0f68f Remove debug print 2025-09-28 21:38:33 +05:30
Kovid Goyal
d7199f1f75 Start working on tests for disk cache 2025-09-28 21:35:36 +05:30
Kovid Goyal
cdb6986ce0 ... 2025-09-28 21:27:16 +05:30
Kovid Goyal
e542cd8378 macOS: Fix a big where the color of a transparent titlebar was off when running in the release build versus the build from source. Also fix using a transparent titlebar causing the background opacity to be darkened.
There were two issues.

1) Setting window background color to a non-zero opacity causes
   darkening (essentially there were two layers of blending)

2) The titlebar background view could end up in the wrong position
   because it was a child of the content view rather than its super view

Fix both issues setting the window background to clear color and
moving the background view into the super view while making sure it is
positioned correctly using explicit constraints. Phew.
2025-09-28 21:24:00 +05:30
Kovid Goyal
e024226b0c Dont need to set origin since we are setting anchors 2025-09-28 20:22:40 +05:30
Kovid Goyal
8bef718c9a Tighten the scope searched for sub views 2025-09-28 19:46:11 +05:30
Kovid Goyal
b6f9080486 Use explicit constraints for the titlebar bg view
Easier to reason about
2025-09-28 17:20:37 +05:30
Kovid Goyal
791902caad ... 2025-09-28 17:03:33 +05:30
Kovid Goyal
09133a7039 Use only one subview for translucent titlebar 2025-09-28 17:01:10 +05:30
Kovid Goyal
57345af8e9 Move titlebar background setting to after window stylemask is set
The titlebar height calculation depends on the stylemask
2025-09-28 16:20:52 +05:30
Kovid Goyal
99a5f6bd5f version 0.43.0 v0.43.0 2025-09-28 09:54:43 +05:30
Kovid Goyal
30f7ed76c1 Start work on disk cache for choose files preview caching 2025-09-28 09:49:16 +05:30
Kovid Goyal
ec8ac5d94c Merge branch 'master' of https://github.com/joshmfrankel/kitty 2025-09-28 07:28:48 +05:30
Josh Frankel
a8aed5abeb Update documentation for kitty_override kitten quick_access_terminal 2025-09-27 14:38:12 -04:00
Kovid Goyal
52015bbf13 Update changelog 2025-09-27 10:24:28 +05:30
Kovid Goyal
510c3f2001 ... 2025-09-26 15:27:12 +05:30
Kovid Goyal
21214ee7e6 Change the id for the anchor to try to convince uBlock to not filter the element.
Faintly ridiculous, but oh well...
See #3005
2025-09-26 14:52:40 +05:30
Kovid Goyal
6de7b82caa Bump the go toolchain value to avoid CVEs 2025-09-24 13:26:20 +05:30
Kovid Goyal
3b0938e878 Run govulncheck on the binary and remove upload of SARIF to github as github doesnt like the SARIF govulncheck produces 2025-09-24 13:12:00 +05:30
Kovid Goyal
4771de3f95 Print out the govulncheck.sarif file in CI 2025-09-24 12:57:21 +05:30
Kovid Goyal
04d708d597 Also need to rename the brotli package in kitty 2025-09-24 12:51:59 +05:30
Kovid Goyal
4ffacbbe80 Another try at running govulncheck 2025-09-24 12:50:06 +05:30
Kovid Goyal
4d95af20c2 Make a note about possibly needing to adjust background_opacity 2025-09-24 07:54:04 +05:30
Kovid Goyal
3383675bb2 ... 2025-09-23 16:15:34 +05:30
Kovid Goyal
508b022721 Run dependency scanner CI job on schedule as well 2025-09-23 08:52:35 +05:30
Kovid Goyal
2f983c178f Use the new path fill for spinner() 2025-09-23 08:13:37 +05:30
Kovid Goyal
b655829dbc Draw fish eye with the new path filler function 2025-09-23 07:46:38 +05:30
Kovid Goyal
e57987769b Fix ends of rounded separators slightly cut off at top and bottom 2025-09-23 07:40:11 +05:30
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
edda367abb Merge branch 'push-skqnqznmsqpr' of https://github.com/ethanwu10/kitty 2025-09-23 06:40:54 +05:30
Ethan Wu
7589bf4b11 Revert "Workaround for latest Apple regression in Tahoe"
This reverts commit d837a64e36.

Commit 24b31d96e9 fixes the original
problem of "ghost windows" that d837a64 was trying to solve. (I have no
idea how or why it does.)

One side-effect of the workaround from d837a64 is that it causes closed
windows to be moved to the (0,0) before being destroyed. This means that
when creating new windows, they are placed on the left-most display,
instead of the display in which the previously closed window was on as
you would expect. Reverting this kludge fixes this bug.
2025-09-22 16:50:31 -07:00
Kovid Goyal
14a429c5bd Better field naming 2025-09-23 00:40:09 +05:30
Kovid Goyal
89b1c35ac6 Implement clipping regions for filling path 2025-09-23 00:29:55 +05:30
Kovid Goyal
c911f79bbb Remove unused code 2025-09-23 00:14:29 +05:30
Kovid Goyal
d1cba64e2c Reduce the number of allocs 2025-09-22 23:03:48 +05:30
Kovid Goyal
da6f26d229 Improve rendering of rounded rectangles
Uses the standard distance to curve via sampling method of antialiasing
instead of super sampled antialiasing. Need to investigate behavior very
thin lines <= 3 pixels.

Also need to check if we should migrate the other call sites of
draw_parametrized_curve_with_derivate()

Fixes #9000
2025-09-22 22:57:28 +05:30
Kovid Goyal
982b5156e1 macOS: When toggling in the quick access terminal move it to the currently active screen
Fixes #9003
2025-09-22 20:04:42 +05:30
Kovid Goyal
9a6cf492aa Fix warning when building go code 2025-09-22 19:47:47 +05:30
Kovid Goyal
41f6b443e6 Fix #9007 2025-09-22 13:20:41 +05:30
Kovid Goyal
1ba7e8b13b Merge branch 'fix-incremental-os-panel' of https://github.com/alex-huff/kitty 2025-09-22 12:45:15 +05:30
alex-huff
508df554ce fix 'incrementally_update_layer_shell_config' 2025-09-22 02:09:53 -05:00
Kovid Goyal
4e240b94e1 explicitly close opened url 2025-09-22 12:30:53 +05:30
Kovid Goyal
53e2f00473 A fancier download_with_retry function 2025-09-22 12:28:48 +05:30