Commit Graph

10853 Commits

Author SHA1 Message Date
Brian Anderson
ae6ea068a1 Revert "Remove rule requiring non-nil block-style statements to be semi-terminated"
This reverts commit 0f5eaef5fb.
2012-07-03 17:30:25 -07:00
Ben Blum
e000d1db0a add option::expect and mark option methods as pure 2012-07-03 20:29:07 -04:00
Patrick Walton
af38333f75 rustc: Speed up def ID parsing in the metadata 2012-07-03 17:12:02 -07:00
Brian Anderson
0f5eaef5fb Remove rule requiring non-nil block-style statements to be semi-terminated
This is a subtle rule that no longer seems to be required.
2012-07-03 17:03:52 -07:00
Graydon Hoare
3f59a4bc64 More work on #2082, remove parser/lexer support for 'crust' and 'native'. 2012-07-03 16:49:46 -07:00
Graydon Hoare
be2c92078b Change crust -> extern. 2012-07-03 16:49:46 -07:00
Graydon Hoare
dc98165443 Mop up a few extra native -> foreign changes. 2012-07-03 16:49:46 -07:00
Patrick Walton
742c05f87d rustc: Avoid a lot of copying in metadata when reading impls 2012-07-03 16:38:35 -07:00
Graydon Hoare
7762c80d1b Fix more future::future breakage. 2012-07-03 16:16:45 -07:00
Graydon Hoare
debb7e4641 Switch 'native' to 'extern' (or 'foreign' in some descriptions) 2012-07-03 16:11:00 -07:00
Graydon Hoare
7259195caf Meaningless change to trigger new try. 2012-07-03 15:56:53 -07:00
Patrick Walton
bfbc847f63 rustc: Add X-ray functionality to resolve3 so the test runner works 2012-07-03 15:56:27 -07:00
Patrick Walton
e1ee198216 core: Import future::extensions 2012-07-03 15:56:27 -07:00
Ben Blum
70070b8bbc task.rs: minor doc/comment changes 2012-07-03 18:39:58 -04:00
Ben Blum
efb3227fb3 vim: add 'new' keyword 2012-07-03 18:39:58 -04:00
Brian Anderson
06368a7b75 tutorial: Minor editing to intro 2012-07-03 14:36:11 -07:00
Brian Anderson
63c043091e tutorial: Restructure intro materials 2012-07-03 13:02:20 -07:00
Patrick Walton
db8d9ddcbb rustc: Record the main function in the session in resolve3 2012-07-03 12:20:15 -07:00
Patrick Walton
1c2843c8ad core: Eliminate some overloading of the name "future" in future.rs 2012-07-03 11:24:01 -07:00
Michael Sullivan
d52f0f79bc Fix some indentation in check::vtable. 2012-07-03 10:57:17 -07:00
Michael Sullivan
c854d6ebdb Remove some bogus exports. 2012-07-03 10:52:32 -07:00
Erick Tryzelaar
39492782fa Export dvec::from_elt. 2012-07-03 09:14:46 -07:00
Brian Anderson
90dcb59400 tutorial: Minor improvements to closures 2012-07-02 23:23:43 -07:00
Brian Anderson
2ea8922b8a Merge remote-tracking branch 'brson/uv' 2012-07-02 21:39:08 -07:00
Brian Anderson
1caf45d5df Register snapshots 2012-07-02 21:38:27 -07:00
Brian Anderson
ab193b9508 rustc: Remove some comments from resolve3 that are being misparsed as attributes 2012-07-02 20:06:07 -07:00
Brian Anderson
e8e3fb242e Add doc comments and closure changes to release notes 2012-07-02 19:57:25 -07:00
Patrick Walton
f093d374ed rustc: Implement a new resolve pass behind a compile flag 2012-07-02 18:30:12 -07:00
Brian Anderson
0b1edb7f0e Update compile-fail/missing-do for new error-comment syntax 2012-07-02 17:39:52 -07:00
Brian Anderson
78dea4e5e9 Add Armin Ronacher to AUTHORS.txt 2012-07-02 17:35:31 -07:00
Armin Ronacher
1f80b9b90a Added testcase for the missing do compile note 2012-07-02 17:33:57 -07:00
Armin Ronacher
5bd9d6e05c Implemented better error message for missing do statements.
This fixes #2783 for the case where an empty double pipe
symbol is being used without a do keyword.
2012-07-02 17:33:57 -07:00
Brian Anderson
1bd4e35dd8 configure: Don't turn on rustc's -g with --enable-debug
-g is super-buggy
2012-07-02 17:22:49 -07:00
Brian Anderson
9fe22a4ab7 Mark -g as experimental (#2767) 2012-07-02 17:22:49 -07:00
Lindsey Kuper
d90a1dee43 Start sketching some traitorous code (xfail'd) 2012-07-02 17:12:30 -07:00
Brian Anderson
18ac4eee3b std: Ignore a test that doesn't terminate on windows 2012-07-02 16:50:47 -07:00
Brian Anderson
43def0677a tutorial: More updates for closures 2012-07-02 16:32:19 -07:00
Brian Anderson
47f43da376 Merge branch 'doc-comments' 2012-07-02 15:31:33 -07:00
Brian Anderson
569467eb0d Merge remote-tracking branch 'Dretch/prettydocs'
Conflicts:
	src/compiletest/errors.rs
	src/libsyntax/parse/attr.rs
	src/libsyntax/parse/comments.rs
	src/test/compile-fail/ambig_impl_unify.rs
	src/test/compile-fail/assign-super.rs
	src/test/compile-fail/bad-for-loop.rs
	src/test/compile-fail/bad-var-env-capture-in-block-arg.rs
	src/test/compile-fail/block-arg-as-stmt-with-value.rs
	src/test/compile-fail/borrowck-assign-comp-idx.rs
	src/test/compile-fail/borrowck-lend-flow.rs
	src/test/compile-fail/borrowck-loan-blocks-move-cc.rs
	src/test/compile-fail/borrowck-loan-blocks-mut-uniq.rs
	src/test/compile-fail/borrowck-loan-rcvr.rs
	src/test/compile-fail/borrowck-loan-vec-content.rs
	src/test/compile-fail/borrowck-mut-vec-as-imm-slice-bad.rs
	src/test/compile-fail/cap-clause-with-stack-closure.rs
	src/test/compile-fail/do1.rs
	src/test/compile-fail/do2.rs
	src/test/compile-fail/empty-vec-trailing-comma.rs
	src/test/compile-fail/evec-subtyping.rs
	src/test/compile-fail/issue-1896.rs
	src/test/compile-fail/issue-2149.rs
	src/test/compile-fail/issue-2150.rs
	src/test/compile-fail/issue-2487-b.rs
	src/test/compile-fail/kindck-implicit-close-over-mut-var.rs
	src/test/compile-fail/liveness-issue-2163.rs
	src/test/compile-fail/liveness-use-in-index-lvalue.rs
	src/test/compile-fail/no-reuse-move-arc.rs
	src/test/compile-fail/no-send-res-ports.rs
	src/test/compile-fail/non-const.rs
	src/test/compile-fail/pure-higher-order.rs
	src/test/compile-fail/pure-loop-body.rs
	src/test/compile-fail/regions-addr-of-upvar-self.rs
	src/test/compile-fail/regions-escape-loop-via-vec.rs
	src/test/compile-fail/regions-scoping.rs
	src/test/compile-fail/seq-args.rs
	src/test/compile-fail/tstate-unsat-in-called-fn-expr.rs
	src/test/compile-fail/tstate-unsat-in-fn-expr.rs
	src/test/compile-fail/vec-add.rs
	src/test/compile-fail/vec-concat-bug.rs
	src/test/compile-fail/vector-no-ann.rs
2012-07-02 15:23:41 -07:00
Lindsey Kuper
7a4ebcefcb Update nbody benchmark to more idiomatic Rust; nix obsolete comments 2012-07-02 15:20:59 -07:00
Ben Blum
eb28b768af dlist should_fail tests ignore(cfg(windows)) 2012-07-02 18:08:09 -04:00
Ben Blum
67b9d82847 vim syntax: add drop & rustString contains rustTodo 2012-07-02 18:00:43 -04:00
Brian Anderson
3c6a5385d6 std: Add missing cfg attr for freebsd 2012-07-02 14:32:15 -07:00
Brian Anderson
6d411342c6 Merge remote-tracking branch 'brson/uv'
Conflicts:
	src/libstd/net_ip.rs
	src/libstd/net_tcp.rs
2012-07-02 14:03:38 -07:00
Ben Blum
3ced5b0da2 add dlist.rs should_fail tests 2012-07-02 16:47:55 -04:00
Ben Blum
510af4dadb vim syntax: don't hilight foo::<T>() like a module 2012-07-02 16:03:44 -04:00
Ben Blum
3777a14f08 Add doubly-linked list to libcore (to be used in task.rs). 2012-07-02 16:03:38 -04:00
Ben Blum
5b41592f21 Make list::from_vec take a slice, not a ~. 2012-07-02 15:49:46 -04:00
Ben Blum
dc93814bf9 minor updates to vim config files 2012-07-02 15:48:59 -04:00
Erick Tryzelaar
c74b3fd634 Treat "do" as a keyword in vim 2012-07-02 09:06:30 -07:00