Commit Graph

671 Commits

Author SHA1 Message Date
Niko Matsakis
a8f1bee457 fix some unused pattern binding warnings 2012-08-24 15:37:21 -07:00
Michael Sullivan
b5dd01eb2a Add a bunch more unsafe blocks to prepare for the new semantics of unsafe/closure interactions. 2012-08-24 14:21:26 -07:00
Niko Matsakis
a08f3a7d4d More complete fix to #3162 (borrowck bug related to access to rec fields) 2012-08-23 18:54:08 -07:00
Tim Chevalier
9f591319dd Rename str::bytes to str::to_bytes
Closes #3245
2012-08-23 15:46:10 -07:00
Paul Stansifer
29f32b4a72 m1!{...} -> m1!(...) 2012-08-23 11:14:14 -07:00
Erick Tryzelaar
d8988fe220 libstd: fix serialization no-implicit-copies warnings 2012-08-22 19:10:29 -07:00
Erick Tryzelaar
007e47d710 libstd: switch ebml's wr_tagged_str to use str::byte_slice 2012-08-22 19:10:28 -07:00
Ben Blum
95bc9d4aef export unwrap_arc functions in core/std 2012-08-22 21:16:35 -04:00
Brian Anderson
aab37fa811 Merge pull request #3240 from Dretch/bitvfixes
Bitvfixes
2012-08-22 15:11:58 -07:00
Michael Sullivan
e94c5420f4 #[ignore(cfg(windows))] for a test I added to arena that involves failure. 2012-08-22 10:29:23 -07:00
Michael Sullivan
73a03824e8 Remove a level of indirection from std::arena. 2012-08-21 17:03:00 -07:00
Michael Sullivan
f24e0e7b13 Have std::arena segregate POD data and non-POD data into different chunks. 2012-08-21 17:03:00 -07:00
Michael Sullivan
5f32e18011 Make std::arena run destructors. Closes #2831. 2012-08-21 17:03:00 -07:00
Michael Sullivan
98d0aae9a1 Fix some map related build failures. 2012-08-21 17:03:00 -07:00
Niko Matsakis
bc5eb95222 implement a map testing benchmark
This involved some other changes:
- add a managed<T> wrapper that makes send_map usable from @-data
- implement map<K,V> for managed<send_map>

Unit tests are coming.
2012-08-21 16:07:53 -07:00
Ben Blum
0229bc4def Remove fixmes about exporting. Close #2648, close #3119. 2012-08-21 15:30:53 -04:00
Gareth Daniel Smith
69d66a702e fix a bug in bitv where the undefined bits in small/big bitv values could cause operations to return incorrect results. 2012-08-21 19:42:16 +01:00
Gareth Daniel Smith
5ccd299b15 fix a logic bug in small_bitv.set 2012-08-21 19:41:29 +01:00
Niko Matsakis
652b312122 more sound treatment of fn& regions; change all & to be distinct 2012-08-21 10:28:34 -07:00
Niko Matsakis
8ee79c79aa new region inference, seperate infer into modules, improve error msgs
Fixes #2806
Fixes #3197
Fixes #3138
2012-08-20 22:00:06 -07:00
Ben Blum
3b09c3deaa Document arc::unwrap. Close #3123. 2012-08-20 22:31:17 -04:00
Ben Blum
bd736a0f9b oops, remove #[cfg(stage1)]s from arc::unwrap functions+tests 2012-08-20 22:00:06 -04:00
Ben Blum
1aa50bba7c Add unwrap for std::arc ARC variants 2012-08-20 21:51:39 -04:00
Brian Anderson
3ab4b014cf Remove the class keyword 2012-08-17 10:13:45 -07:00
Patrick Walton
6d7b143036 libstd: Add a function to borrow a cell 2012-08-16 19:37:33 -07:00
Ben Blum
f188d92dfe reduce stress constants in std::timer::tests 2012-08-16 21:07:55 -04:00
Eric Holk
5f57588887 Update the rock-paper-scissors example in the tutorial, and rename some types in core::pipes 2012-08-16 17:50:36 -07:00
Eric Holk
ca0607051a Fix compile errors in tutorial tests. 2012-08-16 16:46:20 -07:00
Eric Holk
924e787119 Add std::comm with DuplexStream 2012-08-16 16:46:19 -07:00
Brian Anderson
9c6890f488 Convert more core types to camel case 2012-08-15 17:46:05 -07:00
Brian Anderson
74c69e1053 Convert more core types to camel case 2012-08-15 14:14:20 -07:00
Tim Chevalier
51d98d9c7b Expunge match checks 2012-08-15 12:38:32 -07:00
Ben Blum
a57d3e0c15 Fix :broadcast_heavy in condvars. 2012-08-15 14:11:39 -04:00
Ben Blum
5f64d5df33 sync+arc - comments and attributes only 2012-08-15 13:55:43 -04:00
Ben Blum
f29f308c1c Enable multiple condvars on a single mutex_arc/rw_arc. 2012-08-15 13:22:50 -04:00
Ben Blum
d1fc7368c8 Enable multiple condvars on a single mutex/rwlock. 2012-08-15 13:22:50 -04:00
Ben Blum
fa8fc4b2b5 Add 1shot pipe chan_one/port_one type aliases and convert std::sync to use them 2012-08-15 13:22:50 -04:00
Brian Anderson
11258310e2 Convert more core types to camel case 2012-08-14 18:26:03 -07:00
Graydon Hoare
c1fad07758 Add a map::str_slice_map constructor to libstd. 2012-08-14 16:45:51 -07:00
Ben Blum
958df4b003 De-mode comm, libc, priv, rt, sync, arc. Super easy. 2012-08-14 19:36:04 -04:00
Ben Blum
821fa337ff add sync::tests::test_mutex_killed_broadcast 2012-08-14 19:32:52 -04:00
Ben Blum
589ee65fd4 Add rw_arc.downgrade() + std and cfail tests. Tons of region FIXMEs... (cf #2282, #3154) 2012-08-14 17:53:18 -04:00
Graydon Hoare
36883186ab De-mode core::future. 2012-08-13 19:08:02 -07:00
Brian Anderson
5394e34aa4 core: Camel case some lesser-used modules 2012-08-13 18:59:48 -07:00
Brian Anderson
6b43c0c1ad Stop parsing old operator overloading syntax 2012-08-13 18:59:17 -07:00
Graydon Hoare
91612dbb7e De-mode-ify a few minor libcore modules. 2012-08-13 17:11:33 -07:00
Ben Blum
52255f898c Enable condvars on ARCs 2012-08-13 19:45:48 -04:00
Patrick Walton
5bd4110170 rustc: Mostly implement region-bounded stack closures 2012-08-13 15:34:36 -07:00
Ben Blum
6e93d67dba Add more rwlock tests 2012-08-13 17:31:28 -04:00
Ben Blum
7cf21e52eb Implement rwlock.downgrade and tests 2012-08-13 17:31:24 -04:00