Commit Graph

1564 Commits

Author SHA1 Message Date
Graydon Hoare
8e28f23c60 core: add macro_rules! for "condition! { c: in -> out; }". 2012-12-18 17:22:27 -08:00
Graydon Hoare
6d4fbd4f9e core: fix remaining repr bugs, r=burningtree. 2012-12-18 14:35:20 -08:00
Erick Tryzelaar
85bb1fc2c4 Change iter::find's closure to take a ref 2012-12-17 22:01:38 -08:00
Erick Tryzelaar
88962eeed8 core: Add &self to core::iter methods 2012-12-17 22:01:38 -08:00
Graydon Hoare
7ab66a46b7 core: remove old repr system, enable newer one. Close #3109. 2012-12-17 16:55:40 -08:00
Brian Anderson
5bf7ba0773 Register snapshots 2012-12-17 16:44:27 -08:00
Brian Anderson
68998724c6 Revert "Register snapshots"
This reverts commit d6d12d90ff.
2012-12-17 16:26:44 -08:00
Brian Anderson
d6d12d90ff Register snapshots 2012-12-17 16:22:21 -08:00
Brian Anderson
8311c94db4 Merge pull request #4200 from ttaubert/issue-2649-rewrite-to_str_bytes
rewrite uint::to_str_bytes to avoid raw pointers
2012-12-17 12:43:28 -08:00
Tim Taubert
2f3d4f6181 rewrite uint::to_str_bytes to avoid raw pointers 2012-12-15 18:45:40 +01:00
Brian Anderson
309cdfd835 Remove more uses of 'move' from core::vec 2012-12-14 17:12:41 -08:00
Brian Anderson
2c21f348a4 Rewrite core::vec::shift to not allocate 2012-12-14 17:09:44 -08:00
Brian Anderson
e6d1b02359 Rename core::comm to core::oldcomm 2012-12-14 14:59:32 -08:00
Brian Anderson
80ef7243ea Remove spawn_listener, spawn_conversation
These are not needed in a pipe-based Rustiverse
2012-12-14 14:59:32 -08:00
Brian Anderson
01a6524d00 Stop using spawn_conversation in chan_from_global_ptr 2012-12-14 14:59:32 -08:00
Brian Anderson
ebc19034ee Fix broken tests 2012-12-14 14:26:57 -08:00
Brian Anderson
e7ef82dd70 Change some uses of static methods to use the trait path 2012-12-13 16:15:08 -08:00
Brian Anderson
d809e89c26 Replace some Eq impls with deriving_eq 2012-12-13 16:14:28 -08:00
Brian Anderson
ed4fac01b5 Rename Send trait to Owned 2012-12-13 15:52:50 -08:00
Brian Anderson
a277081ee4 Rename Owned trait to Durable 2012-12-13 15:52:50 -08:00
Patrick Walton
4c2e4c37ce librustc: Make use statements crate-relative by default. r=brson 2012-12-13 13:05:22 -08:00
Brian Anderson
0d59e86d80 core: Remove some uses of 'move' 2012-12-12 19:15:18 -08:00
Brian Anderson
948754b572 Fix the test for transmute 2012-12-12 18:41:30 -08:00
Tim Chevalier
38bd694df1 Reverse the order of the results of pipes::stream
As per #3637.
2012-12-11 19:23:28 -08:00
Erick Tryzelaar
3657d5606d core: add Eq impl to LinearMap. 2012-12-11 13:57:57 -08:00
Brian Anderson
3fcdb7d6a7 Adjust the die macro to only accept ~str and to work in statement position 2012-12-10 18:16:22 -08:00
Graydon Hoare
12c32e944d Add license boilerplate to more files. 2012-12-10 17:32:58 -08:00
Brian Anderson
04d9ea6f32 core: Fix capitalization in docs 2012-12-10 15:42:36 -08:00
Brian Anderson
1b481017ac Minor cleanups to pipes and serialization 2012-12-10 15:42:34 -08:00
Brian Anderson
9723d3ac2f Remove transitional code 2012-12-09 17:59:21 -08:00
Patrick Walton
e9e3d02b7d libcore: Fix Windows-only pattern in run.rs. rs=bustage 2012-12-07 21:52:39 -08:00
Brian Anderson
4ab1c8805a Convert Num to explicit self 2012-12-05 19:23:13 -08:00
Patrick Walton
7a065f2434 libcore: Fix some more coretest bustage. rs=bustage 2012-12-05 15:30:00 -08:00
Patrick Walton
1282fc8074 librustc: Hook borrow check loan checking up to the moves-based-on-type infrastructure. rs=helps-unbreak-the-build 2012-12-05 15:07:48 -08:00
Brian Anderson
0b5877afb8 Merge remote-tracking branch 'rntz/tuple-iterbytes'
Conflicts:
	src/libcore/to_bytes.rs
2012-12-05 11:58:35 -08:00
Patrick Walton
3440482d8d test: Fix a bunch of test cases. rs=burning 2012-12-05 11:40:47 -08:00
Patrick Walton
33c1e47c1b librustc: Implement moves based on type. r=nmatsakis 2012-12-04 15:38:04 -08:00
Patrick Walton
d1ebdbeb6c librustc: Implement explicit self for Add and Index; add a hack in the borrow checker to support this. r=nmatsakis 2012-12-04 14:51:31 -08:00
Graydon Hoare
94be145169 core: rename box to managed. Close #4079. 2012-12-03 17:45:19 -08:00
Graydon Hoare
2a5713ed5c core: rename unit to nil. Close #4080. 2012-12-03 17:28:19 -08:00
Graydon Hoare
00c856c0b1 Update license, add license boilerplate to most files. Remainder will follow. 2012-12-03 17:12:14 -08:00
Michael Arntzenius
5b6c1a2950 call out to iter_bytes_{2,3} in IterBytes instances for pairs, triples
This means we will exit early if requested based on the return value of the
callback we're given.
2012-12-02 20:01:28 -05:00
Michael Arntzenius
ef2c404e01 libcore/to_bytes.rs: fix IterBytes instances for pairs, triples to not cause ICE when used 2012-12-02 17:48:32 -05:00
Patrick Walton
f34833abfc librustc: Make a.b() always a method call. r=nmatsakis 2012-11-30 20:41:46 -08:00
Tim Chevalier
bde2dcc8d5 Merge pull request #4085 from andrew-d/andrew-fix-typo
Fix small typo in kinds documentation
2012-11-30 12:48:28 -08:00
Andrew Dunham
e19d8f7ae5 Fix small typo in kinds documentation 2012-11-30 15:39:44 -05:00
Graydon Hoare
d783f4d7bb libs: Remove transitionary material on iter_bytes, add workcache to build. 2012-11-30 10:33:16 -08:00
Brian Anderson
38ba2c4941 core: Add docs about kind traits 2012-11-30 01:52:26 -08:00
Brian Anderson
b52a4b412e core: Make core.rc more readable. Cleanup 2012-11-30 01:32:53 -08:00
Brian Anderson
3ed9fbd63c impls of traits cannot define methods on the anonymous trait 2012-11-29 22:07:49 -08:00