Commit graph

11616 commits

Author SHA1 Message Date
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
Ben Blum
6e21b5fd22 remove unneeded export local_data in task.rs (#2945) 2012-07-23 16:06:29 -04:00
Patrick Walton
4ea5546c1a Merge pull request #2996 from elliottslaughter/fix-rustrt-build
Add rustrt wrapper functions to export list.
2012-07-23 12:27:00 -07:00
Elliott Slaughter
66e5a8ca18 Add rustrt wrapper functions to export list. 2012-07-23 12:21:41 -07:00
Patrick Walton
874b2f1ed5 Merge pull request #2884 from elliottslaughter/rust-upcalls
Move fail upcall into rust
2012-07-23 12:02:10 -07:00
Elliott Slaughter
d257382863 Moved malloc and free upcalls into rust runtime. 2012-07-23 10:45:58 -07:00
Elliott Slaughter
de82a9be61 Move fail upcall into rust libcore. 2012-07-23 10:45:58 -07:00
Lindsey Kuper
019a41bdb0 Further revisions suggested by nmatsakis (#2990). 2012-07-22 19:19:30 -07:00
Lindsey Kuper
d9cbdf7865 Tutorial revisions (among other things, closes #2990). 2012-07-22 19:12:51 -07:00
Graydon Hoare
9849c78c8e release 0.3.1
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iQIcBAABAgAGBQJQCgymAAoJEAstaigwM2N2jFIQALcgsPfk68I2OmqtvBAZeQ+R
 Ssj3WAmbD2Zf9qq+O4qbKKPf1JKjXRXf0OASAEIz+AU3nids0r02aofMxO7qstRs
 /vuNqmRQx3fqJOLJtRuv4i58Tns+FDsYe7gBFyXQlMrxHekPYdubDVXata+wuqKc
 JC1rVuACDUf7nOiA5VjFl0nBYcXCtdlFTwMyP1EnkJlwu7oIElQT6BHPOtGXu/2T
 PZFzIGV6z7v5Uyy5PuwhrJ03itP6YZe695iVVJrCZcX6CLLH4H29ClKk7ugrQzFi
 EzP8bjrjRAbuZ/vB3xwuTB3NRo92lg6J9XS9+sFwwHa9Wpn4F2pv8vQxxOZqjQjb
 FNNYZTiN7ZADxRWWqCtWYMFncxpgsaewVtGRuWIClc9AMzDTOjRm0+B9ZS5OlWVI
 egCeMIpdPNko31teN/Qxuu2inXqBPs8G03WDaudMuLBZmxevlwbC0eUsPnKH1Iuf
 KAvmZmhUGEiVf/pxnkEsZWTQkK2m2mmuEf4cwI7jctv5bDc0wvgD1/vqWSZerrp0
 rkqjZ8IX6sR2EnUbQ4AFHDkAJZdqR/jT0y/n2aC6bI6e2RzeMDBMxAIzfXU4OFK+
 WI1io9Gu2S6Z9C370s4JaBzIhdwCmJ9wbutayckpvxaTpUFU0uTBvaJfhg1n8vI/
 CIbFOKJexiaN3QY9TFMf
 =Nr2c
 -----END PGP SIGNATURE-----

Merge tag 'release-0.3.1' into incoming

release 0.3.1
2012-07-20 18:59:07 -07:00
Graydon Hoare
33a055638c Release 0.3.1 2012-07-20 18:57:40 -07:00
Tim Chevalier
beb2cd1658 Remove what's left of resolve1 2012-07-20 17:08:19 -07:00