Commit Graph

7639 Commits

Author SHA1 Message Date
Patrick Walton
6222e98dda lib: ';' to ',' in enums in more places 2012-01-19 19:08:49 -08:00
Brian Anderson
2d2bdfe845 rustdoc: Write markdown for function signatures 2012-01-19 18:59:02 -08:00
Patrick Walton
d1fe582040 misc: ';' to ',' in enums in cargo, compiletest, and fuzzer 2012-01-19 18:47:30 -08:00
Graydon Hoare
5f8f641211 Split dist rules by platform. 2012-01-19 18:34:41 -08:00
Graydon Hoare
6ffc36bb1b Move some doc text around. 2012-01-19 18:34:41 -08:00
Patrick Walton
59ebe6af18 rustc: Make the pretty printer output commas after enum variants. Update all tests accordingly. 2012-01-19 18:41:06 -08:00
Brian Anderson
c6278e53dc rustdoc: Remove debug logging 2012-01-19 18:36:20 -08:00
Brian Anderson
2a442f9f8f rustdoc: Add function signatures to the doc tree 2012-01-19 18:14:17 -08:00
Brian Anderson
991db34b5b rustc: Fix fun_to_str 2012-01-19 18:14:17 -08:00
Brian Anderson
052340980b rustdoc: Add function signature field to the doc::fndoc 2012-01-19 18:14:17 -08:00
Patrick Walton
c267821742 rustc: ";" to "," in enums 2012-01-19 18:04:25 -08:00
Patrick Walton
194d8e3bd5 lib: ";" to "," in enums 2012-01-19 18:04:24 -08:00
Graydon Hoare
874390831a Fix a bunch of broken internal links in the docs. Add a hokey link checker. 2012-01-19 17:50:21 -08:00
Brian Anderson
6d4884d983 libcore: Use 4x the number of scheduler threads for testing
An arbitrary number. I've done no measurements but it's intended to overcome
the effects of tasks randomly being scheduled to threads and no work stealing.

If scheduler threads == 1 then we just use a single test task.
2012-01-19 17:54:21 -08:00
Brian Anderson
928e55815c libcore: Do less blocking in the test runner 2012-01-19 17:54:21 -08:00
Patrick Walton
7a663032fb rustc: Remove trailing whitespace 2012-01-19 17:49:23 -08:00
Tim Chevalier
c7592803d9 Compute typestates for FRU exprs correctly, plus a bit of cleanup
The code in Issue 948 was causing typestate to diverge because
it was using the prestate for the whole expression -- not the post-
state for the fields list -- as the prestate for the record base
expression. Fixed.

Closes #948
2012-01-19 17:24:27 -08:00
Patrick Walton
b58f2b7bfb Merge pull request #1571 from kevina/fixup-1
Remove incorrect comments from a few test cases.
2012-01-19 17:21:29 -08:00
Graydon Hoare
a5e1848906 Remove old ref.foo noise. 2012-01-19 17:11:05 -08:00
Graydon Hoare
5589ab16e0 Clarify immaturity of grammar, add a pile of half-baked grammar rules. 2012-01-19 17:05:35 -08:00
Graydon Hoare
997b29fa7e Fix links. 2012-01-19 17:01:15 -08:00
Tim Chevalier
c500801f83 Fix typos in section 6; point out that prove expressions are unsupported 2012-01-19 16:59:25 -08:00
Tim Chevalier
704210ef7c Typos, section 5 2012-01-19 16:31:42 -08:00
Kevin Atkinson
d388daa996 Remove incorrect comments from a few test cases. 2012-01-19 17:31:36 -07:00
Tim Chevalier
bb54979b39 Fix typos 2012-01-19 16:23:38 -08:00
Patrick Walton
035b56d8aa misc: "tag" -> "enum" for cargo, compiletest, fuzzer, rustdoc 2012-01-19 16:21:33 -08:00
Patrick Walton
3333fef1af test: "tag" -> "enum" in run-pass and run-fail 2012-01-19 16:11:17 -08:00
Patrick Walton
1461cfe416 test: "tag" -> "enum" in bench 2012-01-19 16:11:17 -08:00
Tim Chevalier
64a0695fec Fix typos 2012-01-19 16:05:55 -08:00
Tim Chevalier
93a816ab9d Fix typo 2012-01-19 16:02:04 -08:00
Patrick Walton
d97783e3e5 test: "tag" -> "enum" in compile-fail 2012-01-19 16:01:47 -08:00
Patrick Walton
97ed871fc1 libcore: "tag" -> "enum" 2012-01-19 15:56:54 -08:00
Patrick Walton
c5a407b11b stdlib: "tag" -> "enum" 2012-01-19 15:22:25 -08:00
Graydon Hoare
7e21be5304 Add 'getting started' text to tutorial, close #427. 2012-01-19 14:49:00 -08:00
Patrick Walton
1731f5d709 test: Fix error patterns in name-clash-nullary 2012-01-19 14:47:43 -08:00
Tim Chevalier
94d2063577 Handle log expressions with a _|_-typed level
If we have log(foo, quux) where foo:_|_, just translate foo and
ignore the rest of the expression.

Closes #1459
2012-01-19 14:44:40 -08:00
Brian Anderson
840a057556 rustdoc: Add a blank line after the return value description 2012-01-19 14:35:19 -08:00
Brian Anderson
df9bf1f45f rustdoc: Attach return value descriptions to the doc tree 2012-01-19 14:35:18 -08:00
Brian Anderson
00afef0bd8 rustdoc: Run tystr pass before attr pass 2012-01-19 14:35:18 -08:00
Patrick Walton
daaeac56b1 rustc: Fix long lines 2012-01-19 14:34:23 -08:00
Patrick Walton
bdb8f6cf52 rustc: "tag" -> "enum" 2012-01-19 14:24:03 -08:00
Brian Anderson
e6a7383a5f cargo: Fix unused argument warning 2012-01-19 13:46:28 -08:00
Brian Anderson
48e916c8fa libstd: Long lines 2012-01-19 13:44:07 -08:00
Brian Anderson
f15182fffc Use fn~ to simplify the core::test interface 2012-01-19 13:37:01 -08:00
Graydon Hoare
c2dba1799f Actually use CFG_NATURALDOCS rather than hardcoding naturaldocs name. 2012-01-19 13:26:59 -08:00
Tim Chevalier
3e25444e51 In trans, allow _|_-typed things to be the argument to fail
Rationale: _|_-typed things diverge, so it's safe to use them in
any context.

Closes #1465
2012-01-19 13:30:31 -08:00
Graydon Hoare
cc2bd02827 Remove doc/rust.texi 2012-01-19 13:10:14 -08:00
Graydon Hoare
e0a4d47720 Copy section to docs on runtime services. 2012-01-19 13:10:14 -08:00
Graydon Hoare
0d7df062f4 Teach configure to search for multiple commands-with-similar-names. Add NaturalDocs (vs. naturaldocs). 2012-01-19 13:10:14 -08:00
Brian Anderson
0c237254b3 doc: Copyedit task section 2012-01-19 12:23:35 -08:00