<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/net/tcp.rs, branch 1.0.0-beta</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.0.0-beta</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.0.0-beta'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2015-04-01T00:39:24+00:00</updated>
<entry>
<title>Test fixes and rebase conflicts, round 3</title>
<updated>2015-04-01T00:39:24+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-03-31T23:20:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=72f59732d7974767650abfc58f8287212e5a1fba'/>
<id>urn:sha1:72f59732d7974767650abfc58f8287212e5a1fba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rollup merge of #23873: alexcrichton/remove-deprecated</title>
<updated>2015-03-31T22:54:44+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-03-31T18:34:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=554946c81eeb4fcfceda782f6c5af394ab3fe8d3'/>
<id>urn:sha1:554946c81eeb4fcfceda782f6c5af394ab3fe8d3</id>
<content type='text'>
Conflicts:
	src/libcollectionstest/fmt.rs
	src/libcollectionstest/lib.rs
	src/libcollectionstest/str.rs
	src/libcore/error.rs
	src/libstd/fs.rs
	src/libstd/io/cursor.rs
	src/libstd/os.rs
	src/libstd/process.rs
	src/libtest/lib.rs
	src/test/run-pass-fulldeps/compiler-calls.rs
</content>
</entry>
<entry>
<title>std: Clean out #[deprecated] APIs</title>
<updated>2015-03-31T22:49:57+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-03-30T18:00:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d4a2c941809f303b97d153e06ba07e95cd245f88'/>
<id>urn:sha1:d4a2c941809f303b97d153e06ba07e95cd245f88</id>
<content type='text'>
This commit cleans out a large amount of deprecated APIs from the standard
library and some of the facade crates as well, updating all users in the
compiler and in tests as it goes along.
</content>
</entry>
<entry>
<title>std: Stabilize parts of std::os::platform::io</title>
<updated>2015-03-26T23:40:36+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-03-26T23:18:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6370f2978e485fd46bcb64f51a1c003395acfedc'/>
<id>urn:sha1:6370f2978e485fd46bcb64f51a1c003395acfedc</id>
<content type='text'>
This commit stabilizes the platform-specific `io` modules, specifically around
the traits having to do with the raw representation of each object on each
platform.

Specifically, the following material was stabilized:

* `AsRaw{Fd,Socket,Handle}`
* `RawFd` (renamed from `Fd`)
* `RawHandle` (renamed from `Handle`)
* `RawSocket` (renamed from `Socket`)
* `AsRaw{Fd,Socket,Handle}` implementations
* `std::os::{unix, windows}::io`

The following material was added as `#[unstable]`:

* `FromRaw{Fd,Socket,Handle}`
* Implementations for various primitives

There are a number of future improvements that are possible to make to this
module, but this should cover a good bit of functionality desired from these
modules for now. Some specific future additions may include:

* `IntoRawXXX` traits to consume the raw representation and cancel the
  auto-destructor.
* `Fd`, `Socket`, and `Handle` abstractions that behave like Rust objects and
  have nice methods for various syscalls.

At this time though, these are considered backwards-compatible extensions and
will not be stabilized at this time.

This commit is a breaking change due to the addition of `Raw` in from of the
type aliases in each of the platform-specific modules.

[breaking-change]
</content>
</entry>
<entry>
<title>Add #![feature] attributes to doctests</title>
<updated>2015-03-23T21:40:26+00:00</updated>
<author>
<name>Brian Anderson</name>
<email>banderson@mozilla.com</email>
</author>
<published>2015-03-13T22:28:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e9019101a82dd7f61dcdcd52bcc0123d5ed25d22'/>
<id>urn:sha1:e9019101a82dd7f61dcdcd52bcc0123d5ed25d22</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: Stablize io::ErrorKind</title>
<updated>2015-03-19T16:59:21+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-03-17T01:08:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dedac5eb3c657c39f9f328f303dc7ef01dd760c3'/>
<id>urn:sha1:dedac5eb3c657c39f9f328f303dc7ef01dd760c3</id>
<content type='text'>
This commit stabilizes the `ErrorKind` enumeration which is consumed by and
generated by the `io::Error` type. The purpose of this type is to serve as a
cross-platform namespace to categorize errors into. Two specific issues are
addressed as part of this stablization:

* The naming of each variant was scrutinized and some were tweaked. An example
  is how `FileNotFound` was renamed to simply `NotFound`. These names should not
  show either a Unix or Windows bias and the set of names is intended to grow
  over time. For now the names will likely largely consist of those errors
  generated by the I/O APIs in the standard library.

* The mapping of OS error codes onto kinds has been altered. Coalescing no
  longer occurs (multiple error codes become one kind). It is intended that each
  OS error code, if bound, corresponds to only one `ErrorKind`. The current set
  of error kinds was expanded slightly to include some networking errors.

