Commit Graph

18562 Commits

Author SHA1 Message Date
Patrick Walton
6e2b082adc libextra: Add missing core::prelude import. rs=burningtree 2013-05-23 08:33:30 -07:00
Patrick Walton
be0110989e etc: Fix test combiner for core->std/std->extra change. rs=burningtree 2013-05-23 08:32:36 -07:00
Brian Anderson
7f107c415f core::rt: Remove UvEventLoop::new_scheduler function 2013-05-22 22:18:29 -07:00
Patrick Walton
18fca3e2e5 librustc: Add some missing use core::prelude::*; in the test cases 2013-05-22 21:57:12 -07:00
Patrick Walton
a5ca58ae34 libextra: Allow unnecessary allocations 2013-05-22 21:57:11 -07:00
Patrick Walton
3a66d732bb libsyntax: Fix more merge fallout. 2013-05-22 21:57:11 -07:00
Patrick Walton
18df18c817 libstd: Fix merge fallout. 2013-05-22 21:57:11 -07:00
Patrick Walton
ee52865c88 test: Update tests and import the prelude in some more places. 2013-05-22 21:57:10 -07:00
Patrick Walton
1be40be613 test: Update tests to use the new syntax. 2013-05-22 21:57:10 -07:00
Patrick Walton
c10e0cb9c9 syntax: Change syntax extensions to expand to std::foo instead of core::foo 2013-05-22 21:57:08 -07:00
Patrick Walton
9200237b4d fuzzer: Change core to std in the fuzzer 2013-05-22 21:57:08 -07:00
Patrick Walton
14be4c23e4 librustdoc: Rename std to extra. 2013-05-22 21:57:08 -07:00
Patrick Walton
b8be7e8329 libfuzzer: Rename std to extra. 2013-05-22 21:57:08 -07:00
Patrick Walton
d5055f4e97 librustc: Make std_inject inject the name std, not core 2013-05-22 21:57:08 -07:00
Patrick Walton
c532e033c9 librustc: Change std to extra throughout libsyntax and librustc 2013-05-22 21:57:08 -07:00
Patrick Walton
f3723cf7c4 libextra: Rename the actual metadata names of libcore to libstd and libstd to libextra 2013-05-22 21:57:07 -07:00
Patrick Walton
ebfc2b8e56 librustc: Rename core injection to std injection 2013-05-22 21:57:05 -07: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
Patrick Walton
565942b145 librustc: Fix privacy checking for cross-crate variants 2013-05-22 21:57:03 -07:00
Patrick Walton
211d038abc librustc: Make ~Trait two words by storing the type descriptor in the vtable. 2013-05-22 21:57:03 -07:00
Patrick Walton
db518ef68a test: Fix tests. 2013-05-22 21:57:02 -07:00
Patrick Walton
08e561ae70 librustc: Disable borrow check debugging even when rustc is compiled with -O0.
This improves -O0 compile times dramatically.
2013-05-22 21:57:02 -07:00
Patrick Walton
ca9bb2d9ac librustc: Disallow use from reaching into impls or traits.
This can perhaps be restored in the future. For now this is a precursor to
making typedefs work as expected.
2013-05-22 21:57:02 -07:00
Brian Anderson
8b7e392752 core::rt: Scheduler takes a WorkQueue
This will be for implementing a work-sharing strategy
2013-05-22 21:20:29 -07:00
bors
291518712f auto merge of #6677 : yjh0502/rust/smallintset, r=graydon
Implement SmallIntSet (refer #4984)
2013-05-22 20:52:38 -07:00
bors
1d3e84c5d6 auto merge of #6669 : yjh0502/rust/fix_6209, r=graydon
Fix issue #6209, and some related issues about constant expression
 - unmatched type between arms
 - unmatched type in range
2013-05-22 18:01:36 -07:00
bors
f517ed0b08 auto merge of #6686 : cmr/rust/fix-6596, r=catamorphism
The error message is extremely unideal.
2013-05-22 16:22:35 -07:00
Corey Richardson
5118d2f84a Add test 2013-05-22 19:19:00 -04:00
Corey Richardson
7ccc97e5b4 Fix ICE in macros 2013-05-22 19:18:50 -04:00
Brian Anderson
41c21685dd core::rt: Add SchedHandle type 2013-05-22 15:39:39 -07:00
Graydon Hoare
ee1b419818 revert no-longer-required workaround for mystery bug, close #3396 2013-05-22 15:35:25 -07:00
bors
b17b3f9576 auto merge of #6483 : catamorphism/rust/issue-4107, r=catamorphism 2013-05-22 14:43:39 -07:00
Tim Chevalier
1aae163d44 testsuite: Make main fn public 2013-05-22 14:13:42 -07:00
Tim Chevalier
fd94bd984e testsuite: Add passing test for #4107 2013-05-22 14:13:22 -07:00
bors
4bbbae625d auto merge of #6672 : yjh0502/rust/fix_6342, r=graydon
Fix #6342
2013-05-22 11:43:35 -07:00
bors
3d82a0a0a7 auto merge of #6670 : cmr/rust/static_assert, r=graydon
This verifies that a static item evaluates to true, at compile time.
2013-05-22 10:16:33 -07:00
Corey Richardson
acf920fe4b Add static_assert doc blurb 2013-05-22 13:13:29 -04:00
Corey Richardson
e64339645b Implement static_assert attribute
This verifies that a static item evaluates to true, at compile time.
2013-05-22 13:13:24 -04:00
Benjamin Herr
5a42481366 declare that "///" is still a doc comment, just not "////+" (fixes #5838) 2013-05-22 15:53:26 +02:00
Jihyun Yu
06685bacf8 add smallintset 2013-05-22 21:01:21 +09:00
bors
b6a0d40c1d auto merge of #6671 : kud1ing/rust/patch-1, r=z0w0 2013-05-22 04:16:26 -07:00
Brian Anderson
a0cd55a1d7 core::rt: Add RemoteCallback trait and uv implementation
This is used for signalling the event loop from other threads.
2013-05-22 00:43:29 -07:00
Jihyun Yu
6c33f5044b Fix #6342 2013-05-22 16:11:48 +09:00
kud1ing
da94580ddc "Type :help for help", similar to ghci 2013-05-22 10:03:51 +03:00
bors
8a4bffc7ee auto merge of #6667 : crabtw/rust/arm-rt, r=brson
This fixes segmentation fault of new rt tests.
For example
```
use core::rt::test::*;
use core::rt::comm::*;
use core::cell::Cell;

fn main() {
    do run_in_newsched_task {
        let (port, chan) = oneshot::<~int>();
        let port_cell = Cell(port);
        do spawntask_immediately {
            assert!(port_cell.take().recv() == ~10);
        }
        chan.send(~10);
    }
}
```
2013-05-21 23:25:17 -07:00
Jihyun Yu
f8af2b50ee fix issue #6209 2013-05-22 14:06:25 +09:00
Jyun-Yan You
499b02213d fix arm stack alignment 2013-05-22 08:49:16 +08:00
Brian Anderson
8f77a6f422 core: Add AtomicInt and cleanup 2013-05-21 17:36:59 -07:00
bors
15e44381af auto merge of #6665 : catamorphism/rust/issue-5741, r=nikomatsakis
r? @nikomatsakis The way we deal with unreachable expressions in trans is pretty ad hoc,
but this at least doesn't make it worse, and eliminates the LLVM
assertion failure reported in #5741.
2013-05-21 16:13:15 -07:00
James Miller
6d8d73cfc4 Add AtomicUint newtype 2013-05-21 15:45:40 -07:00