]> git.lizzy.rs Git - rust.git/log
rust.git
12 years agoMerge pull request #2722 from bstrie/py2
Brian Anderson [Tue, 26 Jun 2012 00:54:52 +0000 (17:54 -0700)]
Merge pull request #2722 from bstrie/py2

Fail to configure without an LLVM-friendly Python

12 years agorustc: Make 'do' work with effects the same as 'for'
Brian Anderson [Tue, 26 Jun 2012 00:46:00 +0000 (17:46 -0700)]
rustc: Make 'do' work with effects the same as 'for'

12 years agoRemove test case that doesn't work on its own
Tim Chevalier [Tue, 26 Jun 2012 00:26:26 +0000 (17:26 -0700)]
Remove test case that doesn't work on its own

I don't actually know how to test --ls

12 years agoAdd class fields to the global index
Tim Chevalier [Mon, 25 Jun 2012 23:49:14 +0000 (16:49 -0700)]
Add class fields to the global index

Closes #2192

12 years agoFail to configure without an LLVM-friendly Python
Ben Striegel [Tue, 26 Jun 2012 00:18:09 +0000 (20:18 -0400)]
Fail to configure without an LLVM-friendly Python

This addresses issue #2720. According to LLVM's documentation, it requires a
version of Python between 2.4 and 2.7. Without the proper version, LLVM fails
to build with cryptic errors. Prior to this commit, the configure script
checked for the `python` command in the environment, but didn't actually check
the version, which can cause problems e.g. on Linux distros where the default
is Python 3. Now the configure script always prefers to select a more specific
version of Python when available, in the order `python2.7` > `python2.6` >
`python2` > `python`, and will always check to ensure that the interpreter's
version is in the correct range.

