summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* * Fix regression with `display packages only`:...Pedro Furlanetto2010-10-072-10/+4
| | | | | | | | | * Fix regression with `display packages only`: after clicking, templates were hidden and immediately shown again. * Better handling of show/hide packages. Closes #3482. * Removes authors from the docs. review by dubochet.
* Fixed build.xml so scalacheck won't fail to com...Paul Phillips2010-10-071-1/+2
| | | | | | Fixed build.xml so scalacheck won't fail to compile anytime there are partial build artifacts. No review.
* Positioning fix closes #3092, no review.Paul Phillips2010-10-071-1/+1
|
* Unreverting r23174. No review.Paul Phillips2010-10-0620-124/+138
|
* An obviously wrong yet somehow brilliant piece ...Paul Phillips2010-10-061-1/+1
| | | | | | | | | An obviously wrong yet somehow brilliant piece of code uncommenting. References #2171 without fixing it. Removes the non-termination which had caused me to revert r23174, which itself immediately follows this patch. No review (but iulian says he will look at this situation somewhere down the line.)
* Further fix for #3796. No reviewAleksandar Pokopec2010-10-061-1/+1
|
* Fixed a failing test. No reviewAleksandar Pokopec2010-10-062-10/+21
|
* Solved issues with fork join pool creators, and...Aleksandar Pokopec2010-10-063-17/+20
| | | | | | | | | | Solved issues with fork join pool creators, and the issue with scalacheck output. Done by Philipp and me. Review by phaller.
* Temporary fix for #3796. No reviewAleksandar Pokopec2010-10-062-78/+15
|
* Adding immutable parallel hashsets.Aleksandar Pokopec2010-10-0519-225/+940
| | | | | | | | | | Fixing an issue with hashset splitters where the splitting does not work if some elements have already been iterated. Added parallel collections exception handling. Added parallel collections break control. Renaming ParHashTrie -> ParHashMap. The part with immutable.{HashSet, HashMap} - review by rompf
* Improves exhaustiveness analysis to not warn ab...Paul Phillips2010-10-058-13/+82
| | | | | | | | Improves exhaustiveness analysis to not warn about types which cannot match due to nonconformant type parameters. Also, look at the different warnings emitted in the test case based on the presence of a constraint. Nifty! Closes #3683, no review.
* Reverted a test. No review.Aleksandar Pokopec2010-10-051-2/+2
|
* Added back another previously failing test.Aleksandar Pokopec2010-10-051-2/+2
|
* Added back a failing test. No review.Aleksandar Pokopec2010-10-051-0/+0
|
* Disabled a failing scaladoc test. No review.Aleksandar Pokopec2010-10-051-0/+0
|
* Disabling a test from last commit until figurin...Aleksandar Pokopec2010-10-051-2/+2
| | | | | | Disabling a test from last commit until figuring out why it fails on the server. No review
* An issue with scalacheck and actors where an ex...Aleksandar Pokopec2010-10-058-415/+436
| | | | | An issue with scalacheck and actors where an excess of thread pools gets created - tmp fix. No review.
* Somewhere along the way AnyVal stopped working ...Paul Phillips2010-10-056-5/+33
| | | | | | Somewhere along the way AnyVal stopped working as sealed. (It was still sealed but had lost its children.) Closes #3163, review by rytz.
* Massively simplified the exhaustiveness checker...Paul Phillips2010-10-054-24/+68
| | | | | | | Massively simplified the exhaustiveness checker with no measurable loss of fidelity. I might be the only one who can be unsurprised by such a bloody diff: anyone else would rightly say "how on earth..." No review.
* Checkes the size of the author list properlyPedro Furlanetto2010-10-051-1/+1
|
* Locator should follow TypeTree#original to get ...Eugene Vigdorchik2010-10-041-10/+14
| | | | | | Locator should follow TypeTree#original to get the smallest tree containing a position. review by odersky
* Reverts r23174, which I believe will bring the ...Paul Phillips2010-10-0420-138/+124
| | | | | | Reverts r23174, which I believe will bring the build back to life. It only chokes under -optimise. No review.
* Fixed a scalacheck test group "test entire subd...Aleksandar Pokopec2010-10-0416-617/+604
| | | | | | | Fixed a scalacheck test group "test entire subdirectory" problem. It's now possible to add scalacheck tests consisting of multiple files. No review.
* init currentTyperRun rather than leaving it nul...Eugene Vigdorchik2010-10-041-2/+2
| | | | | init currentTyperRun rather than leaving it null.Typo. review by odersky
* Another batch of busywork shuffling the content...Paul Phillips2010-10-0429-169/+36
| | | | | | Another batch of busywork shuffling the contents of pending around. Can almost see some daylight. No review.
* Pattern matching on Array types, working for re...Paul Phillips2010-10-047-42/+137
| | | | | | | | | | | | | | | | | Pattern matching on Array types, working for reals. def f[T](a: Array[T]) = a match { case x: Array[Int] => x(0) case x: Array[Double] => 2 // etc. } I'd also like to thank "instantiateTypeVar" for displacing the mechanical spiders and giant squid beings which used to fill my nightmares. Now that I know true horror, I welcome the squid. Closes #2755, review by odersky.
* Authors taglet is back to docs.Pedro Furlanetto2010-10-041-0/+8
|
* Work on the pattern matcher.Paul Phillips2010-10-0320-124/+138
| | | | | | | | | | | | | | | | | | | | | | | | patches for #3887 and #3888, but I determined that I could achieve the same effect by deleting a bunch of code, so I did. This left only a few lines in TransMatch, so I eliminated it, which led me to remember that many places still reference non-existent phase transmatch, so those were updated. Notes: * This swaps equality tests on stable identifier patterns. They have never conformed to the spec (as noted long ago in ticket #785) which says "The pattern matches any value v such that r == v" whereas until now the test being performed was v == r. * An issue was introduced with specialization in that the implementation of "isTupleType" in Definitions relied upon sym == TupleClass(elems.length). This test is untrue for specialized tuples, causing mysterious behavior because only some tuples are specialized. There is now "isTupleTypeOrSubtype" although it seems likely the former implementation is unnecessary. The issue is sidestepped if one uses "getProductArgs" to retrieve the element types because it sifts through the base types for the Product symbol. Closes #3887 and #3888, review by dmharrah.
* Removes a bunch of private functions which are ...Paul Phillips2010-10-0318-111/+1
| | | | | | | | | | | | | | | | | | | Removes a bunch of private functions which are never called. While based on the nature of "private" one can generally feel pretty good that such a thing is safe, there is always a chance the author had some future use in mind. On that note I draw your attention in particular to: (martin) Typers#stabilizedType: it "sounds" important, but most of it has been commented out since 2007 and the little stub part is a never called private. (iulian) SpecializeTypes#makeTypeArguments: similarly sounds like a cornerstone of a transformation until one notices it isn't used. Unused methods are "attractive nuisances" for anyone (like myself) who has to figure out how the compiler works by studying the compiler, for reasons which are no doubt obvious. No review except as noted.
* One last batch of test cleanups and I think I'l...Paul Phillips2010-10-0321-105/+80
| | | | | | | One last batch of test cleanups and I think I'll call it a day. If you're worried I didn't leave any for anyone else, let me put your fears to rest. PLENTY left to sift through. No review.
* The next batch of tests put up a little more st...Paul Phillips2010-10-0221-306/+23
| | | | | | | | | | | | | | The next batch of tests put up a little more struggle, but only a little. See test/pending/pos/unappgadteval.scala (the changes for which were in the previous commit) for an example of a test which might be on to something. Any idea what it would take to get it working? // the key lines case i @ Suc() => { (y: Int) => y + 1 } // a = Int => Int case f @ Lam[b,c](x, e) => { (y: b) => eval(e, env.extend(x, y)) } // a = b=>c No review.
* Sorting through the tests in pending from oldes...Paul Phillips2010-10-0228-419/+155
| | | | | | | | | | | | | | | | | Sorting through the tests in pending from oldest to newest because I don't believe in having useless appendages. The verdict on the oldest fifteen tests is: 15/15 are fixed. Many were already in files under a different name. I moved a few and deleted the rest. Fun fact of the day: apparently there was a time when to call into java varargs with no arguments you might have to write something like: getClass().getMethod("getCount", Array[java.lang.Class[T] forSome { type T }]()) On this basis I retract any complaints I've ever had about anything. There is one question mark outlined in pos/testCoercionThis.scala, a file formerly called pos/moors.scala and therefore... review by moors.
* Another attempt for #1591.Hubert Plociniczak2010-10-0121-60/+204
|
* Still giddy with the thrill of fixing #266, I v...Paul Phillips2010-09-302-2/+21
| | | | | | | | | | | | | | | | Still giddy with the thrill of fixing #266, I vanquish another pattern matcher bug from the dawn of time. If you've always wanted to write code like this: class Bob[K[_]] { def foo(other: Any) = other match { case x: (Bob[X] forSome { type X[_] }) => } } Now is your chance. Closes #1427, review by moors. (Is there a better way to "shake off" the pattern existential?)
* While trying to come to an understanding with #...Paul Phillips2010-09-3016-84/+159
| | | | | | | | | | | | | | | | | | | | | | | While trying to come to an understanding with #3869 I had one of those "what are we doing" moments regarding the reams of output generated under -Ydebug. We have all these places where extra info is logged under -Ydebug -- like "if (debug) log(...)" -- and if you try for those you are also saddled with all these irrelevant places which instead say if (debug) Console.println(...). I changed about every one of them to send it to log() instead. So if you were enjoying that 600 MB of debugging output when you compile "goodbye world", you can have it back and then some with -Ylog:all. Until then, enjoy the calm, quiet competence of the new -Ydebug. Also herein: raised default ANT_OPTS permgen because I can no longer build a dist with the former defaults, and gave some synthetics a better home in StdNames. No review (but if anyone just can't live without some particular piece of output every single time -Ydebug is given, I can put it back.)
* [scaladoc] JavaScript template search uses a st...Gilles Dubochet2010-09-303-41/+199
| | | | | | | [scaladoc] JavaScript template search uses a statically built index to considerably increase performance. Contributed by Kato Kazuyoshi. Review by dubochet.
* Reverted an earlier binary incompatible change ...Martin Odersky2010-09-292-8/+8
| | | | | | | Reverted an earlier binary incompatible change rolled into r23139. Now, the presentation compiler should have no binary incompatibilties with 2.8.0
* Changed Response so that get does what it did b...Martin Odersky2010-09-291-19/+48
| | | | | | Changed Response so that get does what it did before, and get(TIMEOUT) returns provisional results if it can. Review by vigdorchick.
* need an access to compileRunner from Eclipse to...Eugene Vigdorchik2010-09-291-1/+1
| | | | | | | need an access to compileRunner from Eclipse to check the thread I'm called and not post a work request if I'm already in compiler thread. Review by odersky
* Closes #3875. Review by vigdorchick.Martin Odersky2010-09-292-10/+13
|
* Revert changes related to #1591. no review.Hubert Plociniczak2010-09-2917-188/+58
|
* Fixes scaladoc issues with lazy vals.Hubert Plociniczak2010-09-293-6/+22
|
* More beautification of icode checker output.Paul Phillips2010-09-281-14/+22
|
* Modified typekinds to offer a more general lub ...Paul Phillips2010-09-281-43/+42
| | | | | | | | Modified typekinds to offer a more general lub when it encounters interfaces so it does not end up in a disagreement with the jvm. References #3872, but modifying the compiler lubs is not yet done. Review by dragos.
* Integrating feedback from martin and iulian int...Paul Phillips2010-09-285-27/+57
| | | | | | Integrating feedback from martin and iulian into recent patches and prettifying checker output. No review.
* partial revert of r23128 ("see #3859.Adriaan Moors2010-09-282-4/+2
| | | | | no review
* closes #3859.Adriaan Moors2010-09-284-10/+17
| | | | | review by odersky
* closes #3865: scaladoc now prints anonymous typ...Adriaan Moors2010-09-281-3/+9
| | | | | | | | | closes #3865: scaladoc now prints anonymous type functions since they may occur due to normalization of type constructor arguments of inferred types review by dubochet
* Fix and test case for #3855.Paul Phillips2010-09-282-1/+53
| | | | | | | | | | | | | | | | | | | | | | | situations where a mutable var will later be lifted. As a point of interest, this bug reveals itself fairly clearly if you use a build since r23112 and run the checker thusly: scalac -d /tmp -Ycheck-debug -Ycheck:icode -Xprint:icode test/files/run/bug3855.scala It dies with the following explanation: Output changed for Block 3 [S: 2] [P: 1, 4] Exception in thread "main" scala.tools.nsc.backend.icode.CheckerException: Incompatible stacks: TypeStack() and TypeStack(2 elems) { REFERENCE(class IntRef) REFERENCE(class IntRef) } in Test.main at entry to block: 2 And indeed that was the source of the reported verifyerror. Review by i. dragos.
* A little reorganization of some pattern matcher...Paul Phillips2010-09-282-40/+37
| | | | | | | | A little reorganization of some pattern matcher logic. I must have a short memory to even consider touching it, but maybe I'm still infused with the mario invulnerability star one receives after some time spent consulting with martin. No review.