Lindsey Kuper
7a4ebcefcb
Update nbody benchmark to more idiomatic Rust; nix obsolete comments
2012-07-02 15:20:59 -07:00
Ben Blum
eb28b768af
dlist should_fail tests ignore(cfg(windows))
2012-07-02 18:08:09 -04:00
Ben Blum
67b9d82847
vim syntax: add drop & rustString contains rustTodo
2012-07-02 18:00:43 -04:00
Ben Blum
3ced5b0da2
add dlist.rs should_fail tests
2012-07-02 16:47:55 -04:00
Ben Blum
510af4dadb
vim syntax: don't hilight foo::<T>() like a module
2012-07-02 16:03:44 -04:00
Ben Blum
3777a14f08
Add doubly-linked list to libcore (to be used in task.rs).
2012-07-02 16:03:38 -04:00
Ben Blum
5b41592f21
Make list::from_vec take a slice, not a ~.
2012-07-02 15:49:46 -04:00
Ben Blum
dc93814bf9
minor updates to vim config files
2012-07-02 15:48:59 -04:00
Erick Tryzelaar
c74b3fd634
Treat "do" as a keyword in vim
2012-07-02 09:06:30 -07:00
Brian Anderson
b446ea8710
tutorial: Some work on closures
2012-07-02 00:14:25 -07:00
Brian Anderson
129de96023
Add 'do' to rust-mode
2012-07-01 23:09:22 -07:00
Brian Anderson
9743757113
syntax: Support dropping argument list from for/do
2012-07-01 22:36:24 -07:00
Brian Anderson
fa6a446e6c
Add two tests, one xfailed, for inferring lambda kinds in return position
2012-07-01 19:19:36 -07:00
Brian Anderson
494264711d
syntax: Stop parsing old closure syntax
2012-07-01 19:19:36 -07:00
Brian Anderson
d1fc2b5995
Convert to new closure syntax
2012-07-01 19:19:32 -07:00
Brian Anderson
13a8f54538
syntax: Pretty print new closures correctly
2012-07-01 17:53:07 -07:00
Brian Anderson
3155d170ad
syntax: Fix lambda parsing following 'ret'
2012-06-30 21:20:36 -07:00
Brian Anderson
45ccaf04c4
Register snapshots
2012-06-30 19:22:31 -07:00
Brian Anderson
1c13507f80
Temporary FreeBSD snapshot
2012-06-30 17:55:45 -07:00
Brian Anderson
ed834f0629
syntax: Add support for new lambda syntax
2012-06-30 16:01:52 -07:00
Brian Anderson
0293a31b68
Remove old sugared call syntax
2012-06-30 16:01:52 -07:00
Brian Anderson
a3382b6f26
Eliminate usages of old sugared call syntax
2012-06-30 16:01:49 -07:00
Brian Anderson
8b2491160d
syntax: Pretty-print 'do' correctly
2012-06-30 14:24:24 -07:00
Ben Striegel
ba6f71f1b8
Properly highlight nested comments in vim
...
Prior to this commit, every block comment /* */ required two closing tags for
every opening tag in order to terminate the highlighting. Setting and testing
for a variable was the culprit, though I'm not certain why, but they appear to
just be boilerplate lines from whatever pcwalton based this file upon. I've
looked at other officially-distributed vim highlighting files and none seem to
do the test that this commit removes, so I'm fairly certain it didn't provide
anything vital. And now comment highlighting works!
2012-06-30 14:17:17 -07:00
Brian Anderson
e2c70161f0
Fix combine-tests.py for new vec syntax
2012-06-30 13:59:54 -07:00
Tim Chevalier
172fb1756b
Check in changes I forgot to check in
2012-06-30 09:12:45 -07:00
Tim Chevalier
f64c23fdfd
Descend into ty_boxes in type_use
...
type_use was failing to look into ty_boxes, which caused monomorphize
to coalesce instances that shouldn't have been coalesced (because they
should actually use different type glue)
Closes #2734
2012-06-30 00:34:03 -07:00
Eric Holk
328fd30cf4
Allow empty enums to be sent ( #2737 )
2012-06-29 18:39:27 -07:00
Eric Holk
0a99912cdd
Adding a bunch of atomic intrinsics.
...
Adding a test cases for the atomic intrinsics.
2012-06-29 18:37:29 -07:00
Lindsey Kuper
3b5d76d1e3
Reindent 0.3 release notes to match the 0.1 and 0.2 indentation :)
2012-06-29 18:30:21 -07:00
Michael Sullivan
98e161f00e
Switch the compiler over to using ~[] notation instead of []/~. Closes #2759 .
2012-06-29 17:41:45 -07:00
Michael Sullivan
e6baf44f19
Switch back to USE_SNAPSHOT_CORELIB=0.
2012-06-29 15:34:39 -07:00
Michael Sullivan
e9b4336bfd
Register snapshots.
2012-06-29 15:33:52 -07:00
Michael Sullivan
a3c7d93c77
Get rid of basically all of the remaining old style vecs in tests.
2012-06-29 15:08:12 -07:00
Michael Sullivan
3bf5fef0e5
Refactor syntax exts some. Don't ever emit bare vectors.
2012-06-29 14:38:33 -07:00
Michael Sullivan
7aa43b2599
Make fmt use a bitmask instead of a vector of flags. Closes #1993 .
2012-06-28 23:36:00 -07:00
Michael Sullivan
498b3ff57f
Register snapshots.
2012-06-28 22:55:44 -07:00
Ben Blum
d7823de5e2
update rust.vim to hilight foo::bar and more
2012-06-28 21:11:54 -04:00
Michael Sullivan
e7760470b4
Make a bunch of tests stop using the deprecated vector syntax.
2012-06-28 17:33:15 -07:00
Eric Holk
c9e8b7de82
Merge branch 'master' of github.com:mozilla/rust into incoming
2012-06-28 17:30:36 -07:00
Michael Sullivan
810677efb5
Parse ~[...] as [...]/~. Same for @ and &. Closes #2747 .
2012-06-28 17:10:06 -07:00
Ben Blum
b6f103e7f9
Fix rt-sched-1.rs (broke in 6fc730b
)
2012-06-28 19:46:57 -04:00
Michael Sullivan
e9382ef1ac
Have #fmt use str::concat to build up the string instead of using binary +. Closes #2746 .
2012-06-28 16:30:05 -07:00
Ben Blum
b2b498183a
Add test case for issue #2734 (xfailed)
2012-06-28 19:26:12 -04:00
Ben Blum
6fc730baf6
Cleanup failure handling around rust_new_task_in_sched - closes #2668
2012-06-28 19:02:48 -04:00
Michael Sullivan
d91e310982
Don't use literal info from the original source when pretty printing expanded ASTs.
2012-06-28 15:33:15 -07:00
Ben Blum
571d866c0d
Update vim mode for asserts and #[attributes]
2012-06-28 18:11:54 -04:00
Eric Holk
87eaf91be3
Replaced almost all vector+ in rustc ( #2719 )
...
Didn't update shape because the changes were causing segfaults.
2012-06-28 15:11:09 -07:00
Ben Blum
54713afa20
add TLS failure test case in task.rs
2012-06-28 17:45:48 -04:00
Eric Holk
59221e9ac8
replace more vector + (issue #2719 )
2012-06-28 13:52:23 -07:00