Patrick Walton
9521551b47
librustc: Fix merge fallout.
2013-11-26 11:04:39 -08:00
Patrick Walton
1eca34de7d
libstd: Remove all non-proc
uses of do
from libstd
2013-11-26 08:23:57 -08:00
Léo Testard
fdac9e470c
Implement cmp traits for Rc<T> and add a ptr_eq method.
2013-11-24 17:29:44 +01:00
Steven Fackler
bdfaf04bd5
Move mutable::Mut to cell::RefCell
2013-11-23 13:45:05 -08:00
Steven Fackler
c6ca9abcc6
Add Rc::from_mut
2013-11-22 21:19:53 -08:00
Steven Fackler
8a26266f65
Change Mut::map to Mut::with
2013-11-22 21:19:53 -08:00
Steven Fackler
18119afbbe
Move Rc tests away from Cell
2013-11-22 21:19:53 -08:00
Steven Fackler
7c9daa8ff7
Remove RcMut
...
Rc<Mut<T>> should be used instead
2013-11-22 21:19:53 -08:00
Patrick Walton
1946265e1a
libstd: Change all uses of &fn(A)->B
over to |A|->B
in libstd
2013-11-19 12:40:19 -08:00
Daniel Micay
8662141c21
add from_send
to Rc, since #9509 is fixed
2013-11-07 02:30:54 -05:00
Daniel Micay
ea0fc0e32b
rc: fix docstring
2013-10-12 10:19:56 -04:00
Daniel Micay
18be986c99
clean up the Rc
/RcMut
types and move to libstd
2013-10-11 13:28:36 -04:00
Patrick Walton
0c820d4123
libstd: Rename libcore to libstd and libstd to libextra; update makefiles.
...
This only changes the directory names; it does not change the "real"
metadata names.
2013-05-22 21:57:05 -07:00
Brian Anderson
66319b0278
Register snapshots
2013-05-19 23:34:32 -07:00
Corey Richardson
cc57ca012a
Use assert_eq! rather than assert! where possible
2013-05-19 08:16:02 -04:00
Daniel Micay
4702667a62
allow constructing Rc/RcMut from Const types too
2013-05-15 19:18:09 -04:00
Daniel Micay
cda3ac905a
rc: fix tests
2013-05-15 04:34:31 -04:00
Daniel Micay
75822f2894
add a DeepClone trait
...
for deep copies through shared ownership boundaries
2013-05-15 01:36:41 -04:00
Patrick Walton
06ef889cdc
libsyntax: Remove extern mod foo { ... }
from the language.
2013-05-12 16:33:15 -07:00
Alex Crichton
998fececd6
Stop using the '<->' operator
2013-05-10 22:51:06 -04:00
James Miller
414970c46f
Add intrinsic declaration where I missed them
2013-05-09 23:16:07 +12:00
James Miller
57509709b4
Make staged versions of the functions that use uninit
2013-05-09 23:05:17 +12:00
James Miller
f5ab112e6b
Replace init() with uninit() where appropriate
2013-05-09 22:41:54 +12:00
Daniel Micay
044abef0e5
fix incorrect region code based on the old 'self
...
also removes unnecessary casts from the RcMut implementation
2013-05-08 16:00:49 -04:00
Daniel Micay
43165b54e0
rc: remove the managed pointer workaround
2013-05-07 13:02:56 -04:00
Daniel Micay
3d526d1af3
add task-local reference counted smart pointers
...
To provide a reference counted pointer type with deterministic
destruction once managed boxes are switched over to a garbage
collector. Unlike managed boxes, these can be moved instead of just
copied/cloned which is helpful for avoiding reference counts.
2013-05-06 17:03:20 -04:00