Niko Matsakis
|
9cf271fe96
|
De-mode vec::each() and many of the str iteration routines
Note that the method foo.each() is not de-moded, nor the other
vec routines.
|
2012-09-19 10:52:59 -07:00 |
|
Niko Matsakis
|
8d4928f780
|
Revert "replace explicit calls to vec::each with vec::each_ref, partially demode str"
This reverts commit 1be24f0758 .
Not quite ready.
|
2012-09-18 21:41:13 -07:00 |
|
Niko Matsakis
|
1be24f0758
|
replace explicit calls to vec::each with vec::each_ref, partially demode str
|
2012-09-18 21:31:00 -07:00 |
|
Brian Anderson
|
2906f2de31
|
core: Rename 'unsafe' mod to 'cast'
|
2012-09-18 19:36:25 -07:00 |
|
Brian Anderson
|
d53cfd225a
|
core: Move Exclusive and SharedMutableState to the private mod
|
2012-09-18 15:23:57 -07:00 |
|
Brian Anderson
|
298eb8c726
|
Convert 'import' to 'use'. Remove 'import' keyword.
|
2012-09-10 19:04:26 -07:00 |
|
Tim Chevalier
|
9869d071d1
|
Make remaining moves explicit in libstd
|
2012-09-10 17:51:24 -07:00 |
|
Brian Anderson
|
3bd1f32cd9
|
Convert all kind bounds to camel case. Remove send, owned keywords.
|
2012-09-07 18:10:11 -07:00 |
|
Brian Anderson
|
f0eae8f1c1
|
Convert field terminators to commas. Stop parsing semis.
|
2012-09-07 16:12:15 -07:00 |
|
Brian Anderson
|
eb0cf3a715
|
std: Remove struct ctors
|
2012-09-04 17:27:03 -07:00 |
|
Patrick Walton
|
2d690ae43f
|
libstd: "import" -> "use"
|
2012-09-04 11:23:53 -07:00 |
|
Brian Anderson
|
aab4d6b8d7
|
std: Camel case some constructors
|
2012-08-29 15:34:38 -07:00 |
|
Ben Blum
|
a831726b94
|
Fix region-related unsafety in arc::get's signature
|
2012-08-27 14:03:23 -04:00 |
|
Ben Blum
|
09ae370c62
|
convert std::arc types to camelcase
|
2012-08-26 21:28:36 -04:00 |
|
Ben Blum
|
edd6d9ea37
|
convert std::sync types to camelcase
|
2012-08-26 21:17:36 -04:00 |
|
Brian Anderson
|
8337fa1a54
|
Camel case the option type
|
2012-08-26 15:56:16 -07:00 |
|
Ben Blum
|
4cfb92f459
|
Use region variance to remove a bunch of unsafety in sync/arc (#2282)
|
2012-08-25 03:07:30 -04:00 |
|
Ben Blum
|
95bc9d4aef
|
export unwrap_arc functions in core/std
|
2012-08-22 21:16:35 -04:00 |
|
Niko Matsakis
|
652b312122
|
more sound treatment of fn& regions; change all & to be distinct
|
2012-08-21 10:28:34 -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 |
|
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
|
924e787119
|
Add std::comm with DuplexStream
|
2012-08-16 16:46:19 -07: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
|
958df4b003
|
De-mode comm, libc, priv, rt, sync, arc. Super easy.
|
2012-08-14 19:36:04 -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 |
|
Ben Blum
|
52255f898c
|
Enable condvars on ARCs
|
2012-08-13 19:45:48 -04:00 |
|
Ben Blum
|
0eae571389
|
Implement mutex_arc and rw_arc; add some tests
|
2012-08-10 20:53:09 -04:00 |
|
Ben Blum
|
42825fbea6
|
Split libcore/arc.rs: arc -> std::arc; exclusive -> unsafe::exclusive
|
2012-08-10 20:53:09 -04:00 |
|
Eric Holk
|
be664ddd29
|
Moved arc to libcore and added an arc that allows shared mutable state through mutual exclusion.
|
2012-06-19 10:31:12 -07:00 |
|
Tim Chevalier
|
0276a3376b
|
Revert "Moved arc to libstd and added an arc that allows shared mutable state through mutual exclusion."
This reverts commit 015527b0ce .
|
2012-06-16 15:21:08 -07:00 |
|
Eric Holk
|
015527b0ce
|
Moved arc to libstd and added an arc that allows shared mutable state through mutual exclusion.
|
2012-06-15 22:00:58 -04:00 |
|
Brian Anderson
|
7a74545e97
|
Convert reinterpret_cast + forget to 'transmute'
|
2012-06-08 10:58:46 -07:00 |
|
Niko Matsakis
|
60913bf045
|
constrain scope of mut ptr to please borrowck
|
2012-06-06 18:36:27 -07:00 |
|
Niko Matsakis
|
dd8f76c619
|
squelch warnings in tests
|
2012-06-01 11:10:27 -07:00 |
|
Eric Holk
|
6abddca18b
|
Rewriting shared_arc to work around Issue #2444.
Sadly, this exposes another ICE when trying to use the new version with Graph500
|
2012-05-30 12:03:51 -07:00 |
|
Eric Holk
|
5e35d49a50
|
Moving the arc tests into arc.rs.
|
2012-05-29 11:30:10 -07:00 |
|
Eric Holk
|
aa2efc05ea
|
Adding shared_arc to hide some of the tedium of sharing an arc between tasks.
Also added some asserts and logging to trans.
Modified graph500 to use the shared_arc, but this unfortunately doesn't work due to #2444.
|
2012-05-29 10:43:19 -07:00 |
|
Brian Anderson
|
d89b4c8c61
|
std: Modify arc to tolerate upcoming change to uniques
|
2012-05-25 16:22:29 -07:00 |
|
Eric Holk
|
30f8555544
|
Some comments giving some idea how to use these things.
|
2012-05-24 15:05:39 -07:00 |
|
Niko Matsakis
|
6ca6a3b80b
|
rewrite arc to use region & expressions (also making it pass borrowck)
|
2012-05-24 05:19:44 -07:00 |
|
Eric Holk
|
6fa1a084f7
|
A shareable atomically reference counted pointer wrapper.
Needs more tests to ensure safety, and probably some more work on usability too.
|
2012-05-23 14:58:16 -07:00 |
|