Brian Anderson
97a1110c5f
rustdoc: Add resource signatures to doc tree
2012-01-26 20:59:15 -08:00
Brian Anderson
9f80a17c0e
rustc: Add pprust::res_to_str
2012-01-26 20:54:36 -08:00
Brian Anderson
e44467a47f
rustdoc: Add resources to the doc fold
2012-01-26 20:34:16 -08:00
Brian Anderson
23e9f7a1b6
rustdoc: Extract resources from the AST
2012-01-26 20:34:16 -08:00
Brian Anderson
7cf725355a
rustdoc: Add a resource node to the doc tree
2012-01-26 20:34:16 -08:00
Brian Anderson
f0ba69a96f
Remove the --no-core command-line option
...
It is superceeded by the #[no_core] attribute
2012-01-26 20:30:46 -08:00
Brian Anderson
a3beeac4ec
Register snapshots
2012-01-26 18:39:00 -08:00
Graydon Hoare
0bf992969f
Merge pull request #1669 from graydon/inno-setup
...
Add Inno Setup installer script rather than NSIS
2012-01-26 18:16:30 -08:00
Brian Anderson
a06850c8aa
rustdoc: Prune unexported enums and variants
2012-01-26 17:29:55 -08:00
Brian Anderson
28fbb19664
rustc: Switch the --no-core switch to a #[no_core] attribute
2012-01-26 16:43:33 -08:00
Brian Anderson
2220d0f20f
rustc: Make core injection a timed pass
...
It's not much of a pass, but lets be consistent
2012-01-26 16:23:48 -08:00
Brian Anderson
5610205363
rustc: Move core injection to its own module
2012-01-26 16:23:48 -08:00
Brian Anderson
335302f08d
std: Fix types in uvtmp tests
2012-01-26 16:19:46 -08:00
Donovan Preston
9e39219d9b
Shuffle around to work with rust-spidermonkey
2012-01-26 16:01:26 -08:00
Brian Anderson
6d360d2b02
tutorial: Fix types in gettimeofday example. Closes #1657
2012-01-26 15:45:02 -08:00
Jyun-Yan You
5e250b6951
change the order of llvm include path
2012-01-26 11:44:16 -08:00
Jyun-Yan You
5257a5c6c3
let clang build llvm
2012-01-26 11:44:16 -08:00
Brian Anderson
91ee6afeae
rustdoc: Set up the compiler session properly in prep for running resolve
2012-01-26 11:36:29 -08:00
Brian Anderson
38908581f7
rustdoc: Rename astsrv::ctxt.map to ast_map
2012-01-26 11:05:21 -08:00
Marijn Haverbeke
c590bdeea4
Make re-exporting of impls work
...
Closes #1438
2012-01-26 18:58:35 +01:00
Marijn Haverbeke
6bead0e4cc
Use operator names for operator methods
...
The methods used to implement operators now simply use
the name of the operator itself, except for unary -, which is called
min to not clash with binary -. Index is called [].
Closes #1520
2012-01-26 15:52:28 +01:00
Marijn Haverbeke
3aed4b04ce
[makefiles] Make rustc depend on librustc
...
This ensures the lib is not just built, but also copied into the right
lib directory when a rustc binary is used as make target.
2012-01-26 15:43:39 +01:00
Marijn Haverbeke
305b1c8701
Fix small bug in iface self types
...
Issue #1661
2012-01-26 15:24:52 +01:00
Marijn Haverbeke
888262b337
Allow operator overloading of the indexing operator
...
The method `op_index` (which takes a single argument) is used for
this.
Issue #1520
2012-01-26 15:23:11 +01:00
Marijn Haverbeke
87b064b249
First stab at operator overloading
...
When no built-in interpretation is found for one of the operators
mentioned below, the typechecker will try to turn it into a method
call with the name written next to it. For binary operators, the
method will be called on the LHS with the RHS as only parameter.
Binary:
+ op_add
- op_sub
* op_mul
/ op_div
% op_rem
& op_and
| op_or
^ op_xor
<< op_shift_left
>> op_shift_right
>>> op_ashift_right
Unary:
- op_neg
! op_not
Overloading of the indexing ([]) operator isn't finished yet.
Issue #1520
2012-01-26 14:25:06 +01:00
Marijn Haverbeke
1792d9ec96
Use string stored in codemap for pretty-printing comments and literals
...
Closes #1665
2012-01-26 10:52:08 +01:00
Marijn Haverbeke
ec4d05de3b
Remove ty_native_fn
...
It was being used as a clumsy synonym of ty_fn.
2012-01-26 10:37:50 +01:00
Brian Anderson
566a4be1f8
rustdoc: Add some test enums to demo module
2012-01-25 21:04:53 -08:00
Brian Anderson
74e8b11194
rustdoc: Write markdown for enums
2012-01-25 21:04:53 -08:00
Brian Anderson
d6ce20973a
rustdoc: Apply general string ops to enum docs
2012-01-25 21:04:53 -08:00
Brian Anderson
53c6454de5
rustdoc: Extract brief enum descs from long descs
2012-01-25 21:04:53 -08:00
Brian Anderson
1d94f40c6c
rustdoc: Prune undocumented enums
2012-01-25 21:04:53 -08:00
Brian Anderson
95a006ce52
rustdoc: Add enum doc attributes to the doc tree
2012-01-25 21:04:53 -08:00
Brian Anderson
a25bc195e2
rustdoc: Parse variant doc attributes
2012-01-25 21:04:53 -08:00
Brian Anderson
87c3a5c1a3
rustdoc: Extract some common functions from attr_parser
2012-01-25 21:04:52 -08:00
Brian Anderson
259ea4e4b4
rustdoc: Parse enum doc attributes
2012-01-25 21:04:52 -08:00
Brian Anderson
5166cc29e9
rustdoc: Fix a copy&paste bug in attr_parser tests
2012-01-25 21:04:52 -08:00
Brian Anderson
0b9f2a8215
rustdoc: Extract variant signatures
2012-01-25 21:04:49 -08:00
Brian Anderson
b7b8455e54
rustc: Add pprust::variant_to_str
2012-01-25 17:22:08 -08:00
Brian Anderson
1586cce0ea
rustdoc: Add enum folding
2012-01-25 16:56:28 -08:00
Brian Anderson
e946792a78
rustdoc: Extract enum doc nodes from AST nodes
2012-01-25 16:50:32 -08:00
Brian Anderson
2999479a2d
rustc: Allow attributes on enum variants. Closes #1663
2012-01-25 16:24:06 -08:00
unknown
fe57a7e582
Add Inno Setup installer script rather than NSIS
2012-01-25 16:02:53 -08:00
Brian Anderson
08c6cb5f70
Merge pull request #1664 from kevina/issue-1612
...
See Issue #1612
2012-01-25 15:22:10 -08:00
Kevin Atkinson
60a146bf0f
Correctly increment sess.byte_pos.
2012-01-25 16:01:58 -07:00
Kevin Atkinson
c5e03e0e59
Keep source file around after parsing.
...
Specifically box the string (to avoid unnecessary copies) and store it
in codemap::filemap.
Remove the hack in driver::diagnostic that rereads the source from the
file and instead just get the source from the filemap.
(This commit is also a prerequisite for issue #1612 )
2012-01-25 16:00:47 -07:00
Brian Anderson
ab223e0618
Merge pull request #1627 from graydon/win32-quoting
...
Fix win32 command-line quoting on rust_run_program.
2012-01-25 14:33:10 -08:00
Tim Chevalier
746fa27988
In the tutorial install directions, mention that you may need to sudo make install
2012-01-25 13:49:32 -08:00
Brian Anderson
4168101b03
test: Un-xfail run-pass/tag-auto-disr-val-shape
2012-01-25 12:44:13 -08:00
Brian Anderson
19a9a475a6
test: Add regression test for #1659
2012-01-25 12:40:08 -08:00