Wez Furlong
180ff0d71a
filedescriptor: drop unused thiserror dep
...
refs: https://github.com/wez/wezterm/pull/186
2020-06-13 09:55:18 -07:00
Wez Furlong
f3e42c3d2a
point to local filedescriptor crate
2020-01-26 09:15:24 -08:00
Wez Furlong
8f1878c92c
filedescriptor: use winsock send/recv and respect non-blocking mode
2020-01-15 22:55:36 -08:00
Wez Furlong
08b0017c16
add FileDescriptor::set_non_blocking
2020-01-15 08:24:41 -08:00
Wez Furlong
55b4a08131
failure -> anyhow + thiserror
2019-12-14 20:06:25 -08:00
Wez Furlong
b9ae1a709d
fix macos build
2019-07-16 07:09:35 -07:00
Wez Furlong
33933ec523
filedescriptor: probe and remember filetype at construction
...
This avoids a deadlock waiting for the named pipe information to be
returned if we're probing during drop(). This does make the
OwnedHandle struct slightly larger on windows.
2019-07-16 00:27:10 -07:00
Wez Furlong
5ac61ec8d3
expand socket descriptor concept
...
I didn't notice that windows has separate traits for raw sockets,
so blanket impls for things that returned RawHandle's were not
applying on windows in the same way that they were on unix systems.
2019-06-19 11:11:06 -07:00
Wez Furlong
240bc8033c
prep for filedescriptor release
2019-06-18 23:35:53 -07:00
Wez Furlong
9ff22f9c09
add socketpair, with wip on windows
2019-06-18 08:31:27 -07:00
Wez Furlong
2c8e36648b
filedescriptor: fix a silly typo, enhance docs
2019-06-01 08:19:18 -07:00
Wez Furlong
d518c9b2c9
bump filedescriptor crate version to pickup pipe inheritance on windows
2019-05-24 21:26:23 -07:00
Wez Furlong
a9fd318095
prep for publishing filedescriptor to crates.io
2019-05-19 14:27:11 -07:00
Wez Furlong
9271c130c5
make filedescriptor crate compile on windows
2019-05-18 10:30:28 -07:00
Wez Furlong
b0d1a56eaa
move filedescriptor to its own crate
2019-04-22 21:20:33 -07:00