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
Elly Jones
eafc9854bd
[cargo] argh
2012-01-18 22:52:00 -05: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
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
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
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
7b1724fb40
libstd: Revert an integer type casting
...
Otherwise, rustctest failed by a segv fault.
2012-01-19 02:24:22 +08:00
Haitao Li
04882d7c43
rustc: Use integer from ctypes consistently
2012-01-19 02:10:36 +08:00
Haitao Li
dde41869ce
Use ctypes in native function declarations
2012-01-19 02:10:36 +08:00
Haitao Li
f03eb96f39
rustc: Warn when int or uint is used in a native type decl
...
Issue #1403
2012-01-19 02:10:36 +08:00
Brian Anderson
2d85e8f59a
rustdoc: Improve formatting of return type
2012-01-17 23:53:24 -08:00
Brian Anderson
6c295c0f49
rustdoc: Write a single line between brief and desc
2012-01-17 23:42:26 -08:00
Brian Anderson
c4d2cc4015
rustdoc: Extract various gen functions
2012-01-17 23:39:22 -08:00
Brian Anderson
c17d58d5ba
rustdoc: Extract boilerplate from gen tests
2012-01-17 23:33:11 -08:00
Brian Anderson
0142e807dd
rustdoc: Write blank lines after brief descriptions
2012-01-17 23:29:23 -08:00
Brian Anderson
971236e8f7
rustdoc: Remove some debug logging
2012-01-17 23:13:24 -08:00
Niko Matsakis
31b25d81eb
use 64-bit memset on 64-bit platforms. Fixes #1546 . Fixes #843 .
...
Actually, we don't "fix" #843 so much as close it: as with memmove,
we simply use an alignment of 1 with dynamically sized types.
2012-01-17 20:21:09 -08:00