]> git.lizzy.rs Git - rust.git/log
rust.git
12 years agoAllow 3.0, 3.1, 3.0svn and 3.1svn for llvm-root
Zack Corr [Sat, 21 Jul 2012 06:10:04 +0000 (16:10 +1000)]
Allow 3.0, 3.1, 3.0svn and 3.1svn for llvm-root

12 years agoAdd core::hash containing SipHash-2-4 implementation. Re: #1616 and #859.
Graydon Hoare [Tue, 24 Jul 2012 21:32:06 +0000 (14:32 -0700)]
Add core::hash containing SipHash-2-4 implementation. Re: #1616 and #859.

12 years agorustc: Write impl attributes into the metadata
Patrick Walton [Wed, 25 Jul 2012 00:06:32 +0000 (17:06 -0700)]
rustc: Write impl attributes into the metadata

12 years agotest: Add a max/min classes test case
Patrick Walton [Tue, 24 Jul 2012 23:39:26 +0000 (16:39 -0700)]
test: Add a max/min classes test case

12 years agorustc: Parse new-style impl declarations
Patrick Walton [Tue, 24 Jul 2012 23:38:24 +0000 (16:38 -0700)]
rustc: Parse new-style impl declarations

12 years agorustc: Don't require that structs have constructors
Patrick Walton [Tue, 24 Jul 2012 22:29:14 +0000 (15:29 -0700)]
rustc: Don't require that structs have constructors

