Commit Graph

13886 Commits

Author SHA1 Message Date
Kovid Goyal
4d9b1b81ea Fix #7426 2024-05-13 08:35:17 +05:30
Kovid Goyal
1307c2345d Fix macOS binary build failing because of a test 2024-05-11 08:37:51 +05:30
Kovid Goyal
dc410fa0c7 Handle invalid UTF-8 reported cmdline more gracefully 2024-05-11 08:34:05 +05:30
Kovid Goyal
c17d7614e1 Allow showing a more useful error message when wait_till fails 2024-05-11 08:33:47 +05:30
Kovid Goyal
ab2a4f7de6 Simplify loop used to process input from child in test pty
This might surface better errors than Timeout on the occassional test
failure.
2024-05-10 09:29:27 +05:30
Kovid Goyal
38799f3173 ... 2024-05-10 09:24:10 +05:30
Kovid Goyal
1f3afd95f3 ... 2024-05-09 13:54:14 +05:30
Kovid Goyal
468d0c69a6 Add tests for cmdline reporting in shell integration 2024-05-09 13:46:19 +05:30
Kovid Goyal
00d6111d40 Fix unicode objects created by shlex in ansi c mode not in canonical representation 2024-05-09 13:18:53 +05:30
Kovid Goyal
4f26bada31 Fix typo in bash integration script caught by the test 2024-05-09 12:39:03 +05:30
Kovid Goyal
eb1d418358 Merge branch 'master' of https://github.com/its-izhar/kitty 2024-05-09 12:33:49 +05:30
Izhar Ameer Shaikh
483dd30e18 shell-integration/ssh: Support arch=arm64, for MacOS
On some Macs (e.g. M1, 2020), `uname` returns 'Darwin' and `uname -m`
retuns 'arm64', this case is not handled in shell-integration. As a
result, ssh kitten transfer fails with:

>> Unknown CPU architecture arm64

Fix this by adding the case for arch=arm64 in kitten and kitty
shell-integration scripts.

Tested this on Mac Pro (M1, 2020).
2024-05-08 23:44:35 -07:00
Kovid Goyal
219e53826b More efficient encoding for cmdline in the prompt marking escape code 2024-05-09 12:03:02 +05:30
Kovid Goyal
1e528fd299 DRYer 2024-05-09 11:55:17 +05:30
Kovid Goyal
098ed41716 Add support for ANSI-C quoted strings to shlex 2024-05-09 11:46:23 +05:30
Kovid Goyal
0d68a21be5 notify_on_cmd_finish: Show the actual command that was finished
Fixes #7420
2024-05-09 09:49:26 +05:30
Kovid Goyal
c50e38a080 Run clean + debug on branch switch for publish 2024-05-08 21:28:22 +05:30
Kovid Goyal
5cfa139189 ... 2024-05-08 21:26:12 +05:30
Kovid Goyal
fbeb8a5ebc Update changelog 2024-05-08 21:16:06 +05:30
Kovid Goyal
990bc22577 Merge branch 'placement-strategies' of https://github.com/jwueller/kitty 2024-05-08 21:16:02 +05:30
Johannes Wüller
7c8660a694 Extend placement_stragegy options
placement_strategy previously only accepted 'center' and 'top-left', but
others are potentially useful too. I personally like 'bottom-left'. The
new set of accepted values mirrors the window_logo_position option.
2024-05-08 16:33:04 +02:00
Kovid Goyal
bdf22f980c Another alternate kitty icon 2024-05-08 07:58:34 +05:30
Kovid Goyal
d519807df2 ... 2024-05-07 08:52:49 +05:30
Kovid Goyal
708a4c428c Remove __pycache__ only folders when switching to master to build a release 2024-05-07 08:43:06 +05:30
Kovid Goyal
8183e2f538 Merge branch 'dependabot/go_modules/all-go-deps-ec2417d3b3' of https://github.com/kovidgoyal/kitty 2024-05-06 09:17:10 +05:30
dependabot[bot]
0d018caf16 Bump the all-go-deps group with 3 updates
Bumps the all-go-deps group with 3 updates: [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil), [golang.org/x/image](https://github.com/golang/image) and [golang.org/x/sys](https://github.com/golang/sys).


Updates `github.com/shirou/gopsutil/v3` from 3.24.3 to 3.24.4
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.24.3...v3.24.4)

