Commit Graph

16667 Commits

Author SHA1 Message Date
Kovid Goyal
2e39244dfa Update changelog 2025-10-16 21:06:27 +05:30
Kovid Goyal
9be82c0f97 Merge branch 'fix-panel-center-sized' of https://github.com/alex-huff/kitty 2025-10-16 20:56:16 +05:30
alex-huff
10e0d11093 panel: use an anchor of 0 for --edge=center-sized
Fixes #9116
2025-10-16 10:04:55 -05:00
Kovid Goyal
f06f85a9e0 Cleanup previous PR 2025-10-15 09:12:32 +05:30
Kovid Goyal
6586780371 Merge branch 'draw-borders-when-focused' of https://github.com/jackielii/kitty 2025-10-15 08:56:02 +05:30
Kovid Goyal
1c2c01722b Bump version of imaging
Fixes an out of bounds error when processing opaque images
2025-10-15 08:29:23 +05:30
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
Kovid Goyal
dd7caaa91b ... 2025-10-15 08:09:29 +05:30
Kovid Goyal
ee9a5386b9 When doing a reset also reset termios to its initial state 2025-10-15 07:56:45 +05:30
Jackie Li
b99a5bd7da fix comment 2025-10-14 19:50:47 +01:00
Jackie Li
6a2ee9253b set_options() in layout tests 2025-10-14 19:43:07 +01:00
Jackie Li
6db3441e29 respect draw_window_borders_for_single_window=yes in lgd.draw_minimal_borders 2025-10-14 19:23:35 +01:00
Jackie Li
05810722be use draw_window_borders_for_single_window
single window + has focus -> active border
single window + no focus -> inactive border
multiple window + regardless of focus -> active border

a) option set:

    1) Single *visible* window in the layout - always draw a border
    border color = active if os_window is focused else inactive

    2) multiple visible windows in the layout - no change in existing
    behavior, in particular draw_minimal_borders is respected as before.

b) option unset - no changes from present behavior

option default to false.
2025-10-14 18:39:23 +01:00
Kovid Goyal
7c237dcb02 macOS: Fix progress bar on dock icon doubling speed with every indeterminate progress state without an intervening clear
Fixes #9114
2025-10-14 22:28:31 +05:30
Kovid Goyal
016bbef0b0 Merge branch 'sharp-corner' of https://github.com/bea4dev/kitty 2025-10-14 05:37:46 +05:30
Jackie Li
09e16adf8b Add draw_borders_when_focused option
Adds a new configuration option `draw_borders_when_focused` that allows
borders to be drawn around windows when the OS window is focused,
regardless of the layout or number of windows.

This is useful for:
- Seeing which terminal window has focus in layouts like stack that
  normally don't show borders
- Showing borders even when there's only a single window
- Providing visual feedback about OS window focus state

When enabled, borders use the active_border_color when the OS window is
focused and inactive_border_color when unfocused. This behavior only
applies when the option is enabled, preserving existing behavior by
default.

