Commit Graph
4750 Commits
Author SHA1 Message Date
Kovid Goyal e12246983b Fix the upper limit for the pending buffer
The pending buffer needs to be twice the max size of the read buffer.
2021-09-16 19:53:55 +05:30
Kovid Goyal 5f32d2e56f Uppercase DELETE_ENV_VAR 2021-09-16 10:16:33 +05:30
Kovid Goyal 5b716df45f We dont need a special class for delete_env_var 2021-09-16 09:53:54 +05:30
Kovid Goyal 66e2e60ac4 Allow deleting environment vars from the child environment using env 2021-09-16 08:43:17 +05:30
Kovid Goyal 69dc09489b Fix name collision 2021-09-16 07:59:42 +05:30
Kovid Goyal 2a8fd278c1 Bring implementation of XTSAVE and XTRESTORE into line with xterm
Now a stack of depth 1 is used to save/restore private mode values. And
saving/restoring individual modes is supported. This latter is used by
midnight commander.
2021-09-14 21:59:41 +05:30
Kovid Goyal 101377d7f2 Better fix for reflow with last line being empty output start line 2021-09-14 14:18:47 +05:30
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