Commit graph

13798 commits

Author SHA1 Message Date
Kovid Goyal
a5b0db3219
Add a note about the remote_control scroll-window action to the docs for the default scroll actions 2024-04-12 15:09:25 +05:30
Kovid Goyal
cf0a5fb607
Expose pause_rendering to Python 2024-04-12 11:39:24 +05:30
Kovid Goyal
e0374ee623
Avoid pointlessly querying window pos on Wayland 2024-04-12 11:31:04 +05:30
Kovid Goyal
655494f37b
Exclude tests from pylsp type checking 2024-04-12 08:52:23 +05:30
Kovid Goyal
353a56dbbf
Wayland: Fix initial font size wrong when using fractional scales
We have to check for window scale after window is shown as Wayland has
this crazy design where the compositor only sets fractional scale after
the window is shown. Which means kitty has to do useless work
calculating font metrics twice. Sigh.
2024-04-12 08:29:53 +05:30
Kovid Goyal
1c8fd0ccc4
When asking for quit confirmation because of a running program, mention the program name
Fixes #7331
2024-04-11 14:55:16 +05:30
Kovid Goyal
1c3d3ad9be
Fix report_device_attributes 2024-04-10 08:24:39 +05:30
Kovid Goyal
e66b8a47d4
Add support for screen_erase_characters ECH 2024-04-10 08:04:56 +05:30
Kovid Goyal
e57692e4f5
Possibly fix #7327 2024-04-09 21:19:25 +05:30
Kovid Goyal
437fc0d8c2
Revert renaming of kitty.dekstop to kitty-terminal.desktop
Changing the default value for application id/WM_CLASS is a no go, since
existing scripts can depend on it and I try to avoid breaking people's
workflows wherever possible. Guess xdg-mime will just have to live with
the horror of an unhyphenated file name.

Fixes #7326
2024-04-09 12:47:14 +05:30
Kovid Goyal
3d98b33076
... 2024-04-09 08:39:42 +05:30
Kovid Goyal
a444b5eccb
Only use raw monotonic time on Linux and macOS 2024-04-09 08:21:20 +05:30
Kovid Goyal
6c64428be9
CLOCK_MONOTONIC_RAW support for Go 2024-04-09 08:04:15 +05:30
Kovid Goyal
d034bcb1ac
... 2024-04-09 07:11:48 +05:30
Kovid Goyal
325f8df709
text formatting 2024-04-09 07:09:15 +05:30
Kovid Goyal
996a821bf8
Update changelog 2024-04-09 07:05:09 +05:30
Kovid Goyal
ac4eef7eb3
Another try at pointer frame support on Wayland
This time I think I got the wheel handling correct. At least works with
my wheel mouse.
2024-04-08 19:07:52 +05:30
Kovid Goyal
b48b53fce9
Next version will be 0.34.0 2024-04-08 13:35:16 +05:30
Kovid Goyal
acf3fef03d
Note when the panel kitten got support for Wayland 2024-04-08 13:34:36 +05:30
Kovid Goyal
48ed574b4f
... 2024-04-08 13:04:11 +05:30
Kovid Goyal
8fc96c5bd7
Make the debug logging functions consistent
They now all output the same format of:
[time since program start] msg
2024-04-08 12:53:55 +05:30
Kovid Goyal
208490f4e1
... 2024-04-08 11:18:32 +05:30
Kovid Goyal
d392aba64d
Wayland CSD: Dont render window shadows for docked windows 2024-04-08 10:59:03 +05:30
Kovid Goyal
597710dd53
Add StartupNotify to kitty.desktop
See https://gitlab.gnome.org/GNOME/mutter/-/issues/2739