The implementation:
- Adds the draw_borders_when_focused config option (default: no)
- Modifies border drawing logic to check OS window focus state
- Triggers border redraw when OS window focus changes
- Only affects behavior when the option is explicitly enabled
2025-10-13 20:07:47 +01:00
bea4dev
4342cc68bd fix dhcorner & dvcorner & dcorner 2025-10-14 02:39:05 +09:00
Kovid Goyal
b628dc8310 Merge branch 'mochaa/fix-py3.14-asyncio-loop' of https://github.com/mcha-forks/kitty 2025-10-13 21:51:54 +05:30
bea4dev
7ff67b78cc fix corner 2025-10-13 22:22:32 +09:00
Zephyr Lykos
831c59996f Fix creating default event loop on Python 3.14+
Closes #9107
2025-10-13 20:09:54 +08:00
Kovid Goyal
220099a3ed Merge branch 'dependabot/github_actions/actions-1893dd32ff' of https://github.com/kovidgoyal/kitty 2025-10-13 09:17:04 +05:30
dependabot[bot]
6a6296a90f Bump github/codeql-action from 3 to 4 in the actions group
Bumps the actions group with 1 update: [github/codeql-action](https://github.com/github/codeql-action).


Updates `github/codeql-action` from 3 to 4
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-13 03:41:50 +00:00
Kovid Goyal
e1b2ce91ff Merge branch 'dependabot/go_modules/all-go-deps-1f98792d99' of https://github.com/kovidgoyal/kitty 2025-10-13 08:43:09 +05:30
dependabot[bot]
11905993ca Bump the all-go-deps group with 3 updates
Bumps the all-go-deps group with 3 updates: [golang.org/x/image](https://github.com/golang/image), [golang.org/x/sys](https://github.com/golang/sys) and [golang.org/x/text](https://github.com/golang/text).


Updates `golang.org/x/image` from 0.31.0 to 0.32.0
- [Commits](https://github.com/golang/image/compare/v0.31.0...v0.32.0)

Updates `golang.org/x/sys` from 0.36.0 to 0.37.0
- [Commits](https://github.com/golang/sys/compare/v0.36.0...v0.37.0)

Updates `golang.org/x/text` from 0.29.0 to 0.30.0
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.29.0...v0.30.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-version: 0.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
- dependency-name: golang.org/x/sys
  dependency-version: 0.37.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
- dependency-name: golang.org/x/text
  dependency-version: 0.30.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-13 03:05:24 +00:00
Kovid Goyal
a072a6fd2a Dont dump commands when --dump-bytes alone is specified
dumping commands flushes and therefore is expensive and might change
timing significantly.
2025-10-13 04:16:38 +05:30
Kovid Goyal
b627d2e4ab Move error handling code into its own library 2025-10-12 13:51:16 +05:30
Kovid Goyal
6ea4bfa433 Fix #9100 2025-10-12 09:00:13 +05:30
Kovid Goyal
471831831b move more imaging code into the imaging module 2025-10-12 08:29:30 +05:30
Kovid Goyal
fc7087c962 Merge branch 'fix-text_rendering_strategy-ref' of https://github.com/jwoos/kitty 2025-10-12 07:02:51 +05:30
Jun Woo Shin
abd220fefc Fix references to text_rendering_strategy 2025-10-11 15:01:18 -04:00
Kovid Goyal
44df0c85c4 Mark the netPBM image types as decodable 2025-10-11 13:43:00 +05:30
Kovid Goyal
2ff307ce8c Merge branch 'simplify-rounded-corner' of https://github.com/alex-huff/kitty 2025-10-11 13:26:43 +05:30
Kovid Goyal
a1168be6c7 ... 2025-10-11 13:25:46 +05:30
Kovid Goyal
0bfcffbaed Fix spurious CVE in dep detection 2025-10-11 13:23:33 +05:30
Kovid Goyal
4c0c5c01f2 Bump version of imaging 2025-10-11 13:17:15 +05:30
alex-huff
14100a0274 decorations: simplify rounded corner 2025-10-11 02:29:11 -05:00
Kovid Goyal
3ba6c3f4b9 macOS: Handle dropping of file promises into kitty in addition to file paths
Fixes #9084
2025-10-11 11:02:51 +05:30
Kovid Goyal
ef15aa3f51 We only clamp to the unit interval 2025-10-11 10:23:35 +05:30
Kovid Goyal
c397fc4301 Fix continuous redraw when disable_ligatures set to cursor and tab bar visible
Fixes #9071
2025-10-11 10:14:36 +05:30
Kovid Goyal
6d66c87077 Cleanup previous PR
Fixes #9091
2025-10-11 09:16:35 +05:30
bea4dev
001c627f52 reimpl SDF rounded corner 2025-10-11 09:15:05 +05:30
Kovid Goyal
758acbc4d5 Bump python for CVE 2025-10-10 18:55:57 +05:30
Kovid Goyal
8fb40af284 Fix #9093 2025-10-10 17:33:55 +05:30
Kovid Goyal
c40ff94395 Fix error when trying to serialize a tab without any windows 2025-10-10 12:39:09 +05:30
Kovid Goyal
29e80f2c1b Remove unused code 2025-10-10 08:23:22 +05:30
Kovid Goyal
f852ebc3f3 Merge branch 'fix-panel-toggle-fullscreen' of https://github.com/alex-huff/kitty 2025-10-10 07:12:12 +05:30
alex-huff
1967fd9dd5 panel: implemented --edge=none on X11 2025-10-09 17:18:40 -05:00
alex-huff
3ca953d98e panel: allow toggling fullscreen regardless of edge 2025-10-09 16:46:44 -05:00
Kovid Goyal
dc0bcbcec3 reset a few more image fields 2025-10-09 22:29:36 +05:30
Kovid Goyal
55f1ab3843 Merge branch 'fix-panel-toggle-fullscreen' of https://github.com/alex-huff/kitty 2025-10-09 21:43:18 +05:30