Brian Anderson
f9755c666d
rustdoc: Simplify attribute parsing
2012-03-09 18:13:14 -08:00
Brian Anderson
0905ad2bbe
rustdoc: Vastly simplify the document model
...
Don't attempt to impose any structure for documenting arguments, return
values, etc.
2012-03-09 17:24:56 -08:00
Marijn Haverbeke
fd465f91a8
Drop collect_items pass, create decls on demand
...
This solves a problem with inlined functions that have inner functions.
2012-03-08 21:17:32 +01:00
Patrick Walton
c9375fed8d
stdlib: Stop incurring vtable dispatch costs when hashmaps are used
...
This required changing almost all users of hashmaps to import the hashmap interface first.
The `size` member in the hashmap structure was renamed to `count` to work around a name conflict.
2012-03-07 17:35:13 -08:00
Patrick Walton
c245d9e980
Revert "stdlib: Stop incurring vtable dispatch costs when hashmaps are used"
...
This reverts commit f0250a23d3
.
2012-03-07 16:56:45 -08:00
Patrick Walton
f0250a23d3
stdlib: Stop incurring vtable dispatch costs when hashmaps are used
...
This required changing almost all users of hashmaps to import the hashmap interface first.
The `size` member in the hashmap structure was renamed to `count` to work around a name conflict.
2012-03-07 16:51:31 -08:00
Brian Anderson
f8742b476f
rustdoc: Introduce the concept of a 'page'
2012-03-03 21:56:17 -08:00
Brian Anderson
98c31aaaff
rustdoc: Time passes
2012-02-27 18:07:16 -08:00
Brian Anderson
8fdb213eb2
rustdoc: Optimize some closures to avoid copying
2012-02-26 23:49:37 -08:00
Brian Anderson
3bfa457039
rustdoc: Rename util mod to par
2012-02-26 23:10:12 -08:00
Brian Anderson
c15127fe3e
rustdoc: Do all maps as util::anymap
2012-02-26 23:07:03 -08:00
Brian Anderson
ac34cf96ad
rustdoc: Use default_any_fold in some tests
2012-02-26 22:55:05 -08:00
Brian Anderson
2576a3c2c9
rustdoc: Extract attribute docs from native stuffs
2012-02-24 14:22:13 -08:00
Brian Anderson
8b071ebe4c
rustdoc: Make it easy to switch between parallel and sequential folds
2012-02-21 16:14:02 -08:00
Brian Anderson
1ee139ae1f
rustdoc: Convert most passes to parallel folds
2012-02-21 16:14:02 -08:00
Brian Anderson
96e3031675
rustdoc: Convert the astsrv constructor to a higher order fn
...
This will allow it to manage the destruction of the astsrv after
I convert it to a task
2012-02-21 16:14:02 -08:00
Brian Anderson
d6095dc6b5
rustdoc: Rename mk_srv_from_str/file to just from_str/file
2012-02-21 16:14:02 -08:00
Brian Anderson
86e1d4ecbd
rustdoc: astsrv::exec should return sendable types
...
In order to make it parallelizable someday.
2012-02-20 16:56:59 -08:00
Brian Anderson
cec1679cf6
rustdoc: Simplify attr pass
2012-02-17 16:52:27 -08:00
Brian Anderson
784e2b7298
rustdoc: Extract common item fields into itemdoc
2012-02-17 16:00:39 -08:00
Marijn Haverbeke
4b63826050
Replace some explicit fails with 'alt check' invocations
2012-02-15 15:47:42 +01:00
Marijn Haverbeke
43ce38375d
Store item paths in ast_map, get rid of trans::local_ctxt
...
The direct motivation for this was that the monomorphizer needs to be
able to generate sane symbols for random items. The typechecker can
probably also use this in the future to provide more useful error
messages.
2012-02-03 11:34:12 +01:00
Brian Anderson
2b67de06c8
rustdoc: Add support for type items
2012-02-01 22:41:54 -08:00
Brian Anderson
fee9037765
rustdoc: Refactor tests
2012-01-31 19:32:27 -08:00
Brian Anderson
496205c85f
rustdoc: Pull impl docs out of attributes
2012-01-31 19:32:27 -08:00
Tim Chevalier
fba35e1a3c
Require alts to be exhaustive
...
middle::check_alt does the work. Lots of changes to add default cases
into alts that were previously inexhaustive.
2012-01-31 10:08:24 -08:00
Brian Anderson
2c495a9bf8
rustdoc: Add iface attribute docs to the doc tree
2012-01-30 19:37:32 -08:00
Brian Anderson
fe745f1b5d
rustdoc: Use fewer unique pointers
2012-01-30 13:05:25 -08:00
Brian Anderson
dbe2928c4d
rustdoc: Fix typo in attr_pass
2012-01-29 13:25:38 -08:00
Brian Anderson
f8c93bdbe1
rustdoc: Move mod docs into the item tag
2012-01-29 13:08:18 -08:00
Brian Anderson
9732e0d554
rustdoc: Move fn docs into the item tag
2012-01-29 12:47:06 -08:00
Brian Anderson
5aa6c3a49a
rustdoc: Move const docs into the item tag
2012-01-29 12:46:26 -08:00
Brian Anderson
d56a4dd04b
rustdoc: Move enum docs into the item tag
2012-01-29 11:38:44 -08:00
Brian Anderson
40cbc89b6f
rustdoc: Move resource docs into the item tag
2012-01-29 11:38:44 -08:00
Brian Anderson
21fc2a36d8
rustdoc: Build resource arguments as well
2012-01-26 22:14:16 -08:00
Brian Anderson
ce7d150493
rustdoc: Add resource attribute docs to the doc tree
2012-01-26 21:39:20 -08:00
Brian Anderson
38908581f7
rustdoc: Rename astsrv::ctxt.map to ast_map
2012-01-26 11:05:21 -08:00
Brian Anderson
95a006ce52
rustdoc: Add enum doc attributes to the doc tree
2012-01-25 21:04:53 -08:00
Brian Anderson
efc067952d
rustdoc: Add fn failure conditions to the doc tree
2012-01-24 18:05:57 -08:00
Brian Anderson
e3be8e689d
rustdoc: Some refactoring in attr_pass
2012-01-24 00:38:36 -08:00
Brian Anderson
fbd704e77d
rustdoc: Add const attr docs to doc tree
2012-01-24 00:38:35 -08:00
Brian Anderson
50d8e9f2a1
Revert "rustdoc: Get the crate brief description from the 'desc' attr"
...
This reverts commit 521e58a3c4
.
Some crates use 'desc', some 'comment' - I want them to just use 'doc'
2012-01-23 16:23:08 -08:00
Brian Anderson
521e58a3c4
rustdoc: Get the crate brief description from the 'desc' attr
2012-01-23 15:16:14 -08:00
Brian Anderson
fdbe206a76
rustdoc: Make doc::retdoc non-optional
2012-01-19 19:14:29 -08:00
Brian Anderson
2d2bdfe845
rustdoc: Write markdown for function signatures
2012-01-19 18:59:02 -08:00
Brian Anderson
2a442f9f8f
rustdoc: Add function signatures to the doc tree
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
Brian Anderson
df9bf1f45f
rustdoc: Attach return value descriptions to the doc tree
2012-01-19 14:35:18 -08:00
Tim Chevalier
5b028f527f
Remove support for the '.' after a nullary tag in a pattern
...
(Commit also includes lots of changes to remove '.'s that a git
merge messed up, or else it was monkeys.)
2012-01-19 01:04:59 -08:00
Brian Anderson
9df0306889
rustdoc: Cleanup
2012-01-19 00:14:41 -08:00