Also rename kitty.desktop to kitty-terminal.desktop as otherwise
xdg-menu-install complains about no vendor prefix.
2024-04-08 10:00:06 +05:30
Kovid Goyal
d630b3d8a7
Change the maximize icon to restore when window is maximized 2024-04-08 09:36:38 +05:30
Kovid Goyal
aebfab3777
Merge branch 'dependabot/go_modules/all-go-deps-f04424bbb8' of https://github.com/kovidgoyal/kitty 2024-04-08 09:21:26 +05:30
dependabot[bot]
91f699b571
Bump golang.org/x/sys from 0.18.0 to 0.19.0 in the all-go-deps group
Bumps the all-go-deps group with 1 update: [golang.org/x/sys](https://github.com/golang/sys).


Updates `golang.org/x/sys` from 0.18.0 to 0.19.0
- [Commits](https://github.com/golang/sys/compare/v0.18.0...v0.19.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-08 03:47:53 +00:00
Kovid Goyal
b46d1d8d21
Fix #7321 2024-04-08 07:39:50 +05:30
Kovid Goyal
bf60321466
Use individual surfaces for corner and bar shadows
Simplifies a bunch of code and also gives us the option at a later date
to turn off some shadows selectively when the window is in a tiled
state.
2024-04-07 22:28:41 +05:30
Kovid Goyal
38daac868a
Only run bind --function-names once 2024-04-07 15:15:38 +05:30
Kovid Goyal
0b27f2cbe0
Merge branch 'fish-osc-133' of https://github.com/krobelus/kitty 2024-04-07 15:15:04 +05:30
Kovid Goyal
eb96830aa0
Make CSD API functions naming consistent 2024-04-07 10:18:13 +05:30
Kovid Goyal
334bb36745
Dont enable CSD for non XDG top-level windows such as layer shell surfaces 2024-04-07 10:08:02 +05:30
Kovid Goyal
60f9bcf51c
Document the extra fields in the prompt marking escape code that kitty supports 2024-04-07 09:50:14 +05:30
Kovid Goyal
65fadf4ed3
Update changelog 2024-04-07 09:04:23 +05:30
Johannes Altmanninger
8951581815 fish integration: drop redundant OSC 133 markers in upcoming fish 3.8
The upcoming fish 3.8 release will output OSC 133 sequences
unconditionally [1].

I tested ctrl-shift-{g,x,z} bindings both without and with kitty's
shell integration on top; everything seems to work.

Let's simplify kitty integration by removing the markers for the
upcoming fish >= 3.8.

I have hopes that the native OSC 133 implementation address #7200
though I'm not sure if I could reproduce this bug (I only saw a
similar bug when `fish_handle_reflow` was not enabled, which fish
also does now (same commit)).
cc @iacore let me know if you can reproduce #7200 with latest fish master.

[1]: 3b9e3e251b
2024-04-06 22:47:13 +02:00
Johannes Altmanninger
4dc1e733a7 doc keyboard protocol: mention upcoming support in fish 2024-04-06 22:46:58 +02:00
Kovid Goyal
283eba9667
Wayland: Respect top level bounds sent by compositor 2024-04-06 17:29:17 +05:30
Kovid Goyal
c651312a88
Adjust button colors 2024-04-06 17:24:55 +05:30
Kovid Goyal
5b1fdc34eb
Wire up the buttons 2024-04-06 14:58:31 +05:30
Kovid Goyal
a158fa108b
CSD pointer enter is the same as move 2024-04-06 12:51:09 +05:30
Kovid Goyal
60cb0fa650
Move CSD pointer handling code into CSD file 2024-04-06 12:49:07 +05:30
Kovid Goyal
67314bf2fb
Add settings that are optimal for latency 2024-04-06 11:48:55 +05:30
Kovid Goyal
d4cc5aa698
Report errors when attempts are made to perform actions the compositor doesnt support 2024-04-06 11:09:22 +05:30
Kovid Goyal
235b8dc2e4
Assume all capabilities on compositors that dont support reporting of capabilities 2024-04-06 10:59:28 +05:30
Kovid Goyal
4f6faddbab
Implement rendering of window control buttons in CSD
They still need to be wired up
2024-04-06 08:32:07 +05:30
Kovid Goyal
416d52bdac
... 2024-04-05 21:33:41 +05:30
Kovid Goyal
2d18e0be81
Fix #7311 2024-04-05 20:00:08 +05:30
Kovid Goyal
9225bd772d
Reduce CSD API surface 2024-04-05 19:57:43 +05:30
Kovid Goyal
9e55951d5a
... 2024-04-05 19:37:41 +05:30