Commit Graph
23 Commits
Author SHA1 Message Date
Wez Furlong a2b52eb777 remove IsTabDead rpc; can infer it from poll 2019-06-12 07:05:38 -07:00
Wez Furlong 7b7258d410 plumb title for mux tabs 2019-06-11 08:35:07 -07:00
Wez Furlong 7456c06028 basically working attach to remote tabs/windows
The Domain::spawn interface needs to be adjusted to allow indicating
which window we want to spawn into, or whether the spawn should
create a new window, but aside from that, we can now attach to
a mux server and instantiate tabs and windows!
2019-06-11 06:48:19 -07:00
Wez Furlong 9b6800f589 we can now pass the clipboard back from the remote tab
So clicking to select now populates the clipboard
2019-06-10 08:13:14 -07:00
Wez Furlong 2ae68209b7 improve dirty line management in client tabs
This fixes up a case where a tab was closed and the screen
didn't repaint to show the now-current tab.
2019-06-10 07:57:08 -07:00
Wez Furlong 70579b45b7 improve error handling in mux codec 2019-06-09 21:00:00 -07:00
Wez Furlong 8b6317ba19 add resize to clienttab 2019-06-09 17:59:41 -07:00
Wez Furlong d00eb0cab4 implement client side send paste 2019-06-09 16:39:54 -07:00
Wez Furlong 86cd39eb4e we can now send input to a client tab 2019-06-09 16:33:57 -07:00
Wez Furlong 46fb1fe40c we can now see the remote tab rendered via the muxed domain 2019-06-09 13:38:19 -07:00
Wez Furlong ee54864d6a allow writing to a muxed tab 2019-06-09 13:00:36 -07:00
Wez Furlong e98d8acb96 add spawn rpc 2019-06-09 08:15:37 -07:00
Wez Furlong 34d6d95b6f adopt log and env_logger for logging 2019-06-08 15:17:41 -07:00
Wez Furlong f87901c484 tidy up some failure usage 2019-05-26 08:58:59 -07:00
Wez Furlong a05bca460e fixup unused doc comment warning 2019-05-26 07:59:39 -07:00
Wez Furlong a4a078cf98 Employ zstd compression for large pdus
This cuts down the coarse data from ~13k to ~200 bytes
2019-03-22 20:41:50 -07:00
Wez Furlong 2077e3fd21 use varbincode for mux protocol; results in ~3x smaller packets
Reduces the size of the full screen serialized size from 40k -> 13k.

Note that the `zlo` crate (which doesn't appear to have a repo
on github any longer; sources are only found in the crates.io
documentation source view), employes zigzag encoding of all integers
and floating point values and takes the size down to just under 10k.

A todo is to follow up on that and see if we could adopt the same
scheme in varbincode.
2019-03-22 20:41:50 -07:00
Wez Furlong fe7502fc0b implement coarse tab data rpc PoC
This required switching away from Rc to Arc so that the data in the
client can transit between threads.

This isn't useful yet.
2019-03-22 20:41:50 -07:00
Wez Furlong 7cdd1876d1 Enable serializing various Line and Cell related structs 2019-03-22 20:41:50 -07:00
Wez Furlong 4bdbb072f9 add ListTabs rpc 2019-03-22 20:41:50 -07:00
Wez Furlong c6d9364901 move serial number to framing layer
This makes it generally smaller because we can use a varint encoding
for it, and avoids repeating that field in all of the pdu structs.
2019-03-22 20:41:50 -07:00
Wez Furlong bd1b66e758 add simple ping/pong cli rpc 2019-03-22 20:41:50 -07:00
Wez Furlong 891bd89939 add codec skeleton and tests 2019-03-22 20:41:50 -07:00