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
Paul Stansifer
1c472564e3
Add 5.timesi() |idx| { ... }
2012-07-24 11:44:58 -07:00
Paul Stansifer
a57686d46d
Make rustdoc deal with macros. Rustdoc still fails, though; we think it needs to do an unparallelized, non-failure-ignoring resolve.
2012-07-24 11:44:58 -07:00
Patrick Walton
0930b95395
rustc: Typecheck struct literals
2012-07-24 11:29:07 -07:00
Eric Holk
bf96298ff9
Import reader_util
2012-07-24 10:51:30 -07:00
Tim Chevalier
d267e77907
Typos in tutorial
2012-07-24 09:44:24 -07:00
Patrick Walton
b3cad86a05
rustc: Resolve struct names in struct literals
2012-07-23 18:58:57 -07:00
Patrick Walton
0d581bdafe
syntax: Expect the closing brace after struct literals
2012-07-23 18:58:56 -07:00
Ted Horst
78fa02106e
call task::yield in comm::peek
2012-07-23 17:51:10 -07:00
Glenn Willen
28519c8ef6
Add to_str for hashmap.
2012-07-23 17:30:02 -07:00
Erick Tryzelaar
06ac0c2b1d
Switch reader to work with preallocated vecs
...
This closes #2901 .
2012-07-23 17:15:30 -07:00
Erick Tryzelaar
6d042c0f2d
tests: Rename to avoid colliding with real rust-zmq.
2012-07-23 17:15:30 -07:00
Erick Tryzelaar
66ebdbb283
libcore: whitespace cleanup.
2012-07-23 17:15:30 -07:00
Erick Tryzelaar
971b59106a
libcore: add vec memcpy and memmove fns
2012-07-23 17:15:30 -07:00
Erick Tryzelaar
9d4aab80a7
libcore: add vec::{mut_view, const_view}.
2012-07-23 17:15:30 -07:00
Erick Tryzelaar
a762c725b5
libcore: Modernize a docstring
2012-07-23 17:15:30 -07:00
Ben Blum
cbaa602dbd
Convert std::test to new task_builder interface
2012-07-23 20:09:17 -04:00
Ben Blum
b30a58abe2
Convert bench and run-pass tests to new task_builder interface
2012-07-23 20:09:17 -04:00
Ben Blum
e0e9e451e7
Convert os/priv/uv to new task_builder interface
2012-07-23 20:09:17 -04:00
Ben Blum
c7a6a66e4b
Get rid of task::future_task
2012-07-23 20:09:17 -04:00
Ben Blum
e6efb24f3f
Add task::task_builder interface for improved spawning (related #2585 )
2012-07-23 20:09:16 -04:00
Graydon Hoare
7680f504c2
Merge pull request #2998 from elliottslaughter/no-landing-pads
...
Add debug flag to turn off landing pads.
2012-07-23 16:47:35 -07:00
Patrick Walton
df4db83ed8
rustc: Max/min classes: Add struct literal syntax
2012-07-23 16:40:05 -07:00
Daniel Patterson
ee2abc1cae
Adding simple net::url module to parse and format urls.
2012-07-23 15:44:03 -07:00
Tim Chevalier
26e0de67e1
Add Damian Gryski to AUTHORS
2012-07-23 14:43:11 -07:00
Tim Chevalier
4806a4f120
Merge pull request #3000 from dgryski/master
...
Fix formatting of multiline code blocks in asm-comments
2012-07-23 14:39:08 -07:00
Ben Blum
80f4e9f2ec
Oops, xfail-win32 task-killjoin-rsrc
2012-07-23 17:36:03 -04:00
Damian Gryski
9b02acbc5d
Fix formatting of multi-line blocks in asm-comments
2012-07-23 23:18:12 +02:00
Patrick Walton
a57087e032
syntax: Remove reference to typestate in a comment
2012-07-23 13:24:58 -07:00
Patrick Walton
674dd14eec
rustc: Make vtables use the coherence tables
2012-07-23 13:24:05 -07:00
Ben Blum
81f108154a
Fix and un-xfail task-killjoin-rsrc.rs
2012-07-23 16:15:12 -04:00
Elliott Slaughter
d8c75cfbe7
Add debug flag to turn off landing pads.
2012-07-23 13:07:35 -07:00
Ben Blum
d0fb85359a
Add task::spawn_unlinked and start migrating away from task::unsupervise
2012-07-23 16:06:29 -04:00