Commit graph

21 commits

Author SHA1 Message Date
2a582e25a8 Many fixes for the clipboard and others
- Reverse connections must be maintained to ensure messages are
  processed in order. (Whoops!)
- The clipboard context must remain live in order for the data to
  remain available for applications, at least on X11. (And it couldn't
  hurt elsewhere, either, I guess.)
- Print out the server version at startup time, so we can be sure what
  we're talking to.
- Print out the full details of the error when something goes wrong
  with `browse` or `clip`.
2024-08-08 10:07:57 -07:00
b8fe678ff0 Repository information in version 2024-08-07 12:14:17 -07:00
Brandon W Maister
18da61ed32 make server logging show messages in the frontend
now you can use the log crate and get messages in the frontend.
2024-08-05 16:59:41 +01:00
6335944591 One more test 2024-07-31 15:07:27 -07:00
3b1847d882 Require a file name for 'clip', use '-' for stdin
This makes argument parsing more reliable: to `fwd` to a server named
`clip` just leave off the file name.
2024-07-31 15:06:20 -07:00
46bd840bc0 Another test for clip garbage 2024-07-31 14:58:11 -07:00
604f31d8e6 Fix argument parsing (whoops)
This whole command line thing is actually busted; probably should make
it a little bit more robust.
2024-07-31 14:56:50 -07:00
3cb40bc2f4 Clippy 2024-07-31 14:45:20 -07:00
a40a493d39 Initial implementation of clipboard forwarding 2024-06-23 08:54:41 -07:00
3eba65f6e6 Refactor in prep for clip 2024-06-22 07:32:11 -07:00
ec130d38b9 Support running server side with sudo
This allows forwarding ports that you would otherwise not be able to
see. More dangerous, probably not what you want most of the time, but
OK for now.

(I continue to resist adding clap as a dependency.)
2023-04-30 06:51:37 -07:00
fc144162b9 Better command line parsing, version, usage
Also tests for same
2023-01-24 09:13:53 -08:00
d6c9ae8d71 Move browser code to core crate 2022-12-17 08:48:57 -08:00
John Doty
1ee8f2054c Split binary and library crate 2022-10-08 14:11:54 +00:00
John Doty
a1b9292409 Argument handling 2022-10-08 00:22:22 +00:00
John Doty
5b941cbe47 Well, it's true 2022-10-07 17:31:10 +00:00
John Doty
ac80579bf3 Cleaner and less repetitious
Also close individual sides of the connection independently.
2022-10-07 17:28:27 +00:00
John Doty
c5bf78fc71 It's alive 2022-10-07 13:56:59 +00:00
John Doty
5e26860731 Connecting, kinda 2022-10-07 03:07:07 +00:00
John Doty
2190ccd475 Starting to make progress 2022-10-07 01:35:34 +00:00
John Doty
bfa55d1492 Enumerate all of the listening processes and their ports 2022-10-04 18:13:57 +00:00