summary refs log tree commit diff
path: root/src/libstd/uv_ll.rs
AgeCommit message (Collapse)AuthorLines
2012-10-11Fix from_buf in test casesTim Chevalier-2/+2
2012-10-05std: Revert demoding of uv_ll. It can't be done without FFI changesBrian Anderson-6/+6
2012-10-04Remove by-copy mode from std, mostlyTim Chevalier-6/+6
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-3/+3
2012-10-03std: Fix double free in uvBrian Anderson-3/+3
2012-10-03Remove uses of + mode from libstdTim Chevalier-3/+3
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-01De-export std::{uv, uv_ll, uv_iotask, uv_global_loop}. Part of #3583.Graydon Hoare-140/+131
2012-10-01Move over to calling ptr::addr_ofTim Chevalier-22/+22
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-21Install new pub/priv/export rules as defaults, old rules accessible under ↵Graydon Hoare-0/+11
#[legacy_exports];
2012-09-19std: Partially demode uv::llBrian Anderson-10/+10
2012-09-13s/vec::as_buf/vec::as_imm_buf/, fix comment, remove set.rsNiko Matsakis-2/+2
hat tip to @jruderman
2012-09-12Rename str::unsafe to str::rawBrian Anderson-6/+6
2012-09-12Rename vec::unsafe to vec::rawBrian Anderson-5/+5
2012-09-04Merge pull request #3383 from crabtw/fbsdBrian Anderson-10/+0
use native log2 function and enable freebsd tests in uv_ll
2012-09-04libstd: "import" -> "use"Patrick Walton-3/+3
2012-09-05use native log2 function and enable freebsd tests in uv_llJyun-Yan You-10/+0
2012-09-02std: warn(non_camel_case_types) everywhere. still some exceptionsBrian Anderson-1/+1
2012-08-29std: More camel casingBrian Anderson-0/+2
2012-08-27preliminary work on making future's sendableNiko Matsakis-3/+3
also various improvements to the ptr casting fns: - rename assimilate() to to_unsafe_ptr() (fixes #3110) - introduce `unsafe::copy_lifetime()` to copy the lifetime from one ptr to another
2012-08-27Camel case various core constructorsBrian Anderson-6/+6
2012-08-23Rename str::bytes to str::to_bytesTim Chevalier-2/+2
Closes #3245
2012-08-23`m1!{...}` -> `m1!(...)`Paul Stansifer-84/+84
2012-08-16Add std::comm with DuplexStreamEric Holk-12/+13
2012-08-15Convert more core types to camel caseBrian Anderson-8/+8
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-1/+1
2012-08-05Switch alts to use arrowsBrian Anderson-6/+2
2012-08-02Make comparisons between region pointers workTim Chevalier-2/+3
Region pointers were considered a scalar type, so compare_scalar_type would get called to compare region pointers in trans. This would fail, since compare_scalar_type has no case for region pointers. Changed type_is_scalar to return false for region pointers. This had the side effect of breaking casts to types of the form &T. To ameliorate that, I added library functions ptr::assimilate (taking a &T to a *T) and ptr::to_uint (taking a &T to a uint), both of which use reinterpret_cast. While I was at it, I removed ty::type_has_resources, which is dead code.
2012-08-01Convert ret to returnBrian Anderson-58/+58
2012-07-30Change syntax extension syntax: `#m[...]` -> `m!{...}`.Paul Stansifer-84/+84
2012-07-24Update some str functions to slices, merge as_buf and unpack_slice.Graydon Hoare-6/+4
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-54/+55
#2907.
2012-07-12Get rid of all of the remaining /~s in the code base.Michael Sullivan-4/+4
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-21/+21
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-04Remove empty argument lists from do expressionsBen Striegel-2/+2
2012-07-03Change crust -> extern.Graydon Hoare-12/+12
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-13/+13
2012-07-02std: Add missing cfg attr for freebsdBrian Anderson-0/+1
2012-07-02Merge remote-tracking branch 'brson/uv'Brian Anderson-10/+273
Conflicts: src/libstd/net_ip.rs src/libstd/net_tcp.rs
2012-07-01Convert to new closure syntaxBrian Anderson-2/+2
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-2/+2
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-9/+9
2012-06-29Ignore various uv tests that failBrian Anderson-1/+4
2012-06-29std: uv::ll fixes for 32bit linuxJeff Olson-11/+54
2012-06-29std: cleanups, post-rebaseJeff Olson-1/+1
2012-06-29std/rt: cleanup and adding sockaddr_in6 mapping for win32Jeff Olson-17/+20
2012-06-29std: fix errors from recent rebase and vec expr/type syntax updateJeff Olson-9/+9
2012-06-29std: addressing #2656 (ipv6 support in net::tcp)Jeff Olson-0/+23
.. 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 uv::ll::is_ipv6_addrinfo and get_INADDR_NONEJeff Olson-0/+8
2012-06-29std: whitespace/comment cleanJeff Olson-9/+11