Kovid Goyal
e1f5c3ff5c
Merge branch 'feature/appid-as-namespace' of https://github.com/jinliu/kitty
2025-05-15 21:43:06 +05:30
Kovid Goyal
429cff0a52
Convenience method to access any member of a set
2025-05-15 21:40:06 +05:30
Jin Liu
4c6c38929b
panel kitten: on Wayland, use app-id for the LayerShellV1 namespace parameter
...
The Wayland LayerShellV1 protocol doesn't allow setting window class/name/role/type/appId.
Instead, it has a `namespace` parameter that we currently hardcode to `kitty`. It
seems suitable to use app-id for this parameter.
Example use case:
kwin use the `namespace` parameter and an undocumented mapping to set window type for
Layer Shell windows. E.g., "dock" maps to NET:Dock. So if we set `app_id dock` in
quick_access_terminal.conf, the panel would be considered a dock, and won't have the
normal scale in/out animation on shown/hidden.
2025-05-15 23:55:48 +08:00
Kovid Goyal
9a543c2370
Modify docs since --class and --name dont apply to panels on Wayland
2025-05-15 19:55:20 +05:30
Kovid Goyal
a3634e4903
...
2025-05-15 09:39:30 +05:30
Kovid Goyal
8017945551
Wayland: Add support for the xdg-toplevel-tag protocol
...
Now you can use --name or its alias --os-window-tag to set the tag.
2025-05-15 09:35:42 +05:30
Kovid Goyal
1157777c11
Bump bundled Wayland version
2025-05-15 09:09:16 +05:30
Kovid Goyal
7ec0085a0b
Also report panic via debugprintln
2025-05-14 12:06:01 +05:30
Kovid Goyal
51adca08f2
Only chdir to / if the cwd is not executable or does not exist. Fixes #8636
2025-05-14 08:58:57 +05:30
Kovid Goyal
123a115836
Make kitten main re-useable
2025-05-13 18:51:49 +05:30
Kovid Goyal
6282a46ff1
A new centered panel type that is sized
2025-05-13 16:38:57 +05:30
Kovid Goyal
6afe3cbc5a
typo
2025-05-13 15:44:43 +05:30
Kovid Goyal
7ec486c7a6
...
2025-05-13 15:38:11 +05:30
Kovid Goyal
d9f61803ae
Make a note that launching OS panels does not support --config or --override as these are per process settings not per OS Window.
...
Fixes #8635 .
2025-05-13 15:35:22 +05:30
Kovid Goyal
88f4c829eb
Improve handling of output names
...
Now can use panel --output-name list to list available outputs.
Also, --output-name works on macOS
2025-05-13 15:29:37 +05:30
Kovid Goyal
67c1ce7280
...
2025-05-13 11:54:01 +05:30
Kovid Goyal
a39b7eb7dd
Quick access terminal: Allow configuring the monitor to display the panel on in Wayland/X11
...
Fixes #8630
2025-05-13 11:52:52 +05:30
Kovid Goyal
74291d0425
Fix #8633
2025-05-13 08:11:33 +05:30
Kovid Goyal
8e12cccf26
...
2025-05-13 08:00:35 +05:30
Kovid Goyal
20d6a8e4c5
Fix building on older Cocoa
2025-05-13 07:45:11 +05:30
Kovid Goyal
a47babc87d
Delay import on demand
2025-05-12 22:22:32 +05:30
Kovid Goyal
4c8f9f9e26
Cleanup previous PR
...
Fixes #8601
2025-05-12 22:18:41 +05:30
Shane Ciardelli
5c49e2aab4
remembers window position after quit
...
added position flag
added window geometry caching
Restores window given --position command
moved position flag to last listed flag
fixed formatting - working version
fixed git problems and formatting issues
fixing some caching mistakes
trailing whitespace
remove .dmypy.json for git
2025-05-12 22:18:41 +05:30
Kovid Goyal
9ed6be9272
Quick access terminal: Allow toggling the window to full screen and map using the standard kitty toggle_fullscreen shortcut
...
Fixes #8626
2025-05-12 15:20:48 +05:30
Kovid Goyal
cf69385823
Wayland: Fix an abort if the terminal program sets a window title longer than 2KB that contains CSI escape sequences and multibyte UTF-8
...
Fixes #8619
2025-05-12 13:53:12 +05:30
Kovid Goyal
015ee41d0f
...
2025-05-12 13:17:46 +05:30
Kovid Goyal
064bc963a8
macOS: Quick access terminal: Restore focus to previously active window when hiding the quick access terminal window
...
Fixes #8627
2025-05-12 13:15:42 +05:30
Kovid Goyal
eab298683d
Box drawing: Use the old algorithm when drawing curves on low res screens or with very thin lines
2025-05-12 11:40:43 +05:30
Kovid Goyal
2bb92291fc
Merge branch 'dependabot/go_modules/all-go-deps-5162d8c94b' of https://github.com/kovidgoyal/kitty
2025-05-12 09:10:09 +05:30
dependabot[bot]
9ed22337b6
Bump the all-go-deps group with 2 updates
...
Bumps the all-go-deps group with 2 updates: [golang.org/x/image](https://github.com/golang/image ) and [golang.org/x/sys](https://github.com/golang/sys ).
Updates `golang.org/x/image` from 0.26.0 to 0.27.0
- [Commits](https://github.com/golang/image/compare/v0.26.0...v0.27.0 )
Updates `golang.org/x/sys` from 0.32.0 to 0.33.0
- [Commits](https://github.com/golang/sys/compare/v0.32.0...v0.33.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-version: 0.27.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.33.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-05-12 03:39:24 +00:00
Kovid Goyal
68b4c3dd6d
Fix ambiguous width and private use characters not being rendered when used with variable width text-sizing protocol escape codes
2025-05-12 05:21:51 +05:30
Kovid Goyal
7791a9129c
Fix replay of multicell_command
2025-05-12 04:44:30 +05:30
Kovid Goyal
f2412cc9c8
version 0.42.0
v0.42.0
2025-05-11 10:42:15 +05:30
Kovid Goyal
5dbd198fb9
Update changelog
2025-05-11 10:36:23 +05:30
Kovid Goyal
9b4643e8bc
...
2025-05-11 07:46:06 +05:30
Kovid Goyal
f2f914ed05
More natural limits for step size when sampling paramterized curve
2025-05-10 22:58:56 +05:30
Kovid Goyal
ec5062ceb4
Merge branch 'master' of https://github.com/nomisreual/kitty
2025-05-10 21:23:35 +05:30
Simon Antonius Lauer
eb70f81218
fix: add missing pkgs and manually add font for nix shell
2025-05-10 14:42:46 +02:00
Kovid Goyal
04a4d62859
Replace all remaining uses of old parametrized drawing code
2025-05-10 11:07:26 +05:30
Kovid Goyal
2aaa440519
Move calc of line width out of draw_parametrized_curve
2025-05-10 10:12:57 +05:30
Kovid Goyal
782e7cb2fb
...
2025-05-10 10:03:29 +05:30
Kovid Goyal
41b44fdafa
Prepare for moving circle rendering to new code as well
2025-05-10 09:28:20 +05:30
Kovid Goyal
0f3603c0eb
Use new parametrized curve rendering for rounded separators
2025-05-10 09:23:12 +05:30
Kovid Goyal
8ba9bfd460
Prepare for using new parametrized drawing code for beziers as well
2025-05-10 09:06:44 +05:30
Kovid Goyal
22fd548903
Also adjust in y direction for odd height
2025-05-10 09:00:57 +05:30
Kovid Goyal
7856046382
Proper odd width x-offset adjustment
2025-05-10 08:56:33 +05:30
Kovid Goyal
f93d57d919
Mark curve data as const
2025-05-10 08:50:29 +05:30
Kovid Goyal
e8d50d0734
Finish up implementation of drawing curve with derivative
...
Fixes #8299
2025-05-10 08:38:32 +05:30
Kovid Goyal
20e5c7b004
Simplify rectircle equations by using trigonometric super-ellipse parametrization
2025-05-10 07:31:33 +05:30
Kovid Goyal
a597764245
Refactor drawing of parametrized curve
...
Work towards a proper rendering of thick curves using a derivative to
control sampling frequency.
2025-05-09 21:55:51 +05:30