Wez Furlong
dc3c5cbdd6
enable url highlighting over mux
2019-06-21 21:40:48 -07:00
Wez Furlong
e12f413224
propagate url clicks back to client
2019-06-21 18:44:07 -07:00
Wez Furlong
938eb5e1cf
remove old coarse pdus
2019-06-20 21:38:08 -07:00
Wez Furlong
4171ad3aa3
fix surface size for newly spawned tabs
...
Problem scenario was:
* spawn a window
* resize it larger
* spawn a new tab
When working with a mux client tab, the surface size in the new tab
didn't reflect the size of the remote surface, so the rendering was
messed up.
Arrange to know the size up front.
2019-06-20 08:46:58 -07:00
Wez Furlong
7bff509540
allow server to unilaterally send clipboard when it changes
2019-06-20 08:29:09 -07:00
Wez Furlong
c18dd96472
can now push changes from server->client
...
Need to emit them in more places. The idea is that this helps
to reduce the event->display latency.
2019-06-17 08:47:24 -07:00
Wez Furlong
df381e483c
refactor server side client session state
2019-06-16 22:29:30 -07:00
Wez Furlong
6ceefb2576
re-structure client in readiness for unilateral responses
2019-06-16 21:04:53 -07:00
Wez Furlong
cf2b4896c5
clippy
2019-06-16 21:04:53 -07:00
Wez Furlong
6beee56675
helpers for streaming decode of pdus
2019-06-16 21:04:53 -07:00
Wez Furlong
302db2c976
a lighter way to pass selection ranges for client tabs
2019-06-16 21:04:53 -07:00
Wez Furlong
b58d329b07
some plumbing to use Surface+Change for the mux protocol
2019-06-16 21:04:53 -07:00
Wez Furlong
4089adba20
disable nagling, saves ~100ms latency
2019-06-14 08:30:24 -07:00
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