| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Moved scheduler source files into new scheduler directory.
|
|
|
|
|
| |
Moved new scheduler classes into package scala.actors.scheduler.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The creation of scala.collection.mutable.Iterable in 2.8 means that all
the other classes in scala.collection.mutable are
impacted - what they once thought was scala.Iterable is now
mutable Iterable. This meant such things as Stack ++= List(1,2,3)
would no longer compile. This patch qualifies the relevant
Iterables as collection.Iterables, though based on inspecting
other classes, it's likely they should actually be Traversables.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Removed some identical code from the collections classes in hopes of
finding some consistency in collections equality. Added more test cases
to the sequenceComparisons test.
|
|
|
|
|
|
| |
Removed Vector's indexOfSeq method in favor of the superclass
implementation, which already discriminates based on hasDefiniteSize.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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 Sumerian shapeshifting
destruction god.")
res0: Boolean = true
...is fixed.
|
|
|
|
|
|
|
|
| |
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 THE DESTROYER")
res0: Boolean = true
... is fixed.
|
| |
|
|
|
|
|
| |
contained whitespaces. This simple change fixes that.
|
| |
|
|
|
|
|
|
|
|
| |
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.)
|
| |
|
|
|
|
|
| |
small improvements concerning positions and completions
|
|
|
|
|
|
| |
Two small performance fixes which shaved 40 seconds off clean->test
time.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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 for a RangePosition overlap bug with guards in for comprehensions;
added tree node unique id to output in tree browser.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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 skipping builder
|
|
|
|
|
|
| |
Fixed a couple of position bugs; made validation output a bit more
informative and readable.
|
|
|
|
|
|
| |
Added -Yide-debug option to exercise the interactive compiler from the
command-line; made validation errors a bit more informative.
|
| |
|
| |
|
|
|
|
|
|
| |
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 subtyping (2) better
implicit caches. Disallowed '42 as a symbol. Added cache method to
Mutable Maps. Better complietion in interactive.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Making most of the symbols in Definitions into stable identifiers.
Removed some duplication and did some organization.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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 method in case classes. Now
the autogenerated equality method inquires with the argument as to
whether other.canEqual(this) before returning true.
|