Commit Graph

13923 Commits

Author SHA1 Message Date
Kovid Goyal
eb2221b11a Remote control: @ action: Fix some actions being performed on the active window instead of the matched window
Fixes #7438
2024-05-17 09:35:54 +05:30
Kovid Goyal
4e3f643cf5 ... 2024-05-17 09:06:55 +05:30
Kovid Goyal
3cc9750af8 Update changelog 2024-05-17 09:02:53 +05:30
Kovid Goyal
d3a3860987 Merge branch 'horiz' of https://github.com/MithicSpirit/kitty 2024-05-17 09:02:15 +05:30
Kovid Goyal
5a5e264ca3 Fix building on older macOS SDK 2024-05-17 08:09:19 +05:30
MithicSpirit
71a958f6f6 fix: horizontal scrolling direction
Fixes kovidgoyal#7439.
2024-05-16 16:22:45 -04:00
Kovid Goyal
d9631cdedd Port the notifications test to handle urgency 2024-05-16 21:45:15 +05:30
Kovid Goyal
865f662216 Desktop notifications protocol: Add support for specifying urgency 2024-05-16 21:38:43 +05:30
Kovid Goyal
176dab37d9 Fix building on apple 2024-05-16 21:24:36 +05:30
Kovid Goyal
1e1f99cebc Add urgency support to cocoa notification API 2024-05-16 21:23:36 +05:30
Kovid Goyal
ed341823eb ... 2024-05-16 21:14:43 +05:30
Kovid Goyal
adc457ff0f Dynload libsystemd 2024-05-16 21:13:09 +05:30
Kovid Goyal
b5022cbd81 DRYer 2024-05-16 20:17:15 +05:30
Kovid Goyal
32f3d43aa0 Support setting urgency for DBUS notifications 2024-05-16 20:10:26 +05:30
Kovid Goyal
ab624bb799 Install libsystemd-dev in the build VM 2024-05-16 18:57:50 +05:30
Kovid Goyal
bd88d2f734 Install systemd headers in CI 2024-05-16 18:48:19 +05:30
Kovid Goyal
f979c24add Move some defines to only the source files where they are needed 2024-05-16 17:38:26 +05:30
Kovid Goyal
f30652c24a ... 2024-05-16 17:18:06 +05:30
Kovid Goyal
28a9f48786 Fix CI with systemd 2024-05-16 16:00:28 +05:30
Kovid Goyal
39ea084be9 Linux: Run all child processes in their own systemd scope to prevent the OOM killer from harvesting kitty when a child process misbehaves
Fixes #7427
2024-05-16 15:43:25 +05:30
Kovid Goyal
3345e40bdb Add some more box-drawing characters from the "Geometric shapes" Unicode block
Fixes #7433
2024-05-15 09:27:32 +05:30
Kovid Goyal
98624d614e Dont use deprecated ruff invocation syntax 2024-05-14 20:37:25 +05:30
Kovid Goyal
160c6ca958 ... 2024-05-14 20:34:46 +05:30
Kovid Goyal
8a175010e6 typo 2024-05-14 20:32:34 +05:30
Kovid Goyal
fed26ff77f Merge branch 'add_env_arg_for_at_run' of https://github.com/amosbird/kitty 2024-05-14 20:12:03 +05:30
Amos Bird
048ef3b317 Support --env argument for @ run 2024-05-14 22:23:36 +08:00
Kovid Goyal
dfb1ed6a08 ... 2024-05-14 17:08:36 +05:30
Kovid Goyal
8c1e365eb5 hints kitten: Allow clicking on matched text to select it in addition to typing the hint 2024-05-14 15:22:03 +05:30
Kovid Goyal
38fed8b391 kitten @ run: A new remote control command to run a process on the machine kitty is running on and get its output
Fixes #7429
2024-05-14 14:32:01 +05:30
Kovid Goyal
1a394d6a57 Allow rc commands to control the exit code 2024-05-14 14:31:31 +05:30
Kovid Goyal
f659342b48 notify with actual exception when launching background process fails 2024-05-14 14:21:48 +05:30
Kovid Goyal
cbe4e705db Allow at commands to specialize response handling 2024-05-14 13:14:21 +05:30
Kovid Goyal
8cb53cb5a6 Fix handling of streaming remote command via tty_io that doesnt actually stream anything 2024-05-14 13:13:17 +05:30
Kovid Goyal
8eb3267fb8 Make the API to run background processes more powerful
Supports death notification and can redirect stdout/stderr to an fd
2024-05-14 13:11:04 +05:30
Kovid Goyal
78416acd16 Handle + and ! combined in argspec 2024-05-14 12:36:48 +05:30
Kovid Goyal
6be75ce1c7 Dont hold lock while reporting reaped pids
Can lead to a deadlock if the python code calls something that tries to
acquire the same lock
2024-05-14 12:35:12 +05:30
Kovid Goyal
46fed6ffa9 Make remote_control_passwrods parsing code re-useable 2024-05-14 09:28:55 +05:30
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