Eric Holk
4f29814f2a
Hand-written bounded pingpong implementation.
2012-07-25 12:12:25 -07:00
Eric Holk
d74fb9875b
Refactoring pipes to allow implementing bounded protocols.
2012-07-25 12:12:25 -07:00
Eric Holk
f65d6026ef
Started playing with macros to make receiving easier
2012-07-25 12:12:25 -07:00
Eric Holk
6535da8417
Tighten pipe exports, and refactor traits.
2012-07-25 12:12:25 -07:00
Ben Blum
729c37f3cc
(minor) remove config_notify from rustrt.def.in
2012-07-25 13:29:50 -04:00
Ben Blum
8d43724087
minor rt cleanup
2012-07-25 13:24:00 -04:00
Ben Blum
c68f2d9aab
Remove notification channels in runtime ( closes #1078 )
2012-07-25 13:22:43 -04:00
Ben Blum
d9e8efca19
Handle notification channels in task.rs
2012-07-25 13:22:43 -04:00
Graydon Hoare
1e241b5abd
Merge pull request #3009 from elliottslaughter/utf8-idents-test-fix
...
Fix test floating point comparison to tolerate imprecise FPUs.
2012-07-25 10:20:40 -07:00
Niko Matsakis
4b8d0539f9
adjust deprecated_use not to warn about sugared closures
2012-07-25 10:19:28 -07:00
Niko Matsakis
dc744e816d
fix oversight in ty_decode.
...
I thought this case would not come up.
2012-07-25 09:19:59 -07:00
Niko Matsakis
cc8086a045
add new deprecated_mode lint pass
...
It will warn you if you use the default mode for something that
is expensive to copy, and it will warn you if you use any explicit
mode other than copy. So you should migrate over to using the
default mode for most things (and borrowed pointers when you don't
want to copy) and copy mode for things you really wanted to copy.
2012-07-25 09:19:02 -07:00
Niko Matsakis
99674dc52b
avoid capture of bound regions when infering types for closure
...
expressions. cc #2981
2012-07-25 05:45:52 -07:00
Niko Matsakis
2d3a197f0e
comment various region-related things better
2012-07-25 05:45:52 -07:00
Niko Matsakis
7022ede9b3
make unique pointers inherit mutability from owner
2012-07-25 05:45:52 -07:00
Niko Matsakis
3bcd973419
from_fn and ref_set do not require copy bound
2012-07-25 05:45:52 -07:00
Niko Matsakis
f061560ce4
range() is pure
2012-07-25 05:45:52 -07:00
Niko Matsakis
168306f11b
correct treatment of mutability for deref'd components
...
Fixes #2980
2012-07-25 05:45:52 -07:00
Patrick Walton
1df5c52791
vim: Highlight "struct"
2012-07-24 21:09:42 -07:00
Ben Blum
a038d272b0
rust_cond_lock acquire/release should be inside the atomically { .. }
2012-07-24 20:28:30 -04:00
Ben Blum
bb5db3bc8a
Add 2-degree familial relations linked failure tests & fix secondborn behaviour
2012-07-24 20:21:20 -04:00
Elliott Slaughter
d9c9a2f97e
Remove rustllvm functions which have moved upstream.
2012-07-24 17:11:13 -07:00
Graydon Hoare
668e2c86a0
Bump LLVM, clang and compiler-rt, integrating eds' work.
2012-07-24 17:11:13 -07:00
Zack Corr
480fa7c00e
Only initialize targets that are actually supported / linked to in RustWrapper
2012-07-24 17:11:13 -07:00
Zack Corr
de5c15edfb
Allow 3.0, 3.1, 3.0svn and 3.1svn for llvm-root
2012-07-24 17:11:13 -07:00
Graydon Hoare
fada46c421
Add core::hash containing SipHash-2-4 implementation. Re: #1616 and #859 .
2012-07-24 17:11:13 -07:00
Patrick Walton
0737f1b53d
rustc: Write impl attributes into the metadata
2012-07-24 17:06:32 -07:00
Patrick Walton
22ef08293e
test: Add a max/min classes test case
2012-07-24 16:39:26 -07:00
Patrick Walton
728d16cfca
rustc: Parse new-style impl declarations
2012-07-24 16:38:24 -07:00
Elliott Slaughter
1e27d1994f
Fix test floating point comparison to tolerate imprecise FPUs.
2012-07-24 16:15:30 -07:00
Patrick Walton
587b0edbbf
rustc: Don't require that structs have constructors
2012-07-24 15:29:51 -07:00
Ben Blum
695ab09899
Change yield() and wait_event() to be MUST_CHECK and return the killed flag. ( closes #2875 )
2012-07-24 18:24:24 -04:00
Ben Blum
ac9df5841c
Change task linked failure interface in manual
2012-07-24 18:05:39 -04:00
Eric Holk
d948254ccb
Fix xfail comment
2012-07-24 14:56:59 -07:00
Eric Holk
22e3a8506f
Test case for #3005
2012-07-24 14:56:02 -07:00
Ben Blum
2040a5c632
tiny runtime cleanup
2012-07-24 17:35:08 -04:00
Ben Blum
f42a5a1acd
Remove unsupervise
2012-07-24 17:31:43 -04:00
Ben Blum
c0abe69993
task.rs remove old builder interface
2012-07-24 17:27:34 -04:00
Ben Blum
be3a71a1aa
Add option::unwrap_expect
2012-07-24 17:27:34 -04:00
Graydon Hoare
160ffb0c2f
Fix more windows breakage.
2012-07-24 14:08:34 -07:00
Patrick Walton
32e8429341
rustc: Translate struct literals
2012-07-24 13:59:17 -07:00
Graydon Hoare
b91da0945d
Fix windows breakage.
2012-07-24 13:55:27 -07:00
Graydon Hoare
539a160bb7
Merge pull request #3003 from elliottslaughter/free-cant-fail
...
Don't emit invoke instructions inside landing pads.
2012-07-24 13:49:24 -07:00
Graydon Hoare
8868b222c3
Fix whitespace.
2012-07-24 13:21:25 -07:00
Graydon Hoare
a63e0e47f0
Update some str functions to slices, merge as_buf and unpack_slice.
2012-07-24 12:35:52 -07:00
Ben Blum
ae094a7adc
Add 'do atomically { .. }' for exclusives
2012-07-24 15:28:35 -04:00
Elliott Slaughter
c341eb9052
Don't emit invoke instructions inside landing pads.
...
We can't throw an exception from inside a landing pad without
corrupting the exception handler, so we have no hope of dealing with
these exceptions anyway. See:
http://llvm.org/docs/ExceptionHandling.html#cleanups
Part of #2861 .
2012-07-24 12:20:39 -07:00
Paul Stansifer
9103e43909
Bugfix: enable transcription to deal with zero-repetition cases.
2012-07-24 11:44:58 -07:00
Paul Stansifer
e20c5e7596
Improve an error message a little.
2012-07-24 11:44:58 -07:00
Paul Stansifer
f785cccf0f
Bugfix: make the parser handle the case where zero repetitions occur, by handling parse results on the basis of what names the matcher expects to bind, not on what names are actually bound.
2012-07-24 11:44:58 -07:00