bors
2b059c6e56
auto merge of #5354 : ILyoan/rust/normalize_triple, r=graydon
...
LLVM could not recognize target-os when target-triple was given as like 'arm-linux-androideabi'.
Normalizing target-triple fill the missing elements.
In the case of 'arm-linux-androideabi', nomalized target-triple will be "arm-unknown-linux-androideabi" and this let llvm recognize the triple correctly. (arch: arm, vendor: unknown, os: linux, environment: android)
2013-03-15 14:15:50 -07:00
Daniel Micay
2b6614f2e6
treemap: use each_mut instead of mutate
2013-03-15 14:14:03 -04:00
Daniel Micay
88278f9c35
treemap: rm old FIXME
2013-03-15 14:12:45 -04:00
Daniel Micay
b3ee49c7e2
deque: add documentation
2013-03-15 14:05:27 -04:00
bors
c724dae7de
auto merge of #5395 : thestinger/rust/iter, r=pcwalton
2013-03-15 09:21:56 -07:00
John Clements
4bd26481c4
Update test case to conform to new restrictions on casting
2013-03-15 09:17:49 -07:00
John Clements
b5ace4df45
Test case fixup (old one tested the old bad behavior).
2013-03-15 08:44:21 -07:00
John Clements
fdf8543cf6
add nonempty encoding for spans
...
Before this change, encoding an object containing a codemap::span
using the JSON encodeng produced invalid JSON, for instance:
[{"span":,"global":false,"idents":["abc"]}]
Since the decoder for codemap::span's ignores its argument, I
conjecture that this will not damage decoding, and should improve
it for many decoders.
2013-03-15 08:44:21 -07:00
ILyoan
10df2ea9db
Normalize target triple so that llvm can recognize target os correctly
2013-03-15 15:39:58 +09:00
ILyoan
1a6a37e01a
Fix an android compilation fail
2013-03-15 15:35:39 +09:00
bors
19bb16650f
auto merge of #5375 : z0w0/rust/rustdoc-private-hide, r=thestinger
2013-03-14 21:48:49 -07:00
Daniel Micay
a49ccee68e
MutableIter impl for Option + use it in treemap
2013-03-14 23:44:25 -04:00
bors
73b253dc80
auto merge of #5371 : thestinger/rust/hidden, r=pcwalton
2013-03-14 20:06:44 -07:00
bors
c3fe0b97de
auto merge of #5369 : thestinger/rust/iter, r=z0w0
...
This can eventually be implemented on other sequence containers like `deque` (it's missing `each` too at the moment).
2013-03-14 19:06:47 -07:00
Brian Anderson
38ac809cc7
core: Add to_bytes method to StrSlice trait
2013-03-14 18:08:55 -07:00
bors
4bf5ad63f0
auto merge of #5367 : brson/rust/5299, r=thestinger
...
r?
2013-03-14 17:51:47 -07:00
bors
82f1b2cc9d
auto merge of #5366 : tedhorst/rust/threadring, r=brson
2013-03-14 16:57:48 -07:00
bors
0c7aeddb5f
auto merge of #5365 : thestinger/rust/map, r=catamorphism
2013-03-14 15:06:49 -07:00
bors
2293b075b8
auto merge of #5364 : xenocons/rust/patch-1, r=z0w0
2013-03-14 14:07:01 -07:00
bors
b778ec9282
auto merge of #5360 : thestinger/rust/doc, r=graydon
...
* make the changes regarding move semantics clearer
* expand on the container work
2013-03-14 12:22:05 -07:00
bors
9416ac5601
auto merge of #5355 : yichoi/rust/pull-0314, r=graydon
...
ar in rt.mk should be desinated by target-triples.
lt has been worked on linux but failed on mac
2013-03-14 11:25:02 -07:00
Patrick Walton
da9c6d9ba6
test: Remove deprecated features from benchmark tests. rs=burningtree
2013-03-14 11:22:14 -07:00
Patrick Walton
1c8490b0d9
librustc: Remove another deprecated use of as Trait
. rs=burningtree
2013-03-14 08:03:05 -07:00
Zack Corr
387aa3668a
rustdoc: Filter out private definitions. Closes #3538
2013-03-14 17:21:48 +10:00
Zack Corr
4f238503d8
rustdoc: Document explicit self in methods. Closes #5254
2013-03-14 16:43:17 +10:00
Patrick Walton
50d99e0194
libsyntax: Remove a use of deprecated Encodable from libsyntax. rs=burningtree
2013-03-13 21:54:51 -07:00
Patrick Walton
58f248d923
test: Fix tests. rs=tests
2013-03-13 20:08:35 -07:00
Patrick Walton
aa4c19b6ab
librustc: Allow path-qualified constants in patterns
2013-03-13 20:07:11 -07:00
Patrick Walton
2ccc6e0a57
librustc: Don't require the "static" keyword to define a static method
2013-03-13 20:07:11 -07:00
Patrick Walton
ac60d53c65
test: Some test fixes
2013-03-13 20:07:11 -07:00
Patrick Walton
8fa66e8e07
librustc: Remove implicit self from the language, except for old-style drop blocks.
2013-03-13 20:07:10 -07:00
Patrick Walton
a410652bc9
librustc: Remove "base types" from the language.
2013-03-13 20:07:09 -07:00
Patrick Walton
b85158e23a
librustc: Remove overloaded operator autoderef.
2013-03-13 20:07:09 -07:00
Patrick Walton
b1c699815d
librustc: Don't accept as Trait
anymore; fix all occurrences of it.
2013-03-13 20:07:09 -07:00
Patrick Walton
24a0de4e7f
librustc: Separate out trait storage from evec/estr storage
2013-03-13 20:07:08 -07:00
bors
3cee6763d1
auto merge of #5336 : ILyoan/rust/remove_unused, r=sanxiyn
...
Remove unused imports to get rid of warnings.
2013-03-13 20:03:52 -07:00
Daniel Micay
e4f5866c10
rm FIXME from use of #[doc(hidden)] on pub mod
2013-03-13 22:12:55 -04:00
Daniel Micay
968e0ddc60
hide the linkhack module in the docs
2013-03-13 22:12:43 -04:00
Daniel Micay
c64a5d2d37
add a trait for mutable iterators
2013-03-13 21:29:48 -04:00
Brian Anderson
34113dcf6a
core: Add spawn, stream and friends to prelude. #5299
2013-03-13 18:17:12 -07:00
ILyoan
688c4c403d
Remove unused import in librustc
2013-03-14 09:52:51 +09:00
ILyoan
278a4dbb0f
Remove unused imports in std
2013-03-14 09:52:51 +09:00
ILyoan
ef0364e9e4
Remove unused import in core
2013-03-14 09:52:51 +09:00
ILyoan
1095bbe5eb
Remove unused variable
2013-03-14 09:52:51 +09:00
Ted Horst
9c40ebbb9a
reinstate test/bench/shootout-threadring.rs
2013-03-13 19:09:28 -05:00
Daniel Micay
becad9bb07
add the mutate_values method to the Map trait
2013-03-13 19:33:10 -04:00
bors
900a0c8df1
auto merge of #5340 : brson/rust/column, r=brson
...
#5274
2013-03-13 16:01:00 -07:00
xenocons
d8094f8602
updated from L to ull for easier mingw32 builds.
2013-03-14 09:06:33 +11:00
bors
ab5472a724
auto merge of #5307 : nikomatsakis/rust/remove-by-val, r=nikomatsakis
...
This is done in two steps:
First, we make foreign functions not consider modes at all. This is because previously ++ mode was the only way to pass structs to foreign functions and so forth. We also add a lint mode warning if you use `&&` mode in a foreign function, since the semantics of that change (it used to pass a pointer to the C function, now it doesn't).
Then, we remove by value and make it equivalent to `+` mode. At the same time, we stop parsing `-` mode and convert all uses of it to `+` mode (it was already being parsed to `+` mode anyhow).
This obsoletes pull request #5298 .
r? @brson
2013-03-13 14:57:55 -07:00
Niko Matsakis
852619d5d7
Remove ++
mode from the compiler (it is parsed as +
mode)
...
and obsolete `-` mode altogether (it *was* parsed as `+` mode).
2013-03-13 17:00:09 -04:00