- 23 5月, 2012 21 次提交
-
-
由 Jeff Olson 提交于
-
由 Jeff Olson 提交于
.. turns out that, without the export, the modules aren't accessible outside of the crate, itself. I thought that, by importing some module into another (nesting it) and exporting from that nested module (which is, itself, exported from std.rc) that my mod would be in the build artifact. This doesn't appear to be the case. learning is fun!
-
由 Jeff Olson 提交于
.. going to rework the listen() API to be non-blocking.
-
由 Jeff Olson 提交于
-
由 Jeff Olson 提交于
also whitespace cleanup .. for now, the test just spins up the server and listens for messages, echoing them back to an output port. there's a "kill" msg that it will listen for. need to point the tcp client and server test impls at each other for a loopback server/client test, like how its done in uv::ll once ipv6 parse/format lands, i can add another test using the entirely same codebase, but substituting an ip_addr ipv6 varient for the ipv4 varient used in the existing code still need some other plumbing to get the client/server tests to work together.
-
由 Jeff Olson 提交于
still need implementation for parsing/output formatting and (perhaps?) representation (for now, i just followef the ipv4 variant's lead and am representing it as a tuple of 8x u16). parsing an ipv6 addr is way more complex than parsing an ipv4 addr, so i'm putting off an implementation here, for now. candidate solutions: - could use getaddrinfo() (exists on both POSIX and windows), but with incompatible fn signatures. - libuv has a way to parse an ipv6 string into a sockaddr_in6, but it also requires a port, so it's probably not aprop for ip_addr
-
由 Jeff Olson 提交于
more flexibility..
-
由 Jeff Olson 提交于
-
由 Jeff Olson 提交于
they're changed into a net::tcp::tcp_err_data record, for now. once the scope of possible tcp errors, from libuv, is established ill create an err type for each one and return those where they might occur
-
由 Jeff Olson 提交于
-
由 Jeff Olson 提交于
-
由 Jeff Olson 提交于
-
由 Jeff Olson 提交于
-
由 Jeff Olson 提交于
-
由 Jeff Olson 提交于
* tweaked the layout of sockaddr_in6 struct in anticipation of future use * changed several uv:ll fn signatures to use generics and be more flexible with ptr types they get passed * add uv_err_data and a help fn to return it.. packages up err_name and err_msg info from uv_get_last_error() stuff..
-
由 Jeff Olson 提交于
-
由 Jeff Olson 提交于
-
由 Eric Holk 提交于
-
由 Eric Holk 提交于
This should go in libstd, but currently resolve bugs make this not work.
-
由 Eric Holk 提交于
Send is no longer a subkind of copy. This allows for sendable, but non-copyable resources. Closes #2420.
-
由 Niko Matsakis 提交于
-
- 22 5月, 2012 2 次提交
-
-
由 Brian Anderson 提交于
-
由 Niko Matsakis 提交于
The old way was inconsistent---the head was unboxed but the tail was boxed. This resulted in numerous needless copies and also made the borrow check unhappy, because the head tended to be stored in mutable memory.
-
- 21 5月, 2012 1 次提交
-
-
由 Niko Matsakis 提交于
-
- 20 5月, 2012 2 次提交
-
-
由 Erick Tryzelaar 提交于
-
由 Erick Tryzelaar 提交于
-
- 19 5月, 2012 6 次提交
-
-
由 Niko Matsakis 提交于
also: add a non-operator-overloaded method for [] to work around #2378
-
由 Niko Matsakis 提交于
-
由 Niko Matsakis 提交于
-
由 Niko Matsakis 提交于
-
由 Eric Holk 提交于
-
由 Brian Anderson 提交于
-
- 18 5月, 2012 1 次提交
-
-
由 Eric Holk 提交于
-
- 16 5月, 2012 1 次提交
-
-
由 Lindsey Kuper 提交于
Closes #2227.
-
- 04 5月, 2012 5 次提交
-
-
由 Tim Chevalier 提交于
-
由 Tim Chevalier 提交于
-
由 Tim Chevalier 提交于
-
由 Tim Chevalier 提交于
-
由 Tim Chevalier 提交于
Changed a while loop into a for loop in std::bitv::equal. Yay!
-
- 03 5月, 2012 1 次提交
-
-
由 Brian Anderson 提交于
-