Niko Matsakis
38f93f2121
wip---work on making rooting work properly
2013-05-01 13:48:00 -04:00
bors
55fbc47af1
auto merge of #6148 : erickt/rust/remove-drop, r=pcwalton
...
The drop block has been deprecated for quite some time. This patch series removes support for parsing it and all the related machinery that made drop work.
As a side feature of all this, I also added the ability to annote fields in structs. This allows comments to be properly associated with an individual field. However, I didn't update `rustdoc` to integrate these comment blocks into the documentation it generates.
2013-05-01 09:18:59 -07:00
Niko Matsakis
3159335ac3
avoid broken += operator, bogus use of const
2013-05-01 11:03:12 -04:00
Erick Tryzelaar
7c9d089ee7
pipes: use finally to fix pipes::try_recv
2013-05-01 07:50:13 -07:00
Erick Tryzelaar
e7a3bbd76c
rustdoc: Remove a now invalid test
2013-05-01 07:49:58 -07:00
Erick Tryzelaar
e9688fcfe3
remove some warnings
2013-05-01 07:49:41 -07:00
Erick Tryzelaar
5fee32457f
syntax: remove parse::token::{dtor,literally_dtor}
2013-05-01 07:49:41 -07:00
Erick Tryzelaar
3e3e2f0025
allow parsing attributes on struct fields
2013-05-01 07:49:41 -07:00
Erick Tryzelaar
c2e1f47955
rustc: remove the rest of drop
...
Removes:
ast::struct_def::dtor
syntax::ast::ii_dtor
syntax::visit::fk_dtor
syntax::ast_map::node_dtor
syntax:struct_dtor
2013-05-01 07:49:41 -07:00
Erick Tryzelaar
7d6d0029ba
syntax: remove parsing destructors
2013-05-01 07:49:41 -07:00
Erick Tryzelaar
5d79f94a2f
core: Remove use of deprecated drop
2013-05-01 07:49:40 -07:00
Niko Matsakis
4af2d90af5
add an option to debug borrows (RUST_DEBUG_BORROW) so you can
...
find out where the offending borrow occurred. This ... still needs
some work.
2013-05-01 10:30:54 -04:00
Niko Matsakis
84861101ec
rustc: print out filename/line-number when a borrow fails
2013-05-01 09:14:47 -04:00
Niko Matsakis
d96c65afc8
keep old sort for stage0
2013-05-01 08:50:04 -04:00
Niko Matsakis
5ab33a2975
correct incorrect handling of overloaded operators, exposing various other bits of rot
2013-05-01 08:49:48 -04:00
Young-il Choi
9d6544667e
compiletest: fix to remove trailing whitespace
2013-05-01 19:18:57 +09:00
Young-il Choi
f7ef71d491
compiletest: expanded to ARM test automation
2013-05-01 18:52:08 +09:00
Young-il Choi
57c126e9bb
mk: test.mk expanded to ARM test automation
2013-05-01 18:50:23 +09:00
Young-il Choi
dca88701a3
mk: install-runtime-target added to install.mk (pushing shared library to android target)
2013-05-01 18:49:19 +09:00
bors
f67239fac3
auto merge of #6147 : bjz/rust/numeric-traits, r=brson
...
After much discussion on IRC and #4819 , we have decided to revert to the old naming of the `/` operator. This does not change its behavior. In making this change, we also have had to rename some of the methods in the `Integer` trait. Here is a list of the methods that have changed:
- `Quot::quot` -> `Div::div`
- `Rem::rem` - stays the same
- `Integer::quot_rem` -> `Integer::div_rem`
- `Integer::div` -> `Integer::div_floor`
- `Integer::modulo` -> `Integer::mod_floor`
- `Integer::div_mod` -> `Integer::div_mod_floor`
2013-05-01 01:51:35 -07:00
bors
bfccfdc780
auto merge of #6144 : catamorphism/rust/mkdir_recursive-breakage, r=thestinger
...
r? @brson or @thestinger : Added a change_dir_locked function to os, and use it in the
mkdir_recursive tests so that the tests don't clobber each other's
directory changes.
2013-05-01 00:57:35 -07:00
bors
17ca13651a
auto merge of #6139 : thestinger/rust/tmp, r=graydon
...
The `.tmp` files were missed before. I don't think there's a need to use
*.ext instead of just *.
2013-04-30 23:21:36 -07:00
Brendan Zabarauskas
ee26c7c433
Revert rename of Div to Quot
2013-05-01 15:40:05 +10:00
bors
db2451477b
auto merge of #6131 : thestinger/rust/new_iter, r=graydon
2013-04-30 22:24:35 -07:00
bors
89f419370c
auto merge of #6115 : jbclements/rust/test-case-fixes, r=jbclements
...
In developing the grammar a few weeks ago, I fixed up a bunch of test cases that had rotted to the point that they didn't parse.
2013-04-30 21:12:36 -07:00
bors
c1ea72d88f
auto merge of #6113 : brson/rust/task-drop, r=graydon
2013-04-30 20:09:36 -07:00
bors
cb527bff09
auto merge of #6105 : Aatch/rust/linker-improv, r=pcwalton
...
Adds two extra flags: `--linker` which takes extra flags to pass to the linker, can be used multiple times and `--print-link-args` which prints out linker arguments. Currently `--print-link-args` needs execution to get past translation to get the `LinkMeta` data.
I haven't done tests or updated any extra documentation yet, so this pull request is currently here for review.
2013-04-30 18:36:45 -07:00
Tim Chevalier
782e06e0e3
core/std: Fix race condition in os::mkdir_recursive tests
...
Added a change_dir_locked function to os, and use it in the
mkdir_recursive tests so that the tests don't clobber each other's
directory changes.
2013-04-30 17:58:24 -07:00
Brian Anderson
9847428acf
mk: Fix pdf build
2013-04-30 17:45:08 -07:00
bors
7a857673ff
auto merge of #6103 : catamorphism/rust/nonfatal-errors, r=catamorphism
...
r? @nikomatsakis typeck::check::_match wasn't suppressing derived errors properly.
Fixed it. (This will fix #5100 )
2013-04-30 17:39:36 -07:00
Brian Anderson
4a4646fd54
Merge remote-tracking branch 'brson/io'
...
Conflicts:
src/libcore/task/local_data_priv.rs
2013-04-30 17:01:27 -07:00
John Clements
ab1d8ead91
fixed pattern, moved test to compile-fail
2013-04-30 16:31:56 -07:00
John Clements
fc661079a4
fixed up syntax
2013-04-30 16:31:56 -07:00
John Clements
c75b7630bc
renamed issue-2185 to issue-3429
2013-04-30 16:31:55 -07:00
John Clements
89bb02adf9
typestate is not planned for upcoming versions of rust....
2013-04-30 16:31:55 -07:00
John Clements
d1921fb3ca
fixed this test case too
2013-04-30 16:31:55 -07:00
John Clements
3931ce448e
fixed the test case, hope it's still testing something
2013-04-30 16:31:55 -07:00
John Clements
527f7716b7
after syntax fixes, these tests appear to pass
2013-04-30 16:31:55 -07:00
John Clements
3a5361aec9
more commits on issue 2185
2013-04-30 16:31:55 -07:00
John Clements
178305ffec
fixed up issue-2185, but now it has a trait failure
2013-04-30 16:31:55 -07:00
John Clements
d6bb587c12
with syntax fixes, this test case now appears to pass
2013-04-30 16:31:55 -07:00
John Clements
cc4e0186ac
added test case for issue 5927
2013-04-30 16:31:55 -07:00
John Clements
add60bb081
Test now passes
2013-04-30 16:31:54 -07:00
John Clements
7e89a514a5
This test case now parses
...
I've done a slapdash job of fixing up the syntax; it didn't pass before,
and it doesn't pass now, but at least it parses...
2013-04-30 16:31:54 -07:00
John Clements
325263fe22
this test still doesn't pass, but at least it parses...
2013-04-30 16:31:54 -07:00
John Clements
dd310d6c3b
Got test cases to pass, after some major surgery
2013-04-30 16:31:45 -07:00
Tim Chevalier
4493cf49cd
Fix error messages harder
2013-04-30 16:17:19 -07:00
bors
9329bd669d
auto merge of #6136 : jld/rust/simplifycfg-unrevert, r=thestinger
...
Also add the clearly marked test case that should have been there all along, and un-xfail the not-so-obvious doc test that was affected.
2013-04-30 15:24:36 -07:00
Daniel Micay
0b377e53a1
clear *everything* from the tmp directory
...
The .tmp files were missed before. I don't think there's a need to use
*.ext instead of just *.
2013-04-30 17:09:11 -04:00
Niko Matsakis
f236b850c0
remove some unused mut decls
2013-04-30 16:35:01 -04:00