Updates `golang.org/x/image` from 0.15.0 to 0.16.0
- [Commits](https://github.com/golang/image/compare/v0.15.0...v0.16.0)

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

---
updated-dependencies:
- dependency-name: github.com/shirou/gopsutil/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-go-deps
- dependency-name: golang.org/x/image
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
- 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-05-06 03:40:36 +00:00
Kovid Goyal
65f06e8fdb Wayland: Fix crash on compositors that dont support the window activation protocol 2024-05-06 08:52:01 +05:30
Kovid Goyal
44ec3836af ... 2024-05-05 14:09:41 +05:30
Kovid Goyal
ce4237c45d DRYer 2024-05-05 14:09:18 +05:30
Kovid Goyal
04af71696a Make processing of input from child in test pty device a bit more robust 2024-05-05 14:05:51 +05:30
Kovid Goyal
849dcd424d Wayland: save energy by not rendering "suspended" windows on compositors that support that
Note that this breaks kitty on GNOME 45 which has a bug, but it fine on
GNOME 46.
2024-05-05 13:42:51 +05:30
Kovid Goyal
6e1df67e03 Use xdg-shell version 6
This gives us window "suspended" events. Theoretically these could be
used to implement glfwWindowIconified() and thereby not render suspended
OS windows. However let's wait a bit and see how this stabilizes. There
are all sorts of bugs around this currently, for example:

https://gitlab.gnome.org/GNOME/mutter/-/issues/3435
https://gitlab.gnome.org/GNOME/mutter/-/issues/3229
https://bugreports.qt.io/browse/QTBUG-124450
2024-05-05 13:24:45 +05:30
Kovid Goyal
a4c9cb6d28 Small performance increase in SIMD code
Use OpenMP annotations with simde as the simde docs recommend.
2024-05-04 09:47:02 +05:30
Kovid Goyal
e84d67170c Dont clear selections on erase in screen commands unless the erased region intersects a selection
Fixes #7408
2024-05-02 19:37:59 +05:30
Kovid Goyal
814412b8ac kitten @ send-key: Fix some keys being sent in kitty keyboard protocol encoding when not using socket for remote control
The @ kitten no longer changes keyboard mode unless actually needed.
2024-05-02 11:04:41 +05:30
Kovid Goyal
5e12c0b144 Fix #7405 2024-05-01 09:40:22 +05:30
Kovid Goyal
0cd476ae22 Add instructions for making desktop environments run kitty via xdg-terminal-exec
https://github.com/Vladimir-csp/xdg-terminal-exec
2024-04-30 21:23:48 +05:30
Kovid Goyal
aec7ed7fea Merge branch 'standardize_kitten_name' of https://github.com/nobe4/kitty 2024-04-30 17:07:49 +05:30
nobe4
f1543a73e8 docs: use the hyphenated kitten name
This applies the suggestion in https://github.com/kovidgoyal/kitty/issues/7402#issuecomment-2084726356
2024-04-30 12:43:52 +02:00
Kovid Goyal
e7c4069b91 Make code scanning happy 2024-04-30 11:05:31 +05:30
Kovid Goyal
558ce4179f Revert simde back to 0.7.6
See https://github.com/simd-everywhere/simde/issues/1146
2024-04-30 10:55:05 +05:30
Kovid Goyal
eb07307370 Ignore pedantic warnings from simde headers 2024-04-30 09:54:14 +05:30
Kovid Goyal
8183e9d3ef Fix CI build failure on macOS
Also update simde to version 0.8. Accidental was using it to debug
issues with building against simde, but now that it's done, keep it.
2024-04-30 09:48:51 +05:30
Kovid Goyal
4858716ca0 Update changelog 2024-04-30 07:52:27 +05:30
Kovid Goyal
df819d31d3 Merge branch 'master' of https://github.com/etzrxd/kitty 2024-04-30 07:51:42 +05:30
etzrxd
9093767c25 Seamless rendering of shade characters 2024-04-29 19:28:04 -04:00
Kovid Goyal
aecf07bcba Wayland: Fix infinite loop causing bad performance when using IME via fcitx5 due to a change in fcitx5
Fix #7396
2024-04-28 11:30:48 +05:30
Kovid Goyal
cc5e4e95d3 Clarify actions to clear_terminal to_cursor 2024-04-28 10:01:51 +05:30
Kovid Goyal
c1199c2ca1 Wayland: Fix mouse position for initial click not correct
Simply query mouse position if no mouse position has event has yet been
received for the OS window.
2024-04-26 07:54:24 +05:30
Kovid Goyal
66d9db6d0a focus_visible_window: Fix selecting with mouse click leaving keyboard in unusable state
Fixes #7390
2024-04-26 07:30:38 +05:30