Commit Graph

11775 Commits

Author SHA1 Message Date
Eric Holk
517ad983f9 Handle interpolated paths in pattern parsing. Fixes #3007.
We might need to use is_ident_or_path in a for other places too.
2012-08-06 13:25:34 -07:00
Eric Holk
4544c015b3 Fill out rust docs for pipes some more. 2012-08-06 13:25:34 -07:00
Patrick Walton
bff512a90f rustc: Implement functional record update for structs 2012-08-06 13:17:42 -07:00
Brian Anderson
1e3143b34e std: Parse underscores in url paths 2012-08-06 13:12:49 -07:00
Brian Anderson
03330baf9c Add a test for issue #2312 2012-08-06 11:08:52 -07:00
Eric Holk
bd9d5e50be Add missing => 2012-08-06 09:55:53 -07:00
Eric Holk
9f287c211e Refcount tasks in packets to avoid races.
Revert "Once again, revert "Use pipes in compiletest""

Fixes #3098
2012-08-06 09:10:19 -07:00
Eric Holk
86947e47ad More documentation on pipes, and moving assert in runtime. 2012-08-06 09:07:40 -07:00
Brian Anderson
d8e9724fb1 syntax: Stop parsing alts without arrows 2012-08-05 22:10:34 -07:00
Brian Anderson
025d86624d Switch alts to use arrows 2012-08-05 22:08:09 -07:00
Brian Anderson
c9d2769379 doc: Update for alt arrows 2012-08-05 22:07:33 -07:00
Brian Anderson
3fe1c7071d std: Some fixes to url parsing 2012-08-05 16:33:28 -07:00
Brian Anderson
dbf58716df std: URLs without schemes parse as errors. Closes #3112 2012-08-05 13:48:29 -07:00
Brian Anderson
a52f6d26db Fix closure pretty-print tests 2012-08-04 17:41:04 -07:00
Brian Anderson
a60f9c76f5 xfail-fast run-pass/trait-composition-trivial 2012-08-04 17:37:30 -07:00
Patrick Walton
8c77536526 rustc: Normalize region-bounded string slices properly
This prevents an LLVM assertion that will bite you if you try to put a static
string in an Error.
2012-08-04 15:11:54 -07:00
Graydon Hoare
edfc79cc47 Translate const vecs, most of const slices. More for #2317. 2012-08-03 21:44:52 -07:00
Patrick Walton
f23674394f rustc: Merge fn& and fn in favor of fn&.
This is a step on the way to moving the function "proto" sigil out front.
2012-08-03 19:49:12 -07:00
Patrick Walton
51a5a4ad0e rustc: Translate repeated vector syntax 2012-08-03 18:49:44 -07:00
Graydon Hoare
488ece05b5 Implement &-expressions in consts. Part of #2317. 2012-08-03 18:07:58 -07:00
Patrick Walton
e02b1b1ec8 rustc: Parse and typecheck repeating vector expressions; e.g. [ 0, ..512 ] 2012-08-03 18:03:19 -07:00
Ben Blum
4174de8bb9 rt: expose rust_task refcounts to rustland 2012-08-03 21:00:23 -04:00
Ben Blum
f57760c609 Add task-perf-linked-failure.rs 2012-08-03 20:24:41 -04:00
Lindsey Kuper
fe2f3d210a Further work on default methods in traits.
And some trait-related code cleanup in typeck::collect.
2012-08-03 16:17:54 -07:00
Ben Blum
a98407ee34 vim: don't hilight "any" 2012-08-03 18:46:48 -04:00
Patrick Walton
e0ee2447bf libsyntax: Fix trailing whitespace 2012-08-03 15:24:34 -07:00
Eric Holk
739e83d859 Xfailing until the pipe race is fixed. 2012-08-03 15:22:33 -07:00
Eric Holk
618d311c3d Once again, revert "Use pipes in compiletest"
This reverts commit 1d04b0ed5a.
2012-08-03 15:22:01 -07:00
Patrick Walton
5012abde8f test: Add a trivial test that trait composition parses 2012-08-03 15:03:19 -07:00
Patrick Walton
b65dd9d090 rustc: Parse, serialize, and deserialize trait inheritance 2012-08-03 15:02:53 -07:00
Patrick Walton
a805a1fb37 rustc: Add the notion of inherited visibility 2012-08-03 15:02:53 -07:00
Ben Blum
0c623c4474 Document arc::exclusive. 2012-08-03 17:50:59 -04:00
Graydon Hoare
241085a073 Fix signed/unsigned bug, likely cause of windows crash. 2012-08-03 13:36:28 -07:00
Eric Holk
2c06e7aac9 Fixing failing test cases 2012-08-03 12:48:14 -07:00
Eric Holk
749a184a06 Fix a failing string test. 2012-08-03 12:04:19 -07:00
Eric Holk
01ca0d1f68 Be more defensive in pipes (#3098) 2012-08-03 12:04:18 -07:00
Patrick Walton
9e68966611 rustc: Remove fixed-length string warning 2012-08-03 12:03:15 -07:00
Patrick Walton
aa4683c181 test: Add a test case for bare static strings 2012-08-03 11:51:47 -07:00
Patrick Walton
4e60d7e3a6 rustc: "foo" is now a static string 2012-08-03 11:51:04 -07:00
Patrick Walton
4bfd4fb8ea test: Remove a fixed-length string from a test 2012-08-03 11:47:08 -07:00
Brian Anderson
903068c132 Long lines 2012-08-03 11:46:31 -07:00
Tim Chevalier
b0cf106e9a Test for issue 2904, which got fixed somewhere along the line 2012-08-03 11:39:39 -07:00
Brian Anderson
cfc78694cb Add Daniel Patterson to AUTHORS.txt 2012-08-03 11:29:21 -07:00
Daniel Patterson
7e43f8f8dc std::net::url - change alt to match, ret to return, as per recent syntax changes 2012-08-03 11:28:19 -07:00
Daniel Patterson
64eb497d34 std::net::url - eliminate out of date comment and switch to str::each_chari instead of str_reader to make code cleaner 2012-08-03 11:28:19 -07:00
Daniel Patterson
8e3105b6db std::net::url - fix to_str to work with authorityless urls, add test 2012-08-03 11:28:19 -07:00
Daniel Patterson
21187206c3 std::net::url cleanups for lint check 2012-08-03 11:28:19 -07:00
Daniel Patterson
b57f6b73ba std::net::url - making parsing of authority give error messages if in encounters invalid stuff; support for ipv6, more tests. 2012-08-03 11:28:19 -07:00
Daniel Patterson
d60dd6be87 std::net::url making scheme parsing compliant with rfc, give appropriate error messages, better split fn 2012-08-03 11:28:19 -07:00
Daniel Patterson
e349201bc2 std::net::url - comment cleanup, new test 2012-08-03 11:28:18 -07:00