about summary refs log tree commit diff
path: root/src/libstd/net_ip.rs
AgeCommit message (Collapse)AuthorLines
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-5/+5
fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself.
2013-05-10renamed str::from_slice to str::to_ownedYoungsoo Son-2/+2
2013-05-09auto merge of #6349 : thestinger/rust/explicit_copy, r=thestingerbors-2/+2
I removed some of the copies, but most are just made explicit. The usage in `libcore` was already fixed, but the attribute was only set to warn (not removed).
2013-05-09remove vecs_implicitly_copyable from libstd/libcoreDaniel Micay-2/+2
2013-05-09auto merge of #6345 : seanmoon/rust/fix-typos, r=sanxiynbors-1/+1
Hi there, Really enjoying Rust. Noticed a few typos so I searched around for a few more--here's some fixes. Ran `make check` and got `summary of 24 test runs: 4868 passed; 0 failed; 330 ignored`. Thanks! Sean
2013-05-09libstd: rename vec::each(var) to var.eachYoungmin Yoo-1/+1
2013-05-09Fix typosSean Moon-1/+1
2013-04-29libstd: Fix merge fallout.Patrick Walton-1/+0
2013-04-29librustc: Fix merge fallout.Patrick Walton-0/+1
2013-04-29librustc: Remove `ptr::addr_of`.Patrick Walton-5/+7
2013-04-27only use #[no_core] in libcoreDaniel Micay-4/+0
2013-04-18core::comm: Modernize constructors to use `new`Brian Anderson-1/+1
2013-04-14std: remove unused unsafe blocks/functionsAlex Crichton-27/+25
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-6/+6
2013-03-28Removing unused importsAlex Crichton-1/+1
2013-03-26Switched over a bunch of splitting funktions to non-allocating iteratorsMarvin Löbel-1/+3
2013-03-18Give core::rt and std::net their own uvll bindingsBrian Anderson-14/+14
I intend to do some big refactoring and don't want to deal w/ std just now
2013-03-11Remove uses of logBrian Anderson-24/+24
2013-03-11core: Add rt mod and add the new scheduler codeBrian Anderson-14/+14
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-6/+6
2013-03-07De-implicit-self libstdBen Striegel-3/+3
2013-03-04Remove unused imports throughout src/Alex Crichton-3/+0
2013-02-21core: Extract comm from pipes. #4742Brian Anderson-1/+1
2013-02-15libstd: Get rid of `move`.Luqman Aden-5/+5
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-1/+1
rs=implflipping
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-7/+7
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-1/+0
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-7/+7
2013-01-31Finalize moves-based-on-type implementation.Niko Matsakis-1/+2
Changes: - Refactor move mode computation - Removes move mode arguments, unary move, capture clauses (though they still parse for backwards compatibility) - Simplify how moves are handled in trans - Fix a number of illegal copies that cropped up - Workaround for bug involving def-ids in params (see details below) Future work (I'll open bugs for these...): - Improve error messages for moves that are due to bindings - Add support for moving owned content like a.b.c to borrow check, test in trans (but I think it'll "just work") - Proper fix for def-ids in params Def ids in params: Move captures into a map instead of recomputing. This is a workaround for a larger bug having to do with the def-ids associated with ty_params, which are not always properly preserved when inlining. I am not sure of my preferred fix for the larger bug yet. This current fix removes the only code in trans that I know of which relies on ty_param def-ids, but feels fragile.
2013-01-29std: Stop using oldcommBrian Anderson-35/+36
2013-01-25Merge remote-tracking branch 'brson/nocommupstream'Brian Anderson-3/+3
Conflicts: src/libcore/private.rs src/libcore/task/mod.rs src/libcore/task/spawn.rs src/libstd/net_tcp.rs src/libstd/uv_global_loop.rs src/libstd/uv_iotask.rs
2013-01-24convert most of libstd over to structsErick Tryzelaar-25/+25
2013-01-23std: Convert uv_global_loop to use pipesBrian Anderson-3/+3
2013-01-23libsyntax: Remove `fn() unsafe { ... }`. r=graydonPatrick Walton-73/+79
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-1/+14
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-14/+1
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-1/+14
module scope. r=tjc
2012-12-28libstd: Fix tests. rs=bustagePatrick Walton-0/+7
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-0/+19
contain at least two components. r=graydon
2012-12-14Rename core::comm to core::oldcommBrian Anderson-3/+2
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-10-20uv: implement a way to get client's ip/port.Luqman Aden-2/+21
2012-10-12Make moves explicit in std testsTim Chevalier-4/+4
2012-10-03De-export net::*. Part of #3583.Graydon Hoare-22/+13
2012-10-01Move over to calling ptr::addr_ofTim Chevalier-3/+3
Everything should now call ptr::addr_of instead of ptr::p2::addr_of. Only the pipes macro code when compiled by stage0 will call ptr::p2::addr_of. Needs a snapshot to get rid of that.
2012-09-28Demode extfmtTim Chevalier-4/+4
Needs a snapshot before this can be completed, because I changed the mode for conv_poly.
2012-09-28demode vecNiko Matsakis-1/+1
2012-09-28Long linesBrian Anderson-4/+4
2012-09-28std: Eliminate deprecated patternsBrian Anderson-9/+8
2012-09-26Demode vec::push (and convert to method)Niko Matsakis-1/+1