about summary refs log tree commit diff
path: root/src/libstd
AgeCommit message (Collapse)AuthorLines
2012-06-29std: mapping additional libuv ip string helpers.. add test for sockaddr_in6Jeff Olson-2/+35
.. but the test is kind of broken.. it appears that rust pads structs for alignment purposes? I can't get the struct to == 28.. that appears to be the native size of sockaddr_in6.. so we have a size 32 struct, for now.
2012-06-29core: str::as_slice is unneeded, yay! fixes std::net::tcp socket_buf testJeff Olson-7/+5
i mistook an "unconstrained type" error, due to type-inference messup because i didnt have return vals in some closure wired-up right, for being due to not having a str as a str/& (a str will actually auto-coerce to a str/&, so str::as_slice was erroneously added. my bad).
2012-06-29std: test impl for using tcp_socket_buf and its reader/writer impls. fails.Jeff Olson-5/+91
needs work. probably the slice code and/or the way that the tcp_socket_buf is wrapped in a shared box
2012-06-29std: renaming impl for tcp_socket and reshuffle/cleanup for tcp_socket_bufJeff Olson-5/+3
2012-06-29std: finish impl of io::writer for tcp_socket_bufJeff Olson-4/+7
2012-06-29std: rework signature of tcp::write common impl to make io::writer possibleJeff Olson-1/+1
2012-06-29std: add buffered wrapper to tcp_socket + io::reader impl. no tests, yet.Jeff Olson-0/+106
need to do some other work, in the subsequent commit, to add io::writer, then tests.
2012-06-29std: doc and misc cleanup in net::tcpJeff Olson-21/+35
* updated rustdoc info for several functions * changed read_stop to take control of the port returned by read_start * made write_future do an explicit data copy with the binary vector it is passed
2012-06-29std: EADDRINUSE and EACCES err tests for tcp server + more cleanupJeff Olson-322/+278
.. confounded resolve!
2012-06-29std: factor main body of tcp::listen into reusable listen_commonJeff Olson-5/+19
2012-06-29std: some cleanup in net::tcp rename listen_to_conn->listenJeff Olson-29/+30
2012-06-29std: dump the tcp::new_listener server APIJeff Olson-202/+7
2012-06-29std: mod cleanup, impl/test for conn. refused err + mem leak fixJeff Olson-35/+100
2012-06-29std: import/export cleanup in net_tcpJeff Olson-41/+45
2012-06-29std: kludge export of net_ip in std.rc until submodule export is sortedJeff Olson-1/+1
2012-06-28Fix sys::refcount and remove dbg::refcountBen Blum-6/+0
2012-06-27Replace more vector additions (issue #2719)Eric Holk-11/+11
2012-06-27Add an overloaded [] function to the map interface. Closes #2730.Michael Sullivan-0/+8
2012-06-26Change 'native' and 'crust' to 'extern'.Graydon Hoare-23/+23
This comes with a terminology change. All linkage-symbols are 'extern' now, including rust syms in other crates. Some extern ABIs are merely "foreign". The term "native" is retired, not clear/useful. What was "crust" is now "extern" applied to a _definition_. This is a bit of an overloading, but should be unambiguous: it means that the definition should be made available to some non-rust ABI.
2012-06-26libstd: Work around some metadata infelicities that are causing problems in ↵Patrick Walton-7/+9
resolve3, and remove an unused glob Conflicts: src/libstd/net_tcp.rs src/libstd/par.rs
2012-06-26perf: improved the core-std benchmarkEric Holk-1/+1
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-376/+379
2012-06-25Some perf fixes, although vec::slice is still too slow (Issue #2719)Eric Holk-3/+3
2012-06-25MergeTim Chevalier-10/+11
2012-06-25Improved graph500 performance (Issue #2719)Eric Holk-2/+3
2012-06-22core: Name is_failure to is_err, is_success to is_okBrian Anderson-8/+8
2012-06-22Change resources to classes in libstd and rustcTim Chevalier-34/+47
2012-06-21Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.Graydon Hoare-53/+44
2012-06-21Library vecs are fast now.Eric Holk-0/+2
2012-06-21Move vector addition out of trans and into libcore.Eric Holk-3/+3
2012-06-20Comments only: typosTim Chevalier-1/+1
2012-06-20Remove bind. Issue #2189Brian Anderson-8/+8
2012-06-19Moved arc to libcore and added an arc that allows shared mutable state ↵Eric Holk-165/+1
through mutual exclusion.
2012-06-18std: Use the singular 'test' when running just 1. Closes #2554Brian Anderson-1/+2
2012-06-16Revert "Moved arc to libstd and added an arc that allows shared mutable ↵Tim Chevalier-1/+165
state through mutual exclusion." This reverts commit 015527b0cee0bc5cfaac8dd610035a0c1b2f8ea6.
2012-06-15Moved arc to libstd and added an arc that allows shared mutable state ↵Eric Holk-165/+1
through mutual exclusion.
2012-06-14Remove unneeded spawn in std::timer, and annotate a FIXMETim Chevalier-4/+1
2012-06-14Comments only: annotate FIXMEsTim Chevalier-1/+1
2012-06-13Merge remote-tracking branch 'erickt/master' into incomingBrian Anderson-0/+12
2012-06-13Box AST identsBrian Anderson-0/+6
2012-06-13Add a couple more to_json impls.Erick Tryzelaar-0/+12
2012-06-12Fix json no-implicit-copy warningsErick Tryzelaar-105/+118
2012-06-12std: Remove copy from all the hashmap key type paramsErick Tryzelaar-2/+2
2012-06-12whitespace cleanupErick Tryzelaar-1/+1
2012-06-12Rewrite int/uint helper functions to use refsErick Tryzelaar-10/+4
This lets us pass them to generic functions.
2012-06-12std: Add a to_str impl for json::error.Erick Tryzelaar-0/+6
2012-06-08std: Typo fix in docs.Lindsey Kuper-1/+1
2012-06-08revise map interface so that K need not be copyableNiko Matsakis-7/+7
2012-06-08Convert reinterpret_cast + forget to 'transmute'Brian Anderson-5/+2
2012-06-07Use #[cfg(unix)] and #[cfg(windows)] everywhereBrian Anderson-60/+24