Commit Graph

7469 Commits

Author SHA1 Message Date
Brian Anderson c54f53b9d9 rustdoc: Add path field to doc::moddoc 2012-01-19 00:04:59 -08:00
Tim Chevalier 04a2887f87 Remove '.' after nullary tags in patterns
Does what it says on the tin.

The next commit will remove support for this syntax.
2012-01-18 23:17:34 -08:00
Brian Anderson ca7cfbe3d0 rustdoc: Add more rustdocs 2012-01-18 23:11:20 -08:00
Tim Chevalier b141de657b Merge remote-tracking branch 'mozilla/snap-stage3' 2012-01-18 23:01:40 -08:00
Tim Chevalier 88e11e567b Register snapshots 2012-01-18 22:46:18 -08:00
Brian Anderson fb82e6ab79 rustdoc: Write fn arg descriptions to markdown 2012-01-18 22:40:06 -08:00
Brian Anderson 266cc7b0c3 rustdoc: Add fn arg descriptions to the doc tree 2012-01-18 22:24:29 -08:00
Brian Anderson 515fdb2863 rustdoc: Change field order on doc::fndoc 2012-01-18 21:57:18 -08:00
Brian Anderson e9ddfbe3fd rustdoc: Ignore nil-typed return values 2012-01-18 21:50:35 -08:00
Brian Anderson a02a943cec rustdoc: Write markdown for mod description 2012-01-18 21:33:37 -08:00
Tim Chevalier 8c97854c7d Allow any alternative (not just a block) to follow a nullary tag pattern 2012-01-18 21:29:02 -08:00
Tim Chevalier 209d8c854f allow dotless nullary patterns inside or-patterns 2012-01-18 21:29:02 -08:00
Tim Chevalier a453197734 Another minor parser fix for nullary-tag patterns 2012-01-18 21:29:02 -08:00
Tim Chevalier bf83fd3091 Allow nullary tag names to be qualified 2012-01-18 21:29:02 -08:00
Brian Anderson 3ebf7b42bd rustc: Assert that the parser doesn't assign node id 0
It is reserved for indicating the crate, but doesn't exist in the AST
2012-01-18 19:59:24 -08:00
Brian Anderson 20b8509594 rustdoc: Add mod docs attrs to the doc tree 2012-01-18 19:59:24 -08:00
Brian Anderson e39e34776e rustdoc: Assign AST ids to mod docs 2012-01-18 19:59:24 -08:00
Brian Anderson 5bbf72e11c rustdoc: Add brief and desc fields to module docs 2012-01-18 19:59:24 -08:00
Brian Anderson 08da893cdb rustdoc: Parse module docs 2012-01-18 19:59:23 -08:00
Brian Anderson 10634452de Merge pull request #1565 from elly/cargo
[cargo] remove bogus function redefinition
2012-01-18 19:56:51 -08:00
Elly Jones eafc9854bd [cargo] argh 2012-01-18 22:52:00 -05:00
Graydon Hoare 8ebe4169f3 Merge pull request #1564 from elly/cargo
[cargo] refactor test_one_crate
2012-01-18 19:43:03 -08:00
Elly Jones 4bd713bb84 [cargo] refactor test_one_crate 2012-01-18 22:36:57 -05:00
Graydon Hoare 1ce288d5aa fix long line 2012-01-18 19:26:19 -08:00
Graydon Hoare a6c04eab86 Merge pull request #1562 from elly/cargo
[cargo] add --test flag to install
2012-01-18 19:22:01 -08:00
Elly Jones ad0065fe83 [cargo] add --test flag to install 2012-01-18 22:16:14 -05:00
Graydon Hoare 6a6aec04a2 Fix --out-dir a bit more in driver. 2012-01-18 18:44:07 -08:00
Graydon Hoare b0d5436dd0 Give up trying to be clever about masking out parts of llvm and libuv. 2012-01-18 18:44:06 -08:00
Graydon Hoare 9f66ea0ac1 Fix path munging in dist rule. 2012-01-18 18:44:06 -08:00
Graydon Hoare f06c01f16a Add RELEASES.txt 2012-01-18 18:44:06 -08:00
Graydon Hoare 3074fd591d Tidy tidy 2012-01-18 18:44:06 -08:00
Niko Matsakis 54f6bf57e6 remove align_mode and rewrite GEP_tup_like to align correctly
Although the old version of GEP_tup_like was incorrect in some
cases, I do not believe we ever used it in an incorrect fashion.
In particular, it could go wrong with extended index sequences
like [0, 1, 3], but as near as I can tell we only ever use it
with short sequences like [0, i].
2012-01-18 17:20:46 -08:00
Niko Matsakis da828747e6 correct use of GEP_tup_like in closure constr
also, streamline type_is_tup_like() to the cases which
actually work
2012-01-18 17:20:46 -08:00
Brian Anderson 2286d8c17e rustdoc: Write argument names as code spans 2012-01-18 17:11:58 -08:00
Brian Anderson c06e62e0ce rustdoc: Write markdown for argument types 2012-01-18 17:10:04 -08:00
Brian Anderson 6da55efa4e rustdoc: Add argument types to the doc 2012-01-18 17:05:03 -08:00
Brian Anderson f3fa7c1555 rustdoc: Extract functions from tystr_pass::fold_fn 2012-01-18 16:09:32 -08:00
Brian Anderson cbd7e8ed1b rustdoc: Prune unconfigured items from AST 2012-01-18 15:48:09 -08:00
Brian Anderson 1b839a61c4 rustdoc: Write markdown for fn arguments 2012-01-18 15:02:43 -08:00
Brian Anderson 29df58d73b rustdoc: Introduce type doc::argdoc 2012-01-18 15:02:43 -08:00
Brian Anderson 38852bf0a4 rustdoc: Extract function argument names from the AST 2012-01-18 15:02:43 -08:00
Brian Anderson 92f63b90f9 rustdoc: Merge the crate's name attribute into the doc tree 2012-01-18 15:02:43 -08:00
Brian Anderson 60b475ea88 rustdoc: Parse crate name from #[link] attr 2012-01-18 15:02:43 -08:00
Brian Anderson 810af2dada rustdoc: Put fn docs inside fn bodies 2012-01-18 15:02:43 -08:00
Brian Anderson 9191911499 rustdoc: Document attr_parser::doc_meta 2012-01-18 15:02:42 -08:00
Brian Anderson 17fef6caaf configure: Don't use pandoc < 1.8. Closes #1513 2012-01-18 14:32:37 -08:00
Graydon Hoare 193279daa2 Refactor the doc building rules a bit, sensitize them to the presence or absence of xetex and luatex (for now). 2012-01-18 14:14:42 -08:00
Patrick Walton 5ac57d1891 test: Don't test that tags with zero variants are supported 2012-01-18 12:43:01 -08:00
Patrick Walton 1aaee20737 rustc: Accept commas to separate tag variants 2012-01-18 12:27:12 -08:00
Haitao Li 397d9148a7 build: Run tidy first before all other check targets
`make check` executes `tidy` after compile. It reminds me that I've left
long lines or trailing whitespaces only after compilation finshed. That
is too late since I have to recompile only because fixing the trivial
formatting issues.

Run tidy first to avoid potentially unnecessary re-compilation.
2012-01-19 02:51:57 +08:00