Patrick Walton
ff9151fa55
rustc: Use memset when zeroing allocas out (issue #3025 ).
...
Previously, LLVM was generating a ton of byte-by-byte copies,
leading to huge numbers of vregs and bloating the code. Now, using
memset, the code becomes a nice series of SSE moves instead.
2012-08-26 10:50:06 -07:00
Patrick Walton
db71ff3eb6
libcore: Add some methods to make working with string slices easier
2012-08-25 23:13:50 -07:00
Patrick Walton
80429dd7bd
rustc: Add some more debugging to vtable
2012-08-25 23:13:50 -07:00
Brian Anderson
0de379fdf0
Merge pull request #3282 from killerswan/modes5
...
Removing more deprecated modes
2012-08-25 18:56:07 -07:00
Patrick Walton
ed1ab9a598
libstd: Don't make task-local GC data when creating TCP streams.
...
This exposed an ICE in a test; it's commented out for now.
2012-08-25 18:43:38 -07:00
Patrick Walton
7d86429415
libcore: Add an implementation of to_str for &str.
...
It duplicates the string.
2012-08-25 18:43:38 -07:00
Brian Anderson
09df8f1abf
Fix more unused variable warnings
2012-08-25 18:38:21 -07:00
Brian Anderson
0cece20ea5
Fix some unused variable warnings
2012-08-25 18:19:54 -07:00
Tim Chevalier
7fb5f41bac
Update test for new struct field syntax (fixes build breakage)
2012-08-25 17:54:17 -07:00
Tim Chevalier
6d3d4b9040
Merge pull request #3278 from erickt/incoming
...
A couple minor cleanups
2012-08-25 17:22:01 -07:00
Patrick Walton
d77acf7d07
libsyntax: Accept ',' to separate struct fields. Closes #3263 .
2012-08-25 16:06:35 -07:00
Kevin Cantu
4f326dd650
Remove deprecated modes from SHA1 and MD4 in libstd
2012-08-25 15:28:57 -07:00
Kevin Cantu
b26084475c
Remove deprecated modes from libstd/timer.rs
2012-08-25 15:28:57 -07:00
Patrick Walton
8ef4551904
rustc: Implement foreign constants.
...
This is needed for a lot of Apple libraries, as Apple tends to put a lot of
globals in dynamic libraries.
2012-08-25 15:09:33 -07:00
Erick Tryzelaar
dab3339971
libstd: Suppress warning about unused variable in net_tcp.
2012-08-25 12:22:44 -07:00
Erick Tryzelaar
f2f0ac9fe0
libstd: serialization should use &strs.
2012-08-25 12:22:44 -07:00
Tim Chevalier
bb5c07922f
Add test case for #2356
2012-08-25 09:15:32 -07:00
Tim Chevalier
33ba097069
Add backquotes to error message
2012-08-25 09:15:26 -07:00
Tim Chevalier
35b9b1ef2d
Add Vincent Belliard to AUTHORS
2012-08-25 09:15:14 -07:00
Tim Chevalier
390a31a57d
Merge pull request #3252 from Vincent-Belliard/issue_2356
...
implements issue #2356
2012-08-25 08:10:16 -07:00
Vincent Belliard
bdbedb9d35
implements issue #2356
2012-08-25 17:01:52 +02:00
Ben Blum
6277046fa0
Add either::unwrap_{left,right}
2012-08-25 03:07:30 -04:00
Ben Blum
4cfb92f459
Use region variance to remove a bunch of unsafety in sync/arc ( #2282 )
2012-08-25 03:07:30 -04:00
Ben Blum
8d00603d78
Use less move_it in pipes and future (all but one use)
2012-08-25 03:07:30 -04:00
Ben Blum
6cf2f89452
Implement option::unwrap safely...!
2012-08-25 03:07:30 -04:00
Tim Chevalier
bed37a1dc9
Reset src/llvm to what it was (not sure what happened here)
2012-08-25 00:04:33 -07:00
Michael Sullivan
1ce7902a41
Add a Buildable interface for constructing general sequences. Work on #2921 .
2012-08-24 22:56:05 -07:00
Michael Sullivan
c87e9a5815
Get rid of the unseemly reinterpret_casts in build_sized implementations. Closes #3272 .
2012-08-24 22:56:05 -07:00
Michael Sullivan
b2aeb31451
Register snapshots.
2012-08-24 22:56:05 -07:00
Tim Chevalier
00d71087e5
Expunge mention of match check
from the tutorial
2012-08-24 22:28:19 -07:00
Tim Chevalier
5e22fb9c7f
Remove match check
2012-08-24 22:28:12 -07:00
Tim Chevalier
c7a3d0eb58
Remove one last match check, in send_map
2012-08-24 21:35:35 -07:00
Tim Chevalier
0dad78e03d
Eliminate match checks in trans and typeck
2012-08-24 20:45:30 -07:00
Paul Stansifer
18180fd5da
"earley_parser" -> "macro_parser" Let's be less confusing.
2012-08-24 18:20:17 -07:00
Paul Stansifer
e54acbf848
Document the macro parser a little more.
2012-08-24 18:20:17 -07:00
Paul Stansifer
9297d1f00a
Minor doc updates.
2012-08-24 18:20:16 -07:00
Paul Stansifer
7669032dd3
Remove the old syntax extension section in the documentation.
2012-08-24 18:20:16 -07:00
Paul Stansifer
d5f0bf922c
Add a section on syntax extensions to the Rust reference docs.
2012-08-24 18:20:16 -07:00
Michael Sullivan
90812c143d
Rework method lookup to properly handle self types for non impl matches. Closes #3268 . Closes #3274 .
2012-08-24 17:57:41 -07:00
Michael Sullivan
6a56212649
A bunch of code refactoring in method matching.
2012-08-24 17:57:41 -07:00
Michael Sullivan
cf62433f43
Comments only: fix a comment in method resolution.
2012-08-24 17:57:41 -07:00
Ben Blum
01866fae4e
Document task shutdown protocol and justify its concurrency safety. Close #2696 . Close bblum's internship.
2012-08-24 19:59:03 -04:00
Graydon Hoare
5ebea76394
Fix a curious failure not seen during testing.
2012-08-24 16:39:16 -07:00
Graydon Hoare
23deed12ce
Merge pull request #3269 from killerswan/modes3
...
Remove deprecated modes from libstd/time.rs
2012-08-24 16:08:38 -07:00
Graydon Hoare
c284b8b1dc
Start using core::path2::Path in a lot of places.
2012-08-24 15:51:16 -07:00
Niko Matsakis
a8f1bee457
fix some unused pattern binding warnings
2012-08-24 15:37:21 -07:00
Ben Blum
5ba7434cb1
Avoid lifecycle_lock traffic in call_on_rust_stack. ( close #3270 )
2012-08-24 18:28:26 -04:00
Michael Sullivan
e55c5ceac2
Infer purity for || style closures. Closes #3023 .
2012-08-24 14:21:27 -07:00
Michael Sullivan
b5dd01eb2a
Add a bunch more unsafe blocks to prepare for the new semantics of unsafe/closure interactions.
2012-08-24 14:21:26 -07:00
Michael Sullivan
2c96a43cf1
Get rid of the unsafe hacks in resolve3. Closes #3267 .
2012-08-24 14:21:26 -07:00