rust/src
Alex Crichton f798674b86 std: Stabilize the net module
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, &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]
2015-03-13 16:47:42 -07:00
..
compiler-rt@58ab642c30 Updated compiler-rt 2015-01-09 18:38:30 +02:00
compiletest std: Stabilize the net module 2015-03-13 16:47:42 -07:00
doc Fixed several grammar errors and broke up very long line. 2015-03-12 17:00:35 -04:00
driver Test fixes and rebase conflicts 2015-01-30 14:53:34 -08:00
etc Rollup merge of #23310 - michaelwoerister:gdb-std-pp, r=alexcrichton 2015-03-13 18:11:13 +05:30
grammar Bison grammar: parse higher ranked constraints in where clauses 2015-03-01 13:59:35 -08:00
jemalloc@e24a1a025a bumping again to get the updated configure 2015-03-05 12:38:35 +05:30
liballoc Add an "allocator" attribute to mark functions as allocators 2015-03-13 03:19:30 +01:00
libarena Rename #[should_fail] to #[should_panic] 2015-03-09 10:14:21 -07:00
libbacktrace bitrig integration 2015-02-11 14:49:06 -08:00
libcollections Rollup merge of #23270 - frewsxcv:patch-5, r=alexcrichton 2015-03-12 09:14:31 +05:30
libcore Rollup merge of #23321 - apasel422:hash, r=alexcrichton 2015-03-13 18:11:46 +05:30
libcoretest Auto merge of #23162 - sfackler:debug-builders, r=alexcrichton 2015-03-12 07:30:44 +00:00
libflate Rm unused feature 2015-03-12 09:16:36 +05:30
libfmt_macros fix for new attributes failing. issue #22964 2015-03-05 11:53:51 -05:00
libgetopts doc: Fix extraneous as_slice()'s in docstrings 2015-03-09 07:54:19 -07:00
libgraphviz Fallout of std::old_io deprecation 2015-03-13 10:00:28 -07:00
liblibc Rollup merge of #23056 - awlnx:master, r=nrc 2015-03-06 22:22:33 +05:30
liblog Fallout of std::old_io deprecation 2015-03-13 10:00:28 -07:00
librand Example -> Examples 2015-03-11 21:11:40 -04:00
librbml Fallout of std::old_io deprecation 2015-03-13 10:00:28 -07:00
librustc Auto merge of #23292 - alexcrichton:stabilize-io, r=aturon 2015-03-13 20:22:16 +00:00
librustc_back Fallout of std::old_io deprecation 2015-03-13 10:00:28 -07:00
librustc_bitflags Example -> Examples 2015-03-11 21:11:40 -04:00
librustc_borrowck syntax: gather common fields of impl & trait items into their respective types. 2015-03-11 23:39:16 +02:00
librustc_driver Fallout of std::old_io deprecation 2015-03-13 10:00:28 -07:00
librustc_lint syntax: move MethMac to MacImplItem and combine {Provided,Required}Method into MethodTraitItem. 2015-03-11 23:39:16 +02:00
librustc_llvm Stabilize std::path 2015-03-12 16:38:58 -07:00
librustc_privacy syntax: move MethMac to MacImplItem and combine {Provided,Required}Method into MethodTraitItem. 2015-03-11 23:39:16 +02:00
librustc_resolve syntax: move MethMac to MacImplItem and combine {Provided,Required}Method into MethodTraitItem. 2015-03-11 23:39:16 +02:00
librustc_trans Auto merge of #23292 - alexcrichton:stabilize-io, r=aturon 2015-03-13 20:22:16 +00:00
librustc_typeck syntax: move MethMac to MacImplItem and combine {Provided,Required}Method into MethodTraitItem. 2015-03-11 23:39:16 +02:00
librustdoc Auto merge of #23292 - alexcrichton:stabilize-io, r=aturon 2015-03-13 20:22:16 +00:00
libserialize Fallout of std::old_io deprecation 2015-03-13 10:00:28 -07:00
libstd std: Stabilize the net module 2015-03-13 16:47:42 -07:00
libsyntax Auto merge of #23292 - alexcrichton:stabilize-io, r=aturon 2015-03-13 20:22:16 +00:00
libterm Fallout of std::old_io deprecation 2015-03-13 10:00:28 -07:00
libtest Auto merge of #23292 - alexcrichton:stabilize-io, r=aturon 2015-03-13 20:22:16 +00:00
libunicode Example -> Examples 2015-03-11 21:11:40 -04:00
llvm@bff6907697 updating llvm submodule to include bitrig support 2015-03-05 12:38:34 +05:30
rt renaming rust_load_self to rust_current_exe 2015-02-11 14:49:11 -08:00
rust-installer@60fd8abfca Upgrade rust-installer 2015-02-12 20:36:17 -08:00
rustbook Fallout of std::old_io deprecation 2015-03-13 10:00:28 -07:00
rustllvm Add support for target-cpu=native 2015-03-10 01:56:51 +01:00
test std: Stabilize the net module 2015-03-13 16:47:42 -07:00
snapshots.txt adding latest bitrig snapshot manually 2015-03-10 23:39:50 -07:00