Patrick Walton
c5a407b11b
stdlib: "tag" -> "enum"
2012-01-19 15:22:25 -08:00
Graydon Hoare
7e21be5304
Add 'getting started' text to tutorial, close #427 .
2012-01-19 14:49:00 -08:00
Patrick Walton
1731f5d709
test: Fix error patterns in name-clash-nullary
2012-01-19 14:47:43 -08:00
Tim Chevalier
94d2063577
Handle log expressions with a _|_-typed level
...
If we have log(foo, quux) where foo:_|_, just translate foo and
ignore the rest of the expression.
Closes #1459
2012-01-19 14:44:40 -08:00
Brian Anderson
840a057556
rustdoc: Add a blank line after the return value description
2012-01-19 14:35:19 -08:00
Brian Anderson
df9bf1f45f
rustdoc: Attach return value descriptions to the doc tree
2012-01-19 14:35:18 -08:00
Brian Anderson
00afef0bd8
rustdoc: Run tystr pass before attr pass
2012-01-19 14:35:18 -08:00
Patrick Walton
daaeac56b1
rustc: Fix long lines
2012-01-19 14:34:23 -08:00
Patrick Walton
bdb8f6cf52
rustc: "tag" -> "enum"
2012-01-19 14:24:03 -08:00
Brian Anderson
e6a7383a5f
cargo: Fix unused argument warning
2012-01-19 13:46:28 -08:00
Brian Anderson
48e916c8fa
libstd: Long lines
2012-01-19 13:44:07 -08:00
Brian Anderson
f15182fffc
Use fn~ to simplify the core::test interface
2012-01-19 13:37:01 -08:00
Graydon Hoare
c2dba1799f
Actually use CFG_NATURALDOCS rather than hardcoding naturaldocs name.
2012-01-19 13:26:59 -08:00
Tim Chevalier
3e25444e51
In trans, allow _|_-typed things to be the argument to fail
...
Rationale: _|_-typed things diverge, so it's safe to use them in
any context.
Closes #1465
2012-01-19 13:30:31 -08:00
Graydon Hoare
cc2bd02827
Remove doc/rust.texi
2012-01-19 13:10:14 -08:00
Graydon Hoare
e0a4d47720
Copy section to docs on runtime services.
2012-01-19 13:10:14 -08:00
Graydon Hoare
0d7df062f4
Teach configure to search for multiple commands-with-similar-names. Add NaturalDocs (vs. naturaldocs).
2012-01-19 13:10:14 -08:00
Brian Anderson
0c237254b3
doc: Copyedit task section
2012-01-19 12:23:35 -08:00
Brian Anderson
35f553dbd6
doc: Fix typo
2012-01-19 11:38:26 -08:00
Graydon Hoare
4e7de69cda
Partial fix for #1561 , doesn't actually "fix" the problem but you get output now.
...
There's still something wrong with #error here, possibly cross-crate issue.
2012-01-19 11:11:47 -08:00
Graydon Hoare
5378d5185e
Fix the dist target to include Much Less Junk from llvm (notably not .git!)
2012-01-19 11:11:43 -08:00
Niko Matsakis
882bea5b6d
Rename fn*() to fn() as originally planned.
2012-01-19 07:11:50 -08:00
Niko Matsakis
1f0b3d2247
treat fn*() as fn&()
...
This is not my ideal way of going about things. I'd prefer not
to have expressions typed as fn*(), for example, but I couldn't
get that to work together with inferring the modes of arguments
and other corner cases.
2012-01-19 07:10:59 -08:00
Marijn Haverbeke
d54cc1cad4
Fix internal linking in the tutorial
2012-01-19 15:33:45 +01:00
Marijn Haverbeke
df02ca1df9
[makefiles] Don't add css file to set of DOCS targets
2012-01-19 14:19:23 +01:00
Marijn Haverbeke
a4b77758f0
Move tutorial over to a format similar to the reference doc
...
And adjust highlighting/testing scripts to deal with this.
2012-01-19 13:34:10 +01:00
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