about summary refs log tree commit diff
path: root/src/test
AgeCommit message (Collapse)AuthorLines
2010-10-22Change vec slice to use uint, add push/pop/shift/unshift.Graydon Hoare-14/+14
2010-10-21line length police; moved comp.util.bits to std.bitvDave Herman-0/+297
2010-10-14Typecheck tags in "alt" patternsPatrick Walton-0/+24
2010-10-14Fix crasher in rustc.Graydon Hoare-0/+5
2010-10-13Fetch typarams from the outermost item frame, when inside an iter-block. One ↵Graydon Hoare-0/+16
less crash in rustc.
2010-10-10Teach bind to actually bind typarams, as it claims to.Graydon Hoare-0/+8
2010-10-01Sketch out #fmt syntax extension in rustboot.Graydon Hoare-0/+5
2010-09-30Fix bug in bind thunks failing top drop unbound args; add test and adjust ↵Graydon Hoare-0/+8
rustc to use bind again.
2010-09-30Drop slots on block exits even when blocks have no statements. Part way to ↵Graydon Hoare-0/+11
fixing bind leakage in rustc.
2010-09-30Initial check-in of 99 Bottles Of BeerPeter Hull-0/+269
using different methods (simple, iterator, tail-call, pattern match)
2010-09-30implemented break for while-loop caseOr Brostovski-0/+15
ast.ml - added break and cont statements item.ml - added break and cont statements lexer.mll - added break and cont statements token.ml - added break and cont statements trans.ml - implemented the break statement for the while-loop case - replaced hash table accesses with get_stmt_depth where needed type.ml = added break and cont statements typestate.ml - implemented the break statement for the while-loop case - added shorthand filter_live_block_slots walk.ml - added break and cont statements while-with-break.rs - code for testing while loops
2010-09-30Closed issue 154 - prevents compiler from compiliing a line to zero statementsOr Brostovski-0/+7
2010-09-22Add some basic string functions: index, rindes, find, substr, split, concat, ↵Graydon Hoare-0/+84
connect.
2010-09-22Fix linear for loops on strings to not hit trailing null.Graydon Hoare-4/+1
2010-09-21Implement preliminary form of structured compare. No boxes, vectors or ↵Graydon Hoare-0/+20
strings yet.
2010-09-20Bind pattern slots with ?, drop parens from 0-ary tag constructors, ↵Graydon Hoare-38/+40
translate 0-ary constructors as constants. Rustc loses ~300kb.
2010-09-20Add issue #163 testcase to str-append testcase.Roy Frostig-1/+23
2010-09-16Check for infinitely sized tags. Un-XFAIL ↵Patrick Walton-2/+5
test/compile-fail/infinite-tag-type-recursion.rs.
2010-09-15Add Peter Hull's contributed translation of the fasta shootout benchmark ↵Graydon Hoare-1/+131
(integer-only version).
2010-09-14Translate const uses via runtime expression evaluation.Graydon Hoare-0/+1
2010-09-14Teach front-end about simple, first-cut version of const items.Graydon Hoare-0/+4
2010-09-13Fix leaking arg slots on tail calls. Closes #160.Graydon Hoare-0/+11
2010-09-12Fix a leak when box types are used via type descriptors.Graydon Hoare-0/+7
2010-09-09Switch tags to purely nominal, removing TY_iso and TY_idx. Seems to mostly ↵Graydon Hoare-26/+84
work, possibly a little bumpy. Changes a lot.
2010-09-07Fixed race in the rust kernel.Michael Bebenita-1/+2
2010-09-07Small updates to test cases.Michael Bebenita-3/+9
2010-09-07Add hashmap tests exercising strings as keys and values. No longer leaks on ↵Roy Frostig-37/+95
linux.
2010-09-03Test multi-ref'ed vec growth more seriously than before.Roy Frostig-0/+63
2010-08-31Fix rust_vec constructor assertion failure caused by slow path of ↵Roy Frostig-1/+16
upcall_vec_grow. Add testcase.
2010-08-27Modify alt-pattern-drop.rs to also insure the slot bound in the pattern ↵Roy Frostig-4/+10
doesn't also get dropped (again) at the end of the block containing the alt.
2010-08-27Tiny change to tighten up alt-pattern-drop.rs test.Roy Frostig-1/+1
2010-08-27Have alt-pattern drop the slots it initializes when binding slot patterns. ↵Roy Frostig-0/+19
Add a testcase for this as well.
2010-08-27Comment out hashmap tests exercising maps with str as key or value type, as ↵Roy Frostig-0/+2
they appear to cause leaks.
2010-08-27Add simple hashmap tests exercising maps with str as key type, value type, ↵Roy Frostig-15/+85
and both.
2010-08-26Pinching myself for certainty. ;pRoy Frostig-0/+4
2010-08-26Test the hashmap more, exercising hash collision, element removal, and a ↵Roy Frostig-7/+129
forced rehashing that actually causes elements to change buckets. In the process, find a bug in hashmap's remove() and fix it.
2010-08-26Make vreg constrs per-quad, regfence on nontrivial constrs, back out ↵Graydon Hoare-0/+10
workaround to _uint, add regression test. Closes #152.
2010-08-26Add automatic parameter instantiation. Closes #45.Patrick Walton-0/+11
2010-08-26When copying function values, null out the destination's binding iff the ↵Roy Frostig-14/+10
source's binding is null.
2010-08-26Test the hashmap for growth and rehashing.Roy Frostig-2/+69
2010-08-26Workaround issue #152 in _uint.next_power_of_twoRoy Frostig-0/+47
2010-08-25Insure bools remain 0x1 or 0x0 by having boolean-NOT not just be a simple ↵Roy Frostig-0/+15
bit-NOT.
2010-08-25Merge obj-drop and closure-drop code, handles freeing bound exteriors now.Graydon Hoare-0/+8
2010-08-25Fix edge case in uint->string conversion.Graydon Hoare-0/+1
2010-08-25Fix ghastly typestate bug breaking nested functions.Graydon Hoare-0/+1
2010-08-24Implemented an lock free queue based on this paper ↵Michael Bebenita-0/+99
http://www.cs.rochester.edu/~scott/papers/1996_PODC_queues.pdf, the "lock free queue" we had before wasn't lock free at all.
2010-08-24First successful hashmap lookups. Yay.Graydon Hoare-0/+4
2010-08-24Fix mod-bug in std.map, work around bug in closure typaram capture, enable ↵Graydon Hoare-2/+9
insert-tests in lib-map.rs.
2010-08-24Rename lib tests, enable lib-int.rs using _str.eq for now.Graydon Hoare-15/+15
2010-08-23Merge remote branch 'tohava/master'Graydon Hoare-0/+17
Conflicts: src/boot/fe/ast.ml