bors
1bcc73fe9d
auto merge of #12023 : nick29581/rust/err_res, r=alexcrichton
...
closes #3512
2014-02-04 23:46:37 -08:00
bors
4509b49451
auto merge of #12018 : alexcrichton/rust/triage, r=sfackler
...
Mostly just test suite modifications.
2014-02-04 21:46:35 -08:00
bors
28f277b909
auto merge of #12014 : eddyb/rust/less-copies, r=cmr
2014-02-04 18:41:38 -08:00
Alex Crichton
03c28b4ac5
Make cfail test error messages more precise
...
Closes #3192
2014-02-04 18:05:13 -08:00
Alex Crichton
8a1dda92ba
Adding tests for closed issues
...
Closes #5521
Closes #9396
Closes #10714
2014-02-04 18:05:13 -08:00
bors
acb1ec0b67
auto merge of #11230 : csherratt/rust/cow, r=alexcrichton
...
This allows patch adds a new arc type that allows for creation of copy-on-write data structures. The idea is that it is safe to mutate any data structure as long as it has only one reference to it. If there are multiple, it requires cloning of the data structure before mutation is possible.
2014-02-04 14:41:36 -08:00
Nick Cameron
8d8c7835f7
Check for trait impl conflicts across crates
2014-02-05 08:50:05 +13:00
Eduard Burtescu
01815b3920
Don't copy arguments passed by value with indirection to allocas.
2014-02-04 20:53:58 +02:00
bors
ef53b7a97c
auto merge of #12026 : alexcrichton/rust/snapshots, r=cmr
2014-02-04 06:31:34 -08:00
bors
cdc678945f
auto merge of #11951 : dmanescu/rust/reserve-rename, r=huonw
...
Changes in std::{str,vec,hashmap} and extra::{priority_queue,ringbuf}.
Fixes #11949
2014-02-04 04:31:34 -08:00
bors
10de762f6c
auto merge of #11717 : DiamondLovesYou/rust/master, r=alexcrichton
...
Note that it still doesn't allow generic types to be marked with #[simd].
2014-02-04 01:11:34 -08:00
Richard Diamond
7becc0f34c
Added missing xfail-fast.
2014-02-04 02:26:02 -06:00
Alex Crichton
6c41192c41
Register new snapshots
2014-02-04 00:06:08 -08:00
Richard Diamond
63ba2e1219
Simd feature gating + Win32/64 fixes.
2014-02-04 01:04:19 -06:00
bors
e99fe7e4b9
auto merge of #11912 : poiru/rust/8784-libuuid, r=alexcrichton
...
cc #8784
2014-02-03 21:21:32 -08:00
Birunthan Mohanathas
f8afc9a5c1
extra: Move uuid to libuuid
...
cc #8784
2014-02-04 06:44:02 +02:00
bors
346d378ad5
auto merge of #12022 : alexcrichton/rust/unblock-snapshot, r=thestinger
...
cc #12021
2014-02-03 19:41:31 -08:00
bors
c1395ea588
auto merge of #11999 : joaoxsouls/rust/master, r=cmr
2014-02-03 17:46:37 -08:00
David Manescu
65f3578148
Rename reserve to reserve_exact and reserve_at_least to reserve
...
Changes in std::{str,vec,hashmap} and extra::{priority_queue,ringbuf}.
Fixes #11949
2014-02-04 12:33:41 +11:00
Alex Crichton
882b4829ce
xfail a test to unblock the snapshot
...
cc #12021
2014-02-03 17:12:52 -08:00
bors
2877928b22
auto merge of #12016 : FlaPer87/rust/remove-non-copyable, r=alexcrichton
...
cc #10834
2014-02-03 16:31:33 -08:00
joaoxsouls
b69c81c9e0
doc: update boxes section on Manual, remove managed pointers references
2014-02-04 00:07:16 +00:00
Flavio Percoco
c6b1bce96f
Replace NonCopyable usage with NoPod
...
cc #10834
2014-02-04 00:15:27 +01:00
bors
fde11e7ae5
auto merge of #12012 : omasanori/rust/semver, r=alexcrichton
...
Done as a part of #8784 .
2014-02-03 15:11:44 -08:00
Alex Crichton
acacfb20fd
Various bug fixes and rebase conflicts
2014-02-03 12:05:16 -08:00
Alex Crichton
984727ff87
extra: Introduce a mutex type for native/green threads
2014-02-03 12:05:16 -08:00
Alex Crichton
b49771e392
std: Remove try_send_deferred plus all fallout
...
Now that extra::sync primitives are built on a proper mutex instead of a
pthreads one, there's no longer any use for this function.
2014-02-03 12:05:16 -08:00
Alex Crichton
21e8466eca
extra: Re-add the Once primitve to extra::sync
...
This originally lived in std::unstable::mutex, but now it has a new home (and a
more proper one).
2014-02-03 12:04:30 -08:00
Alex Crichton
99582f8884
std: Hardcode pthread constants and structures
...
This allows for easier static initialization of a pthread mutex, although the
windows mutexes still sadly suffer.
Note that this commit removes the clone() method from a mutex because it no
longer makes sense for pthreads mutexes. This also removes the Once type for
now, but it'll get added back shortly.
2014-02-03 12:04:30 -08:00
Alex Crichton
24631c8bcd
extra: Add an intrusive MPSC to be used soon
2014-02-03 12:04:30 -08:00
Alex Crichton
a417de94a9
extra: Make room for more sync primitives
2014-02-03 12:04:30 -08:00
Alex Crichton
b5f19795ad
Enable the +v7 feature on Android by default
...
With the recently added double word CAS functionality on 32-bit ARM (enabled via
a 64-bit atomic instruction in LLVM IR), without some extra features enabled
LLVM lowers code to function calls which emulate atomic instructions. With the
v7 feature enabled, proper 64-bit CAS instructions are used on 32-bit arm.
I've been told that v7 for arm is what we should have been doing anyway. This is
overridable by providing some other non-empty feature string.
2014-02-03 12:04:30 -08:00
Alex Crichton
b00147a99b
Add an AtomicU64 type to std::sync::atomics
...
This also generalizes all atomic intrinsics over T so we'll be able to add u8
atomics if we really feel the need to (do we really want to?)
2014-02-03 12:04:30 -08:00
Alex Crichton
c765a8e7ad
Fixing remaining warnings and errors throughout
2014-02-03 10:39:23 -08:00
Alex Crichton
f9a32cdabc
std: Fixing all documentation
...
* Stop referencing io_error
* Start changing "Failure" sections to "Error" sections
* Update all doc examples to work.
2014-02-03 09:32:35 -08:00
Alex Crichton
2a7c5e0b72
syntax: Remove usage of io_error in tests
2014-02-03 09:32:35 -08:00
Alex Crichton
94f2dfa8f6
rustuv: Require all results are used and fix fallout
2014-02-03 09:32:35 -08:00
Alex Crichton
ae581a0103
native: Require all results are used and fix fallout
2014-02-03 09:32:35 -08:00
Alex Crichton
41cde566bb
extra: Fix tests with io_error usage
2014-02-03 09:32:34 -08:00
Alex Crichton
209642c651
std: Fix tests with io_error usage
2014-02-03 09:32:34 -08:00
Alex Crichton
29e7247fd8
rpass: Remove io_error usage
2014-02-03 09:32:34 -08:00
Alex Crichton
6132f7f666
rustdoc: Remove io_error usage
2014-02-03 09:32:34 -08:00
Alex Crichton
e0f0a2f67f
rustuv: Remove io_error usage
2014-02-03 09:32:34 -08:00
Alex Crichton
5878b1b76b
native: Remove io_error usage
2014-02-03 09:32:34 -08:00
Alex Crichton
2053b69595
green: Remove io_error usage
2014-02-03 09:32:34 -08:00
Alex Crichton
c0e77dc2ee
glob: Remove io_error usage
2014-02-03 09:32:34 -08:00
Alex Crichton
27a9bf773c
compiletest: Remove io_error usage
2014-02-03 09:32:34 -08:00
Alex Crichton
5e8ba7252a
rustc: Remove io_error usage
2014-02-03 09:32:34 -08:00
Alex Crichton
b211b00d21
syntax: Remove io_error usage
2014-02-03 09:32:34 -08:00
Alex Crichton
ef00c6a278
extra: Remove io_error usage
2014-02-03 09:32:33 -08:00