summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Some progress on reviving TreeCheckers, plus a ...Paul Phillips2010-09-2410-87/+139
| | | | | | | | Some progress on reviving TreeCheckers, plus a couple bugfixes and better error messages revealed by that progress. Also applied tiny increment in understanding to fixing up TreeDSL some more. The hand of martin guides from above, so no review.
* Fixed an abstract type issue. No reviewAleksandar Pokopec2010-09-242-5/+1
|
* A small typo. No reviewAleksandar Pokopec2010-09-241-1/+1
|
* Fixed ParSeqView, added Patched and Reversed.Aleksandar Pokopec2010-09-244-31/+84
|
* closes #3808.Adriaan Moors2010-09-244-27/+30
| | | | | | | | moved typing indentation to where it belongs, now inliner shuold be able to do its job in implicits as well no review
* Adds a half second delay before showing tooltips.Pedro Furlanetto2010-09-241-1/+3
|
* zippedWithIndex and zippedAll added to ParItera...Aleksandar Pokopec2010-09-237-17/+117
| | | | | | zippedWithIndex and zippedAll added to ParIterable. ZippedAll view reimplemented. No review
* closes #3857: retain pre-erasure info in type h...Adriaan Moors2010-09-233-25/+52
| | | | | | | | | closes #3857: retain pre-erasure info in type history after cloning of mixed in members and, specifically for this bug, fields, so that java generic type sigs are more precise. review by DRagos
* closes #3800.Adriaan Moors2010-09-232-4/+10
| | | | | | | | appliedType goes under annotations. removed some dead code in isSubtypeHK0. review by rytz
* Adds a zip for ParIterables + a new Zipped view...Aleksandar Pokopec2010-09-239-74/+220
| | | | | | Adds a zip for ParIterables + a new Zipped view for ParSeqView and ParIterableView + a bench test. No review
* AIOOBE in scanner when typing in the end of file.Eugene Vigdorchik2010-09-231-1/+2
|
* InterruptedException while waiting for result s...Eugene Vigdorchik2010-09-231-1/+6
| | | | | | InterruptedException while waiting for result should be ignored. review by odersky
* Revert "CPI -> SCPI to (hopefully) fix scaladoc...Adriaan Moors2010-09-231-1/+1
| | | | | | | | | | | | Revert "CPI -> SCPI to (hopefully) fix scaladoc failure in nightly. probably indicates a bug in scaladoc or the type checker or the spec, since abstract type members seem to be allowed in objects inconsistently across these three. no review." that was a little too hasty.. SCPI was already defined somewhere This reverts commit 165424cd9175d7e6d33bc541f2aff2575ee31121.
* CPI -> SCPI to (hopefully) fix scaladoc failure...Adriaan Moors2010-09-231-1/+1
| | | | | | | | CPI -> SCPI to (hopefully) fix scaladoc failure in nightly. probably indicates a bug in scaladoc or the type checker or the spec, since abstract type members seem to be allowed in objects inconsistently across these three. no review.
* Rollback MutableSourceFile, the whole idea is b...Eugene Vigdorchik2010-09-231-41/+24
| | | | | Rollback MutableSourceFile, the whole idea is broken
* Test case closes #3774, no review.Paul Phillips2010-09-222-0/+10
|
* Added an override to immutable.IndexedSeq#toInd...Paul Phillips2010-09-222-0/+11
| | | | | | Added an override to immutable.IndexedSeq#toIndexedSeq which returns itself. Closes #3732, no review.
* Test case closes #3509, no review.Paul Phillips2010-09-222-0/+10
|
* Test case closes #3498, no review.Paul Phillips2010-09-221-0/+15
|
* Test case submitted by mark harrah closes #2813...Paul Phillips2010-09-221-0/+39
| | | | | Test case submitted by mark harrah closes #2813, no review.
* Test case closes #2619, no review.Paul Phillips2010-09-221-0/+80
|
* Test case closes #1548, no review.Paul Phillips2010-09-223-0/+19
|
* closes #3792: type equality for singleton types...Adriaan Moors2010-09-222-9/+15
| | | | | | | | | closes #3792: type equality for singleton types did not take type aliases into account while chasing the chain of underlying types (if the underlying type is an alias of a singleton type, it should be followed) review by odersky
* removed deskolemize hack for tcpoly.Adriaan Moors2010-09-223-3/+5
| | | | | | | | initialize the tree's symbol in typedTypeDef to make sure its info is loaded. review by odersky
* documentation for conforms and friendsAdriaan Moors2010-09-221-7/+17
| | | | | no review.
* A cleanup of the inliner.Paul Phillips2010-09-2221-743/+450
| | | | | | and still came out of the washing machine smiling. Already reviewed by a certain i. dragos so no review.
* Reimplementing parallel views to solve several ...Aleksandar Pokopec2010-09-2216-107/+390
| | | | | | Reimplementing parallel views to solve several performance glitches. No review.
* Closes #1591.Hubert Plociniczak2010-09-2215-53/+163
|
* do not cache lineIndices for MutableSourceFile.Eugene Vigdorchik2010-09-221-2/+6
|
* Found the following inefficiencies in fjbg:Paul Phillips2010-09-222-4/+38
| | | | | | | | | | | | | | | | | | | | | | ldc being used instead of bipush or sipush. The cheaper instructions were only being used when the argument was typed as byte or short, but an Int in the byte or short range can as easily use them. This also saves an entry in the constant pool. iconst_n not being used except on Ints. Same issue in reverse: pushing short 3 on the stack is cheaper with iconst_3 than with sipush. Example: class A { def f1: Int = 100 // was ldc #X, now bipush 100 def f2: Int = 5000 // was ldc #X, now sipush 5000 def f3: Byte = 2 // was bipush 2, now iconst_2 def f4: Short = 2 // was sipush 2, now iconst_2 } Review by dragos.
* Scala IDE needs mutable files with changing con...Eugene Vigdorchik2010-09-214-27/+40
| | | | | Scala IDE needs mutable files with changing content. review by odersky
* [scaladoc] Adds some simple tests for Scaladoc ...Gilles Dubochet2010-09-212-1/+78
| | | | | | [scaladoc] Adds some simple tests for Scaladoc (using Scalacheck). Contributed by Kato Kazuyosh. No review.
* [scaladoc] Closes #3541.Gilles Dubochet2010-09-211-1/+9
|
* Fixes the way results of Scalatest are checked ...Gilles Dubochet2010-09-211-1/+2
| | | | | | Fixes the way results of Scalatest are checked by Partest. Contributed by Kato Kazuyoshi. Review by phaller.
* Painstaking elimination of redundant array crea...Paul Phillips2010-09-212-28/+27
| | | | | | | | | Painstaking elimination of redundant array creation code, also eliminating the lingering usage of "wrapArray" which it has long been noted can go away after next newstarr and now perhaps it really can. A very careful patch so I'll say no review, but it's a bit of a sensitive area so feel free to go reviewing anyway.
* Changed Seq#distinct to use a mutable hashset r...Paul Phillips2010-09-201-3/+3
| | | | | | | | | | | | | Changed Seq#distinct to use a mutable hashset rather than an immutable one in a var. The benchmarks are not close: it's anywhere from 2 to 3 times faster this way. Majority of the credit goes to Tiark for slyly leaving a comment where I could see it. TR: should use mutable.HashSet? PP: yes. yes we should. Review by community.
* Tail recursive implementation of mapConserve, s...Paul Phillips2010-09-202-18/+74
| | | | | | Tail recursive implementation of mapConserve, submitted by Eric Willigers. Closes #2411, review by malayeri.
* Test case closes #2162, no review.Paul Phillips2010-09-202-0/+21
|
* Adds links from letters to the reference index ...Pedro Furlanetto2010-09-204-15/+20
| | | | | | | Adds links from letters to the reference index on the upper section of the left frame. Needs some layout/color improvements. Review by dubochet.
* Mostly a setup commit.Paul Phillips2010-09-196-72/+155
| | | | | | | impressively tedious it is to work directly with the AST, so I picked up TreeDSL again and fleshed it out some more. And then I did a once over on SyntheticMethods beating out bits of duplication. No review.
* Guard against overflow in fjbg.Paul Phillips2010-09-193-4/+12
|
* Fixes #3850, no review.Paul Phillips2010-09-181-0/+6
|
* Fixed an issue with ListSet getting confused ab...Paul Phillips2010-09-182-4/+12
| | | | | | Fixed an issue with ListSet getting confused about what goes forward and what goes backward. No review.
* Removed unnecessary param. Review by milessabin.Martin Odersky2010-09-181-1/+1
|
* added typedLastTree functionality to CompilerCo...Martin Odersky2010-09-184-8/+39
| | | | | | added typedLastTree functionality to CompilerControl. Avoid some "tree not found" errors. Review by milessabin.
* Better unlocking behavior when exceptions are r...Martin Odersky2010-09-182-5/+9
| | | | | Better unlocking behavior when exceptions are raised. Review by moors.
* Fixed long standing annoyance which prevents th...Paul Phillips2010-09-181-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed long standing annoyance which prevents the same source file from being used as both a script and a program. If a script has only a single top level object with a main method, then that is the object to which arguments will be passed. (Contrast with the current situation, where a wrapper object is wrapped around it and the script will never do anything since there is nothing which can reference the object.) So now you can do this: % cat script.scala object FiddleDeeMain { def main(args: Array[String]): Unit = { println(args mkString " ") } } % scala -nocompdaemon script.scala a b c a b c % scala script.scala a b c a b c % scalac script.scala % scala FiddleDeeMain a b c a b c Closes #1173, review by community.
* Restoring negative literal parsing behavior to ...Paul Phillips2010-09-174-27/+62
| | | | | | | | | | | | | | | | | | | | | Restoring negative literal parsing behavior to what should be the least surprising option. Thanks much to Johannes Rudolph for identifying the bug in the bytecode generator which needed addressing for us to arrive at proper -0.0 behavior, and for writing the majority of this patch. A '-' followed immediately by either a number or a period should now always be treated as a single numeric literal, which means the minus binds more tightly than anything else. A specific example of how this differs from 2.8 final is: -5.+(10) == 5.0 // and not -15.0 The full range of potentially ambiguous parses involving prefix operators, numbers, and dots is quite large and still needs to be completely and clearly specified. Closes #2378 and #3657, review by odersky, jrudolph.
* Refactorings to make iterators required by task...Aleksandar Pokopec2010-09-177-190/+132
| | | | | | Refactorings to make iterators required by task objects less restricted. No review
* Correctly get all scope symbols and members.Eugene Vigdorchik2010-09-171-7/+5
|