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
01a1c98d09
rustdoc: Clean up pass names
2012-02-27 18:11:12 -08:00
Brian Anderson
98c31aaaff
rustdoc: Time passes
2012-02-27 18:07:16 -08:00
Brian Anderson
396540f19d
rustdoc: Don't prune reexports
2012-02-24 15:43:57 -08:00
Brian Anderson
681e5beac4
rustdoc: Remove a pointer that's no longer needed
2012-02-24 13:53:28 -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
784e2b7298
rustdoc: Extract common item fields into itemdoc
2012-02-17 16:00:39 -08: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
c218b65fd8
rustdoc: Prune unexported impls
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
c775798124
rustdoc: Add a test that unexported ifaces are pruned
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
55e69eb458
rustdoc: Extract method to get item names
2012-01-29 13:36:54 -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
95e2b1b8f9
rustdoc: Add test that unexported resources are pruned
2012-01-29 11:38:44 -08:00
Brian Anderson
d56a4dd04b
rustdoc: Move enum docs into the item tag
2012-01-29 11:38:44 -08:00
Brian Anderson
a06850c8aa
rustdoc: Prune unexported enums and variants
2012-01-26 17:29:55 -08:00
Brian Anderson
38908581f7
rustdoc: Rename astsrv::ctxt.map to ast_map
2012-01-26 11:05:21 -08:00
Brian Anderson
d66ac392fe
rustdoc: Prune unexported consts
2012-01-24 00:38:35 -08:00
Brian Anderson
ab0eed34fd
rustdoc: Prune unexported items from the doc tree
2012-01-23 22:13:34 -08:00