about summary refs log tree commit diff
path: root/src/libstd
AgeCommit message (Collapse)AuthorLines
2012-07-08Add clear() to the map interface.Glenn Willen-1/+25
Add clear to the map interface, and implement it in hashmap and smallintmap.
2012-07-06Revert "rustc: Switch to the new resolution pass"Niko Matsakis-2/+1
This reverts commit c4af6e92fbae171c56a4e68666025725555fc9d8. Branch was burning...many, many unresolved imports.
2012-07-06rustc: Switch to the new resolution passPatrick Walton-1/+2
2012-07-05Comments only: change TODOs to FIXMEs and annotate themTim Chevalier-5/+7
2012-07-05Mostly change TODOs to FIXMEs and annotate themTim Chevalier-8/+9
But, one change in io to implement a TODO suggestion (using a const u8)
2012-07-05std: Actually buildbase64Brian Anderson-0/+1
2012-07-05std: Export base64Brian Anderson-0/+1
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-1502/+1474
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-04Remove empty argument lists from do expressionsBen Striegel-40/+40
2012-07-04TidyBrian Anderson-2/+5
2012-07-04Merge pull request #2798 from erickt/incomingBrian Anderson-0/+158
adding base64 and to_bytes to stdlib
2012-07-04When getopts encounters an option that takes an argument, it should treat ↵Josh Matthews-1/+39
the remainder of the current option string as the argument if it is non-empty. Fix #2791.
2012-07-03Add a basic base64 moduleErick Tryzelaar-0/+158
2012-07-03oops, fix option.expect() and use it in libstd/map.rsBen Blum-2/+2
2012-07-03core: Convert iter::repeat to the for protocolBrian Anderson-10/+10
2012-07-03rustc: Speed up def ID parsing in the metadataPatrick Walton-0/+5
2012-07-03Change crust -> extern.Graydon Hoare-33/+33
2012-07-03Mop up a few extra native -> foreign changes.Graydon Hoare-12/+12
2012-07-03Switch 'native' to 'extern' (or 'foreign' in some descriptions)Graydon Hoare-24/+24
2012-07-03core: Eliminate some overloading of the name "future" in future.rsPatrick Walton-4/+4
2012-07-03Remove some bogus exports.Michael Sullivan-1/+1
2012-07-02Merge remote-tracking branch 'brson/uv'Brian Anderson-569/+1200
2012-07-02rustc: Implement a new resolve pass behind a compile flagPatrick Walton-1/+9
2012-07-02std: Ignore a test that doesn't terminate on windowsBrian Anderson-0/+1
2012-07-02std: Add missing cfg attr for freebsdBrian Anderson-0/+1
2012-07-02Merge remote-tracking branch 'brson/uv'Brian Anderson-569/+1198
Conflicts: src/libstd/net_ip.rs src/libstd/net_tcp.rs
2012-07-02Make list::from_vec take a slice, not a ~.Ben Blum-1/+1
2012-07-01Convert to new closure syntaxBrian Anderson-219/+217
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-155/+155
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-420/+420
2012-06-29Ignore various uv tests that failBrian Anderson-1/+6
2012-06-29std: uv::ll fixes for 32bit linuxJeff Olson-11/+54
2012-06-29std: adding some basic docs for net::ip::get_addrJeff Olson-63/+76
2012-06-29std: cleanups, post-rebaseJeff Olson-1/+2
2012-06-29std/rt: cleanup and adding sockaddr_in6 mapping for win32Jeff Olson-18/+23
2012-06-29rename net::ip tests en masseJeff Olson-6/+6
2012-06-29std: fix errors from recent rebase and vec expr/type syntax updateJeff Olson-36/+34
2012-06-29std: addressing #2656 (ipv6 support in net::tcp)Jeff Olson-27/+68
.. there are some additional FIXME nags in net_tcp (L 1012) about blocking because libuv is holding unsafe ptrs to task local data. the proposed fix going is not really feasible w/ the current design, IMO, but i'll leave it there in case someone really wants to make the case without creating more hassle than it's worth.
2012-06-29std: add test for net::ip::get_addr failureJeff Olson-0/+10
2012-06-29std: beef up ipv4 validation a bitJeff Olson-7/+55
now the best of what we had prior to libuv integration (proper validation of an ipv4 string), along with libuv support (initial ipv6 support) libuv has even weaker facilities for validating an input ipv6 (but still more than what we had), so eventually the "right" answer would be to roll a proper ipv6 address string parser in rust
2012-06-29std: add uv::ll::is_ipv6_addrinfo and get_INADDR_NONEJeff Olson-0/+8
2012-06-29std: whitespace/comment cleanJeff Olson-29/+14
2012-06-29std: net::ip::get_addr is working w/ happy path test. needs more.Jeff Olson-32/+77
2012-06-29WIP set aside unshiftJeff Olson-1/+3
2012-06-29std: roughcut impl of net::ip::get_addr()Jeff Olson-1/+98
still needs tests
2012-06-29std: wire-up low-level bindings to libuv's uv_getaddrinfo API and friendsJeff Olson-3/+33
2012-06-29std: mapped addrinfo, addr_in and uv_getaddrinfo_t as rust recordsJeff Olson-2/+78
2012-06-29std: adding net::ip::v6 utils and rudimentary tests, huzzah! (see caveats)Jeff Olson-8/+107
libuv's own ip vetting code appears to in a somewhat woeful state, for both ipv4 and ipv6 (there are some notes in the tests for net_ip, as well as stuff added in uv_ll). They are aware of this and welcome patches. I have rudimentary code in place that can verify whether the provided str ip was, in fact, validly parsed by libuv, making a few assumptions: * for ipv4, we assume that the platform's INADDR_NONE val is 0xffffffff , I should write a helper to return this value from the platform's libc headers instead of hard-coding it in rust. * for ipv6, we assume that the library will always return '::' for malformed inputs.. as is the case in 64bit ubuntu. I need to verify this on other platforms.. but at least the debugging output is in place, so if expectations don't line up, it'll be straightforward to address
2012-06-29std: getting uv_ip6_* utils working in uv::llJeff Olson-4/+22
.. stub out some brokeness in net::tcp as a result of ipv6 coming online
2012-06-29std: adding uv::ll::ip4_name and refactored net::ip to use itJeff Olson-35/+55
replaces net::ip's previously, hand-rolled impl for ipv4 addr parsing.. we're relying on libuv, now