Commit Graph

10642 Commits

Author SHA1 Message Date
Tim Chevalier 07d568688c In RELEASES.txt, elaborate on classes changes
and mention *-patterns and the removal of resources
2012-06-25 14:00:33 -07:00
Tim Chevalier 6517fc5ab6 Merge branch 'incoming' into resource-to-class 2012-06-25 13:41:49 -07:00
Tim Chevalier da470ff5b8 Merge 2012-06-25 13:29:41 -07:00
Tim Chevalier 44d0a061be register snapshots 2012-06-25 13:29:10 -07:00
Tim Chevalier fe9bbeca1a Add test cases for issue 2445 2012-06-25 13:18:43 -07:00
Brian Anderson fad307d7b4 core: Convert declarations to not use the trailing 'unsafe' notation 2012-06-25 12:48:39 -07:00
Tim Chevalier 91b69aeb63 Test case for issue 2718
This was already fixed by the time I read the issue, but more test
cases are always good.

Closes #2718
2012-06-25 12:21:01 -07:00
Tim Chevalier e9f19283b3 Remove resources from a few places I missed 2012-06-25 12:20:51 -07:00
Tim Chevalier 25b8b35c57 Finish compare glue for classes
This tests == and !=. I don't know what <, >, etc. should do.
Closes #2601
2012-06-25 12:20:10 -07:00
Tim Chevalier 95feaee353 In doc reference, don't mention references, and stub out a section for classes 2012-06-25 12:16:33 -07:00
Eric Holk 3ba7ca5c9f Improved perf for msgsend (Issue #2719) 2012-06-25 11:27:32 -07:00
Eric Holk 07e1d1c6b6 Improved graph500 performance (Issue #2719) 2012-06-25 11:15:45 -07:00
Brian Anderson e991855d66 Make 'do' expressions accept stack closures 2012-06-24 18:01:27 -07:00
Brian Anderson c01f5ef034 Long lines 2012-06-24 17:46:12 -07:00
Brian Anderson 20b5ca3d2f syntax: Merge parse_for_expr, parse_do_expr 2012-06-24 17:08:05 -07:00
Tim Chevalier bf92940f72 More test cases for classes with dtors
Tests that classes with dtors and multiple fields work correctly.
Closes #2708
2012-06-24 15:11:25 -07:00
Tim Chevalier 487cbf8e90 Remove resources
Also fixed shapes for classes with dtors, as well as handling
offsets for classes with dtors correctly in take glue.

Closes #2485
2012-06-24 15:09:57 -07:00
Brian Anderson a8235ff853 Add cargo improvements to release notes 2012-06-24 13:42:03 -07:00
Brian Anderson 6e6d20a40f Merge remote-tracking branch 'mozilla/incoming' 2012-06-24 13:31:46 -07:00
Graydon Hoare f60cdf27e7 Remove 'implements' keyword in favour of :, part of #2301. 2012-06-22 18:57:20 -07:00
Graydon Hoare 3ed8561dea Start sketching 0.3 release notes. 2012-06-22 18:57:20 -07:00
Brian Anderson 2f060eb880 core: Name is_failure to is_err, is_success to is_ok 2012-06-22 18:26:25 -07:00
Brian Anderson 58983b2d92 core: Export result extensions from the top level 2012-06-22 17:33:53 -07:00
Brian Anderson 0cf730ed2a core: Split up result extensions by kind bounds 2012-06-22 17:32:57 -07:00
Lindsey Kuper ce7b803728 Minor capitalization/punctuation fixes in error messages 2012-06-22 16:48:03 -07:00
Lindsey Kuper 46809f7ab7 Nicer quoting in "attempted access of field" message. Issue #2358. 2012-06-22 16:48:03 -07:00
Lindsey Kuper 47b1b7a207 Don't need a span on "main function not found" error. Issue #2707. 2012-06-22 16:48:03 -07:00
Eric Holk 5cf99e02b5 Adding unshift again. 2012-06-22 16:31:57 -07:00
Eric Holk 3246723bf7 Adding an issue number to vec-add.rs 2012-06-22 15:35:06 -07:00
Eric Holk 26c11f7b50 Use must_have_lock instead of private functions. (Issue #2700)
I hereby declare that messages sent from the same source arrive in order (Issue #2605)

Removing FIXME, owned is the correct type here. (Issue #2704)

Remove outdated FIXME (Issue #2703)

Updating test for spawning native functions (Issue #2602)

Removing bogus FIXME (Issue #2599)
2012-06-22 15:14:42 -07:00
Michael Sullivan 1d6fb24b70 Hack to make [] and []/~ the same type in preparation for switching to []/~. 2012-06-22 15:11:34 -07:00
Tim Chevalier 60a748a1d8 Remove section on resources from tutorial; add a todo to cover classes 2012-06-22 13:11:55 -07:00
Tim Chevalier 588c1eb41f Remove resources from remaining test cases 2012-06-22 13:11:29 -07:00
Michael Sullivan 275c1e4438 Serialize out uniq vecs types 2012-06-22 11:58:07 -07:00
Tim Chevalier 21399dca12 Change resources to classes in libstd and rustc 2012-06-22 11:53:25 -07:00
Michael Sullivan 986662cebd Make the implicit copyability of []/~ configurable, like [] is, since we will be switching sooner rather than later. 2012-06-22 11:23:54 -07:00
Tim Chevalier 25aa360595 [NEEDS SNAPSHOT] Port remainder of resources to classes in libcore 2012-06-21 22:20:09 -07:00
Tim Chevalier a141f58e9b In reachability, traverse all classes that have dtors
since dtors always have external linkage
2012-06-21 21:46:12 -07:00
Tim Chevalier fee78d296c Port resources to classes in libcore 2012-06-21 21:30:16 -07:00
Brian Anderson 5281771a07 Merge pull request #2706 from mozilla/incoming
Incoming
2012-06-21 21:21:57 -07:00
Tim Chevalier b8710de5ff Add test cases
issue-912 is xfailed. issue-2111 is already fixed, but it's good to
have the test case.
2012-06-21 19:58:52 -07:00
Tim Chevalier be8a08b2af Hopefully make issue 2214 test case work on Windows -- sigh 2012-06-21 17:54:56 -07:00
Tim Chevalier cc323d8637 Make liveness print out a proper error message for moves out of a self field
This was a call to span_bug() before. I'm not sure about the other cases,
but the test case shows that the `vk_self` case can certainly arise with
a bad program, so it should be a span_err() thing and not a span_bug() thing.

Closes #2590
2012-06-21 17:43:10 -07:00
Tim Chevalier a06398214a Add test for issue 2467 2012-06-21 16:58:35 -07:00
Tim Chevalier a350bea313 Fix linker problem in issue 2214 test case 2012-06-21 16:58:35 -07:00
Graydon Hoare 312faf31df Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this. 2012-06-21 16:44:10 -07:00
Lindsey Kuper 5710178081 Adding `i` suffixes so cfail tests keep failing after suffix inference 2012-06-21 16:19:04 -07:00
Lindsey Kuper 0fe9c0a9d1 Add tests to exercise the "pattern has N field(s), but" error patterns. 2012-06-21 16:19:04 -07:00
Lindsey Kuper abfa8164cd Change the level of forcing in structurally_resolved_type().
A cleaner way to handle suffix inference for unary minus exprs.
2012-06-21 16:19:04 -07:00
Tim Chevalier 317864672d Revert "Add test for issue 2214"
This reverts commit 290206b178.

Forgot to add the actual native code, temporarily reverting.
2012-06-21 16:17:08 -07:00