This commit also adds a `raw_os_error` function which returns an `Option&lt;i32&gt;`
to extract the underlying raw error code from the `Error`.
</content>
</entry>
<entry>
<title>std: Stabilize the `net` module</title>
<updated>2015-03-13T23:47:42+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-03-13T21:22:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f798674b86382929ca17c88de422a6e2fdb27f2a'/>
<id>urn:sha1:f798674b86382929ca17c88de422a6e2fdb27f2a</id>
<content type='text'>
This commit performs a stabilization pass over the std::net module,
incorporating the changes from RFC 923. Specifically, the following actions were
taken:

Stable functionality:

* `net` (the name)
* `Shutdown`
* `Shutdown::{Read, Write, Both}`
* `lookup_host`
* `LookupHost`
* `SocketAddr`
* `SocketAddr::{V4, V6}`
* `SocketAddr::port`
* `SocketAddrV4`
* `SocketAddrV4::{new, ip, port}`
* `SocketAddrV6`
* `SocketAddrV4::{new, ip, port, flowinfo, scope_id}`
* Common trait impls for socket addr structures
* `ToSocketAddrs`
* `ToSocketAddrs::Iter`
* `ToSocketAddrs::to_socket_addrs`
* `ToSocketAddrs for {SocketAddr*, (Ipv*Addr, u16), str, (str, u16)}`
* `Ipv4Addr`
* `Ipv4Addr::{new, octets, to_ipv6_compatible, to_ipv6_mapped}`
* `Ipv6Addr`
* `Ipv6Addr::{new, segments, to_ipv4}`
* `TcpStream`
* `TcpStream::connect`
* `TcpStream::{peer_addr, local_addr, shutdown, try_clone}`
* `{Read,Write} for {TcpStream, &amp;TcpStream}`
* `TcpListener`
* `TcpListener::bind`
* `TcpListener::{local_addr, try_clone, accept, incoming}`
* `Incoming`
* `UdpSocket`
* `UdpSocket::bind`
* `UdpSocket::{recv_from, send_to, local_addr, try_clone}`

Unstable functionality:

* Extra methods on `Ipv{4,6}Addr` for various methods of inspecting the address
  and determining qualities of it.
* Extra methods on `TcpStream` to configure various protocol options.
* Extra methods on `UdpSocket` to configure various protocol options.

Deprecated functionality:

* The `socket_addr` method has been renamed to `local_addr`

This commit is a breaking change due to the restructuring of the `SocketAddr`
type as well as the renaming of the `socket_addr` method. Migration should be
fairly straightforward, however, after accounting for the new level of
abstraction in `SocketAddr` (protocol distinction at the socket address level,
not the IP address).

[breaking-change]
</content>
</entry>
<entry>
<title>Example -&gt; Examples</title>
<updated>2015-03-12T01:11:40+00:00</updated>
<author>
<name>Steve Klabnik</name>
<email>steve@steveklabnik.com</email>
</author>
<published>2015-03-12T01:11:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=64ab111b5387e9985df188a970350c9e6c7f1451'/>
<id>urn:sha1:64ab111b5387e9985df188a970350c9e6c7f1451</id>
<content type='text'>
This brings comments in line with https://github.com/rust-lang/rfcs/blob/master/text/0505-api-comment-conventions.md#using-markdown
</content>
</entry>
<entry>
<title>std: net: enable bind_error test on all platforms</title>
<updated>2015-03-05T23:33:24+00:00</updated>
<author>
<name>Stepan Koltsov</name>
<email>nga@yandex-team.ru</email>
</author>
<published>2015-03-05T23:33:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d3e7700de45d6f6cb6acd7f598f9e635fd4de6fb'/>
<id>urn:sha1:d3e7700de45d6f6cb6acd7f598f9e635fd4de6fb</id>
<content type='text'>
Bind on non-local IP address is essentially the same test, and it works
same way on all platforms.

Fixes #11530
</content>
</entry>
<entry>
<title>Use `const`s instead of `static`s where appropriate</title>
<updated>2015-03-02T16:11:51+00:00</updated>
<author>
<name>Florian Zeitz</name>
<email>florob@babelmonkeys.de</email>
</author>
<published>2015-02-27T14:36:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f35f973cb700c444d8c029ee13b37dc16d560225'/>
<id>urn:sha1:f35f973cb700c444d8c029ee13b37dc16d560225</id>
<content type='text'>
This changes the type of some public constants/statics in libunicode.
Notably some `&amp;'static &amp;'static [(char, char)]` have changed
to `&amp;'static [(char, char)]`. The regexp crate seems to be the
sole user of these, yet this is technically a [breaking-change]
</content>
</entry>
</feed>
