Commit Graph

11515 Commits

Author SHA1 Message Date
Ben Blum
3dc52da989 [4/4 for #2365, #2671] Reassign one last fixme to #908. Close #2365. Close #2671. 2012-07-20 19:23:19 -04:00
Ben Blum
af7b769465 [3/4 for #2365, #2671] Fix exit/kill race with scheds during rust_kernel::fail 2012-07-20 19:23:19 -04:00
Ben Blum
18c645a883 [2/4 for #2365, #2671] Fix exit/kill race with tasks during rust_kernel::fail 2012-07-20 19:23:19 -04:00
Ben Blum
5bb4a12900 [1/4 for #2365, #2671] Fix create/kill race with schedulers and tasks during rust_kernel::fail 2012-07-20 19:23:19 -04:00
Tim Chevalier
f55999fd7a Fix markup in rust.md
This is so pdflatex will actually generate a .pdf without erroring.
2012-07-20 14:32:06 -07:00
Ben Blum
d1e3e62300 *Properly* ignore the hanging linked failure test 2012-07-20 15:45:09 -04:00
Ben Blum
07bb1aefc9 task.rs rename supervise to linked internally 2012-07-20 14:32:18 -04:00
Tim Chevalier
bb2c45feae Fix string 2012-07-19 19:10:21 -07:00
Tim Chevalier
ce46e113c5 Merge pull request #2910 from gwillen/bug-2360
Better error when rustc fails to write output.
2012-07-19 19:01:22 -07:00
Tim Chevalier
ac9cf98564 Edit for style 2012-07-19 17:56:30 -07:00
Tim Chevalier
0f34144be3 Merge remote-tracking branch 'Havvy/master' into Havvy-pull-req 2012-07-19 17:36:00 -07:00
Tim Chevalier
4843339d21 Add Jed Davis to AUTHORS 2012-07-19 17:17:22 -07:00
Tim Chevalier
ed62f441e9 Merge pull request #2939 from jld/randomfloat
Prevent random floats from occasionally being greater than 1.
2012-07-19 17:16:11 -07:00
Paul Stansifer
fa882d4295 Add a badge to the tutorial and reference docs indicating which Rust version they pertain to. 2012-07-19 17:09:03 -07:00
Graydon Hoare
1e13626caa Switch io::print and io::println to take slices. 2012-07-19 14:37:27 -07:00
Graydon Hoare
bc03121d7e Generalize leak suppression slightly, user reported not-real testsuite failure. 2012-07-19 14:37:27 -07:00
Ben Blum
569af8aa28 Add bonus linked failure test, #[ignore]d 2012-07-19 16:44:29 -04:00
Graydon Hoare
830be1ff87 Even simpler attempt at solving the .dSYM mess. 2012-07-19 11:22:30 -07:00
Graydon Hoare
81a4d9066d Revert "Try less complicated trick for solving the dSYM glob portability issue."
This reverts commit 86dfca278d.
2012-07-19 11:22:21 -07:00
Niko Matsakis
f676547c97 Fix intersection of two region params in infer, cc #2962 2012-07-19 10:14:16 -07:00
Patrick Walton
978ca03cb2 Revert "accept naked exprs with commas in pattern arms" due to pretty-printing failures
This reverts commit f712b2d76b.

In alt arms, the parser needs to do a little lookahead to determine
whether it's looking at a record literal or a block.

Also there are some indentation issues in the expected source.
2012-07-19 07:53:55 -07:00
Patrick Walton
00aa5f163f test: XFAIL some more in an effort to unbreak the tree 2012-07-19 07:30:37 -07:00
Patrick Walton
f82db5d136 test: Change the expected error message on iface-test.rs to contain "trait" instead of "interface" 2012-07-18 20:42:14 -07:00
Patrick Walton
6cb38aeb43 test: XFAIL issue-1466.rs due to cycle collector crashes.
I don't want to do this, but the tree has been in a state of chaos for days
and it's not clear what can be backed out to fix this test.
2012-07-18 20:39:56 -07:00
Niko Matsakis
f712b2d76b accept naked exprs with commas in pattern arms
pretty printing will use them, but indentation is slightly off
if the expr is long
2012-07-18 20:16:41 -07:00
Ben Blum
22f492ab09 Linked failure: add {un,}linked {un,}parented fail-{up,down} tests. 2012-07-18 21:57:56 -04:00
Ben Blum
20831d394a Linked failure: unidirectional failure with parented() (soon to be renamed) 2012-07-18 21:57:56 -04:00
Tim Chevalier
35bd579f66 Remove nonexistent imports 2012-07-18 18:32:34 -07:00
Patrick Walton
f48dcaaae3 rustc: Make vtable do duplicate-impl checking. Closes #2958. 2012-07-18 18:10:00 -07:00
Tim Chevalier
3119afc6e8 In resolve3, error on non-existent imports
Closes #2937
2012-07-18 18:02:07 -07:00
Tim Chevalier
de5d5e6eeb Remove non-existent imports 2012-07-18 18:02:07 -07:00
Patrick Walton
57e8de8917 rustc: Implement multiple-traits-per-impl for cross-crate stuff 2012-07-18 17:34:59 -07:00
Patrick Walton
635a959363 rustc: Make coherence aware of multiple-traits-per-impl 2012-07-18 17:08:42 -07:00
Ben Blum
5506bf1480 xfail issue-506 - broken on darwin 2012-07-18 19:55:18 -04:00
Ben Blum
829186cb79 vim: 'owned' keyword 2012-07-18 19:55:18 -04:00
Patrick Walton
9d34c706b2 rustc: Move ty::impl_traits over to a multiple-traits-per-impl world 2012-07-18 16:49:55 -07:00
Patrick Walton
3c583def25 rustc: Make resolve3 multiple-trait-per-impl-aware 2012-07-18 16:28:59 -07:00
Niko Matsakis
135a8afd7b repair out of date text from ref manual regarding iface-less impls 2012-07-18 16:22:38 -07:00
Niko Matsakis
9c1dea5eb2 remove out of date text from tutorial regarding iface-less impls 2012-07-18 16:22:38 -07:00
Patrick Walton
3ac5b4a86f syntax: Parse multiple trait refs in a single implementation 2012-07-18 16:05:17 -07:00
Patrick Walton
1528256fdc rustc: Encode metadata unconditionally for impls/traits/classes. Closes #2945. 2012-07-18 14:43:16 -07:00
Ben Blum
c936ae515b Linked failure: Make joining a taskgroup O(1) 2012-07-18 17:07:35 -04:00
Niko Matsakis
e0ea67a2a6 prevent regions from escaping in ifaces; remove &r.T syntax 2012-07-18 11:48:58 -07:00
Niko Matsakis
eb0a34c398 iterate only over immutable vectors; use newer region notation
Unfortunately, right now iterating over const vectors is
not safe.  This is because the callback expects an *immutable*
reference (in region terms: &T), not a const reference (&const T).
This was not being caught by the type system due to the use of
unsafe operations.  To fix this, we need to either (1) find a way
to parameterize over mutability or (2) add each_const, each_mut
etc
2012-07-18 11:48:58 -07:00
Michael Sullivan
7f3bbd57c0 Make task.rs export local_data. This is a hack to work around #2945. 2012-07-18 11:01:45 -07:00
Patrick Walton
df7ce33b3d rustdoc: Make rustdoc no longer resolve names.
It relies on being able to ignore errors, which doesn't make sense; resolve
is meaningless if errors are ignored. It also doesn't perform macro expansion.
Most of what is affected will be reexports, which are changing anyway.
2012-07-18 10:14:28 -07:00
Ben Blum
30d94fe9a2 finish fixing broken un-unsupervise windows tests 2012-07-17 22:16:55 -04:00
Niko Matsakis
4ee4a2ab31 borrow from @[] vectors (cc #2797) 2012-07-17 19:16:00 -07:00
Ben Blum
bb5e2ba60a vim: hilight macro!s 2012-07-17 21:54:31 -04:00
Ben Blum
93bb030a8c fix no-longer-unsupervise test cases on windows 2012-07-17 21:48:15 -04:00