about summary refs log tree commit diff
path: root/src/libstd/net_tcp.rs
AgeCommit message (Collapse)AuthorLines
2013-01-26Merge remote-tracking branch 'brson/nocommupstream2'Brian Anderson-340/+372
2013-01-25Fix Option camel case in commentsTyler Bindon-4/+4
2013-01-25Merge remote-tracking branch 'brson/nocommupstream'Brian Anderson-340/+372
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-33/+35
2013-01-23std: Convert uv_global_loop to use pipesBrian Anderson-33/+41
2013-01-23libsyntax: Remove `fn() unsafe { ... }`. r=graydonPatrick Walton-579/+681
2013-01-13Support ARM and Androidkyeongwoon-0/+2
Conflicts: src/libcore/os.rs src/librustc/back/link.rs src/librustc/driver/driver.rs src/librustc/metadata/loader.rs src/librustc/middle/trans/base.rs
2013-01-13Merge pull request #4411 from wting/4203_rename_memcpyTim Chevalier-1/+1
Rename memcpy, memmove, memset
2013-01-12libstd: "target_os = win32", not "target_os = windows". rs=bustagePatrick Walton-2/+2
2013-01-11libstd: Ignore failing test on WindowsPatrick Walton-0/+3
2013-01-10librustc: Make all external functions unsafe. r=tjcPatrick Walton-3/+4
2013-01-10std: Fix test that was commented outTim Chevalier-14/+11
2013-01-10Rename memcpy, memmove, memset to prevent any confusion with the C equivalents.William Ting-1/+1
Closes #4203.
2013-01-09std: fix net::tcp::test fallout from 2db3abd harderGraydon Hoare-13/+14
2013-01-09std: fix net::tcp::test fallout from 2db3abdGraydon Hoare-1/+5
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-3/+8
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-8/+3
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-3/+8
module scope. r=tjc
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-5/+29
contain at least two components. r=graydon
2012-12-24Convert core::io to use explicit self (for issue #4118 and issue #2004)gareth-10/+10
2012-12-14Rename core::comm to core::oldcommBrian Anderson-111/+110
2012-12-10Minor cleanups to pipes and serializationBrian Anderson-2/+2
2012-12-04librustc: Implement moves based on type. r=nmatsakisPatrick Walton-3/+3
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-29impls of traits cannot define methods on the anonymous traitBrian Anderson-3/+0
2012-11-29librustc: Eliminate most expressions of the form `a.b()` that are not method ↵Patrick Walton-1/+1
calls. rs=refactoring
2012-11-29librustc: Make the Drop trait use explicit selfPatrick Walton-4/+4
2012-11-14Convert libstd to use the Drop traitBen Striegel-2/+5
2012-11-14Revert "Convert libstd to use the Drop trait"Brian Anderson-5/+2
This reverts commit 28c7a251514919a2d7bdf6c67b8edf5eed9043db.
2012-11-14Convert libstd to use the Drop traitBen Striegel-2/+5
2012-11-08std: Eliminate copy warningBrian Anderson-1/+1
2012-11-07Fix whitespace issues from previous commits.a_m0d-2/+48
Also added test for #3891.
2012-11-06Fix trailing whitespace issuesa_m0d-3/+3
2012-11-06Add end_of_file handling to TcpBufferedSocket.a_m0d-4/+16
This fixes #3891. Also removed debug!(...) statement from socket destructor which causes a crash when the logging level is set to debug.
2012-10-20Long linesBrian Anderson-1/+2
2012-10-20std: Use unique ports in tcp testsBrian Anderson-2/+2
2012-10-20std: rename getpeername to get_peer_addrLuqman Aden-9/+12
2012-10-20std: Add test for getpeernameBrian Anderson-0/+55
2012-10-20uv: use just getpeername for both ipv4 and ipv6.Luqman Aden-12/+22
2012-10-20uv: implement a way to get client's ip/port.Luqman Aden-0/+16
2012-10-12Make moves explicit in std testsTim Chevalier-1/+2
2012-10-11Remove comment that is now falseTim Chevalier-4/+2
2012-10-05Silence most of the remaining warningsBrian Anderson-1/+2
2012-10-04Remove by-copy mode from std, mostlyTim Chevalier-10/+11
One instance remains in net_tcp due to a foreign fn. Lots of instances remain in serialization.rs, but IIRC that is being removed. I had to do unholy things to task-perf-word-count-generic to get it to compile after demoding pipes. I may well have messed up its performance, but it passes.
2012-10-04De-mode comm::ChanTim Chevalier-15/+15
2012-10-03De-export net::*. Part of #3583.Graydon Hoare-35/+17
2012-10-03Remove uses of + mode from libstdTim Chevalier-7/+7
More or less the same as my analogous commit for libcore. Had to remove the forbid(deprecated_modes) pragma from some files -- will restore it after the snapshot.
2012-10-02Removing explicit uses of + modeTim Chevalier-4/+4
This removes most explicit uses of the + argument mode. Pending a snapshot, I had to remove the forbid(deprecated_modes) pragma from a bunch of files. I'll put it back! + mode still has to be used in a few places for functions that get moved (see task.rs) The changes outside core and std are due to the to_bytes trait and making the compiler (with legacy modes on) agree with the libraries (with legacy modes off) about modes.
2012-10-01Move over to calling ptr::addr_ofTim Chevalier-21/+21
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-28std: More demodingBrian Anderson-1/+1