Commit Graph

12169 Commits

Author SHA1 Message Date
Patrik Kårlin
8d26d86b70 removed a comma from the keyword list to get
fn keyword highlighted
2012-08-12 00:19:25 +02:00
Daniel Patterson
f9946f37aa syntax: better formatting of closures in pretty printer and more verbose debugging messages 2012-08-11 13:04:50 -07:00
Chris Peterson
06b2804c27 std: Update timespec comments to say "nanoseconds" 2012-08-11 13:02:08 -07:00
Eric Holk
c7bdee81e1 Xfail-fast, because these tests use failure 2012-08-10 18:35:41 -07:00
Eric Holk
ebe7b0cc37 Remove print 2012-08-10 18:27:48 -07:00
Ben Blum
67b5d5f673 Fix compile-fail arc/sync tests 2012-08-10 21:24:10 -04:00
Eric Holk
d2e9d99f81 Handle failure during select nicely. Fixes #3176 2012-08-10 18:19:42 -07:00
Patrick Walton
7634e2911b Revert "rustc: Make function types have vstores in them"
This reverts commit 0101125a96.
2012-08-10 18:14:55 -07:00
Ben Blum
1b32b13c72 Add a can't-nest-rw-arcs test case (xfailed, #3177) 2012-08-10 20:53:09 -04:00
Ben Blum
0eae571389 Implement mutex_arc and rw_arc; add some tests 2012-08-10 20:53:09 -04:00
Ben Blum
42825fbea6 Split libcore/arc.rs: arc -> std::arc; exclusive -> unsafe::exclusive 2012-08-10 20:53:09 -04:00
Eric Holk
4808d59909 Terminate blocked receive packets on failure. Fixes #3168. 2012-08-10 16:26:22 -07:00
Patrick Walton
0101125a96 rustc: Make function types have vstores in them 2012-08-10 16:22:06 -07:00
Niko Matsakis
99942ae430 correct x86_64 snapshot hash for linux 2012-08-10 14:14:37 -07:00
Niko Matsakis
c6ab18a61a register new snapshots 2012-08-10 13:57:58 -07:00
Lindsey Kuper
4597fe1320 Remove unneeded imports now that #1873 seems to be fixed 2012-08-10 13:38:21 -07:00
Lindsey Kuper
0c35489858 Move a comment to where it belongs. 2012-08-10 13:38:21 -07:00
Eric Holk
9a1a2580fc A better HTML parser. 2012-08-10 12:23:16 -07:00
Eric Holk
b354fe2a91 report local ambiguity errors earlier 2012-08-10 12:23:16 -07:00
Eric Holk
d704fc9196 An attempt at a macro to support HTML literals 2012-08-10 12:23:16 -07:00
Brian Anderson
96fdad2fb7 Change 'ret' to 'return' in an error message 2012-08-10 12:20:58 -07:00
Patrick Walton
68bdc09650 rustc: Allow @fn to be used as a synonym for fn@, and likewise with ~ and & 2012-08-10 12:18:47 -07:00
Niko Matsakis
2082a979e7 remove modes from ty.rs 2012-08-10 10:52:11 -07:00
Ben Blum
e1086b0175 Implement sync::rwlock::write_cond (and task::rekillable) 2012-08-09 23:23:18 -04:00
Ben Blum
4c9f168372 Convert sync to the new struct syntax 2012-08-09 23:23:17 -04:00
Patrick Walton
770a21272b rustc: Initialize the drop flag with the new struct literal syntax. Closes #3172. 2012-08-09 19:45:37 -07:00
Patrick Walton
b9b0d374d3 libstd: Implement cells as a nicer replacement for the option dance 2012-08-09 19:45:05 -07:00
Ben Blum
758dd786f6 Make rwlocks fail-proof 2012-08-09 22:07:59 -04:00
Niko Matsakis
1b2d91c79d de-mode-ify infer and some parts of typeck
also, fix bug in the various lint passes that fn() was considered
not suitable for the default mode
2012-08-09 18:26:50 -07:00
Lindsey Kuper
fe8c8ad582 tutorial: "an trait" -> "a trait" 2012-08-09 18:18:47 -07:00
Ben Blum
bcb6a68cbd sync: Add rwlocks (half-done) and test cases 2012-08-09 20:29:34 -04:00
Ben Blum
ef32a99f26 vim: hilight 'self' as a constant instead of a keyword 2012-08-09 20:29:34 -04:00
Ben Blum
d913492855 Change coherence error 'implement a trait instead' -> 'implement a trait or new type instead' 2012-08-09 20:29:34 -04:00
Graydon Hoare
f0775d7bfe Finish translating const indexing. Close #1417, close #570, close #571, close #1272, close #2317. 2012-08-09 16:05:34 -07:00
Niko Matsakis
22a14dd700 Enforce a stricter notion of purity when borrowing. Fixes #3162. 2012-08-09 14:23:56 -07:00
Ben Blum
be2e4ef624 Allow failing in arc::exclusive; poison to fail subsequent accesses (fix #3092) 2012-08-09 17:22:19 -04:00
Ben Blum
190ecc220a Make sync primitives fail-unwind-friendly 2012-08-09 17:22:19 -04:00
Eric Holk
6a10e3a713 Added oneshot protocol. Fixes #3125 2012-08-09 11:55:17 -07:00
Lindsey Kuper
812db1ec0d Example from lkuper's intern talk, but now with static methods! 2012-08-09 11:20:15 -07:00
Lindsey Kuper
8703d088ea Add example from lkuper's intern talk to the test suite. 2012-08-09 11:10:09 -07:00
Lindsey Kuper
e82d2ef763 Minor cleanup 2012-08-09 11:10:09 -07:00
Niko Matsakis
9a77a17e3b unxfail-test and try to test for similar conditions as before
fixes #2772
2012-08-09 11:00:44 -07:00
Brian Anderson
7bbdf296e0 lint: Don't warn about non-camel case impl names
Impls are always named __extensions__ so this warning is bogus
2012-08-08 22:21:47 -07:00
Graydon Hoare
a0e3a2ae8e Const field access (working) and vec indexing (almost). More for #2317. 2012-08-08 19:59:30 -07:00
Patrick Walton
5c9c9a6a9f libsyntax: Parse common enum fields 2012-08-08 19:51:48 -07:00
Brian Anderson
780b3853d1 rustc: Remove some uses of impl_map 2012-08-08 19:27:20 -07:00
Graydon Hoare
71bc2673ed Fix number-peek code in fmt!, close #1610. 2012-08-08 18:40:30 -07:00
Graydon Hoare
800de26372 Remove obsolete FIXMEs, close #2345. 2012-08-08 18:40:30 -07:00
Brian Anderson
ab71c183b9 rustdoc: Update for new impl syntax 2012-08-08 18:19:26 -07:00
Brian Anderson
99a571585c syntax: Pretty print impls with new syntax 2012-08-08 18:19:26 -07:00