summary refs log tree commit diff
path: root/src/test
AgeCommit message (Collapse)AuthorLines
2012-07-11Fix some version numbers.Graydon Hoare-1/+1
2012-07-10Modify reflect interface to pass tydescs back to client, stop on false return.Graydon Hoare-270/+184
These changes are required to prune type-recursion and admit early returns in the visitor code. Changes to visitors in subsequent csets.
2012-07-10Disallow implicitly binding methods in typechecker. Closes #2189.Michael Sullivan-1/+4
2012-07-10Get rid of places that expected foo.bar to implicitly bind.Michael Sullivan-10/+10
2012-07-10Pretty print vectors as ~[] instead of []/~. Closes #2863.Michael Sullivan-40/+40
2012-07-10test: Fix shootout-binarytreesBrian Anderson-1/+1
2012-07-10test: Fix shootout-fastaBrian Anderson-1/+1
2012-07-09Add test case for issue 2766, which resolve 3 fixesTim Chevalier-0/+21
2012-07-09Allow defining token tree macros. They should work now!Paul Stansifer-2/+2
2012-07-09Xfail-fast a recent test that doesn't work on check-fast.Graydon Hoare-0/+1
2012-07-09Catch one missing residual 'cont' -> 'again' change.Graydon Hoare-1/+1
2012-07-09Merge branch 'incoming' of github.com:/mozilla/rust into incomingGraydon Hoare-1/+12
Conflicts: src/snapshots.txt
2012-07-09Switch 'cont' to 'again' everywhere. Close #2229.Graydon Hoare-14/+14
2012-07-09Remove xfail-test from (now functional) test. Fixes #2323.Niko Matsakis-1/+0
2012-07-09Add clear methods to the tests that make maps.Michael Sullivan-0/+2
2012-07-09rustc: Conditionally compile view items. #2357Brian Anderson-0/+10
2012-07-09test: xfail-fast extern-crosscrateBrian Anderson-0/+1
2012-07-09Fix metadata serialization of foreign functions. Properly take the value of ↵Josh Matthews-0/+36
foreign functions from other crates to fix #1840.
2012-07-09test: Remove failing parts of the failing test (requires intertwining of ↵Patrick Walton-4/+0
resolve and typechecking)
2012-07-09change borrowck error msg: 'declared in outer block' -> 'captured in a ↵Ben Blum-8/+8
closure' (properly this time)
2012-07-09rustc: Switch to the new resolution passPatrick Walton-189/+26
2012-07-07Increase the difficulty of chameneos-redux under 'make perf'Brian Anderson-1/+3
2012-07-07Add improvements suggested by erickt and bblumKevin Cantu-29/+16
2012-07-07Add the Alioth chameneos-redux benchmarkKevin Cantu-0/+214
This adds a Rust implementation of the Alioth chameneos-redux benchmark: http://shootout.alioth.debian.org/u64q/performance.php?test=chameneosredux This version already seems faster than Clojure, Ruby, and OCaml. I'm running with N=6,000,000 in about 1m 50s. Further optimization would be good, though. I'm talking right now with @eholk about how pipes could be used (this is 1:many)...
2012-07-06Revert "rustc: Switch to the new resolution pass"Niko Matsakis-26/+189
This reverts commit c4af6e92fbae171c56a4e68666025725555fc9d8. Branch was burning...many, many unresolved imports.
2012-07-06rustc: Switch to the new resolution passPatrick Walton-189/+26
2012-07-06Be less eager about implicit borrowing when doing method resolution. Closes ↵Michael Sullivan-0/+43
#2796.
2012-07-06Bank protocol example from blog postEric Holk-0/+70
2012-07-06Added a k-nucleotide version that uses pipes. 31% speedup.Eric Holk-0/+250
2012-07-06Move string append to libraries. Closes #2710.Michael Sullivan-3/+1
2012-07-06Removing locked queue port/chan prototype.Eric Holk-77/+0
2012-07-06Updating tests to use pipes.Eric Holk-465/+26
2012-07-06You can have any protocol you want, provided it's pingpong.Eric Holk-4/+40
This integrates the pipe compiler into the proto syntax extension.
2012-07-06Plumbing and parsing for item-position macros.Eric Holk-0/+17
2012-07-06Select on pipes.Eric Holk-357/+126
Updating syntax and test cases.
2012-07-06Enabling pipes for all stages, and updating closure syntax.Eric Holk-18/+16
2012-07-06Moved pipes runtime support to libcore, and add a test that will help verify ↵Eric Holk-191/+59
that busy waiting is no longer happening. Fixing the result of a bad merge.
2012-07-06Contracts work well enough to do the message ring benchmark, and it's really ↵Eric Holk-0/+326
fast. Fixing old-style vector, and xfail-prettying th contracts test because the pretty printer is unhappy.
2012-07-06send only takes one data argument.Eric Holk-2/+2
2012-07-06Macro and iface tricks to simulate self move.Eric Holk-0/+307
2012-07-06Progress towards pipes.Eric Holk-37/+61
2012-07-06An example using pipes with most of the synchronization code in place.Eric Holk-0/+247
Fixed a bug in the atomic intrinsics where they wouldn't correctly return their old value. Pipes currently busy wait. The next step is to teach the scheduler how to deal with them.
2012-07-06First example of a program using pipes.Eric Holk-0/+110
2012-07-05Fix test that was using rust_task_allow_kill incorrectlyBrian Anderson-2/+4
2012-07-05A new `times` method on numeric typesBen Striegel-4/+17
This method is intended to elegantly subsume two common iteration functions. The first is `iter::range`, which is used identically to the method introduced in this commit, but currently works only on uints. The second is a common case of `{int, i8, uint, etc.}::range`, in the case where the inductive variable is ignored. Compare the usage of the three: ``` for iter::range(100u) { // do whatever } for int::range(0, 100) |_i| { // do whatever } for 100.times { // do whatever } ``` I feel that the latter reads much more nicely than the first two approaches, and unlike the first two the new method allows the user to ignore the specific type of the number (ineed, if we're throwing away the inductive variable, who cares what type it is?). A minor benefit is that this new method will be somewhat familiar to users of Ruby, from which we borrow the name "times".
2012-07-05Clean up error message punctuation/capitalizationLindsey Kuper-26/+26
2012-07-05Comments only: change TODOs to FIXMEs and annotate themTim Chevalier-3/+1
2012-07-05Consider slices to be a structural type. Closes #2748.Michael Sullivan-0/+17
2012-07-05Arc requires send trait (issue #2788)Eric Holk-1/+1
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-26/+30
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498