Marijn Haverbeke
2d4d8e8bdb
Implement implicit self type parameters for ifaces
...
Closes #1661
2012-01-25 20:47:11 +01:00
Marijn Haverbeke
76aabbe99d
Rename tag to enum throughout the compiler
...
This should reduce confusion of people trying to read the code.
2012-01-25 14:34:31 +01:00
Marijn Haverbeke
8420f8c52e
Repair zero-variant tags
...
The parser no longer parsed them.
2012-01-25 14:10:33 +01:00
Marijn Haverbeke
2f0f6c782a
Add bit-shifting ops to ast_util::eval_const_expr
...
Closes #1659
2012-01-25 13:19:32 +01:00
Joe Pletcher
edd86126f7
Added a small note to help explain tag's in older code.
2012-01-25 10:17:50 +01:00
Joe Pletcher
b02b65a547
Remove stale references to tags, replaced with enums.
2012-01-25 10:17:49 +01:00
Marijn Haverbeke
8ae4868419
Add Joe Pletcher to AUTHORS.txt
2012-01-25 10:17:12 +01:00
Joe Pletcher
3b9a9fce49
Remove reference to tags, replace enums.
2012-01-25 10:16:32 +01:00
Brian Anderson
61b5cc95d1
rustdoc: Add enums to the doc tree
2012-01-24 23:24:55 -08:00
Brian Anderson
b779277dae
rustdoc: Add a pass to normalize indentation levels in doc comments
2012-01-24 23:24:54 -08:00
Brian Anderson
e869458914
rustdoc: Extract a general apply-function-to-strings pass from trim_pass
2012-01-24 23:24:54 -08:00
Brian Anderson
e7d7f4e4b7
rustdoc: Add a demo module with some test docs
2012-01-24 23:24:54 -08:00
Brian Anderson
45a668c439
rustdoc: Update tests for rustc diagnostic changes
2012-01-24 23:24:31 -08:00
Brian Anderson
0886b69b76
rustc: Bump the error count on non-span errors
2012-01-24 23:07:16 -08:00
Patrick Walton
9ecd5ee81d
rustc: Split diagnostics into "span diagnostics" and "diagnostics".
...
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-24 21:42:54 -08:00
Brian Anderson
4d096a8c86
rustdoc: Rename gen module to markdown_pass
2012-01-24 18:18:14 -08:00
Brian Anderson
dc69355e99
rustdoc: Generate markdown for failure conditions
2012-01-24 18:17:06 -08:00
Brian Anderson
3310112169
rustdoc: Trim whitespace from failure conditions
2012-01-24 18:10:35 -08:00
Brian Anderson
a66bff6e81
rustdoc: Don't prune functions with documented failure conditions
2012-01-24 18:08:48 -08:00
Brian Anderson
efc067952d
rustdoc: Add fn failure conditions to the doc tree
2012-01-24 18:05:57 -08:00
Brian Anderson
6d8058451b
rustdoc: Parse fn failure conditions
2012-01-24 18:02:33 -08:00
Brian Anderson
fc64aefe0a
rustdoc: Add a pass to trim whitespace from docs
2012-01-24 17:57:23 -08:00
Brian Anderson
cb44fa2a21
rustdoc: Add a pass that extracts brief docs from long docs
...
If the first paragraph of documentation is short then it will be used as the
brief description.
2012-01-24 17:57:23 -08:00
Tim Chevalier
2d84b481de
Documentation only -- typos in section on swap expression
...
Closes #1595 . Thanks to mikesamuel.
2012-01-24 16:46:22 -08:00
Kevin Cantu
4c4a5f734d
Reorganizing str.rs to group and document strings better (no functional changes, though FIXMEs added)
2012-01-24 14:08:48 -08:00
Brian Anderson
19cd9686e7
comp: Fix syntax error in parser
2012-01-24 14:03:25 -08:00
Brian Anderson
493142ffd4
Add Joshua Clark to AUTHORS.txt
2012-01-24 13:59:06 -08:00
Brian Anderson
6763051932
Merge pull request #1631 from j-clark/patch-2
...
Added to bad_expr_word_table reserved words
2012-01-24 13:57:29 -08:00
Brian Anderson
bd17319b41
Merge pull request #1637 from grahame/cargo-errors
...
suggest sync/init to user as appropriate
2012-01-24 12:01:39 -08:00
Brian Anderson
7356126457
build: Add a comment explaining -Wno-c++11-compat
2012-01-24 11:55:42 -08:00
Jyun-Yan You
c2bf9b7726
freebsd clang support
2012-01-24 11:48:36 -08:00
Grahame Bowland
fe70212f5a
suggest sync/init to user as appropriate
2012-01-25 00:08:58 +08:00
Brian Anderson
2898dcc5d9
core: Document the log levels
2012-01-24 00:54:17 -08:00
Brian Anderson
93686543e6
rustdoc: Update one of the markdown fn tests
2012-01-24 00:51:54 -08:00
Brian Anderson
c98cfa4f28
rustdoc: Write markdown for consts
2012-01-24 00:51:19 -08:00
Brian Anderson
74ab606e18
rustdoc: Prune undocumented consts
2012-01-24 00:44:47 -08:00
Brian Anderson
e3be8e689d
rustdoc: Some refactoring in attr_pass
2012-01-24 00:38:36 -08:00
Brian Anderson
fbd704e77d
rustdoc: Add const attr docs to doc tree
2012-01-24 00:38:35 -08:00
Brian Anderson
c93c6358cb
rustdoc: Add parsing of const attribute docs
2012-01-24 00:38:35 -08:00
Brian Anderson
e6ed88df68
rustdoc: Add const types to the doc tree
2012-01-24 00:38:35 -08:00
Brian Anderson
d4e9f097b6
rustdoc: Add brief and desc fields to constdoc
2012-01-24 00:38:35 -08:00
Brian Anderson
f9a6b3731f
rustdoc: Add fold_const and fold_constlist to fold
2012-01-24 00:38:35 -08:00
Brian Anderson
d66ac392fe
rustdoc: Prune unexported consts
2012-01-24 00:38:35 -08:00
Brian Anderson
ab86bade97
rustdoc: Build const docs from AST consts
2012-01-24 00:38:35 -08:00
Brian Anderson
6ee7ff50b2
rustdoc: Add consts to the doc tree
2012-01-24 00:38:35 -08:00
Tim Chevalier
a3c31a08e5
Add export{} syntax to encapsulate things that should be abstract
2012-01-23 22:36:38 -08:00
Kevin Cantu
69ffb4e3ae
s/fn&/fn/
2012-01-23 22:28:25 -08:00
Kevin Cantu
8f4d1f3d27
Added str::from_bytes (which is UTF-8 safe)
2012-01-23 22:28:25 -08:00
Kevin Cantu
7608a06b33
improved test case for str::any
2012-01-23 22:28:25 -08:00
Kevin Cantu
536dd2f5a7
Added str::lines_iter
2012-01-23 22:28:25 -08:00