summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Now that there's a KMP implementation in Seq, r...Paul Phillips2009-07-173-83/+17
| | | | | | | | | Now that there's a KMP implementation in Seq, removed the Char-specific one from StringBuilder. Added lastIndexOfSeq method to SequenceTemplate - for StringBuilder primarily, but available to be enjoyed by all the world's sequences.
* Fixed build.Philipp Haller2009-07-171-1/+1
|
* Updated to newest revision of ForkJoinPool.Philipp Haller2009-07-1714-125/+275
|
* Fix for failing test t1323.Paul Phillips2009-07-171-1/+1
|
* A start on a more comprehensive test suite for ...Paul Phillips2009-07-173-16/+97
| | | | | | | | | | | A start on a more comprehensive test suite for sequences. It performs 3600 different tests attempting to exercise the potentially buggy variations of startsWith, endsWith, indexOfSeq, and sameElements. And, a KMP implementation of indexOfSeq which in addition to being a lot faster for definite sized sequences, should give the wrong answer somewhat less frequently.
* scala> Vector(1,2,3) startsWith List("I am a Su...Paul Phillips2009-07-161-1/+4
| | | | | | | | | scala> Vector(1,2,3) startsWith List("I am a Sumerian shapeshifting destruction god.") res0: Boolean = true ...is fixed.
* scala> immutable.Vector(1,2,3) endsWith immutab...Paul Phillips2009-07-162-13/+16
| | | | | | | | scala> immutable.Vector(1,2,3) endsWith immutable.Vector(2,3) res0: Boolean = false ...is fixed.
* scala> List(1,2,3) endsWith List(2, "I AM GOZER...Paul Phillips2009-07-161-5/+9
| | | | | | | | scala> List(1,2,3) endsWith List(2, "I AM GOZER THE DESTROYER") res0: Boolean = true ... is fixed.
* Fixed the same bug as in r18328, but in equals.Paul Phillips2009-07-161-1/+4
|
* Scalac was failing if the path to the distributionAntonio Cunei2009-07-162-2/+2
| | | | | contained whitespaces. This simple change fixes that.
* Fixed logic error reported in #2159.Paul Phillips2009-07-161-1/+4
|
* Altered some invocations of Array.copy to use c...Paul Phillips2009-07-165-18/+19
| | | | | | | | Altered some invocations of Array.copy to use compat.Platform.arraycopy instead, because profiling indicated a frightening amount of time being spent in java.lang.Class.isArray (mostly stemming from ensureCapacity in StringBuilder.)
* Fixed memory leak in remote actors.Philipp Haller2009-07-162-33/+34
|
* small improvements concerning positions and com...Martin Odersky2009-07-164-10/+25
| | | | | small improvements concerning positions and completions
* Two small performance fixes which shaved 40 sec...Paul Phillips2009-07-162-3/+3
| | | | | | Two small performance fixes which shaved 40 seconds off clean->test time.
* Fix and test case for #1141.Paul Phillips2009-07-151-33/+38
|
* minor changes (Scala comments)michelou2009-07-154-28/+78
|
* Added ControlException marker trait and update ...Miles Sabin2009-07-1511-21/+76
| | | | | | | | | Added ControlException marker trait and update various exceptions to mix it in; the typer now correctly propagates ControlExceptions rather than reporting them; the IDE reports attempts to log ControlExceptions; Global.signalDone no longer leaks ValidateErrors back into the typer; the set of compiler options offered by the IDE has been updated.
* Fix and test case for #1110.Paul Phillips2009-07-151-1/+8
|
* Fix for a RangePosition overlap bug with guards...Miles Sabin2009-07-142-2/+3
| | | | | | Fix for a RangePosition overlap bug with guards in for comprehensions; added tree node unique id to output in tree browser.
* Removed the accurately labelled combinatorold.Paul Phillips2009-07-1410-1523/+0
|
* Faster offsetToLineMartin Odersky2009-07-141-0/+28
|
* Enhanced repl based debugger to use manifests a...Paul Phillips2009-07-143-7/+39
| | | | | | | Enhanced repl based debugger to use manifests and try to get a usable type out of it. It works for at least a useful subset of the types which one might want to inspect.
* made streams and views more lazy by always skip...Martin Odersky2009-07-143-26/+50
| | | | | made streams and views more lazy by always skipping builder
* Fixed a couple of position bugs; made validatio...Miles Sabin2009-07-144-34/+57
| | | | | | Fixed a couple of position bugs; made validation output a bit more informative and readable.
* Added -Yide-debug option to exercise the intera...Miles Sabin2009-07-143-5/+35
| | | | | | Added -Yide-debug option to exercise the interactive compiler from the command-line; made validation errors a bit more informative.
* Reverted last change.Miles Sabin2009-07-131-9/+2
|
* Reinstated setContent.Miles Sabin2009-07-131-2/+9
|
* Performance oriented rewrite of BatchSourceFile.Paul Phillips2009-07-131-90/+56
| | | | | | shaves for me 2-2.5 minutes off the time to run "ant test.suite" from locker.
* Trying to make typechecker faster by (1) new su...Martin Odersky2009-07-1316-151/+452
| | | | | | | Trying to make typechecker faster by (1) new subtyping (2) better implicit caches. Disallowed '42 as a symbol. Added cache method to Mutable Maps. Better complietion in interactive.
* Fixed specialized method parameters.Iulian Dragos2009-07-123-5/+16
|
* Fix and test case for #1843.Paul Phillips2009-07-121-3/+15
|
* Added ThreadPoolScheduler supporting managedBlock.Philipp Haller2009-07-117-15/+107
|
* Making most of the symbols in Definitions into ...Paul Phillips2009-07-111-346/+267
| | | | | | Making most of the symbols in Definitions into stable identifiers. Removed some duplication and did some organization.
* Fix and test case for #1260.Paul Phillips2009-07-111-4/+6
|
* More refinement on MixLiterals.Paul Phillips2009-07-101-38/+35
|
* More of the same in the pattern matcher.Paul Phillips2009-07-102-119/+141
| | | | | | | targets the mixing rule which generates switch statements. We should soon be generating switches for quite a few more cases than we are at present.
* Implementation and test cases for canEqual meth...Paul Phillips2009-07-094-8/+33
| | | | | | | Implementation and test cases for canEqual method in case classes. Now the autogenerated equality method inquires with the argument as to whether other.canEqual(this) before returning true.
* The presently salvageable portion of my attempt...Paul Phillips2009-07-092-108/+119
| | | | | | | The presently salvageable portion of my attempt to fix bugs #425 and #816 (which I have indeed fixed, but a bazillion other test cases broke so the fix is commented out until I can make everyone happy at once.)
* I can no longer endure having one of the fundam...Paul Phillips2009-07-091-60/+60
| | | | | | | I can no longer endure having one of the fundamental pattern matcher variables (which incidentally holds multiple values) being named "temp". temp -> tvars, row -> rows.
* Made NamespaceBinding a case class; addresses t...Paul Phillips2009-07-081-6/+6
| | | | | Made NamespaceBinding a case class; addresses ticket #2138.
* Temporarily reverting r18237 on iulian's behalf.Paul Phillips2009-07-081-2/+0
|
* More on the pattern matcher: continuing to give...Paul Phillips2009-07-083-109/+121
| | | | | | More on the pattern matcher: continuing to give things names I can understand and commenting what exactly things do.
* TextField installs it's listener lazily nowIngo Maier2009-07-088-92/+106
|
* Annotations on type parameters are added to the...Iulian Dragos2009-07-081-0/+2
| | | | | | Annotations on type parameters are added to the initial symbols, not only skolems. This fixes specialized methods
* Lots of work hardening matching on sequences.Paul Phillips2009-07-073-127/+170
| | | | | | | | | | | | | | | | one long-standing bug which actually had a test case testing its bugginess (which is to say, when I fixed the bug, the test case failed.) This: - def doMatch4(xs:Seq[Char]) = xs match { - case Seq(x, y, _*) => x::y::Nil - case Seq(x, y, z, w) => List(z,w) // redundant! - } ...should never have compiled - which must have been recognized on some level given the "redundant!" comment, but it never made it into neg/.
* minor change (Scala comments)michelou2009-07-076-65/+106
|
* minor change (Scala comments)michelou2009-07-072-28/+40
|
* fixed Scala comments, added svn:keywordsmichelou2009-07-07115-300/+1365
|
* And more pattern matcher refinement.Paul Phillips2009-07-065-122/+100
|