Commit Graph

12594 Commits

Author SHA1 Message Date
Brian Anderson 6f9539a15c Merge pull request #3487 from Blei/fix-3465
rt: Implement ThreadPerCore scheduling mode
2012-09-13 12:01:15 -07:00
Brian Anderson b776395263 core: Remove old definition of rt_fail 2012-09-13 11:49:55 -07:00
Philipp Brüschweiler 62b51d9152 rt: Implement ThreadPerCore scheduling mode
Fixes #3465.
2012-09-13 20:48:33 +02:00
Brian Anderson 1faa288a36 Register snapshots 2012-09-13 11:41:50 -07:00
Patrick Walton 57f99326a7 libcore: Make logging of structural subcomponents after a pointer not crash 2012-09-13 11:20:19 -07:00
Niko Matsakis e0845eb589 repr: emit closing `)` for enum variants, test that nullary variants names print 2012-09-13 11:10:05 -07:00
Niko Matsakis e21b48c0ce remove commented code that used to cause borrowck error
Fixes #2280
2012-09-13 09:14:49 -07:00
Niko Matsakis 0a504890f3 Convert package list to dvec (cc #2280) 2012-09-13 09:14:49 -07:00
Niko Matsakis 109055c7d3 make iter::position() not require Eq 2012-09-13 09:14:49 -07:00
Niko Matsakis 7e5661214a Remove unnecessary temporary, add type annot to help inferencer (cc #2280) 2012-09-13 09:14:49 -07:00
Brian Anderson 308ca06012 Rename str::unsafe to str::raw 2012-09-12 19:55:16 -07:00
Patrick Walton 59c3c6c147 libcore: Remove debugging code from transmute.
Was causing huge code bloat.
2012-09-12 19:08:01 -07:00
Patrick Walton df712ab3d5 libcore: Make %? use the visitor, not shape glue 2012-09-12 18:59:14 -07:00
Patrick Walton 45f5f8ec45 libcore: Add some visitor-based logging functionality 2012-09-12 18:22:08 -07:00
Erick Tryzelaar 8299f3a447 libcore: add send_map::with_find_ref and with_get_ref. 2012-09-12 18:19:06 -07:00
Erick Tryzelaar 35a418eb88 libcore: modernize send_map's whitespacing 2012-09-12 18:19:06 -07:00
Niko Matsakis 34bf0b9e97 trans: overhaul match bindings. No more phi, one code path for guards.
Fixes #3256.
Fixes #3291.
2012-09-12 18:15:22 -07:00
Brian Anderson ff54ac8e59 Rename vec::unsafe to vec::raw 2012-09-12 17:45:36 -07:00
Graydon Hoare 37cf649311 Document IterBytes, Eq, Cmp, Hash. Close #3449. 2012-09-12 17:08:25 -07:00
Philipp Brüschweiler 7a6df9c90f core: Implement ToStr for @str 2012-09-12 17:08:25 -07:00
Brian Anderson 7568dd4564 Promote 'const', 'copy', 'fn' to strict keywords 2012-09-12 16:00:22 -07:00
Niko Matsakis 7eb10c4ce1 purge the separate path for rel ops (e.g., ==) vs other bin ops 2012-09-12 15:41:22 -07:00
Brian Anderson 3057790f4b Rename 'contextual' keywords to 'temporary' 2012-09-12 15:22:34 -07:00
Brian Anderson 287114a3b9 Remove some transitional code 2012-09-12 15:09:21 -07:00
Brian Anderson fa74edf1a0 rustc: Use the correct 'fail' rtcall 2012-09-12 15:04:40 -07:00
Graydon Hoare 719a4750ba Add some monomorphizing instrumentation, simplify types before emitting glue. 2012-09-12 14:48:18 -07:00
Graydon Hoare 4ce2ee12be Add a bunch of inline hints. 2012-09-12 14:48:18 -07:00
Brian Anderson 3c14dae4a6 Register snapshots 2012-09-12 14:36:35 -07:00
Niko Matsakis 5d540de769 fixup mutability of vec::each, make iter_bytes pure
also, change DVec() to work with imm vectors rather than mut ones
2012-09-12 13:29:31 -07:00
Brian Anderson 8fbe4b5841 Rename core::rt_fail to core::rt_fail_ 2012-09-12 11:52:00 -07:00
Tim Chevalier 86e02554fd Make moves in arguments explicit in libsyntax and rustc 2012-09-12 11:33:40 -07:00
Brian Anderson 320331fe35 Use a different strategy for transitioning to camel case extfmt 2012-09-12 11:22:48 -07:00
Niko Matsakis 2eef6658c3 update to store map on stack, taking advantage of auto-ref 2012-09-12 06:47:28 -07:00
Niko Matsakis 8a8f200d10 Introduce auto adjustment table to subsume autoderef/autoref/borrowings.
Fixes #3261
Fixes #3443
2012-09-11 21:25:01 -07:00
Tim Chevalier 02b41097e4 Make the 'move mode but datum will not store' error fatal 2012-09-11 20:02:34 -07:00
Tim Chevalier 8f34752975 Remove dead code 2012-09-11 20:02:34 -07:00
Tim Chevalier c087886e93 Make moves explicit in arguments 2012-09-11 20:02:34 -07:00
Brian Anderson 2c6c963f61 Convert core::extfmt to camel case 2012-09-11 19:41:07 -07:00
Brian Anderson ec225166cd rustdoc: Fix formatting of -h 2012-09-11 19:40:20 -07:00
Brian Anderson be1fdf983f Promote 'impl' from restricted keyword to strict 2012-09-11 19:28:44 -07:00
Brian Anderson 3d2a74a160 Reserve 'be' as a keyword 2012-09-11 19:26:48 -07:00
Brian Anderson ea01ee2e9e Convert 'use' to 'extern mod'. Remove old 'use' syntax 2012-09-11 19:25:43 -07:00
Brian Anderson fb851242b7 Promote 'pub' and 'priv' from restricted to strict keywords 2012-09-11 18:17:26 -07:00
Brian Anderson 8672b9003f Merge pull request #3440 from jld/vec-dedup
Add vec::dedup for in-place consecutive duplicate element removal.
2012-09-11 17:25:21 -07:00
Brian Anderson 85768d18ee Add Drew Willcoxon to AUTHORS.txt 2012-09-11 17:23:43 -07:00
Drew Willcoxon 98bd4a992c Improve unexpected error scanner for compile-fail tests (Closes #1476) 2012-09-11 17:22:24 -07:00
Brian Anderson dc11e87b84 Fix combine-tests.py for new syntax 2012-09-11 17:17:16 -07:00
Brian Anderson 27cc0a36b6 Promote 'struct' from a restricted keyword to a strict keyword 2012-09-11 17:15:33 -07:00
Brian Anderson 1203da3b9d Remove priv sections from classes. Obsolete the syntax 2012-09-11 15:29:37 -07:00
Tim Chevalier 3aa5b0cb44 Make moves explicit in rustc 2012-09-11 13:59:57 -07:00