about summary refs log tree commit diff
path: root/src/rustdoc
AgeCommit message (Collapse)AuthorLines
2012-01-26rustdoc: Prune unexported enums and variantsBrian Anderson-1/+92
2012-01-26rustc: Switch the --no-core switch to a #[no_core] attributeBrian Anderson-1/+0
2012-01-26rustdoc: Set up the compiler session properly in prep for running resolveBrian Anderson-25/+104
2012-01-26rustdoc: Rename astsrv::ctxt.map to ast_mapBrian Anderson-11/+11
2012-01-25rustdoc: Add some test enums to demo moduleBrian Anderson-0/+3
2012-01-25rustdoc: Write markdown for enumsBrian Anderson-0/+93
2012-01-25rustdoc: Apply general string ops to enum docsBrian Anderson-1/+46
2012-01-25rustdoc: Extract brief enum descs from long descsBrian Anderson-1/+24
2012-01-25rustdoc: Prune undocumented enumsBrian Anderson-1/+66
2012-01-25rustdoc: Add enum doc attributes to the doc treeBrian Anderson-1/+59
2012-01-25rustdoc: Parse variant doc attributesBrian Anderson-2/+49
2012-01-25rustdoc: Extract some common functions from attr_parserBrian Anderson-53/+16
2012-01-25rustdoc: Parse enum doc attributesBrian Anderson-22/+72
2012-01-25rustdoc: Fix a copy&paste bug in attr_parser testsBrian Anderson-2/+2
2012-01-25rustdoc: Extract variant signaturesBrian Anderson-3/+46
2012-01-25rustdoc: Add enum foldingBrian Anderson-7/+42
2012-01-25rustdoc: Extract enum doc nodes from AST nodesBrian Anderson-1/+56
2012-01-25Keep source file around after parsing.Kevin Atkinson-2/+2
Specifically box the string (to avoid unnecessary copies) and store it in codemap::filemap. Remove the hack in driver::diagnostic that rereads the source from the file and instead just get the source from the filemap. (This commit is also a prerequisite for issue #1612)
2012-01-24rustdoc: Add enums to the doc treeBrian Anderson-4/+23
2012-01-24rustdoc: Add a pass to normalize indentation levels in doc commentsBrian Anderson-0/+122
2012-01-24rustdoc: Extract a general apply-function-to-strings pass from trim_passBrian Anderson-65/+78
2012-01-24rustdoc: Add a demo module with some test docsBrian Anderson-0/+70
2012-01-24rustdoc: Update tests for rustc diagnostic changesBrian Anderson-1/+2
2012-01-24rustc: Split diagnostics into "span diagnostics" and "diagnostics".Patrick Walton-1/+2
The former contain a codemap (which is per-crate), and the latter don't. This will be useful in order to allow more than one crate to be compiled in one run of the compiler.
2012-01-24rustdoc: Rename gen module to markdown_passBrian Anderson-2/+2
2012-01-24rustdoc: Generate markdown for failure conditionsBrian Anderson-0/+20
2012-01-24rustdoc: Trim whitespace from failure conditionsBrian Anderson-1/+12
2012-01-24rustdoc: Don't prune functions with documented failure conditionsBrian Anderson-1/+12
2012-01-24rustdoc: Add fn failure conditions to the doc treeBrian Anderson-1/+14
2012-01-24rustdoc: Parse fn failure conditionsBrian Anderson-4/+15
2012-01-24rustdoc: Add a pass to trim whitespace from docsBrian Anderson-0/+132
2012-01-24rustdoc: Add a pass that extracts brief docs from long docsBrian Anderson-0/+221
If the first paragraph of documentation is short then it will be used as the brief description.
2012-01-24rustdoc: Update one of the markdown fn testsBrian Anderson-1/+1
2012-01-24rustdoc: Write markdown for constsBrian Anderson-0/+28
2012-01-24rustdoc: Prune undocumented constsBrian Anderson-3/+40
2012-01-24rustdoc: Some refactoring in attr_passBrian Anderson-18/+15
2012-01-24rustdoc: Add const attr docs to doc treeBrian Anderson-2/+34
2012-01-24rustdoc: Add parsing of const attribute docsBrian Anderson-2/+48
2012-01-24rustdoc: Add const types to the doc treeBrian Anderson-2/+33
2012-01-24rustdoc: Add brief and desc fields to constdocBrian Anderson-0/+4
2012-01-24rustdoc: Add fold_const and fold_constlist to foldBrian Anderson-17/+56
2012-01-24rustdoc: Prune unexported constsBrian Anderson-7/+64
2012-01-24rustdoc: Build const docs from AST constsBrian Anderson-1/+31
2012-01-24rustdoc: Add consts to the doc treeBrian Anderson-4/+15
2012-01-23rustdoc: Prune unexported items from the doc treeBrian Anderson-0/+178
2012-01-23rustdoc: Correctly indent multiline fn signaturesBrian Anderson-4/+32
2012-01-23rustdoc: Use the standard markdown syntax for code blocksBrian Anderson-6/+4
2012-01-23Don't reset the chpos/byte_pos to 0 in new_parser_from_source_str.Kevin Atkinson-2/+6
This correctly fixes issue #1362. chpos/byte_pos are now the offsets within a particular file, but rather the offsets within a virtual file with is formed by combing all of the modules within a crate. Thus, resetting them to 0 causes an overlap and hence, bogus source locations. Fix #1362 by moving chpos/byte_pos to parse_sess so that new_parser_from_source_str has access to them and hence can chose an initial value that is not already been used in the crate. Note that the trigger for bug 1361 was that syntax/ext/expand.rs calls parse_expr_from_source_str (which calls new_parser_from_source_str) using the same codemap as the current crate (and hence causing overlap with files in the crate as new_parser_from_source_str resets the chpos/byte_pos to 0).
2012-01-23Change rustc and rustdoc's #[desc] attribute to #[comment]Brian Anderson-1/+1
There are two attributes in use for this same purpose.
2012-01-23Revert "rustdoc: Get the crate brief description from the 'desc' attr"Brian Anderson-35/+5
This reverts commit 521e58a3c4f45ffc30a914dd0bb517945d87a503. Some crates use 'desc', some 'comment' - I want them to just use 'doc'