12 years agoChange yield() and wait_event() to be MUST_CHECK and return the killed flag. (closes...
Ben Blum [Tue, 24 Jul 2012 22:22:44 +0000 (18:22 -0400)]
Change yield() and wait_event() to be MUST_CHECK and return the killed flag. (closes #2875)

12 years agoChange task linked failure interface in manual
Ben Blum [Tue, 24 Jul 2012 22:04:26 +0000 (18:04 -0400)]
Change task linked failure interface in manual

12 years agoFix xfail comment
Eric Holk [Tue, 24 Jul 2012 21:56:59 +0000 (14:56 -0700)]
Fix xfail comment

12 years agoTest case for #3005
Eric Holk [Tue, 24 Jul 2012 21:55:38 +0000 (14:55 -0700)]
Test case for #3005

12 years agotiny runtime cleanup
Ben Blum [Tue, 24 Jul 2012 21:35:08 +0000 (17:35 -0400)]
tiny runtime cleanup

12 years agoRemove unsupervise
Ben Blum [Tue, 24 Jul 2012 21:31:43 +0000 (17:31 -0400)]
Remove unsupervise

12 years agotask.rs remove old builder interface
Ben Blum [Tue, 24 Jul 2012 20:45:49 +0000 (16:45 -0400)]
task.rs remove old builder interface

12 years agoAdd option::unwrap_expect
Ben Blum [Tue, 24 Jul 2012 19:46:40 +0000 (15:46 -0400)]
Add option::unwrap_expect

12 years agoFix more windows breakage.
Graydon Hoare [Tue, 24 Jul 2012 21:08:12 +0000 (14:08 -0700)]
Fix more windows breakage.

12 years agorustc: Translate struct literals
Patrick Walton [Tue, 24 Jul 2012 20:58:46 +0000 (13:58 -0700)]
rustc: Translate struct literals

12 years agoFix windows breakage.
Graydon Hoare [Tue, 24 Jul 2012 20:53:15 +0000 (13:53 -0700)]
Fix windows breakage.

12 years agoMerge pull request #3003 from elliottslaughter/free-cant-fail
Graydon Hoare [Tue, 24 Jul 2012 20:49:24 +0000 (13:49 -0700)]
Merge pull request #3003 from elliottslaughter/free-cant-fail

Don't emit invoke instructions inside landing pads.

12 years agoFix whitespace.
Graydon Hoare [Tue, 24 Jul 2012 20:21:25 +0000 (13:21 -0700)]
Fix whitespace.

12 years agoUpdate some str functions to slices, merge as_buf and unpack_slice.
Graydon Hoare [Tue, 24 Jul 2012 19:35:34 +0000 (12:35 -0700)]
Update some str functions to slices, merge as_buf and unpack_slice.

12 years agoAdd 'do atomically { .. }' for exclusives
Ben Blum [Tue, 24 Jul 2012 19:27:45 +0000 (15:27 -0400)]
Add 'do atomically { .. }' for exclusives

12 years agoDon't emit invoke instructions inside landing pads.
Elliott Slaughter [Mon, 23 Jul 2012 23:00:19 +0000 (16:00 -0700)]
Don't emit invoke instructions inside landing pads.

We can't throw an exception from inside a landing pad without
corrupting the exception handler, so we have no hope of dealing with
these exceptions anyway. See:

http://llvm.org/docs/ExceptionHandling.html#cleanups

Part of #2861.

12 years agoBugfix: enable transcription to deal with zero-repetition cases.
Paul Stansifer [Tue, 24 Jul 2012 18:44:32 +0000 (11:44 -0700)]
Bugfix: enable transcription to deal with zero-repetition cases.

12 years agoImprove an error message a little.
Paul Stansifer [Tue, 24 Jul 2012 18:44:17 +0000 (11:44 -0700)]
Improve an error message a little.

12 years agoBugfix: make the parser handle the case where zero repetitions occur, by handling...
Paul Stansifer [Mon, 23 Jul 2012 22:34:43 +0000 (15:34 -0700)]
Bugfix: make the parser handle the case where zero repetitions occur, by handling parse results on the basis of what names the matcher expects to bind, not on what names are actually bound.

12 years agoAdd `5.timesi() |idx| { ... }`
Paul Stansifer [Fri, 20 Jul 2012 22:33:18 +0000 (15:33 -0700)]
Add `5.timesi() |idx| { ... }`

12 years agoMake rustdoc deal with macros. Rustdoc still fails, though; we think it needs to...
Paul Stansifer [Wed, 18 Jul 2012 01:32:04 +0000 (18:32 -0700)]
Make rustdoc deal with macros. Rustdoc still fails, though; we think it needs to do an unparallelized, non-failure-ignoring resolve.

12 years agorustc: Typecheck struct literals
Patrick Walton [Tue, 24 Jul 2012 18:27:37 +0000 (11:27 -0700)]
rustc: Typecheck struct literals

12 years agoImport reader_util
Eric Holk [Tue, 24 Jul 2012 17:51:30 +0000 (10:51 -0700)]
Import reader_util

12 years agoTypos in tutorial
Tim Chevalier [Tue, 24 Jul 2012 16:42:58 +0000 (09:42 -0700)]
Typos in tutorial

12 years agorustc: Resolve struct names in struct literals
Patrick Walton [Tue, 24 Jul 2012 01:44:59 +0000 (18:44 -0700)]
rustc: Resolve struct names in struct literals

12 years agosyntax: Expect the closing brace after struct literals
Patrick Walton [Tue, 24 Jul 2012 01:49:34 +0000 (18:49 -0700)]
syntax: Expect the closing brace after struct literals

12 years agocall task::yield in comm::peek
Ted Horst [Wed, 18 Jul 2012 04:13:11 +0000 (23:13 -0500)]
call task::yield in comm::peek

12 years agoAdd to_str for hashmap.
Glenn Willen [Fri, 13 Jul 2012 07:01:26 +0000 (03:01 -0400)]
Add to_str for hashmap.

12 years agoSwitch reader to work with preallocated vecs
Erick Tryzelaar [Sat, 21 Jul 2012 04:49:20 +0000 (21:49 -0700)]
Switch reader to work with preallocated vecs

This closes #2901.

12 years agotests: Rename to avoid colliding with real rust-zmq.
Erick Tryzelaar [Sat, 21 Jul 2012 03:40:47 +0000 (20:40 -0700)]
tests: Rename to avoid colliding with real rust-zmq.

12 years agolibcore: whitespace cleanup.
Erick Tryzelaar [Sat, 21 Jul 2012 02:20:23 +0000 (19:20 -0700)]
libcore: whitespace cleanup.

12 years agolibcore: add vec memcpy and memmove fns
Erick Tryzelaar [Sat, 21 Jul 2012 02:20:13 +0000 (19:20 -0700)]
libcore: add vec memcpy and memmove fns

12 years agolibcore: add vec::{mut_view, const_view}.
Erick Tryzelaar [Sat, 21 Jul 2012 02:19:44 +0000 (19:19 -0700)]
libcore: add vec::{mut_view, const_view}.

12 years agolibcore: Modernize a docstring
Erick Tryzelaar [Sat, 21 Jul 2012 02:18:41 +0000 (19:18 -0700)]
libcore: Modernize a docstring

12 years agoConvert std::test to new task_builder interface
Ben Blum [Tue, 24 Jul 2012 00:00:43 +0000 (20:00 -0400)]
Convert std::test to new task_builder interface

12 years agoConvert bench and run-pass tests to new task_builder interface
Ben Blum [Mon, 23 Jul 2012 23:58:47 +0000 (19:58 -0400)]
Convert bench and run-pass tests to new task_builder interface

12 years agoConvert os/priv/uv to new task_builder interface
Ben Blum [Mon, 23 Jul 2012 23:53:22 +0000 (19:53 -0400)]
Convert os/priv/uv to new task_builder interface

12 years agoGet rid of task::future_task
Ben Blum [Mon, 23 Jul 2012 23:40:25 +0000 (19:40 -0400)]
Get rid of task::future_task

12 years agoAdd task::task_builder interface for improved spawning (related #2585)
Ben Blum [Mon, 23 Jul 2012 23:27:44 +0000 (19:27 -0400)]
Add task::task_builder interface for improved spawning (related #2585)

12 years agoMerge pull request #2998 from elliottslaughter/no-landing-pads
Graydon Hoare [Mon, 23 Jul 2012 23:47:35 +0000 (16:47 -0700)]
Merge pull request #2998 from elliottslaughter/no-landing-pads

Add debug flag to turn off landing pads.

12 years agorustc: Max/min classes: Add struct literal syntax
Patrick Walton [Mon, 23 Jul 2012 23:39:18 +0000 (16:39 -0700)]
rustc: Max/min classes: Add struct literal syntax

12 years agoAdding simple net::url module to parse and format urls.
Daniel Patterson [Mon, 9 Jul 2012 18:08:07 +0000 (14:08 -0400)]
Adding simple net::url module to parse and format urls.

12 years agoAdd Damian Gryski to AUTHORS
Tim Chevalier [Mon, 23 Jul 2012 21:43:11 +0000 (14:43 -0700)]
Add Damian Gryski to AUTHORS

12 years agoMerge pull request #3000 from dgryski/master
Tim Chevalier [Mon, 23 Jul 2012 21:39:08 +0000 (14:39 -0700)]
Merge pull request #3000 from dgryski/master

Fix formatting of multiline code blocks in asm-comments

12 years agoOops, xfail-win32 task-killjoin-rsrc
Ben Blum [Mon, 23 Jul 2012 21:35:28 +0000 (17:35 -0400)]
Oops, xfail-win32 task-killjoin-rsrc

12 years agoFix formatting of multi-line blocks in asm-comments
Damian Gryski [Mon, 23 Jul 2012 21:18:12 +0000 (23:18 +0200)]
Fix formatting of multi-line blocks in asm-comments

12 years agosyntax: Remove reference to typestate in a comment
Patrick Walton [Mon, 23 Jul 2012 20:24:58 +0000 (13:24 -0700)]
syntax: Remove reference to typestate in a comment

12 years agorustc: Make vtables use the coherence tables
Patrick Walton [Mon, 23 Jul 2012 17:11:10 +0000 (10:11 -0700)]
rustc: Make vtables use the coherence tables

12 years agoFix and un-xfail task-killjoin-rsrc.rs
Ben Blum [Mon, 23 Jul 2012 20:15:12 +0000 (16:15 -0400)]
Fix and un-xfail task-killjoin-rsrc.rs

12 years agoAdd debug flag to turn off landing pads.
Elliott Slaughter [Fri, 29 Jun 2012 19:31:23 +0000 (12:31 -0700)]
Add debug flag to turn off landing pads.

12 years agoAdd task::spawn_unlinked and start migrating away from task::unsupervise
Ben Blum [Mon, 23 Jul 2012 19:53:18 +0000 (15:53 -0400)]
Add task::spawn_unlinked and start migrating away from task::unsupervise

12 years agoremove unneeded export local_data in task.rs (#2945)
Ben Blum [Mon, 23 Jul 2012 19:27:09 +0000 (15:27 -0400)]
remove unneeded export local_data in task.rs (#2945)

12 years agoMerge pull request #2996 from elliottslaughter/fix-rustrt-build
Patrick Walton [Mon, 23 Jul 2012 19:27:00 +0000 (12:27 -0700)]
Merge pull request #2996 from elliottslaughter/fix-rustrt-build

Add rustrt wrapper functions to export list.

12 years agoAdd rustrt wrapper functions to export list.
Elliott Slaughter [Mon, 23 Jul 2012 19:21:41 +0000 (12:21 -0700)]
Add rustrt wrapper functions to export list.

12 years agoMerge pull request #2884 from elliottslaughter/rust-upcalls
Patrick Walton [Mon, 23 Jul 2012 19:02:10 +0000 (12:02 -0700)]
Merge pull request #2884 from elliottslaughter/rust-upcalls

Move fail upcall into rust

12 years agoMoved malloc and free upcalls into rust runtime.
Elliott Slaughter [Tue, 17 Jul 2012 17:48:19 +0000 (10:48 -0700)]
Moved malloc and free upcalls into rust runtime.

12 years agoMove fail upcall into rust libcore.
Elliott Slaughter [Tue, 10 Jul 2012 22:52:05 +0000 (15:52 -0700)]
Move fail upcall into rust libcore.

12 years agoFurther revisions suggested by nmatsakis (#2990).
Lindsey Kuper [Mon, 23 Jul 2012 02:19:30 +0000 (19:19 -0700)]
Further revisions suggested by nmatsakis (#2990).

12 years agoTutorial revisions (among other things, closes #2990).
Lindsey Kuper [Mon, 23 Jul 2012 02:12:51 +0000 (19:12 -0700)]
Tutorial revisions (among other things, closes #2990).

12 years agoMerge tag 'release-0.3.1' into incoming
Graydon Hoare [Sat, 21 Jul 2012 01:59:07 +0000 (18:59 -0700)]
Merge tag 'release-0.3.1' into incoming

release 0.3.1

12 years agoRelease 0.3.1
Graydon Hoare [Sat, 21 Jul 2012 01:57:40 +0000 (18:57 -0700)]
Release 0.3.1

12 years agoRemove what's left of resolve1
Tim Chevalier [Tue, 17 Jul 2012 22:23:59 +0000 (15:23 -0700)]
Remove what's left of resolve1

12 years agoFix failing tutorial test case. Fixes build breakage
Tim Chevalier [Fri, 20 Jul 2012 23:38:45 +0000 (16:38 -0700)]
Fix failing tutorial test case. Fixes build breakage

12 years ago[4/4 for #2365, #2671] Reassign one last fixme to #908. Close #2365. Close #2671.
Ben Blum [Fri, 20 Jul 2012 23:04:14 +0000 (19:04 -0400)]
[4/4 for #2365, #2671] Reassign one last fixme to #908. Close #2365. Close #2671.

12 years ago[3/4 for #2365, #2671] Fix exit/kill race with scheds during rust_kernel::fail
Ben Blum [Fri, 20 Jul 2012 22:47:47 +0000 (18:47 -0400)]
[3/4 for #2365, #2671] Fix exit/kill race with scheds during rust_kernel::fail

12 years ago[2/4 for #2365, #2671] Fix exit/kill race with tasks during rust_kernel::fail
Ben Blum [Fri, 20 Jul 2012 22:14:04 +0000 (18:14 -0400)]
[2/4 for #2365, #2671] Fix exit/kill race with tasks during rust_kernel::fail

12 years ago[1/4 for #2365, #2671] Fix create/kill race with schedulers and tasks during rust_ker...
Ben Blum [Fri, 20 Jul 2012 22:06:17 +0000 (18:06 -0400)]
[1/4 for #2365, #2671] Fix create/kill race with schedulers and tasks during rust_kernel::fail

12 years agoFix markup in rust.md
Tim Chevalier [Fri, 20 Jul 2012 21:31:03 +0000 (14:31 -0700)]
Fix markup in rust.md

This is so pdflatex will actually generate a .pdf without erroring.

12 years ago*Properly* ignore the hanging linked failure test
Ben Blum [Fri, 20 Jul 2012 19:45:09 +0000 (15:45 -0400)]
*Properly* ignore the hanging linked failure test

12 years agotask.rs rename supervise to linked internally
Ben Blum [Fri, 20 Jul 2012 03:08:41 +0000 (23:08 -0400)]
task.rs rename supervise to linked internally

12 years agoFix string
Tim Chevalier [Fri, 20 Jul 2012 02:10:21 +0000 (19:10 -0700)]
Fix string

12 years agoMerge pull request #2910 from gwillen/bug-2360
Tim Chevalier [Fri, 20 Jul 2012 02:01:22 +0000 (19:01 -0700)]
Merge pull request #2910 from gwillen/bug-2360

Better error when rustc fails to write output.

12 years agoEdit for style
Tim Chevalier [Fri, 20 Jul 2012 00:56:30 +0000 (17:56 -0700)]
Edit for style

12 years agoMerge remote-tracking branch 'Havvy/master' into Havvy-pull-req
Tim Chevalier [Fri, 20 Jul 2012 00:36:00 +0000 (17:36 -0700)]
Merge remote-tracking branch 'Havvy/master' into Havvy-pull-req

12 years agoAdd Jed Davis to AUTHORS
Tim Chevalier [Fri, 20 Jul 2012 00:17:22 +0000 (17:17 -0700)]
Add Jed Davis to AUTHORS

12 years agoMerge pull request #2939 from jld/randomfloat
Tim Chevalier [Fri, 20 Jul 2012 00:16:11 +0000 (17:16 -0700)]
Merge pull request #2939 from jld/randomfloat

Prevent random floats from occasionally being greater than 1.

12 years agoAdd a badge to the tutorial and reference docs indicating which Rust version they...
Paul Stansifer [Tue, 17 Jul 2012 23:15:37 +0000 (16:15 -0700)]
Add a badge to the tutorial and reference docs indicating which Rust version they pertain to.

12 years agoSwitch io::print and io::println to take slices.
Graydon Hoare [Thu, 19 Jul 2012 21:37:20 +0000 (14:37 -0700)]
Switch io::print and io::println to take slices.

12 years agoGeneralize leak suppression slightly, user reported not-real testsuite failure.
Graydon Hoare [Thu, 19 Jul 2012 21:35:30 +0000 (14:35 -0700)]
Generalize leak suppression slightly, user reported not-real testsuite failure.

12 years agoAdd bonus linked failure test, #[ignore]d
Ben Blum [Thu, 19 Jul 2012 20:44:10 +0000 (16:44 -0400)]
Add bonus linked failure test, #[ignore]d

12 years agoEven simpler attempt at solving the .dSYM mess.
Graydon Hoare [Fri, 13 Jul 2012 19:47:29 +0000 (12:47 -0700)]
Even simpler attempt at solving the .dSYM mess.

12 years agoRevert "Try less complicated trick for solving the dSYM glob portability issue."
Graydon Hoare [Fri, 13 Jul 2012 19:41:26 +0000 (12:41 -0700)]
Revert "Try less complicated trick for solving the dSYM glob portability issue."

This reverts commit 86dfca278dd5f9f589cecfe6de91ad8264c300d0.

12 years agoFix intersection of two region params in infer, cc #2962
Niko Matsakis [Thu, 19 Jul 2012 17:10:22 +0000 (10:10 -0700)]
Fix intersection of two region params in infer, cc #2962

12 years agoRevert "accept naked exprs with commas in pattern arms" due to pretty-printing failures
Patrick Walton [Thu, 19 Jul 2012 14:53:55 +0000 (07:53 -0700)]
Revert "accept naked exprs with commas in pattern arms" due to pretty-printing failures

This reverts commit f712b2d76b1077a2241916cc3269aa1d83ce3088.

In alt arms, the parser needs to do a little lookahead to determine
whether it's looking at a record literal or a block.

Also there are some indentation issues in the expected source.

12 years agotest: XFAIL some more in an effort to unbreak the tree
Patrick Walton [Thu, 19 Jul 2012 14:30:37 +0000 (07:30 -0700)]
test: XFAIL some more in an effort to unbreak the tree

12 years agotest: Change the expected error message on iface-test.rs to contain "trait" instead...
Patrick Walton [Thu, 19 Jul 2012 03:42:14 +0000 (20:42 -0700)]
test: Change the expected error message on iface-test.rs to contain "trait" instead of "interface"

12 years agotest: XFAIL issue-1466.rs due to cycle collector crashes.
Patrick Walton [Thu, 19 Jul 2012 03:39:56 +0000 (20:39 -0700)]
test: XFAIL issue-1466.rs due to cycle collector crashes.

I don't want to do this, but the tree has been in a state of chaos for days
and it's not clear what can be backed out to fix this test.

12 years agoaccept naked exprs with commas in pattern arms
Niko Matsakis [Tue, 10 Jul 2012 17:37:05 +0000 (10:37 -0700)]
accept naked exprs with commas in pattern arms

pretty printing will use them, but indentation is slightly off
if the expr is long

12 years agoLinked failure: add {un,}linked {un,}parented fail-{up,down} tests.
Ben Blum [Thu, 19 Jul 2012 01:57:29 +0000 (21:57 -0400)]
Linked failure: add {un,}linked {un,}parented fail-{up,down} tests.

12 years agoLinked failure: unidirectional failure with parented() (soon to be renamed)
Ben Blum [Thu, 19 Jul 2012 00:56:37 +0000 (20:56 -0400)]
Linked failure: unidirectional failure with parented() (soon to be renamed)

12 years agoRemove nonexistent imports
Tim Chevalier [Thu, 19 Jul 2012 01:32:12 +0000 (18:32 -0700)]
Remove nonexistent imports

12 years agorustc: Make vtable do duplicate-impl checking. Closes #2958.
Patrick Walton [Thu, 19 Jul 2012 01:09:11 +0000 (18:09 -0700)]
rustc: Make vtable do duplicate-impl checking. Closes #2958.

12 years agoIn resolve3, error on non-existent imports
Tim Chevalier [Wed, 18 Jul 2012 22:14:23 +0000 (15:14 -0700)]
In resolve3, error on non-existent imports

Closes #2937

12 years agoRemove non-existent imports
Tim Chevalier [Wed, 18 Jul 2012 22:14:15 +0000 (15:14 -0700)]
Remove non-existent imports