Commit Graph

63 Commits

Author SHA1 Message Date
Chip Senkbeil
e51392fcde
Simplify watch event passing by dropping events rather than blocking the hot code path 2022-06-06 18:47:59 -05:00
Chip Senkbeil
baee1e2bfa
Fix watch tests for linux & bump dependency versions (#104)
* Fix #90
* Fix #103
* Update dependencies
2022-06-04 17:01:47 -05:00
Chip Senkbeil
4180ae279a
Bump to 0.16.4 and fix #80 and fix #102 2022-06-01 15:35:29 -05:00
Chip Senkbeil
329213dbe4
Add --ssh-backend support to cli and bump to 0.16.3 2022-05-29 15:16:35 -05:00
Chip Senkbeil
353e58177b
Bump to 0.16.2 2022-05-27 16:34:18 -05:00
Chip Senkbeil
5c2ade97b1
Fix clippy warning 2022-05-14 13:30:46 -05:00
Chip Senkbeil
10d66db16f
Update to 0.16.1 release 2022-05-13 15:20:54 -05:00
Chip Senkbeil
b53517892d
Update to 0.16.0 release 2022-05-12 13:37:45 -05:00
Chip Senkbeil
268ec948d6
Add filesystem watching & remove distant-lua (#102) 2022-03-30 19:32:20 -05:00
Chip Senkbeil
f46eeea8d5
Add environment as new output session type and change defaults to environment for CLI (#98) 2022-02-13 19:05:56 -06:00
Chip Senkbeil
3794466dd0
Add windows & unix optional metadata (#96) 2022-02-05 00:54:01 -06:00
Chip Senkbeil
0308343794
Rename detached to persist (#94) 2022-02-04 23:22:09 -06:00
Chip Senkbeil
050bb3496a
Complete shell support (#89) 2022-01-31 20:44:37 -06:00
Chip Senkbeil
c6c07c5c2c
Unfinished pty support, renaming ProcRun -> ProcSpawn and ProcStarted -> ProcSpawned, switch ProcStdin/ProcStdout/ProcStderr to use Vec<u8> instead of String, update RemoteProcess and RemoteLspProcess to support reading/writing string and vec<u8> 2021-12-19 23:48:22 -06:00
Chip Senkbeil
8c234f95d0
Support json ssh auth (#83)
* Add support for JSON communication of ssh auth during launch
* Switch to cbor alternative lib as serde cbor has been abandoned
* Refactor some request & response types to work with new cbor lib
* Update cli to always include serde dep
* Expose origin_id of remote process as method
2021-12-12 15:32:13 -06:00
Chip Senkbeil
2122a5ba39
Bump to v0.15.1 2021-11-15 20:41:29 -06:00
Chip Senkbeil
92bbe55a13
Merge branch 'master' of github.com:chipsenkbeil/distant 2021-11-11 13:03:57 -06:00
Chip Senkbeil
2c0883878d
Add --key-from-stdin option to listen cli command to read key from stdin instead of generating 2021-11-11 13:03:36 -06:00
Chip Senkbeil
669d419672
Remove dns resolution for ssh session and add disclaimer to distant session about dns resolution 2021-11-10 12:41:08 -06:00
Chip Senkbeil
0f56669ccd
Add more logging to distant and ssh handler proc_run methods 2021-10-18 00:18:54 -05:00
Chip Senkbeil
a672515378
Improve distant-core readme 2021-10-16 16:00:07 -05:00
Chip Senkbeil
fc2a6ab09c
Bump to v0.15.0 release and add readme for distant-ssh2 2021-10-16 15:38:07 -05:00
Chip Senkbeil
fefcc66737
Bump to v0.15.0-alpha.22 and update distant/ssh handlers to inject exit code 0 when successful 2021-10-16 14:48:48 -05:00
Chip Senkbeil
1dc5b69236
Bump to v0.15.0-alpha.21 2021-10-16 13:41:58 -05:00
Chip Senkbeil
4957651696
Fix append_file and append_file_text not creating a file when missing 2021-10-16 13:41:23 -05:00
Chip Senkbeil
dba8a80dd8
Bump to v0.15.0-alpha.20 and fix ssh -> distant session not binding to proper interface 2021-10-15 23:45:45 -05:00
Chip Senkbeil
d62f91be76
Bump to v0.15.0-alpha.19 2021-10-15 21:15:24 -05:00
Chip Senkbeil
e01a322866
Bump to v0.15.0-alpha.18 2021-10-15 16:50:21 -05:00
Chip Senkbeil
976544eebd
Fix inmemory stream getting stuck 2021-10-15 16:26:34 -05:00
Chip Senkbeil
0f6cf3d537
Bump to v0.15.0-alpha.17 2021-10-14 16:24:14 -05:00
Chip Senkbeil
ab3417c7f2
Fix clippy warnings 2021-10-14 12:38:09 -05:00
Chip Senkbeil
d025ff28ab
Fix stdout, stderr, and stdin causing deadlock; update status to only acquire a read lock 2021-10-14 09:36:00 -05:00
Chip Senkbeil
11c3e5c34e
Update nvim_wrap_async to use vim.defer_fn instead of schedule and support optional interval; bump to v0.15.0-alpha.16 2021-10-14 02:04:21 -05:00
Chip Senkbeil
a8b6f3eb31
Add status method to RemoteProcess and lua module equivalent 2021-10-14 01:16:43 -05:00
Chip Senkbeil
e0312c118c
Bump to v0.15.0-alpha.15 2021-10-13 02:36:07 -05:00
Chip Senkbeil
4050a421bc
Add spacing and change to DISTANT CONNECT from DISTANT DATA 2021-10-13 01:06:42 -05:00
Chip Senkbeil
d4312649e6
Fix lockup of AsyncWrite for write half of transport by directly doing async call to trigger cx 2021-10-13 00:28:06 -05:00
Chip Senkbeil
7c27c24636
Fix InmemoryStreamWriteHalf AsyncWrite to properly yield pending upon full channel 2021-10-12 22:51:59 -05:00
Chip Senkbeil
f1e0f82df5
Added missing error response support in SessionChannelExt 2021-10-12 19:56:05 -05:00
Chip Senkbeil
201101cb7f
Bump to v0.15.0-alpha.14 2021-10-10 23:11:11 -05:00
Chip Senkbeil
c2e588544f
Update wezterm-ssh dep to 0.2.0, fix ssh -> distant session, refactor session to have optional details included 2021-10-10 23:09:42 -05:00
Chip Senkbeil
043ae6ca4b
Couple of changes:
1. Add support to detach processes from distant server
2. Refactor distant_bin and distant_args to distant.bin and distant.args
3. Add use_login_shell option for launch distant opts
2021-10-10 15:05:04 -05:00
Chip Senkbeil
bd526c9c82
Fix clippy warning 2021-10-10 02:46:51 -05:00
Chip Senkbeil
a5c761c62c
Fix bug where ReadBuf.put_slice(...) was used, but the slice was too big 2021-10-10 02:11:42 -05:00
Chip Senkbeil
733cc152ea
Bump to v0.15.0-alpha.12 and fix nil for distant_args 2021-10-10 00:03:57 -05:00
Chip Senkbeil
5cc05b8a7a
Bump to v0.15.0-alpha.11 2021-10-09 22:45:31 -05:00
Chip Senkbeil
c994d090da
Bump to v0.15.0-alpha.10 2021-10-09 22:00:13 -05:00
Chip Senkbeil
2ae80950cf
Bump to v0.15.0-alpha.9 2021-10-09 20:58:38 -05:00
Chip Senkbeil
cf24ba21c3
Bump to 0.15.0-alpha.8 2021-10-09 19:26:32 -05:00
Chip Senkbeil
4cb5ba3b98
Fix tests 2021-10-09 19:24:59 -05:00