Tim Chevalier
|
c7d60ee053
|
Don't add struct names to the value name space if there's no constructor
Closes #3149
|
2012-08-08 11:53:08 -07:00 |
|
Eric Holk
|
c5fbff01ce
|
Add a really optimistic fast path in receive. Gives about a 7% performance improvement in msgsend-ring-pipes
|
2012-08-08 10:28:57 -07:00 |
|
Eric Holk
|
bc6ba6b091
|
Adding some examples for my internship presentation.
|
2012-08-08 10:28:57 -07:00 |
|
Niko Matsakis
|
802ea5d57e
|
refactor categorization out of borrowck into its own module.
first step towards #3148 and #3024.
|
2012-08-08 09:22:07 -07:00 |
|
alexrp
|
11c1baa883
|
Remove remaining references to typestate in the manual.
|
2012-08-08 13:33:19 +02:00 |
|
alexrp
|
81aef34a5a
|
Alter the manual to speak of pure functions instead of predicate functions.
Since the typestate system is gone, this makes more sense now.
|
2012-08-08 13:30:31 +02:00 |
|
Niko Matsakis
|
52c517383e
|
improve borrowck error messages to explain regions better
|
2012-08-07 20:59:06 -07:00 |
|
Niko Matsakis
|
99af0d5480
|
new test case demonstrating ability to return ptr to interior of option
|
2012-08-07 20:13:03 -07:00 |
|
Patrick Walton
|
31965860c7
|
rustc: Resolve constructor expressions for variant structs
|
2012-08-07 19:12:58 -07:00 |
|
Patrick Walton
|
5ce3281a62
|
rustc: Parse variant structs; add a trivial test case
|
2012-08-07 18:55:19 -07:00 |
|
Graydon Hoare
|
8c95feda39
|
Add minor debug mode for measuring type sizes, helper for #3025.
|
2012-08-07 18:40:02 -07:00 |
|
Patrick Walton
|
438765da59
|
rustc: Box struct_defs
|
2012-08-07 17:46:51 -07:00 |
|
Graydon Hoare
|
175be53e3f
|
Translate const structs.
|
2012-08-07 17:31:26 -07:00 |
|
Michael Sullivan
|
4be8239ac2
|
Add 'static' to rust-mode.el.
|
2012-08-07 17:18:14 -07:00 |
|
Michael Sullivan
|
7f7f47620e
|
Implement static typeclass methods. Closes #3132.
|
2012-08-07 17:18:14 -07:00 |
|
Elliott Slaughter
|
a695e074f2
|
rustc: Cosmetic change to type_of to make control flow more obvious.
|
2012-08-07 16:58:15 -07:00 |
|
Elliott Slaughter
|
cdfc4b1c7a
|
rustc: Fix for type_of on recursive enum creating two types instead of one.
|
2012-08-07 16:58:15 -07:00 |
|
Patrick Walton
|
61446293f9
|
rustc: Move some more routines that operate on struct definitions out of line
|
2012-08-07 16:46:19 -07:00 |
|
Patrick Walton
|
0f711e72f7
|
libsyntax: Break struct definitions out of classes internally in a few more places
|
2012-08-07 16:09:08 -07:00 |
|
Brian Anderson
|
1f0574e8f0
|
Registor snapshots
|
2012-08-07 16:03:58 -07:00 |
|
Ben Blum
|
64ba7a31cb
|
Touch up semaphores; add another test
|
2012-08-07 18:57:49 -04:00 |
|
Patrick Walton
|
a3f9e18b7a
|
libsyntax: Allow users of the visitor to visit struct defs
|
2012-08-07 15:55:33 -07:00 |
|
Patrick Walton
|
deaef48675
|
rustc: Split out struct bodies into a separate "struct_def" type in the AST
|
2012-08-07 15:35:05 -07:00 |
|
Ben Blum
|
1a6dadad5b
|
fix trailing whitespace
|
2012-08-07 18:20:02 -04:00 |
|
Ben Blum
|
f2ca54991f
|
Add sync.rs with counting blocking semaphores
|
2012-08-07 18:18:48 -04:00 |
|
Ben Blum
|
bdbad614ac
|
Remove rust_cond_lock and sys::condition (rename to little_lock)
|
2012-08-07 18:18:48 -04:00 |
|
Graydon Hoare
|
32e4fd62e9
|
Const slices now work. Something odd about non-const cases though, see #3138.
|
2012-08-07 15:04:40 -07:00 |
|
Brian Anderson
|
42540841f3
|
Add missing comma
|
2012-08-07 14:34:00 -07:00 |
|
Patrick Walton
|
727c7c7499
|
rustc: Add stub support for struct variants to the AST
|
2012-08-07 14:25:53 -07:00 |
|
Brian Anderson
|
bc267c696c
|
syntax: Rename expr_alt to expr_match
|
2012-08-07 13:35:51 -07:00 |
|
Brian Anderson
|
92ef17aaeb
|
syntax: Fix parsing of inherent traits
|
2012-08-07 13:01:22 -07:00 |
|
Brian Anderson
|
2772b2e5c7
|
syntax: Make match arm parsing more restrictive again
Require comma separators for all expression types except the plain block
|
2012-08-07 12:23:43 -07:00 |
|
Eric Holk
|
abf4421e7c
|
Generate try_send versions for all the messages. Fixes #3128
|
2012-08-07 11:47:12 -07:00 |
|
Eric Holk
|
672bfa5773
|
Working on a macro for selecting from many pipes.
|
2012-08-07 11:47:12 -07:00 |
|
Eric Holk
|
8d1922d4c8
|
Add a selectable implementation for *packet_header
|
2012-08-07 11:47:12 -07:00 |
|
Eric Holk
|
184da12896
|
Nifty macros for receiving from a protocol.
|
2012-08-07 11:47:12 -07:00 |
|
Eric Holk
|
d594f3701a
|
Use a proper protocol definition instead of the already-expanded code.
|
2012-08-07 11:47:11 -07:00 |
|
Ben Blum
|
18ac4a8e6d
|
Change task().future_result's argument mode
|
2012-08-07 14:26:41 -04:00 |
|
Ben Blum
|
ae6d84f573
|
Rework task::try for new task_builder interface (close #3103)
|
2012-08-07 14:26:41 -04:00 |
|
Ben Blum
|
0cc6cefaec
|
Add util::ignore
|
2012-08-07 14:26:41 -04:00 |
|
Lindsey Kuper
|
efea6f016e
|
Reindent some match exprs to agree with rust-mode.el
|
2012-08-07 10:41:48 -07:00 |
|
Lindsey Kuper
|
e656261ee7
|
Comments, minor refactoring, clean up wording of error messages
|
2012-08-07 10:29:19 -07:00 |
|
Brian Anderson
|
2e0c1dbd4f
|
Add Alex Rønne Petersen to AUTHORS.txt
|
2012-08-07 09:24:18 -07:00 |
|
Brian Anderson
|
e4b371f529
|
Merge pull request #3126 from alexrp/incoming
Fix typo in tutorial: 'retern' -> 'return'
|
2012-08-07 09:20:06 -07:00 |
|
Niko Matsakis
|
0755922320
|
xfail-fast issue-2242
|
2012-08-07 07:15:47 -07:00 |
|
Niko Matsakis
|
7d374bde43
|
add lint mode for deprecated pattern usage
|
2012-08-07 07:14:44 -07:00 |
|
Niko Matsakis
|
dbef6e593d
|
move borrowck tests to use ref, fix a few exposed shortcomings
|
2012-08-07 06:11:12 -07:00 |
|
alexrp
|
5f1987c6c4
|
Fix typo in tutorial: 'retern' -> 'return'
|
2012-08-07 09:56:15 +02:00 |
|
Patrick Walton
|
793c0a1116
|
test: Modernize and un-XFAIL issue-2242-d.rs (issue #2242)
|
2012-08-06 21:40:49 -07:00 |
|
Patrick Walton
|
6a7c714df6
|
test: Add a dvec indexing operator test, which serves as a test for #2615 (cross-crate operator overloading).
|
2012-08-06 21:30:57 -07:00 |
|