Roy Frostig
|
5b6e714d05
|
Expose an RNG (the one used by our runtime) to Rust via std.
|
2010-07-25 21:45:09 -07:00 |
|
Graydon Hoare
|
44e2dc2789
|
Improve mutability checking. Closes #118.
|
2010-07-23 15:29:17 -07:00 |
|
Graydon Hoare
|
fe82978980
|
Modify testcase to match new syntax and un-XFAIL mutable-vec-drop.rs.
|
2010-07-23 12:32:12 -07:00 |
|
Graydon Hoare
|
b5e46ac2a0
|
Two more testcases for overwriting already-live box-like fields in structures, without leaking.
|
2010-07-23 12:22:31 -07:00 |
|
Roy Frostig
|
1730d2e037
|
Notify copy glue of dst-initialization and fix _vec.alloc issues in lib and runtime. Closes #109.
|
2010-07-22 17:47:32 -07:00 |
|
Graydon Hoare
|
ede42cf931
|
A certain incomplete quantity of wrestling with "INIT" statements that don't actually initialize. Should probably rename them to MAKE. Anyway, WIP, but two steps forward (and one back). More later.
|
2010-07-22 17:05:45 -07:00 |
|
Graydon Hoare
|
0f220ecae9
|
Beat up on the preempt test a bit more, as it keeps hanging under valgrind.
|
2010-07-22 15:05:35 -07:00 |
|
Roy Frostig
|
3708865906
|
Re-introduce bits of vec-lib test that blocked on now-fixed issue #108.
|
2010-07-22 12:49:11 -07:00 |
|
Graydon Hoare
|
eaa35611dc
|
Add XFAIL'ed test for return-in-iter, call unimpl when we find it. Closes #100.
|
2010-07-22 12:24:55 -07:00 |
|
Graydon Hoare
|
c96634af4b
|
Fix mem op= mem bug in trans.ml (via not terribly good fix). Closes #111.
|
2010-07-22 12:11:39 -07:00 |
|
Roy Frostig
|
c69ec53dc5
|
Remove explicit deref workaround in dtor-order test. No longer necessary.
|
2010-07-20 09:15:23 -07:00 |
|
Roy Frostig
|
ae515c017c
|
ctxt_auto_deref_lval decides whether to autoderef the entire lval, not its base.
|
2010-07-19 19:06:55 -07:00 |
|
Roy Frostig
|
fde9ca0937
|
Autoderef objects when passing them as implicit (indirect) arg upon vtbl-dispatch. Add testcase and XFAIL it on LLVM. Closes #112.
|
2010-07-19 18:25:26 -07:00 |
|
Michael Bebenita
|
c80483d582
|
Fixed circular buffer resizing bug.
|
2010-07-19 17:33:50 -07:00 |
|
Michael Bebenita
|
00d1465d13
|
Added a message passing system based on lock free queues for inter-thread communication. Channels now buffer on the sending side, and no longer require blocking when sending. Lots of other refactoring and bug fixes.
|
2010-07-19 14:05:18 -07:00 |
|
Jeffrey Yasskin
|
c3c425e9f1
|
Work around auto-dereference crash in rustboot.
|
2010-07-18 14:25:18 +08:00 |
|
Patrick Walton
|
1ac01e16cf
|
Ensure that functions that should return a value do; issue 41
|
2010-07-16 15:34:25 -07:00 |
|
Patrick Walton
|
8b00ab1a48
|
Feed the correct return type to the typechecker when typechecking objects, and add a testcase.
|
2010-07-16 14:54:47 -07:00 |
|
Graydon Hoare
|
de8a7dc7dc
|
Merge branch 'contrib'
|
2010-07-15 23:58:13 -07:00 |
|
Jason Orendorff
|
7671828d45
|
Support nested for-each loops. Closes #79.
|
2010-07-16 14:53:49 +08:00 |
|
Graydon Hoare
|
f300ca4ed7
|
XFAIL the new destructor tests; collided with new typechecker; add test for issue #109.
|
2010-07-15 18:57:21 -07:00 |
|
Patrick Walton
|
c96f0bf738
|
Implement the "simple typechecker", which avoids HM inference
|
2010-07-15 18:27:09 -07:00 |
|
Jeffrey Yasskin
|
b3ca7522bb
|
More destruction ordering tests.
|
2010-07-16 08:13:08 +08:00 |
|
Jeffrey Yasskin
|
7dd464fdb5
|
Initial test that the compiler runs destructors in the right order.
|
2010-07-16 08:13:08 +08:00 |
|
Jeffrey Yasskin
|
765a2b3ecf
|
Add a _vec.slice function that'll hold us over until .(a,b) syntax is
implemented. This could actually replace .(a,b) syntax if the language grows
optional function parameters.
|
2010-07-16 08:13:08 +08:00 |
|
Jeffrey Yasskin
|
c866672a99
|
Add a test for std._vec.init_elt, and an XFAILed test for std._vec.init_fn.
|
2010-07-16 08:13:08 +08:00 |
|
Graydon Hoare
|
c218d06601
|
Merge branch 'contrib'
|
2010-07-15 16:49:02 -07:00 |
|
Adam Bozanich
|
b096b0e308
|
permit use before import. closes #48
|
2010-07-16 07:19:14 +08:00 |
|
Patrick Walton
|
0b675a021a
|
Make mutability no longer a type constructor
|
2010-07-15 15:20:04 -07:00 |
|
Graydon Hoare
|
2eba370aa2
|
Fix the next typo in mlist-cycle.rs; still doesn't work.
|
2010-07-13 14:27:23 -07:00 |
|
Graydon Hoare
|
b3cf793bd9
|
Fix post-stmt drop calculations. Closes #106.
|
2010-07-11 22:31:56 -07:00 |
|
Matt Brubeck
|
244ea68082
|
Issue 66: Multi-line comments
|
2010-07-08 22:43:15 +08:00 |
|
Graydon Hoare
|
115e14a32c
|
Some more typestate tests.
|
2010-07-08 07:33:25 -07:00 |
|
Graydon Hoare
|
3175c83ff0
|
Un-XFAIL mutable-alias-vec.rs. Was only failing due to a typo, but a more thorough test revealed more bugs.
|
2010-07-05 14:43:02 -07:00 |
|
Graydon Hoare
|
f360d222c8
|
Uint-ify various bits of _str and _vec, enrich _vec a bit.
|
2010-07-05 14:42:12 -07:00 |
|
Graydon Hoare
|
6014384a5d
|
Log completion on the many.rs test.
|
2010-07-04 22:41:57 -07:00 |
|
Graydon Hoare
|
8660ce50a1
|
Merge branch 'master' of git@github.com:graydon/rust into exterior_and_mutable_types
|
2010-07-02 16:27:39 -07:00 |
|
Graydon Hoare
|
4d00333b1e
|
New test of explicit deref operator.
|
2010-07-02 12:55:12 -07:00 |
|
Graydon Hoare
|
74775eff7e
|
Box the args entering the vec-drop test.
|
2010-07-02 12:32:28 -07:00 |
|
Graydon Hoare
|
60c6ae3ad5
|
Box arguments that are supposed to be boxed.
|
2010-07-01 23:50:58 -07:00 |
|
Graydon Hoare
|
f72774db7a
|
Correct existing reliance on auto-box / unbox behavior in tests.
|
2010-07-01 18:37:30 -07:00 |
|
Graydon Hoare
|
792d96474e
|
Box the integer passed to the handle in obj-drop.rs. No more implicit arg-boxing.
|
2010-07-01 18:04:21 -07:00 |
|
Graydon Hoare
|
6a0b06e562
|
Rename 'exterior' to 'box' and 'interior' to 'local' (at least wrt. slots; keep MEM_interior for describing interior-parts-of-allocations)
|
2010-06-30 22:45:54 -07:00 |
|
Graydon Hoare
|
8b8186db87
|
No more "transplant" behavior in "let @x = y", gotta box explicitly.
|
2010-06-30 21:17:45 -07:00 |
|
Graydon Hoare
|
8e4a10790f
|
rewrite 'mutable &' as '& mutable', corresponding to grammar shift.
|
2010-06-30 02:30:17 -07:00 |
|
Roy Frostig
|
e692ccfb0c
|
Add (XFAILed) testcase for typechecker issue where fns-in-mods appear to lose their type parameters over the course of the typechecking pass.
|
2010-06-29 16:13:26 -07:00 |
|
Roy Frostig
|
0d6aaec493
|
Work-around and un-XFAIL generic-obj.rs test. The problem uncovered in the original XFAIL is more generally that of issue #92.
|
2010-06-29 00:48:49 -07:00 |
|
Roy Frostig
|
d5ff6e133c
|
Add to generic-obj.rs testcase a method that takes an argument of the object type-param type. XFAIL the test since it no longer passes.
|
2010-06-28 21:45:48 -07:00 |
|
Roy Frostig
|
5b5b334c24
|
Testcase (XFAILed) for fn item given as lval.
|
2010-06-28 21:18:09 -07:00 |
|
Roy Frostig
|
a27cbd4ee8
|
Testcase (XFAILed) for mutable alias vec weirdness.
|
2010-06-28 16:36:24 -07:00 |
|
Graydon Hoare
|
7ea416f4c3
|
Add callable gc method exposed to user code, use it in mlist-cycle.rs test (still not quite working; some memory corruption in the recursive tag constructors, not the GC)
|
2010-06-25 23:57:30 -07:00 |
|
Graydon Hoare
|
c06ea8f944
|
Add test of recursive object types (ha, work by default) and fix effect-walker bug revealed by it.
|
2010-06-25 12:15:40 -07:00 |
|
Roy Frostig
|
85a701c8f6
|
Add testcases for item name conflict at the same path level.
|
2010-06-25 01:26:44 -07:00 |
|
Roy Frostig
|
241305caab
|
Resolve and typecheck patterns in pattern alt redux. This time featuring way more correctness.
|
2010-06-25 00:47:23 -07:00 |
|
Graydon Hoare
|
1c60be2f32
|
Fix bad output-slot logic in tag constructors.
|
2010-06-24 18:25:10 -07:00 |
|
Graydon Hoare
|
24d5ff75c3
|
Fix output-slot handling for real. It's been broken for a long time.
|
2010-06-24 16:19:55 -07:00 |
|
Graydon Hoare
|
af44ec2856
|
Issue 24, drop output slot when not initializing. Un-XFAIL generic-tag.rs. Add test for output slot modes with several broken cases.
|
2010-06-24 13:32:59 -07:00 |
|
Graydon Hoare
|
0364a801bb
|
Clean up trans_alt_tag to use slots, not assume interior words. Also remove record-based destructuring (hard on eyes). Add execution parts to generic-tag-alt.rs and un-XFAIL it.
|
2010-06-24 11:15:22 -07:00 |
|
Graydon Hoare
|
935442babc
|
Fix hg dependency in testsuite.
|
2010-06-24 08:44:14 -07:00 |
|
Roy Frostig
|
bc286c7f2c
|
Resolve and typecheck patterns in pattern alt.
|
2010-06-24 08:13:32 -07:00 |
|
Graydon Hoare
|
d6b7c96c3e
|
Populate tree.
|
2010-06-23 21:03:09 -07:00 |
|