Brian Anderson
d3aa174846
rustdoc: Add definition of iface docs
2012-01-30 19:37:32 -08:00
Kevin Cantu
8abcafe7ad
Updating the manpage and usage message
2012-01-30 19:02:20 -08:00
Graydon Hoare
9db1d16f61
Add a 'make uninstall' target. Close #1668 .
2012-01-30 16:29:20 -08:00
Graydon Hoare
3a5c75eff9
Tidy up redundant code in configure relating to valopt and triples.
2012-01-30 16:29:13 -08:00
Brian Anderson
fe745f1b5d
rustdoc: Use fewer unique pointers
2012-01-30 13:05:25 -08:00
Brian Anderson
0e498da47e
rustc: Allow attributes on methods. Closes #1709
2012-01-30 11:43:45 -08:00
Paul Woolcock
6ba3d24355
Remove ternary operator
...
`expr_ternary`, `ternary_to_if`, and all parses & lexer definitions have
been removed.
2012-01-30 18:21:19 +01:00
Paul Woolcock
a02493b969
Fix last failing test
...
All tests now pass, without the ternary operator.
2012-01-30 18:21:12 +01:00
Paul Woolcock
e1251f7b00
Change all ternary ops to if/then/else
...
All the files below had at least one instance of the ternary operator
present in the source. All have been changed to the equivalent
if/then/else expression.
2012-01-30 18:21:01 +01:00
Paul Woolcock
e1f15a71e3
Alter/remove tests that include/concern ternary
...
3 tests, pretty/block-disambig.rs, run-pass/operator-overloading.rs,
and run-pass/weird-exprs.rs, all included the ternary operator. These
were changed to use the if-then-else construct instead.
2 tests, run-pass/block-arg-in-ternary.rs and run-pass/ternary.rs, were
only there because of the ternary operator, and were removed.
2012-01-30 18:20:05 +01:00
Marijn Haverbeke
86d473ad1f
Substitute type parameters more eagerly
...
This simplifies the typechecker a bit (no more ty_param_substs_opt_and_ty)
and is needed for another experiment I'm playing with. I hope it also
makes compilation faster (the bots will tell).
2012-01-30 17:28:30 +01:00
Marijn Haverbeke
964bd485c6
Revert self types
2012-01-30 11:37:52 +01:00
Marijn Haverbeke
98c3396ab6
Remove trailing whitespace in debuginfo.rs
2012-01-30 10:21:25 +01:00
Marijn Haverbeke
55c938b2c2
Only build debuginfo blocks for blocks that appear in the program text
...
I.e. a set of curly braces, not everything that creates a block
context in the trans pass.
Issue #1694
2012-01-30 10:06:06 +01:00
Brian Anderson
0ec92a4ca7
rustc: Add a missing llvm linkage type
2012-01-29 23:27:54 -08:00
Brian Anderson
c77f1d47f8
rustc: Add some missing llvm defs. Fix comments
2012-01-29 23:10:39 -08:00
Brian Anderson
fa13fd9d64
rt: Remove set_min_stack
2012-01-29 21:27:37 -08:00
Brian Anderson
cad4918b2a
core: Remove sys::set_min_stack
...
This was a temporary hack with global effect. Eventually there will
be a real solution for controlling stack sizes.
2012-01-29 21:27:09 -08:00
Brian Anderson
6548cdd59b
rt: Make the initial segment of the main task's stack 1MB
...
This is a trick to fool microbenchmarks. Closes #1681
2012-01-29 21:20:39 -08:00
Brian Anderson
361f90e618
rustdoc: Sort the items so modules are printed last
2012-01-29 14:51:09 -08:00
Brian Anderson
07ac2e1043
rustdoc: Add a sorting pass
2012-01-29 14:15:14 -08:00
Brian Anderson
55e69eb458
rustdoc: Extract method to get item names
2012-01-29 13:36:54 -08:00
Brian Anderson
dbe2928c4d
rustdoc: Fix typo in attr_pass
2012-01-29 13:25:38 -08:00
Brian Anderson
f8c93bdbe1
rustdoc: Move mod docs into the item tag
2012-01-29 13:08:18 -08:00
Brian Anderson
9732e0d554
rustdoc: Move fn docs into the item tag
2012-01-29 12:47:06 -08:00
Brian Anderson
5aa6c3a49a
rustdoc: Move const docs into the item tag
2012-01-29 12:46:26 -08:00
Brian Anderson
95e2b1b8f9
rustdoc: Add test that unexported resources are pruned
2012-01-29 11:38:44 -08:00
Brian Anderson
d56a4dd04b
rustdoc: Move enum docs into the item tag
2012-01-29 11:38:44 -08:00
Brian Anderson
40cbc89b6f
rustdoc: Move resource docs into the item tag
2012-01-29 11:38:44 -08:00
Brian Anderson
bfd8a14065
rustdoc: Create an item tag to hold doc for all item types
2012-01-29 11:38:44 -08:00
Marijn Haverbeke
2740a6b605
Fix mistake in previous commit
2012-01-29 19:57:57 +01:00
Marijn Haverbeke
d6996c0210
Fix bug where resolve didn't descend method ty params
...
Closes #1700
2012-01-29 19:46:36 +01:00
Erick Tryzelaar
29ba196336
Adding a function to concatanate vectors with a separator
2012-01-28 15:41:53 -08:00
Brian Anderson
2ca0b37321
build: Don't use -T option on install cmd. Not OS X compatible
2012-01-28 14:32:38 -08:00
Erick Tryzelaar
5b2c0a999f
std: Whitespace cleanup.
2012-01-28 09:18:35 -08:00
Erick Tryzelaar
f98210db07
core: Flesh out vec find functions.
2012-01-28 09:18:34 -08:00
Erick Tryzelaar
025e6ff158
core: add vec spliting functions.
2012-01-28 09:18:34 -08:00
Erick Tryzelaar
1be3a7c263
core: add (,r)position(,_from) functions
...
This is to help search through a vector better.
2012-01-28 09:18:34 -08:00
Erick Tryzelaar
259636a112
core: rename vec::position* functions
...
Almost all of the vec functions that predicates don't have a
corresponding function that takes a single element, so this
commit renames the common fn usecase to be the default.
2012-01-28 09:18:34 -08:00
Josh Matthews
a831e7ce13
Merge remote-tracking branch 'mozilla/master'
2012-01-28 11:50:48 -05:00
Josh Matthews
fcb381410d
Disable lexical block and function debug info caches to improve compilation time while #1694 is unfixed, and fix stack-exhaustion bug in block parent generation.
2012-01-28 11:50:26 -05:00
Brian Anderson
0794195fbd
Add Aleksander Balicki to AUTHORS.txt
2012-01-27 18:48:16 -08:00
Brian Anderson
fc5ec630d4
rt: Remove unused variable
2012-01-27 18:45:43 -08:00
Aleksander Balicki
6841c777f6
Update cp to install, so we can safely install on systems with restrictive umasks
2012-01-28 02:52:44 +01:00
Brian Anderson
53dbde6cc2
rustc: Make 'attempted access of field' error non-fatal
2012-01-27 16:58:27 -08:00
Brian Anderson
3321880f13
Merge remote-tracking branch 'killerswan/fixing_strings_2'
...
Conflicts:
src/comp/driver/driver.rs
src/comp/middle/trans/base.rs
src/comp/syntax/parse/lexer.rs
2012-01-27 16:44:40 -08:00
Brian Anderson
7e620f87a6
std: Long lines
2012-01-27 15:11:45 -08:00
Donovan Preston
6b42e6b298
Re-apply fixes brson made.
2012-01-27 15:07:29 -08:00
Donovan Preston
3d76922f97
Implement timers.
2012-01-27 14:04:13 -08:00
Marijn Haverbeke
e48bf6f3f4
Make occurs check in ty::fixup_vars more reliable
...
It wouldn't detect cycles that went through several type vars before.
Closes #1464
2012-01-27 18:58:52 +01:00