]>
git.lizzy.rs Git - rust.git/log
Jesse Ruderman [Wed, 8 Aug 2012 20:38:26 +0000 (16:38 -0400)]
Add spawn_conversation
Elliott Slaughter [Mon, 6 Aug 2012 21:14:17 +0000 (14:14 -0700)]
rustc: Strict enforcement of glue function types.
Make all glue functions take values by alias to remove the need for
bitcasts at the top of every glue function. Use static type
information to produce the correct type for glue functions so that
LLVM can enforce the type system at call sites.
Michael Sullivan [Wed, 8 Aug 2012 18:46:06 +0000 (11:46 -0700)]
In decoder, rename class_member_id to item_def_id.
Eric Holk [Wed, 8 Aug 2012 19:00:00 +0000 (12:00 -0700)]
xfail-pretty
Tim Chevalier [Wed, 8 Aug 2012 18:52:23 +0000 (11:52 -0700)]
Don't add struct names to the value name space if there's no constructor
Closes #3149
Eric Holk [Tue, 7 Aug 2012 23:54:00 +0000 (16:54 -0700)]
Add a really optimistic fast path in receive. Gives about a 7% performance improvement in msgsend-ring-pipes
Eric Holk [Tue, 7 Aug 2012 21:38:32 +0000 (14:38 -0700)]
Adding some examples for my internship presentation.
Niko Matsakis [Wed, 8 Aug 2012 15:15:32 +0000 (08:15 -0700)]
refactor categorization out of borrowck into its own module.
first step towards #3148 and #3024.
Niko Matsakis [Wed, 8 Aug 2012 02:48:24 +0000 (19:48 -0700)]
improve borrowck error messages to explain regions better
Niko Matsakis [Tue, 7 Aug 2012 14:57:35 +0000 (07:57 -0700)]
new test case demonstrating ability to return ptr to interior of option
Patrick Walton [Wed, 8 Aug 2012 02:12:58 +0000 (19:12 -0700)]
rustc: Resolve constructor expressions for variant structs
Patrick Walton [Wed, 8 Aug 2012 01:54:44 +0000 (18:54 -0700)]
rustc: Parse variant structs; add a trivial test case
Graydon Hoare [Wed, 8 Aug 2012 01:39:41 +0000 (18:39 -0700)]
Add minor debug mode for measuring type sizes, helper for #3025.
Patrick Walton [Wed, 8 Aug 2012 00:46:07 +0000 (17:46 -0700)]
rustc: Box struct_defs
Graydon Hoare [Wed, 8 Aug 2012 00:11:43 +0000 (17:11 -0700)]
Translate const structs.
Michael Sullivan [Tue, 7 Aug 2012 19:35:23 +0000 (12:35 -0700)]
Add 'static' to rust-mode.el.
Michael Sullivan [Thu, 2 Aug 2012 23:01:38 +0000 (16:01 -0700)]
Implement static typeclass methods. Closes #3132.
Elliott Slaughter [Tue, 7 Aug 2012 21:23:10 +0000 (14:23 -0700)]
rustc: Cosmetic change to type_of to make control flow more obvious.
Elliott Slaughter [Tue, 7 Aug 2012 21:20:31 +0000 (14:20 -0700)]
rustc: Fix for type_of on recursive enum creating two types instead of one.
Patrick Walton [Tue, 7 Aug 2012 23:46:19 +0000 (16:46 -0700)]
rustc: Move some more routines that operate on struct definitions out of line
Patrick Walton [Tue, 7 Aug 2012 23:08:09 +0000 (16:08 -0700)]
libsyntax: Break struct definitions out of classes internally in a few more places
Brian Anderson [Tue, 7 Aug 2012 23:03:58 +0000 (16:03 -0700)]
Registor snapshots
Ben Blum [Tue, 7 Aug 2012 22:42:33 +0000 (18:42 -0400)]
Touch up semaphores; add another test
Patrick Walton [Tue, 7 Aug 2012 22:54:59 +0000 (15:54 -0700)]
libsyntax: Allow users of the visitor to visit struct defs
Patrick Walton [Tue, 7 Aug 2012 22:34:07 +0000 (15:34 -0700)]
rustc: Split out struct bodies into a separate "struct_def" type in the AST
Ben Blum [Tue, 7 Aug 2012 22:20:02 +0000 (18:20 -0400)]
fix trailing whitespace
Ben Blum [Tue, 7 Aug 2012 22:03:30 +0000 (18:03 -0400)]
Add sync.rs with counting blocking semaphores
Ben Blum [Tue, 7 Aug 2012 18:42:30 +0000 (14:42 -0400)]
Remove rust_cond_lock and sys::condition (rename to little_lock)
Graydon Hoare [Tue, 7 Aug 2012 22:04:40 +0000 (15:04 -0700)]
Const slices now work. Something odd about non-const cases though, see #3138.
Brian Anderson [Tue, 7 Aug 2012 21:34:00 +0000 (14:34 -0700)]
Add missing comma
Patrick Walton [Tue, 7 Aug 2012 21:24:04 +0000 (14:24 -0700)]
rustc: Add stub support for struct variants to the AST
Brian Anderson [Tue, 7 Aug 2012 20:35:51 +0000 (13:35 -0700)]
syntax: Rename expr_alt to expr_match
Brian Anderson [Tue, 7 Aug 2012 20:01:15 +0000 (13:01 -0700)]
syntax: Fix parsing of inherent traits
Brian Anderson [Tue, 7 Aug 2012 00:14:32 +0000 (17:14 -0700)]
syntax: Make match arm parsing more restrictive again
Require comma separators for all expression types except the plain block
Eric Holk [Tue, 7 Aug 2012 18:46:52 +0000 (11:46 -0700)]
Generate try_send versions for all the messages. Fixes #3128
Eric Holk [Tue, 7 Aug 2012 17:14:35 +0000 (10:14 -0700)]
Working on a macro for selecting from many pipes.
Eric Holk [Tue, 7 Aug 2012 01:29:05 +0000 (18:29 -0700)]
Add a selectable implementation for *packet_header
Eric Holk [Mon, 6 Aug 2012 21:51:53 +0000 (14:51 -0700)]
Nifty macros for receiving from a protocol.
Eric Holk [Mon, 6 Aug 2012 21:34:53 +0000 (14:34 -0700)]
Use a proper protocol definition instead of the already-expanded code.
Ben Blum [Tue, 7 Aug 2012 18:26:03 +0000 (14:26 -0400)]
Change task().future_result's argument mode
Ben Blum [Tue, 7 Aug 2012 18:17:24 +0000 (14:17 -0400)]
Rework task::try for new task_builder interface (close #3103)
Ben Blum [Tue, 7 Aug 2012 18:16:51 +0000 (14:16 -0400)]
Add util::ignore
Lindsey Kuper [Tue, 7 Aug 2012 17:41:48 +0000 (10:41 -0700)]
Reindent some match exprs to agree with rust-mode.el
Lindsey Kuper [Tue, 7 Aug 2012 16:45:32 +0000 (09:45 -0700)]
Comments, minor refactoring, clean up wording of error messages
Brian Anderson [Tue, 7 Aug 2012 16:24:18 +0000 (09:24 -0700)]
Add Alex Rønne Petersen to AUTHORS.txt
Brian Anderson [Tue, 7 Aug 2012 16:20:06 +0000 (09:20 -0700)]
Merge pull request #3126 from alexrp/incoming
Fix typo in tutorial: 'retern' -> 'return'
Niko Matsakis [Tue, 7 Aug 2012 14:15:47 +0000 (07:15 -0700)]
xfail-fast issue-2242
Niko Matsakis [Tue, 7 Aug 2012 14:14:44 +0000 (07:14 -0700)]
add lint mode for deprecated pattern usage
Niko Matsakis [Tue, 7 Aug 2012 13:04:36 +0000 (06:04 -0700)]
move borrowck tests to use ref, fix a few exposed shortcomings
alexrp [Tue, 7 Aug 2012 07:56:15 +0000 (09:56 +0200)]
Fix typo in tutorial: 'retern' -> 'return'
Patrick Walton [Tue, 7 Aug 2012 04:40:49 +0000 (21:40 -0700)]
test: Modernize and un-XFAIL issue-2242-d.rs (issue #2242)
Patrick Walton [Tue, 7 Aug 2012 04:30:57 +0000 (21:30 -0700)]
test: Add a dvec indexing operator test, which serves as a test for #2615 (cross-crate operator overloading).
Tim Chevalier [Tue, 7 Aug 2012 02:16:44 +0000 (19:16 -0700)]
Auto-deref the base expr in trans_method_callee
(specifically in the method_trait case) -- if you wrote x.f()
and x has type @T for a trait T, x wasn't getting auto-deref'ed.
This was bad.
Closes #2935
Niko Matsakis [Tue, 7 Aug 2012 01:14:46 +0000 (18:14 -0700)]
first shot at integrating ref/value bindings into borrowck
(more needed)
Patrick Walton [Tue, 7 Aug 2012 01:54:20 +0000 (18:54 -0700)]
rustc: Parse and stub (broken) typechecking for bounded function types
Paul Stansifer [Tue, 7 Aug 2012 00:50:45 +0000 (17:50 -0700)]
Fix log_syntax of unexpanded code.
Tim Chevalier [Tue, 7 Aug 2012 00:44:07 +0000 (17:44 -0700)]
Disallow multiple constructors or destructors in the same class
Closes #2825
Patrick Walton [Tue, 7 Aug 2012 00:01:14 +0000 (17:01 -0700)]
rustc: Implement pattern matching for structs
Tim Chevalier [Tue, 7 Aug 2012 00:33:23 +0000 (17:33 -0700)]
Shorten lines, fix build breakage
Michael Sullivan [Mon, 6 Aug 2012 20:13:18 +0000 (13:13 -0700)]
Move some decoder code to the right place.
Ben Blum [Mon, 6 Aug 2012 21:15:44 +0000 (17:15 -0400)]
Make 100 generations perf test sensitive to spawn failures
Tim Chevalier [Mon, 6 Aug 2012 23:10:56 +0000 (16:10 -0700)]
In resolve, forbid duplicate value, type, and module items
Closes #3099
Niko Matsakis [Mon, 6 Aug 2012 23:16:08 +0000 (16:16 -0700)]
s/alt/match/... again.
Niko Matsakis [Mon, 6 Aug 2012 23:13:52 +0000 (16:13 -0700)]
s/alt/match/
Niko Matsakis [Mon, 6 Aug 2012 23:12:46 +0000 (16:12 -0700)]
emacs: add match as keyword
Niko Matsakis [Mon, 6 Aug 2012 14:20:23 +0000 (07:20 -0700)]
make `ref x` bindings produce region ptrs and fix various minor bugs
we now detect inconsistent modes, binding names, and various other errors.
typeck/trans integration is mostly done.
borrowck not so much.
more tests needed.
Brian Anderson [Mon, 6 Aug 2012 19:34:08 +0000 (12:34 -0700)]
Convert alt to match. Stop parsing alt
Brian Anderson [Mon, 6 Aug 2012 22:17:08 +0000 (15:17 -0700)]
std: URL paths can contain dashes
Brian Anderson [Mon, 6 Aug 2012 21:07:37 +0000 (14:07 -0700)]
core: Rename task::osmain to platform_thread. #3090
Eric Holk [Mon, 6 Aug 2012 20:17:35 +0000 (13:17 -0700)]
Enabling pingpong benchmark.
Eric Holk [Mon, 6 Aug 2012 20:09:10 +0000 (13:09 -0700)]
Handle interpolated paths in pattern parsing. Fixes #3007.
We might need to use is_ident_or_path in a for other places too.
Eric Holk [Mon, 6 Aug 2012 17:33:31 +0000 (10:33 -0700)]
Fill out rust docs for pipes some more.
Patrick Walton [Mon, 6 Aug 2012 20:15:40 +0000 (13:15 -0700)]
rustc: Implement functional record update for structs
Brian Anderson [Mon, 6 Aug 2012 20:12:49 +0000 (13:12 -0700)]
std: Parse underscores in url paths
Brian Anderson [Mon, 6 Aug 2012 18:08:52 +0000 (11:08 -0700)]
Add a test for issue #2312
Eric Holk [Mon, 6 Aug 2012 16:55:53 +0000 (09:55 -0700)]
Add missing =>
Eric Holk [Sat, 4 Aug 2012 01:57:43 +0000 (18:57 -0700)]
Refcount tasks in packets to avoid races.
Revert "Once again, revert "Use pipes in compiletest""
Fixes #3098
Eric Holk [Fri, 3 Aug 2012 22:20:38 +0000 (15:20 -0700)]
More documentation on pipes, and moving assert in runtime.
Brian Anderson [Mon, 6 Aug 2012 05:09:57 +0000 (22:09 -0700)]
syntax: Stop parsing alts without arrows
Brian Anderson [Sat, 4 Aug 2012 02:59:04 +0000 (19:59 -0700)]
Switch alts to use arrows
Brian Anderson [Mon, 6 Aug 2012 05:07:22 +0000 (22:07 -0700)]
doc: Update for alt arrows
Brian Anderson [Sun, 5 Aug 2012 23:33:28 +0000 (16:33 -0700)]
std: Some fixes to url parsing
Brian Anderson [Sun, 5 Aug 2012 20:48:26 +0000 (13:48 -0700)]
std: URLs without schemes parse as errors. Closes #3112
Brian Anderson [Sun, 5 Aug 2012 00:41:04 +0000 (17:41 -0700)]
Fix closure pretty-print tests
Brian Anderson [Sun, 5 Aug 2012 00:37:30 +0000 (17:37 -0700)]
xfail-fast run-pass/trait-composition-trivial
Patrick Walton [Sat, 4 Aug 2012 22:11:54 +0000 (15:11 -0700)]
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.
Graydon Hoare [Sat, 4 Aug 2012 04:44:42 +0000 (21:44 -0700)]
Translate const vecs, most of const slices. More for #2317.
Patrick Walton [Sat, 4 Aug 2012 02:49:12 +0000 (19:49 -0700)]
rustc: Merge fn& and fn in favor of fn&.
This is a step on the way to moving the function "proto" sigil out front.
Patrick Walton [Sat, 4 Aug 2012 01:48:17 +0000 (18:48 -0700)]
rustc: Translate repeated vector syntax
Graydon Hoare [Sat, 4 Aug 2012 01:07:45 +0000 (18:07 -0700)]
Implement &-expressions in consts. Part of #2317.
Patrick Walton [Sat, 4 Aug 2012 01:01:30 +0000 (18:01 -0700)]
rustc: Parse and typecheck repeating vector expressions; e.g. [ 0, ..512 ]
Ben Blum [Sat, 4 Aug 2012 01:00:23 +0000 (21:00 -0400)]
rt: expose rust_task refcounts to rustland
Ben Blum [Fri, 3 Aug 2012 23:26:25 +0000 (19:26 -0400)]
Add task-perf-linked-failure.rs
Lindsey Kuper [Fri, 3 Aug 2012 23:01:19 +0000 (16:01 -0700)]
Further work on default methods in traits.
And some trait-related code cleanup in typeck::collect.
Ben Blum [Fri, 3 Aug 2012 22:38:44 +0000 (18:38 -0400)]
vim: don't hilight "any"
Patrick Walton [Fri, 3 Aug 2012 22:24:11 +0000 (15:24 -0700)]
libsyntax: Fix trailing whitespace
Eric Holk [Fri, 3 Aug 2012 22:22:33 +0000 (15:22 -0700)]
Xfailing until the pipe race is fixed.
Eric Holk [Fri, 3 Aug 2012 22:22:01 +0000 (15:22 -0700)]
Once again, revert "Use pipes in compiletest"
This reverts commit
1d04b0ed5ac829594a412298cb9f9455d1a4d843 .
Patrick Walton [Fri, 3 Aug 2012 22:03:19 +0000 (15:03 -0700)]
test: Add a trivial test that trait composition parses
Patrick Walton [Fri, 3 Aug 2012 22:02:01 +0000 (15:02 -0700)]
rustc: Parse, serialize, and deserialize trait inheritance