12 years agovec::slice is faster now (Issue #2719)
Eric Holk [Tue, 26 Jun 2012 00:08:06 +0000 (17:08 -0700)]
vec::slice is faster now (Issue #2719)

12 years agoSome perf fixes, although vec::slice is still too slow (Issue #2719)
Eric Holk [Mon, 25 Jun 2012 23:22:22 +0000 (16:22 -0700)]
Some perf fixes, although vec::slice is still too slow (Issue #2719)

12 years agort: Fix exports
Brian Anderson [Mon, 25 Jun 2012 23:30:42 +0000 (16:30 -0700)]
rt: Fix exports

12 years agort: Remove upcall_malloc/upcall_exchange_malloc. Issue #2681
Brian Anderson [Mon, 25 Jun 2012 23:01:47 +0000 (16:01 -0700)]
rt: Remove upcall_malloc/upcall_exchange_malloc. Issue #2681

12 years agobuild: Remove bogus -fno-strict-aliasing flags. Issue #2701
Brian Anderson [Mon, 25 Jun 2012 22:41:03 +0000 (15:41 -0700)]
build: Remove bogus -fno-strict-aliasing flags. Issue #2701

12 years agort: Remove lock_free_queue. Unused. Issue #2701
Brian Anderson [Mon, 25 Jun 2012 22:39:59 +0000 (15:39 -0700)]
rt: Remove lock_free_queue. Unused. Issue #2701

12 years agotest: Remove the import-glob-circular test since the name resolution semantics it...
Patrick Walton [Mon, 25 Jun 2012 22:30:38 +0000 (15:30 -0700)]
test: Remove the import-glob-circular test since the name resolution semantics it depends on are probably undecidable

12 years agotest: Swap the order of two imports in import7 to eliminate another cycle
Patrick Walton [Mon, 25 Jun 2012 22:14:28 +0000 (15:14 -0700)]
test: Swap the order of two imports in import7 to eliminate another cycle

12 years agotest: Swap the order of two imports in import6 to eliminate a cycle
Patrick Walton [Mon, 25 Jun 2012 21:57:25 +0000 (14:57 -0700)]
test: Swap the order of two imports in import6 to eliminate a cycle

12 years agoRemove redundant 'extension' mods from numeric mods
Brian Anderson [Mon, 25 Jun 2012 20:41:13 +0000 (13:41 -0700)]
Remove redundant 'extension' mods from numeric mods

12 years agoAutomatically export methods on core numeric types
Ben Striegel [Sun, 24 Jun 2012 04:05:52 +0000 (00:05 -0400)]
Automatically export methods on core numeric types

Each numeric type now contains an extensions module that is automatically
exported. At the moment each extensions module contains only the impl for the
`num::num` iface. Other impls soon to follow (hopefully).

12 years agoIn RELEASES.txt, elaborate on classes changes
Tim Chevalier [Mon, 25 Jun 2012 21:00:33 +0000 (14:00 -0700)]
In RELEASES.txt, elaborate on classes changes

and mention *-patterns and the removal of resources

12 years agoMerge branch 'incoming' into resource-to-class
Tim Chevalier [Mon, 25 Jun 2012 20:41:49 +0000 (13:41 -0700)]
Merge branch 'incoming' into resource-to-class

12 years agoMerge
Tim Chevalier [Mon, 25 Jun 2012 20:29:41 +0000 (13:29 -0700)]
Merge

12 years agoregister snapshots
Tim Chevalier [Mon, 25 Jun 2012 20:29:10 +0000 (13:29 -0700)]
register snapshots

12 years agoAdd test cases for issue 2445
Tim Chevalier [Mon, 25 Jun 2012 20:16:47 +0000 (13:16 -0700)]
Add test cases for issue 2445

12 years agocore: Convert declarations to not use the trailing 'unsafe' notation
Brian Anderson [Mon, 25 Jun 2012 03:18:18 +0000 (20:18 -0700)]
core: Convert declarations to not use the trailing 'unsafe' notation

12 years agoTest case for issue 2718
Tim Chevalier [Mon, 25 Jun 2012 19:21:01 +0000 (12:21 -0700)]
Test case for issue 2718

This was already fixed by the time I read the issue, but more test
cases are always good.

Closes #2718

12 years agoRemove resources from a few places I missed
Tim Chevalier [Mon, 25 Jun 2012 19:20:51 +0000 (12:20 -0700)]
Remove resources from a few places I missed

12 years agoFinish compare glue for classes
Tim Chevalier [Mon, 25 Jun 2012 19:20:10 +0000 (12:20 -0700)]
Finish compare glue for classes

This tests == and !=. I don't know what <, >, etc. should do.
Closes #2601

12 years agoIn doc reference, don't mention references, and stub out a section for classes
Tim Chevalier [Mon, 25 Jun 2012 19:16:33 +0000 (12:16 -0700)]
In doc reference, don't mention references, and stub out a section for classes

12 years agoImproved perf for msgsend (Issue #2719)
Eric Holk [Mon, 25 Jun 2012 18:27:32 +0000 (11:27 -0700)]
Improved perf for msgsend (Issue #2719)

12 years agoImproved graph500 performance (Issue #2719)
Eric Holk [Mon, 25 Jun 2012 17:55:29 +0000 (10:55 -0700)]
Improved graph500 performance (Issue #2719)

12 years agoMake 'do' expressions accept stack closures
Brian Anderson [Mon, 25 Jun 2012 01:01:27 +0000 (18:01 -0700)]
Make 'do' expressions accept stack closures

12 years agoLong lines
Brian Anderson [Mon, 25 Jun 2012 00:46:12 +0000 (17:46 -0700)]
Long lines

12 years agosyntax: Merge parse_for_expr, parse_do_expr
Brian Anderson [Mon, 25 Jun 2012 00:07:42 +0000 (17:07 -0700)]
syntax: Merge parse_for_expr, parse_do_expr

12 years agoMore test cases for classes with dtors
Tim Chevalier [Sun, 24 Jun 2012 22:11:25 +0000 (15:11 -0700)]
More test cases for classes with dtors

Tests that classes with dtors and multiple fields work correctly.
Closes #2708

12 years agoRemove resources
Tim Chevalier [Sun, 24 Jun 2012 22:09:57 +0000 (15:09 -0700)]
Remove resources

Also fixed shapes for classes with dtors, as well as handling
offsets for classes with dtors correctly in take glue.

Closes #2485

12 years agoAdd cargo improvements to release notes
Brian Anderson [Sun, 24 Jun 2012 20:42:03 +0000 (13:42 -0700)]
Add cargo improvements to release notes

12 years agoMerge remote-tracking branch 'mozilla/incoming'
Brian Anderson [Sun, 24 Jun 2012 20:31:46 +0000 (13:31 -0700)]
Merge remote-tracking branch 'mozilla/incoming'

12 years agoRemove 'implements' keyword in favour of :, part of #2301.
Graydon Hoare [Sat, 23 Jun 2012 01:19:35 +0000 (18:19 -0700)]
Remove 'implements' keyword in favour of :, part of #2301.

12 years agoStart sketching 0.3 release notes.
Graydon Hoare [Sat, 23 Jun 2012 01:08:43 +0000 (18:08 -0700)]
Start sketching 0.3 release notes.

12 years agocore: Name is_failure to is_err, is_success to is_ok
Brian Anderson [Sat, 23 Jun 2012 01:26:25 +0000 (18:26 -0700)]
core: Name is_failure to is_err, is_success to is_ok

12 years agocore: Export result extensions from the top level
Brian Anderson [Sat, 23 Jun 2012 00:33:53 +0000 (17:33 -0700)]
core: Export result extensions from the top level

12 years agocore: Split up result extensions by kind bounds
Brian Anderson [Sat, 23 Jun 2012 00:32:52 +0000 (17:32 -0700)]
core: Split up result extensions by kind bounds

12 years agoMinor capitalization/punctuation fixes in error messages
Lindsey Kuper [Fri, 22 Jun 2012 23:00:14 +0000 (16:00 -0700)]
Minor capitalization/punctuation fixes in error messages

12 years agoNicer quoting in "attempted access of field" message. Issue #2358.
Lindsey Kuper [Fri, 22 Jun 2012 22:45:47 +0000 (15:45 -0700)]
Nicer quoting in "attempted access of field" message.  Issue #2358.

12 years agoDon't need a span on "main function not found" error. Issue #2707.
Lindsey Kuper [Fri, 22 Jun 2012 22:33:29 +0000 (15:33 -0700)]
Don't need a span on "main function not found" error.  Issue #2707.

12 years agoAdding unshift again.
Eric Holk [Fri, 22 Jun 2012 23:31:57 +0000 (16:31 -0700)]
Adding unshift again.

12 years agoAdding an issue number to vec-add.rs
Eric Holk [Fri, 22 Jun 2012 22:35:06 +0000 (15:35 -0700)]
Adding an issue number to vec-add.rs

12 years agoUse must_have_lock instead of private functions. (Issue #2700)
Eric Holk [Fri, 22 Jun 2012 20:07:07 +0000 (13:07 -0700)]
Use must_have_lock instead of private functions. (Issue #2700)

I hereby declare that messages sent from the same source arrive in order (Issue #2605)

Removing FIXME, owned is the correct type here. (Issue #2704)

Remove outdated FIXME (Issue #2703)

Updating test for spawning native functions (Issue #2602)

Removing bogus FIXME (Issue #2599)

12 years agoHack to make [] and []/~ the same type in preparation for switching to []/~.
Michael Sullivan [Fri, 22 Jun 2012 22:11:34 +0000 (15:11 -0700)]
Hack to make [] and []/~ the same type in preparation for switching to []/~.

12 years agoRemove section on resources from tutorial; add a todo to cover classes
Tim Chevalier [Fri, 22 Jun 2012 20:11:55 +0000 (13:11 -0700)]
Remove section on resources from tutorial; add a todo to cover classes

12 years agoRemove resources from remaining test cases
Tim Chevalier [Fri, 22 Jun 2012 20:11:29 +0000 (13:11 -0700)]
Remove resources from remaining test cases

12 years agoSerialize out uniq vecs types
Michael Sullivan [Fri, 22 Jun 2012 18:58:07 +0000 (11:58 -0700)]
Serialize out uniq vecs types

12 years agoChange resources to classes in libstd and rustc
Tim Chevalier [Fri, 22 Jun 2012 18:53:25 +0000 (11:53 -0700)]
Change resources to classes in libstd and rustc

12 years agoMake the implicit copyability of []/~ configurable, like [] is, since we will be...
Michael Sullivan [Fri, 22 Jun 2012 18:23:54 +0000 (11:23 -0700)]
Make the implicit copyability of []/~ configurable, like [] is, since we will be switching sooner rather than later.

12 years ago[NEEDS SNAPSHOT] Port remainder of resources to classes in libcore
Tim Chevalier [Fri, 22 Jun 2012 04:46:43 +0000 (21:46 -0700)]
[NEEDS SNAPSHOT] Port remainder of resources to classes in libcore

12 years agoIn reachability, traverse all classes that have dtors
Tim Chevalier [Fri, 22 Jun 2012 04:46:12 +0000 (21:46 -0700)]
In reachability, traverse all classes that have dtors

since dtors always have external linkage

12 years agoPort resources to classes in libcore
Tim Chevalier [Fri, 22 Jun 2012 04:30:16 +0000 (21:30 -0700)]
Port resources to classes in libcore

12 years agoMerge pull request #2706 from mozilla/incoming
Brian Anderson [Fri, 22 Jun 2012 04:21:57 +0000 (21:21 -0700)]
Merge pull request #2706 from mozilla/incoming

Incoming

12 years agoAdd test cases
Tim Chevalier [Fri, 22 Jun 2012 02:58:52 +0000 (19:58 -0700)]
Add test cases

issue-912 is xfailed. issue-2111 is already fixed, but it's good to
have the test case.

12 years agoHopefully make issue 2214 test case work on Windows -- sigh
Tim Chevalier [Fri, 22 Jun 2012 00:54:56 +0000 (17:54 -0700)]
Hopefully make issue 2214 test case work on Windows -- sigh

12 years agoMake liveness print out a proper error message for moves out of a self field
Tim Chevalier [Fri, 22 Jun 2012 00:41:40 +0000 (17:41 -0700)]
Make liveness print out a proper error message for moves out of a self field

This was a call to span_bug() before. I'm not sure about the other cases,
but the test case shows that the `vk_self` case can certainly arise with
a bad program, so it should be a span_err() thing and not a span_bug() thing.

Closes #2590

12 years agoAdd test for issue 2467
Tim Chevalier [Thu, 21 Jun 2012 23:58:04 +0000 (16:58 -0700)]
Add test for issue 2467

12 years agoFix linker problem in issue 2214 test case
Tim Chevalier [Thu, 21 Jun 2012 23:50:45 +0000 (16:50 -0700)]
Fix linker problem in issue 2214 test case

12 years agoTag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.
Graydon Hoare [Thu, 21 Jun 2012 23:44:10 +0000 (16:44 -0700)]
Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.

12 years agoAdding `i` suffixes so cfail tests keep failing after suffix inference
Lindsey Kuper [Thu, 21 Jun 2012 22:38:21 +0000 (15:38 -0700)]
Adding `i` suffixes so cfail tests keep failing after suffix inference

12 years agoAdd tests to exercise the "pattern has N field(s), but" error patterns.
Lindsey Kuper [Thu, 21 Jun 2012 22:02:43 +0000 (15:02 -0700)]
Add tests to exercise the "pattern has N field(s), but" error patterns.

12 years agoChange the level of forcing in structurally_resolved_type().
Lindsey Kuper [Thu, 21 Jun 2012 20:25:25 +0000 (13:25 -0700)]
Change the level of forcing in structurally_resolved_type().

A cleaner way to handle suffix inference for unary minus exprs.

12 years agoRevert "Add test for issue 2214"
Tim Chevalier [Thu, 21 Jun 2012 23:17:08 +0000 (16:17 -0700)]
Revert "Add test for issue 2214"

This reverts commit 290206b17890a76f96979ad629203d965ff35d1c.

Forgot to add the actual native code, temporarily reverting.

12 years agoxfailing vec-add.
Eric Holk [Thu, 21 Jun 2012 22:30:43 +0000 (15:30 -0700)]
xfailing vec-add.

12 years agoFixing illegal moves.
Eric Holk [Thu, 21 Jun 2012 21:09:39 +0000 (14:09 -0700)]
Fixing illegal moves.

12 years agoAdding a benchmark for the new message passing code
Eric Holk [Fri, 15 Jun 2012 21:10:36 +0000 (14:10 -0700)]
Adding a benchmark for the new message passing code

12 years agoThis was unsafe, and will probably leak.
Eric Holk [Fri, 15 Jun 2012 02:32:55 +0000 (19:32 -0700)]
This was unsafe, and will probably leak.

12 years agoRemove some warnings and make tests pass.
Eric Holk [Fri, 15 Jun 2012 01:09:31 +0000 (18:09 -0700)]
Remove some warnings and make tests pass.

12 years agoBasic functionality for new ports and chans
Eric Holk [Thu, 7 Jun 2012 19:18:34 +0000 (12:18 -0700)]
Basic functionality for new ports and chans

The first benchmark shows about twice the throughput of the old system.

12 years agoMove vector addition out of trans and into libcore.
Eric Holk [Wed, 13 Jun 2012 23:14:01 +0000 (16:14 -0700)]
Move vector addition out of trans and into libcore.

12 years agoRemove some singleton vector appends.
Eric Holk [Sat, 16 Jun 2012 01:16:42 +0000 (21:16 -0400)]
Remove some singleton vector appends.

12 years agoRemove some commented out code so the pretty printer doesn't get confused.
Eric Holk [Sat, 16 Jun 2012 00:13:45 +0000 (20:13 -0400)]
Remove some commented out code so the pretty printer doesn't get confused.

12 years agoUpdating errors in vec-add.rs
Eric Holk [Fri, 15 Jun 2012 21:05:16 +0000 (14:05 -0700)]
Updating errors in vec-add.rs

12 years agoFixed another performance issue
Eric Holk [Fri, 15 Jun 2012 05:02:50 +0000 (22:02 -0700)]
Fixed another performance issue

12 years agoLibrary vecs are fast now.
Eric Holk [Thu, 14 Jun 2012 18:38:45 +0000 (11:38 -0700)]
Library vecs are fast now.

12 years agoMove vector addition out of trans and into libcore.
Eric Holk [Wed, 13 Jun 2012 23:14:01 +0000 (16:14 -0700)]
Move vector addition out of trans and into libcore.

12 years agoGenerate a temporary for assign_ops. Issue #2581
Eric Holk [Wed, 13 Jun 2012 20:45:12 +0000 (13:45 -0700)]
Generate a temporary for assign_ops. Issue #2581

12 years agoAdd and xfail test for 2101
Tim Chevalier [Thu, 21 Jun 2012 21:37:55 +0000 (14:37 -0700)]
Add and xfail test for 2101

12 years agoRemove unneeded field
Tim Chevalier [Thu, 21 Jun 2012 21:25:36 +0000 (14:25 -0700)]
Remove unneeded field

12 years agoRemove unneeded SHAPE_VEC const
Tim Chevalier [Thu, 21 Jun 2012 21:25:15 +0000 (14:25 -0700)]
Remove unneeded SHAPE_VEC const

12 years agoComments only: annotate FIXMEs
Tim Chevalier [Thu, 21 Jun 2012 21:17:54 +0000 (14:17 -0700)]
Comments only: annotate FIXMEs

12 years agoTry removing code marked with "I don't think this is necessary"
Tim Chevalier [Thu, 21 Jun 2012 21:12:18 +0000 (14:12 -0700)]
Try removing code marked with "I don't think this is necessary"

12 years agoAdd test for issue 2214
Tim Chevalier [Thu, 21 Jun 2012 23:02:29 +0000 (16:02 -0700)]
Add test for issue 2214

12 years agoTest for issue 1896 (which appears to be fixed)
Tim Chevalier [Thu, 21 Jun 2012 20:14:50 +0000 (13:14 -0700)]
Test for issue 1896 (which appears to be fixed)

12 years agocore: Remove resolved FIXME around port destruction
Brian Anderson [Thu, 21 Jun 2012 20:41:56 +0000 (13:41 -0700)]
core: Remove resolved FIXME around port destruction

12 years agoA test to exercise suffix inference for unary minus a little more.
Lindsey Kuper [Thu, 21 Jun 2012 19:08:10 +0000 (12:08 -0700)]
A test to exercise suffix inference for unary minus a little more.

12 years agoConsolidate "make sure types are the same" fns. Issue #2644.
Lindsey Kuper [Thu, 21 Jun 2012 01:51:08 +0000 (18:51 -0700)]
Consolidate "make sure types are the same" fns.  Issue #2644.

12 years agoRename upcall_malloc_dyn to just upcall_malloc.
Michael Sullivan [Thu, 21 Jun 2012 17:47:27 +0000 (10:47 -0700)]
Rename upcall_malloc_dyn to just upcall_malloc.

12 years agounxfail test for #2657
Niko Matsakis [Thu, 21 Jun 2012 17:15:08 +0000 (10:15 -0700)]
unxfail test for #2657

12 years agoIssue #2657: track mutability of bindings, also prevent move from bindings
Niko Matsakis [Thu, 21 Jun 2012 16:41:33 +0000 (09:41 -0700)]
Issue #2657: track mutability of bindings, also prevent move from bindings

12 years agoComment only: annotate FIXME
Tim Chevalier [Thu, 21 Jun 2012 15:59:17 +0000 (08:59 -0700)]
Comment only: annotate FIXME

12 years agoComments only: annotate FIXMEs in cargo
Tim Chevalier [Thu, 21 Jun 2012 15:51:26 +0000 (08:51 -0700)]
Comments only: annotate FIXMEs in cargo

12 years agoMerge remote-tracking branch 'mozilla/incoming' into incoming
Tim Chevalier [Thu, 21 Jun 2012 15:47:48 +0000 (08:47 -0700)]
Merge remote-tracking branch 'mozilla/incoming' into incoming

12 years agohandle moves in let initializers and allow moves from unsafe ptrs
Niko Matsakis [Thu, 21 Jun 2012 03:08:25 +0000 (20:08 -0700)]
handle moves in let initializers and allow moves from unsafe ptrs

Related to issue #2657, but this is not a complete fix.

12 years agoFix typo in Windows snapshot hash
Tim Chevalier [Thu, 21 Jun 2012 04:42:36 +0000 (21:42 -0700)]
Fix typo in Windows snapshot hash

12 years agoApparently an extra space in the snapshot file breaks Windows completely?
Tim Chevalier [Thu, 21 Jun 2012 04:25:39 +0000 (21:25 -0700)]
Apparently an extra space in the snapshot file breaks Windows completely?

12 years agoRegister snapshots
Tim Chevalier [Thu, 21 Jun 2012 02:23:02 +0000 (19:23 -0700)]
Register snapshots