about summary refs log tree commit diff
path: root/src/libstd
AgeCommit message (Collapse)AuthorLines
2012-08-15Enable multiple condvars on a single mutex_arc/rw_arc.Ben Blum-15/+56
2012-08-15Enable multiple condvars on a single mutex/rwlock.Ben Blum-38/+172
2012-08-15Add 1shot pipe chan_one/port_one type aliases and convert std::sync to use themBen Blum-8/+8
2012-08-14Convert more core types to camel caseBrian Anderson-43/+43
2012-08-14Add a map::str_slice_map constructor to libstd.Graydon Hoare-0/+6
2012-08-14De-mode comm, libc, priv, rt, sync, arc. Super easy.Ben Blum-2/+8
2012-08-14add sync::tests::test_mutex_killed_broadcastBen Blum-3/+45
2012-08-14Add rw_arc.downgrade() + std and cfail tests. Tons of region FIXMEs... (cf ↵Ben Blum-27/+256
#2282, #3154)
2012-08-13De-mode core::future.Graydon Hoare-2/+2
2012-08-13core: Camel case some lesser-used modulesBrian Anderson-20/+21
2012-08-13Stop parsing old operator overloading syntaxBrian Anderson-10/+0
2012-08-13De-mode-ify a few minor libcore modules.Graydon Hoare-2/+2
2012-08-13Enable condvars on ARCsBen Blum-24/+104
2012-08-13rustc: Mostly implement region-bounded stack closuresPatrick Walton-11/+10
2012-08-13Add more rwlock testsBen Blum-16/+92
2012-08-13Implement rwlock.downgrade and testsBen Blum-36/+202
2012-08-13minor fix to rwlock.read()Ben Blum-1/+2
2012-08-12std: Add tests for cell. Fix a logic errorBrian Anderson-4/+32
2012-08-12std: Add cell to the std crate and make it buildBrian Anderson-4/+5
2012-08-11std: Update timespec comments to say "nanoseconds"Chris Peterson-2/+2
2012-08-10Implement mutex_arc and rw_arc; add some testsBen Blum-0/+274
2012-08-10Split libcore/arc.rs: arc -> std::arc; exclusive -> unsafe::exclusiveBen Blum-0/+862
2012-08-09libstd: Implement cells as a nicer replacement for the option dancePatrick Walton-0/+42
2012-08-08Remove obsolete FIXMEs, close #2345.Graydon Hoare-4/+0
2012-08-08Convert impls to new syntaxBrian Anderson-81/+72
2012-08-07syntax: Make match arm parsing more restrictive againBrian Anderson-29/+29
Require comma separators for all expression types except the plain block
2012-08-07Change task().future_result's argument modeBen Blum-1/+1
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-269/+276
2012-08-06std: URL paths can contain dashesBrian Anderson-1/+9
2012-08-06std: Parse underscores in url pathsBrian Anderson-1/+10
2012-08-05Switch alts to use arrowsBrian Anderson-972/+829
2012-08-05std: Some fixes to url parsingBrian Anderson-2/+18
2012-08-05std: URLs without schemes parse as errors. Closes #3112Brian Anderson-1/+6
2012-08-03Long linesBrian Anderson-1/+2
2012-08-03std::net::url - change alt to match, ret to return, as per recent syntax changesDaniel Patterson-25/+25
2012-08-03std::net::url - eliminate out of date comment and switch to str::each_chari ↵Daniel Patterson-17/+12
instead of str_reader to make code cleaner
2012-08-03std::net::url - fix to_str to work with authorityless urls, add testDaniel Patterson-6/+16
2012-08-03std::net::url cleanups for lint checkDaniel Patterson-50/+61
2012-08-03std::net::url - making parsing of authority give error messages if in ↵Daniel Patterson-30/+331
encounters invalid stuff; support for ipv6, more tests.
2012-08-03std::net::url making scheme parsing compliant with rfc, give appropriate ↵Daniel Patterson-19/+59
error messages, better split fn
2012-08-03std::net::url - comment cleanup, new testDaniel Patterson-6/+24
2012-08-03std: integrating erickt's url encoding/decoding from ↵Daniel Patterson-4/+385
github.com/erickt/rust-uri into std::net::url
2012-08-03rustc: Remove all fixed-length strings from our codebasePatrick Walton-6/+6
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-02Purge placement new; Make borrowck know about unary move.Niko Matsakis-4/+13
cc #3071
2012-08-02Remove modes from map API and replace with regions.Niko Matsakis-178/+224
API is (for now) mostly by value, there are options to use it by reference if you like. Hash and equality functions must be pure and by reference (forward looking to the day when something like send_map becomes the standard map).
2012-08-02Remove std::utilBen Blum-23/+12
2012-08-01Convert ret to returnBrian Anderson-383/+393
2012-08-01Clean out transitional lint.Graydon Hoare-7/+0
2012-07-31Introduce 'return', 'match' and 'module' as synonymsBrian Anderson-10/+10