Commit Graph
11697 Commits
Author SHA1 Message Date
Kovid Goyal 1df3ef648c Clean up getting runtime dir on darwin 2023-02-26 08:01:03 +05:30
Kovid Goyal 4d8ccd8e94 ... 2023-02-26 08:01:03 +05:30
Kovid Goyal f40380b05a More useful Set methods 2023-02-26 08:01:03 +05:30
Kovid Goyal 3703b4dbef API to conveniently generate secure tokens 2023-02-26 08:01:03 +05:30
Kovid Goyal 907a51c99c Code to read needed options from kitty.conf in a kitten 2023-02-26 08:01:03 +05:30
Kovid Goyal 0614c63966 Handle XDG_CONFIG_DIRS in Go as well 2023-02-26 08:01:03 +05:30
Kovid Goyal a84b688038 Embed the data files needed for the ssh kitten into the Go binary 2023-02-26 08:01:03 +05:30
Kovid Goyal b4b8943e64 Replace some more uses of sync.Once 2023-02-26 08:01:03 +05:30
Kovid Goyal 587d06b295 Replace use of sync.Once 2023-02-26 08:01:03 +05:30
Kovid Goyal fa0773d9d2 Use a struct to store connection related data 2023-02-26 08:01:03 +05:30
Kovid Goyal d656017f27 Move SSH askpass implementation into kitten 2023-02-26 08:01:02 +05:30
Kovid Goyal 6f4d89045a A nicer implementation of sync.Once
Doesnt require storing the result of the function in a dedicated global
variable with a dedicated getter function
2023-02-26 08:01:02 +05:30
Kovid Goyal fbaaca1be9 Function to create symlinks atomically 2023-02-26 08:01:02 +05:30
Kovid Goyal fa45324d39 Port code to read cloned env 2023-02-26 08:01:02 +05:30
Kovid Goyal 88077fdbcd Allow Stat() for MMap objects 2023-02-26 08:01:02 +05:30
Kovid Goyal 5a8d903a4d Go SHM API to read simple data with size from SHM name 2023-02-26 08:01:02 +05:30
Kovid Goyal 3f829ccdde Handle invalid args and passthrough 2023-02-26 08:01:02 +05:30
Kovid Goyal 06bfa671d9 Allow specifying the paths to search in Which() 2023-02-26 08:01:02 +05:30
Kovid Goyal 97b9572bec Port parsing of ssh args 2023-02-26 08:01:02 +05:30
Kovid Goyal 12c8af60dc String repr for Set 2023-02-26 08:01:02 +05:30
Kovid Goyal 57839b4e03 Port function to get ssh cli options by running ssh binary 2023-02-26 08:01:02 +05:30
Kovid Goyal 407555c6c8 Get completion working for kitten ssh 2023-02-26 08:01:02 +05:30
Kovid Goyal 590c1bd7ad dont parse args for the ssh kitten as it will do so itself 2023-02-26 08:01:02 +05:30
Kovid Goyal 46367bceed ... 2023-02-26 08:01:02 +05:30
Kovid Goyal 041c646d46 Fix parsing of copy args 2023-02-26 08:01:02 +05:30
Kovid Goyal d98504e1a6 Finish porting SSH config file parsing 2023-02-26 08:01:02 +05:30
Kovid Goyal 07f4adbab5 Also add tests for bad lines 2023-02-26 08:01:02 +05:30
Kovid Goyal 7b4738125b Move config code into its own package 2023-02-26 08:01:02 +05:30
Kovid Goyal 2b7d6d45df Finish up config parser port 2023-02-26 08:01:01 +05:30
Kovid Goyal 747411be00 Finish implementation of config file parsing
Still needs tests
2023-02-26 08:01:01 +05:30
Kovid Goyal 70086451e7 Port parsing of env instructions 2023-02-26 08:01:01 +05:30
Kovid Goyal 32aa580984 Store parsed multi option values on the config object 2023-02-26 08:01:01 +05:30
Kovid Goyal 1470b11024 Dont parse default values 2023-02-26 08:01:01 +05:30
Kovid Goyal 5822bb23f0 Work on porting config file parsing to Go 2023-02-26 08:01:01 +05:30
Kovid Goyal 6f63d9c5d4 Start work on porting the SSH kitten to Go 2023-02-26 08:01:01 +05:30
Kovid Goyal 3d3bfe6c75 ... 2023-02-26 08:00:50 +05:30
Kovid Goyal d550aef792 Fix #6056 2023-02-25 08:49:49 +05:30
Kovid Goyal 0d0f74a131 Note that we use tabs for indent in *.go files in editorconfig 2023-02-25 08:33:51 +05:30
Kovid Goyal ed64899b83 Merge branch 'indent_style_space' of https://github.com/ornicar/kitty 2023-02-25 08:24:40 +05:30
Thibault Duplessis 098530ad38 fix typo in .editorconfig
According to https://editorconfig.org/#file-format-details:

> indent_style: set to tab or space to use hard tabs or soft tabs respectively.

Apologies if this is known and the previous `spaces` syntax is preferred.
In that case of course just close the PR.

Thanks for kitty 🐱
2023-02-24 19:03:47 +01:00
Kovid Goyal b0f552c332 Fix upload to github not aborting for uploads that fail with protocol errors rather than failure responses 2023-02-24 20:34:46 +05:30
Kovid Goyal f7f4384876 Also log start of upload 2023-02-24 20:29:51 +05:30
Kovid Goyal 7dd20d4c79 Dont output empty brackets for release versions which dont have KITTY_VCS_REV 2023-02-24 20:11:09 +05:30
Kovid Goyal 7ab0c3013e Merge branch 'fix-macos' of https://github.com/page-down/kitty 2023-02-24 17:31:37 +05:30
pagedown 4f44945c07 macOS: Restore pre-edit text after inserting text from the service
Add comments to explain how to get the methods to be called.
2023-02-24 19:57:09 +08:00
pagedown f8b53df5c2 macOS: Fix resize_in_steps being applied when double-clicking on the
title bar to maximize the window
2023-02-24 19:56:51 +08:00
Kovid Goyal c5149dec24 ... 2023-02-23 22:19:45 +05:30
Kovid Goyal e41897f93f Also clean *_generated.bin files 2023-02-23 21:24:59 +05:30
Kovid Goyal 5ce85292b7 Cleanup previous PR
1) Fix a text_len leaking
2) No need to re-decode overlay_text
3) get_ime_cursor_position should not change the current global callback OS window
2023-02-23 21:19:30 +05:30
Kovid Goyal dba8d278cb Merge branch 'ime' of https://github.com/page-down/kitty 2023-02-23 20:50:25 +05:30