Commit graph

4743 commits

Author SHA1 Message Date
Kovid Goyal
b1322fbe04
Prompt for permission when reading from clipboard by default
Fixes #4022
2021-09-13 12:32:40 +05:30
Kovid Goyal
38a5e38f88
Transmit hashed password 2021-09-13 12:00:38 +05:30
Kovid Goyal
78fd05c1c6
... 2021-09-13 11:49:17 +05:30
Kovid Goyal
6993c905e3
Disallow empty ids in file transfer commands 2021-09-13 09:53:59 +05:30
Kovid Goyal
14f8ce6e15
Add a python wrapper to play arbitrary sounds 2021-09-13 08:59:34 +05:30
Kovid Goyal
d224a4c39f
When receiving a long delayed cancel request process it before pruning 2021-09-12 12:46:30 +05:30
Kovid Goyal
5c8bcf9379
Implement confirm paths 2021-09-12 12:12:23 +05:30
Kovid Goyal
31ead3f088
Basic file transfer works for sending 2021-09-12 10:02:23 +05:30
Kovid Goyal
9db9638bc3
Soak up protocol responses after a cancel to avoid outputting garbage to the shell after the kitten exits 2021-09-11 10:48:40 +05:30
Kovid Goyal
74c1476f6d
Disallow more than 10 active receives to prevent DoS attacks 2021-09-10 21:20:05 +05:30
Kovid Goyal
24255be0bd
Add a permission password to the transfer kitten 2021-09-10 18:09:59 +05:30
Kovid Goyal
f9c99a61d4
More work on file transfer 2021-09-09 12:59:31 +05:30
Kovid Goyal
8aacf30f19
Centralize definition of file transfer OSC code 2021-09-08 13:43:59 +05:30
Kovid Goyal
745e97e0ab
Send a started response after each dest file is registered 2021-09-08 09:59:45 +05:30
Kovid Goyal
af5c0b3b71
More work on transmission kitten 2021-09-08 08:56:14 +05:30
Kovid Goyal
d7a1f3104a
Add no_op to get_all_actions() 2021-09-06 15:26:48 +05:30
Kovid Goyal
8fb48d7952
Output more kitty global state when debugging config 2021-09-06 08:36:53 +05:30
Kovid Goyal
6daee3a0b5
@get-text: Allow getting the last command output 2021-09-02 10:13:54 +05:30
Kovid Goyal
87f6793552
Allow mocking usage of timers in the test suite 2021-09-01 13:09:42 +05:30
Kovid Goyal
40786427b0
More work on file transmission 2021-09-01 09:22:04 +05:30
Kovid Goyal
aafd8a8da4
When expanding vars allow using $$ for literal $ 2021-08-31 17:24:19 +05:30
Kovid Goyal
5ff66f6bfa
When reloading config also reload open-actions.conf 2021-08-30 20:24:08 +05:30
Kovid Goyal
ced03c5d99
More work on file transmission 2021-08-30 09:00:38 +05:30
Kovid Goyal
161a54ceaa
Disable transmission tests pending rewrite 2021-08-30 08:08:41 +05:30
Kovid Goyal
c159ac287f
Flush input queue when child is removed
This is needed for running kittens that return data by printing
to STDOUT. As otherwise with a long input delay the output never
gets processed. Fixes #3980
2021-08-30 08:03:53 +05:30
Kovid Goyal
4ddd2bf980
More work on transmission 2021-08-29 21:09:20 +05:30
Kovid Goyal
1d9425ecdc
Change transmission protocol to not need container formats 2021-08-29 06:27:07 +05:30
Kovid Goyal
495981bade
Pass failure to send data to child because of full buffer up the stack 2021-08-25 13:28:50 +05:30
Kovid Goyal
672cf9fffe
Start work on transfer kitten 2021-08-25 11:38:41 +05:30
Kovid Goyal
1953ecdf4d
Add tests for container transmission 2021-08-23 22:10:26 +05:30
Kovid Goyal
d178f4c75d
Implement canceling of file transmission 2021-08-23 11:33:03 +05:30
Kovid Goyal
0668a3bf2a
Send a response indicating transmission was successful 2021-08-23 11:09:45 +05:30
Kovid Goyal
d548b21be2
Allow interleaving file transmissions 2021-08-22 22:08:03 +05:30
Kovid Goyal
ebcd053bf3
Fix incorrect prompt reflow when a command is running that has produced no output
Needed to preserve the output start semantics on the first empty dest line
2021-08-22 13:55:59 +05:30
Kovid Goyal
b282464604
... 2021-08-22 13:13:13 +05:30
Kovid Goyal
42dcecde14
More work on file transmission 2021-08-22 13:01:43 +05:30
Kovid Goyal
fa77128026
... 2021-08-21 22:09:20 +05:30
Kovid Goyal
7f1c5d8534
DRYer 2021-08-21 17:32:55 +05:30
Kovid Goyal
5bc569c4dd
Allow specifying whether to count windows at prompts or not for confirm_clsoe 2021-08-20 17:13:42 +05:30
Kovid Goyal
8397970bf8
Ensure fish config dir exists 2021-08-20 08:54:41 +05:30
Luflosi
0fe7796df0
Fix Clang warning
Without this, Clang would complain:
```
In file included from kitty/fonts.c:9:
In file included from kitty/fonts.h:9:
kitty/lineops.h:67:29: error: suggest braces around initialization of subobject
      [-Werror,-Wmissing-braces]
    const CellAttrs zero = {0};
                            ^
                            {}
```
2021-08-19 22:52:36 +02:00
Kovid Goyal
40b50332de
Fix space ligatures not working with Iosevka for some characters in the Enclosed Alphanumeric Supplement
Recognize chars in this block as non-emoji dingbats to turn on space
ligatures for them

Fixes #3954
2021-08-19 22:28:07 +05:30
Kovid Goyal
8e9ee90d9f
More work on file transfer protocol 2021-08-19 14:13:54 +05:30
Kovid Goyal
42da681f2b
Launch command: Allow specifying the OS window title 2021-08-19 09:52:52 +05:30
Kovid Goyal
44561e8cea
macOS: Fix SIGUSR1 quitting kitty instead of reloading the config file
Fixes #3952
2021-08-19 09:37:08 +05:30
Kovid Goyal
37735b962e
Start work on new file_transmission protocol 2021-08-19 09:23:01 +05:30
Kovid Goyal
fab7cfb113
Handle multiline cursor movement in zsh when clicking 2021-08-18 10:06:10 +05:30
Kovid Goyal
2715947830
DRYer 2021-08-18 10:06:10 +05:30
Kovid Goyal
2472cea69f
Fix resizing causing a line or two from the start of the th last cmd output to be skipped
Resizing causes multiple consecutive lines to be marked as being start
of output, so rewind to the first of them.
2021-08-18 10:06:10 +05:30
Kovid Goyal
2a634af2bc
When confirming close commands dont count windows sitting at shell prompts 2021-08-18 10:06:10 +05:30