Haitao Li
d699db699a
rustc: Refactor lint check and avoid a segv fault
...
The segv fault issue is #1566
2012-01-19 20:31:43 +08:00
Haitao Li
7ffb2cb7e8
rustc: Name the lint-style check module `lint`
...
Issue #1543
2012-01-19 17:54:38 +08:00
Haitao Li
327a15d58c
rustc: Add a usage pass to collect one-off analyses
...
This patch starts from move the analysis which checkes of probably
incorrectly usage of `int|uint` in native fn.
Issue #1543
2012-01-19 17:27:44 +08:00
Haitao Li
45c0651a49
rustc: Use io::println for time-passes data
...
Issue #1561
2012-01-19 17:25:15 +08:00
Tim Chevalier
90cd795b8b
Update docs to reflect pattern syntax change
2012-01-19 01:22:43 -08:00
Tim Chevalier
d887c0e789
update gitignore with some doc-related files
2012-01-19 01:22:08 -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
Brian Anderson
f77458a676
rustdoc: Remove nullary-tag dots
2012-01-19 00:08:51 -08:00
Brian Anderson
398dadfeca
rustdoc: Write the full path to each mod
2012-01-19 00:04:59 -08:00
Brian Anderson
42e5d451b7
rustdoc: Change the header scheme so that all mods are h2, fns h3
2012-01-19 00:04:59 -08:00
Brian Anderson
a5e0f037be
rustdoc: Add path_pass for recording full paths to mods
2012-01-19 00:04:59 -08:00
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