Commit Graph

  • e9ce5c02d0 Allow remote control commands to be interrupted by ctrl-c while waiting for a response Kovid Goyal 2022-08-10 17:00:04 +05:30
  • 5916d82580 Send disallowed responses when permission for rc is denied Kovid Goyal 2022-08-10 16:28:14 +05:30
  • 2c83b9902e Implement the permissions system for password based rc requests Kovid Goyal 2022-08-10 15:49:50 +05:30
  • fe07825ad9 Work on new permissions framework for rc commands Kovid Goyal 2022-08-10 11:06:40 +05:30
  • 56e83d7d07 Write code to decrypt commands received in kitty Kovid Goyal 2022-08-09 21:05:09 +05:30
  • c7e3c92a0a Allow listen_on to be used even without allow_remote_control Kovid Goyal 2022-08-09 20:39:10 +05:30
  • 1a643441f3 Make the kitty public key available as an env var to child processes Kovid Goyal 2022-08-09 20:25:28 +05:30
  • 2aee746da9 Write the code to encrypt rc messages to kitty Kovid Goyal 2022-08-09 20:17:18 +05:30
  • e64b1ba67c Start work on remote control passwords Kovid Goyal 2022-08-09 11:30:49 +05:30
  • 31be4f041e remove unused code Kovid Goyal 2022-08-10 12:31:47 +05:30
  • 1f5ebc408d When searching macOS for openssl search for the same version as used by the python we are running Kovid Goyal 2022-08-10 12:30:36 +05:30
  • b4d9a22df8 Install the same version of OpenSSL as used by python on brew based CI Kovid Goyal 2022-08-10 12:21:01 +05:30
  • d4168e3b80 Dont add openssl to the brewfile Kovid Goyal 2022-08-10 12:01:38 +05:30
  • 241c7af855 DRYer Kovid Goyal 2022-08-10 11:45:07 +05:30
  • 080fcd8fc1 Link against newer rather than older openssl Kovid Goyal 2022-08-10 11:36:56 +05:30
  • 1aad4c7ec3 Only search for brew openssl on failure Kovid Goyal 2022-08-10 11:35:43 +05:30
  • e0e0582b53 Fix #5364 Kovid Goyal 2022-08-10 11:31:00 +05:30
  • 0a6276b007 Implement completion for kitty @ global options Kovid Goyal 2022-08-09 18:54:11 +05:30
  • 2a2256f7d9 ... Kovid Goyal 2022-08-09 16:11:23 +05:30
  • ed81a60065 Add keywords completion for --cwd and --config Kovid Goyal 2022-08-09 16:07:04 +05:30
  • 5ad55dd165 Allow using file completion for any type of command line arg Kovid Goyal 2022-08-09 15:56:39 +05:30
  • 6860f7ffd6 fix zsh serialization of directory candidates ending with / Kovid Goyal 2022-08-09 14:51:14 +05:30
  • 33a3e3fb61 Add completion for kitty @ launch --logo Kovid Goyal 2022-08-09 14:30:13 +05:30
  • d4df3f67b6 Allow specifying completion for command line arguments that expect paths Kovid Goyal 2022-08-09 14:11:20 +05:30
  • f15a2f0c1f Change --session to resolve relative paths from the kitty config dir Kovid Goyal 2022-08-09 12:36:16 +05:30
  • 252288aff2 kitten completion: Fix --long-opt <TAB> not working Kovid Goyal 2022-08-09 12:02:25 +05:30
  • 65a20a2407 Merge branch 'show-key-kitten' of https://github.com/page-down/kitty Kovid Goyal 2022-08-09 11:32:10 +05:30
  • 5f180dbd9a ... pagedown 2022-08-09 12:29:22 +08:00
  • ee4e9aa678 Add missing modifier key aliases pagedown 2022-08-09 12:15:55 +08:00
  • 9f1c9529aa Allow completion for show_key kitten pagedown 2022-08-09 12:15:48 +08:00
  • 5bba1a0851 get_current_selection should return char* not const char* Kovid Goyal 2022-08-09 09:05:13 +05:30
  • e9823eb40c Cleanup previous PR Kovid Goyal 2022-08-09 08:54:47 +05:30
  • 14fc3f6ac4 Merge branch 'macos-accessibility' of https://github.com/page-down/kitty Kovid Goyal 2022-08-09 08:52:44 +05:30
  • 74714f942a Implement macOS accessibility protocol to provide selected text pagedown 2022-08-09 11:02:12 +08:00
  • 0d116e6ef0 Use four spaces to indent pagedown 2022-08-08 21:26:29 +08:00
  • 06108d66b1 Replace tab with four spaces indent pagedown 2022-08-08 21:24:53 +08:00
  • 21eece4c6d Ensure no bytecode is written when running shell based tests Kovid Goyal 2022-08-08 17:50:59 +05:30
  • 4dd696e4e0 Add API to glfw to get the currently active text selection Kovid Goyal 2022-08-08 15:52:34 +05:30
  • d04d4444af implement primary selection api on cocoa as stubs, can be useful for #5357 Kovid Goyal 2022-08-06 12:59:15 +05:30
  • a487a78200 Add type definitions for the crypto data types Kovid Goyal 2022-08-05 14:39:20 +05:30
  • f06a72b418 OpenSSL 3.0 apparently has API to get rid of the tag length magic number. Lets hope it works Kovid Goyal 2022-08-05 14:28:56 +05:30
  • 3270c9a527 Get rid of various magic length constants Kovid Goyal 2022-08-05 14:12:03 +05:30
  • a7b7fb560a Add tests for AES256GCM Kovid Goyal 2022-08-05 13:50:03 +05:30
  • 384eba6cd4 Wrap the OpenSSL API for AES 256 GCM encryption Kovid Goyal 2022-08-05 13:14:25 +05:30
  • dc7e3ba1ec DRYer Kovid Goyal 2022-08-05 08:57:22 +05:30
  • b1e0adcfdc ... Kovid Goyal 2022-08-05 08:14:29 +05:30
  • 2a5922ce92 Cleanup previous PR Kovid Goyal 2022-08-05 08:12:05 +05:30
  • 93694925ce Merge branch 'feature/toggle_bias' of https://github.com/mong8se/kitty Kovid Goyal 2022-08-05 08:11:35 +05:30
  • adfcbb004f Add layout_action to change bias on tall layout Steven Moazami 2022-08-04 19:29:17 -04:00
  • 6595898b73 Merge branch 'patch-4' of https://github.com/ctrlcctrlv/kitty Kovid Goyal 2022-08-04 20:45:29 +05:30
  • 81b33f1f6f Document how to build docs Fredrick Brennan 2022-08-04 11:12:04 -04:00
  • a1c4ffec20 Private raw key should be returned as a secret Kovid Goyal 2022-08-04 20:27:38 +05:30
  • 89854cca8b Test for secret derivation Kovid Goyal 2022-08-04 20:05:19 +05:30
  • 4fe5211ed7 Code to derive the shared secret with elliptic curve keys Kovid Goyal 2022-08-04 19:42:38 +05:30
  • 795b32efd7 Bash integration: Fix the inherit_errexit option being set by shell integration Kovid Goyal 2022-08-04 16:23:52 +05:30
  • 153064ef3a Fail if mlock fails Kovid Goyal 2022-08-04 11:16:36 +05:30
  • 183a31c884 mlock() the returned private key to prevent it from being saved to swap Kovid Goyal 2022-08-04 11:08:54 +05:30
  • adf47bed89 Use an actual type for the EC key rather than a capsule Kovid Goyal 2022-08-04 11:01:14 +05:30
  • cc297a8984 Merge branch 'patch-1' of https://github.com/TomFaulkner/kitty Kovid Goyal 2022-08-04 07:39:38 +05:30
  • 4ef17edace Fix doc typo: throught to throughout Tom Faulkner 2022-08-03 23:52:00 +00:00
  • e56fa9d31f Try and get Homebrew installed OpenSSL to work Kovid Goyal 2022-08-03 23:17:47 +05:30
  • 791d4b30fb We need openssl installed via brew Kovid Goyal 2022-08-03 22:47:11 +05:30
  • a9a9f1ac00 Add a mappable action to toggle the mirrored setting for the tall and fat layouts Kovid Goyal 2022-08-03 22:45:38 +05:30
  • fd6bc55db6 Start work on implementing public key crypto Kovid Goyal 2022-08-03 22:37:35 +05:30
  • 97d7329d14 A nicer fix for kitty @ ls | less Kovid Goyal 2022-08-02 18:31:27 +05:30
  • 609d42e2bc Ignore EAGAIN when doing tty io Kovid Goyal 2022-08-02 17:21:28 +05:30
  • 3463931dad Rewrite clipboard kitten to only change termios settings while it is actually reading from terminal Kovid Goyal 2022-08-02 17:14:27 +05:30
  • f637bf2377 socket prewarm: Dont control the tty if STDOUT is not a tty Kovid Goyal 2022-08-02 14:09:34 +05:30
  • 2271eb5e60 Document KITTY_PREWARM_SOCKET_REAL_TTY Kovid Goyal 2022-08-02 08:38:07 +05:30
  • a5cbb552f0 Allow prewarming of kitty @ commands Kovid Goyal 2022-08-01 19:47:28 +05:30
  • e43ca5b031 Add an implementation using splice() for in-kernel tty copies Kovid Goyal 2022-08-01 19:02:20 +05:30
  • cc7e668ad6 Cleanup editing of proc environ Kovid Goyal 2022-07-26 16:38:37 +05:30
  • a01dbbdf04 Fix launcher not building universal Kovid Goyal 2022-07-21 10:54:21 +05:30
  • e0ce0a67cc ensure setting KITTY_PREWARM_SOCKET_REAL_TTY does not clobber the environ Kovid Goyal 2022-07-20 22:08:36 +05:30
  • 0d83a8866b Make setting the real tty name more robust Kovid Goyal 2022-07-20 21:50:26 +05:30
  • f7a7e39a36 prewarm wrapper should indicate it is active via the process environment Kovid Goyal 2022-07-20 21:15:51 +05:30
  • 67cb466ea9 ... Kovid Goyal 2022-07-20 21:15:08 +05:30
  • 376688ab9f Add a test for SIGTSTP via ctrl-z Kovid Goyal 2022-07-13 22:32:25 +05:30
  • 8668087d15 flush data when exiting on signal as well Kovid Goyal 2022-07-13 22:04:49 +05:30
  • 9b1c23987c Fix stdout line_buffering incorrect when parent kitty instance has its stdout redirected to a file Kovid Goyal 2022-07-13 21:40:55 +05:30
  • 784daa1a4b Update changelog for socket prewarm Kovid Goyal 2022-07-13 21:03:47 +05:30
  • 06f9b73a7b Workaround mypy bug Kovid Goyal 2022-07-13 20:55:41 +05:30
  • 62c0272df2 Get test.py working when prewarm socket is in operation Kovid Goyal 2022-07-13 20:39:57 +05:30
  • 7ce2b4c641 Indicate in kitty_run_data we are prewarmed Kovid Goyal 2022-07-13 20:19:27 +05:30
  • 08c2de541f Nicer establish_controlling_tty Kovid Goyal 2022-07-13 19:44:09 +05:30
  • 94551623ec Make JSON reading test a bit more robust Kovid Goyal 2022-07-13 19:14:59 +05:30
  • cb0d23bae8 Use sub tests for the various prewarm things Kovid Goyal 2022-07-13 18:57:07 +05:30
  • cb5157f2d1 Nicer implementation of eintr_retry that does not prevent type checking of wrapped functions arguments Kovid Goyal 2022-07-13 15:50:45 +05:30
  • 32dcbbb5e1 ... Kovid Goyal 2022-07-13 15:17:12 +05:30
  • 4eedf0d36c macOS needs SIGTTOU SIGTTIN explicitly ignored to allow the supervisor to use TIOCSWINSZ Kovid Goyal 2022-07-13 15:05:08 +05:30
  • be458303c5 Debounce WINSZ events Kovid Goyal 2022-07-13 14:51:00 +05:30
  • 78542ede14 Separate test for SIGWINCH handling Kovid Goyal 2022-07-13 14:20:39 +05:30
  • df8800b7ff tcsetpgrp can raise EINTR despite python claiming to auto retry Kovid Goyal 2022-07-13 11:06:19 +05:30
  • 9c30cd8891 Use a process supervisor for socket workers Kovid Goyal 2022-07-13 09:36:12 +05:30
  • dda28efd66 Use the same signal to stop as stopped the child Kovid Goyal 2022-07-11 20:47:57 +05:30
  • b78183972c Report child stop to wrapper process Kovid Goyal 2022-07-11 19:06:15 +05:30
  • fc06196a3e Restore termios state when stopping Kovid Goyal 2022-07-11 14:48:03 +05:30
  • 2a1809a2d8 When exiting with a signal run cleanup Kovid Goyal 2022-07-11 14:41:48 +05:30
  • ac5c312267 Work on handling child stop events Kovid Goyal 2022-07-11 10:27:39 +05:30
  • 8f3174038b Fix running of test suite inside kitty Kovid Goyal 2022-07-11 10:12:08 +05:30