]>
git.lizzy.rs Git - rust.git/log
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
Brian Anderson [Tue, 26 Jun 2012 00:46:00 +0000 (17:46 -0700)]
rustc: Make 'do' work with effects the same as 'for'
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
Tim Chevalier [Mon, 25 Jun 2012 23:49:14 +0000 (16:49 -0700)]
Add class fields to the global index
Closes #2192
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.
Eric Holk [Tue, 26 Jun 2012 00:08:06 +0000 (17:08 -0700)]
vec::slice is faster now (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)
Brian Anderson [Mon, 25 Jun 2012 23:30:42 +0000 (16:30 -0700)]
rt: Fix exports
Brian Anderson [Mon, 25 Jun 2012 23:01:47 +0000 (16:01 -0700)]
rt: Remove upcall_malloc/upcall_exchange_malloc. Issue #2681
Brian Anderson [Mon, 25 Jun 2012 22:41:03 +0000 (15:41 -0700)]
build: Remove bogus -fno-strict-aliasing flags. Issue #2701
Brian Anderson [Mon, 25 Jun 2012 22:39:59 +0000 (15:39 -0700)]
rt: Remove lock_free_queue. Unused. Issue #2701
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
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
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
Brian Anderson [Mon, 25 Jun 2012 20:41:13 +0000 (13:41 -0700)]
Remove redundant 'extension' mods from numeric mods
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).
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
Tim Chevalier [Mon, 25 Jun 2012 20:41:49 +0000 (13:41 -0700)]
Merge branch 'incoming' into resource-to-class
Tim Chevalier [Mon, 25 Jun 2012 20:29:41 +0000 (13:29 -0700)]
Merge
Tim Chevalier [Mon, 25 Jun 2012 20:29:10 +0000 (13:29 -0700)]
register snapshots
Tim Chevalier [Mon, 25 Jun 2012 20:16:47 +0000 (13:16 -0700)]
Add test cases for issue 2445
Brian Anderson [Mon, 25 Jun 2012 03:18:18 +0000 (20:18 -0700)]
core: Convert declarations to not use the trailing 'unsafe' notation
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
Tim Chevalier [Mon, 25 Jun 2012 19:20:51 +0000 (12:20 -0700)]
Remove resources from a few places I missed
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
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
Eric Holk [Mon, 25 Jun 2012 18:27:32 +0000 (11:27 -0700)]
Improved perf for msgsend (Issue #2719)
Eric Holk [Mon, 25 Jun 2012 17:55:29 +0000 (10:55 -0700)]
Improved graph500 performance (Issue #2719)
Brian Anderson [Mon, 25 Jun 2012 01:01:27 +0000 (18:01 -0700)]
Make 'do' expressions accept stack closures
Brian Anderson [Mon, 25 Jun 2012 00:46:12 +0000 (17:46 -0700)]
Long lines
Brian Anderson [Mon, 25 Jun 2012 00:07:42 +0000 (17:07 -0700)]
syntax: Merge parse_for_expr, parse_do_expr
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
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
Brian Anderson [Sun, 24 Jun 2012 20:42:03 +0000 (13:42 -0700)]
Add cargo improvements to release notes
Brian Anderson [Sun, 24 Jun 2012 20:31:46 +0000 (13:31 -0700)]
Merge remote-tracking branch 'mozilla/incoming'
Graydon Hoare [Sat, 23 Jun 2012 01:19:35 +0000 (18:19 -0700)]
Remove 'implements' keyword in favour of :, part of #2301.
Graydon Hoare [Sat, 23 Jun 2012 01:08:43 +0000 (18:08 -0700)]
Start sketching 0.3 release notes.
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
Brian Anderson [Sat, 23 Jun 2012 00:33:53 +0000 (17:33 -0700)]
core: Export result extensions from the top level
Brian Anderson [Sat, 23 Jun 2012 00:32:52 +0000 (17:32 -0700)]
core: Split up result extensions by kind bounds
Lindsey Kuper [Fri, 22 Jun 2012 23:00:14 +0000 (16:00 -0700)]
Minor capitalization/punctuation fixes in error messages
Lindsey Kuper [Fri, 22 Jun 2012 22:45:47 +0000 (15:45 -0700)]
Nicer quoting in "attempted access of field" message. Issue #2358.
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.
Eric Holk [Fri, 22 Jun 2012 23:31:57 +0000 (16:31 -0700)]
Adding unshift again.
Eric Holk [Fri, 22 Jun 2012 22:35:06 +0000 (15:35 -0700)]
Adding an issue number to vec-add.rs
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)
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 []/~.
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
Tim Chevalier [Fri, 22 Jun 2012 20:11:29 +0000 (13:11 -0700)]
Remove resources from remaining test cases
Michael Sullivan [Fri, 22 Jun 2012 18:58:07 +0000 (11:58 -0700)]
Serialize out uniq vecs types
Tim Chevalier [Fri, 22 Jun 2012 18:53:25 +0000 (11:53 -0700)]
Change resources to classes in libstd and rustc
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.
Tim Chevalier [Fri, 22 Jun 2012 04:46:43 +0000 (21:46 -0700)]
[NEEDS SNAPSHOT] Port remainder of resources to classes in libcore
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
Tim Chevalier [Fri, 22 Jun 2012 04:30:16 +0000 (21:30 -0700)]
Port resources to classes in libcore
Brian Anderson [Fri, 22 Jun 2012 04:21:57 +0000 (21:21 -0700)]
Merge pull request #2706 from mozilla/incoming
Incoming
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.
Tim Chevalier [Fri, 22 Jun 2012 00:54:56 +0000 (17:54 -0700)]
Hopefully make issue 2214 test case work on Windows -- sigh
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
Tim Chevalier [Thu, 21 Jun 2012 23:58:04 +0000 (16:58 -0700)]
Add test for issue 2467
Tim Chevalier [Thu, 21 Jun 2012 23:50:45 +0000 (16:50 -0700)]
Fix linker problem in issue 2214 test case
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.
Lindsey Kuper [Thu, 21 Jun 2012 22:38:21 +0000 (15:38 -0700)]
Adding `i` suffixes so cfail tests keep failing after suffix inference
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.
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.
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.
Eric Holk [Thu, 21 Jun 2012 22:30:43 +0000 (15:30 -0700)]
xfailing vec-add.
Eric Holk [Thu, 21 Jun 2012 21:09:39 +0000 (14:09 -0700)]
Fixing illegal moves.
Eric Holk [Fri, 15 Jun 2012 21:10:36 +0000 (14:10 -0700)]
Adding a benchmark for the new message passing code
Eric Holk [Fri, 15 Jun 2012 02:32:55 +0000 (19:32 -0700)]
This was unsafe, and will probably leak.
Eric Holk [Fri, 15 Jun 2012 01:09:31 +0000 (18:09 -0700)]
Remove some warnings and make tests pass.
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.
Eric Holk [Wed, 13 Jun 2012 23:14:01 +0000 (16:14 -0700)]
Move vector addition out of trans and into libcore.
Eric Holk [Sat, 16 Jun 2012 01:16:42 +0000 (21:16 -0400)]
Remove some singleton vector appends.
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.
Eric Holk [Fri, 15 Jun 2012 21:05:16 +0000 (14:05 -0700)]
Updating errors in vec-add.rs
Eric Holk [Fri, 15 Jun 2012 05:02:50 +0000 (22:02 -0700)]
Fixed another performance issue
Eric Holk [Thu, 14 Jun 2012 18:38:45 +0000 (11:38 -0700)]
Library vecs are fast now.
Eric Holk [Wed, 13 Jun 2012 23:14:01 +0000 (16:14 -0700)]
Move vector addition out of trans and into libcore.
Eric Holk [Wed, 13 Jun 2012 20:45:12 +0000 (13:45 -0700)]
Generate a temporary for assign_ops. Issue #2581
Tim Chevalier [Thu, 21 Jun 2012 21:37:55 +0000 (14:37 -0700)]
Add and xfail test for 2101
Tim Chevalier [Thu, 21 Jun 2012 21:25:36 +0000 (14:25 -0700)]
Remove unneeded field
Tim Chevalier [Thu, 21 Jun 2012 21:25:15 +0000 (14:25 -0700)]
Remove unneeded SHAPE_VEC const
Tim Chevalier [Thu, 21 Jun 2012 21:17:54 +0000 (14:17 -0700)]
Comments only: annotate FIXMEs
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"
Tim Chevalier [Thu, 21 Jun 2012 23:02:29 +0000 (16:02 -0700)]
Add test for issue 2214
Tim Chevalier [Thu, 21 Jun 2012 20:14:50 +0000 (13:14 -0700)]
Test for issue 1896 (which appears to be fixed)
Brian Anderson [Thu, 21 Jun 2012 20:41:56 +0000 (13:41 -0700)]
core: Remove resolved FIXME around port destruction
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.
Lindsey Kuper [Thu, 21 Jun 2012 01:51:08 +0000 (18:51 -0700)]
Consolidate "make sure types are the same" fns. Issue #2644.
Michael Sullivan [Thu, 21 Jun 2012 17:47:27 +0000 (10:47 -0700)]
Rename upcall_malloc_dyn to just upcall_malloc.
Niko Matsakis [Thu, 21 Jun 2012 17:15:08 +0000 (10:15 -0700)]
unxfail test for #2657
Niko Matsakis [Thu, 21 Jun 2012 16:41:33 +0000 (09:41 -0700)]
Issue #2657: track mutability of bindings, also prevent move from bindings
Tim Chevalier [Thu, 21 Jun 2012 15:59:17 +0000 (08:59 -0700)]
Comment only: annotate FIXME
Tim Chevalier [Thu, 21 Jun 2012 15:51:26 +0000 (08:51 -0700)]
Comments only: annotate FIXMEs in cargo
Tim Chevalier [Thu, 21 Jun 2012 15:47:48 +0000 (08:47 -0700)]
Merge remote-tracking branch 'mozilla/incoming' into incoming
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.
Tim Chevalier [Thu, 21 Jun 2012 04:42:36 +0000 (21:42 -0700)]
Fix typo in Windows snapshot hash
Tim Chevalier [Thu, 21 Jun 2012 04:25:39 +0000 (21:25 -0700)]
Apparently an extra space in the snapshot file breaks Windows completely?
Tim Chevalier [Thu, 21 Jun 2012 02:23:02 +0000 (19:23 -0700)]
Register snapshots