| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Various addenda to soc's patch: regenerating Product/Tuple/Function
classes and AnyVal sources, making versioning consistent, etc. Closes
#4477, no review.
|
|
|
|
|
|
| |
for the patch, as it's a change I've always wanted. Moving up in the
glamorous world of scala commits! No review.
|
|
|
|
|
| |
for improving the keybindings. No review.
|
|
|
|
|
|
|
| |
Also, added some docs variables to Gen* traits that were missing.
No review.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Doing a little polishing on the parallel collections refactor (which
overall looks like a big improvement.) I went for some simpler wording
and moved a number of scaladoc tags around because the rug had been
pulled out from under their feet.
This leaves a lot undone, but since many of the docs need to be reworded
before they can move from e.g. SeqLike to GenSeqLike, and I'm not well
informed on exactly how these abstractions are being presented, I stayed
in the safe zone. Review by prokopec.
|
|
|
|
|
| |
and renames file to avoid ant's brainlessness, no review.
|
| |
|
|
|
|
|
| |
No review.
|
|
|
|
|
| |
No review.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Refactoring the collections api to support differentiation between
referring to a sequential collection and a parallel collection, and to
support referring to both types of collections.
New set of traits Gen* are now superclasses of both their * and Par* subclasses. For example, GenIterable is a superclass of both Iterable and ParIterable. Iterable and ParIterable are not in a subclassing relation. The new class hierarchy is illustrated below (simplified, not all relations and classes are shown):
TraversableOnce --> GenTraversableOnce
^ ^
| |
Traversable --> GenTraversable
^ ^
| |
Iterable --> GenIterable <-- ParIterable
^ ^ ^
| | |
Seq --> GenSeq <-- ParSeq
(the *Like, *View and *ViewLike traits have a similar hierarchy)
General views extract common view functionality from parallel and
sequential collections.
This design also allows for more flexible extensions to the collections
framework. It also allows slowly factoring out common functionality up
into Gen* traits.
From now on, it is possible to write this:
import collection._
val p = parallel.ParSeq(1, 2, 3)
val g: GenSeq[Int] = p // meaning a General Sequence
val s = g.seq // type of s is Seq[Int]
for (elem <- g) {
// do something without guarantees on sequentiality of foreach
// this foreach may be executed in parallel
}
for (elem <- s) {
// do something with a guarantee that foreach is executed in order, sequentially
}
for (elem <- p) {
// do something concurrently, in parallel
}
This also means that some signatures had to be changed. For example,
method `flatMap` now takes `A => GenTraversableOnce[B]`, and `zip` takes
a `GenIterable[B]`.
Also, there are mutable & immutable Gen* trait variants. They have
generic companion functionality.
|
| |
|
|
|
|
|
| |
Warn when the jar file cannot be found when loading a plugin. no review.
|
|
|
|
|
|
|
| |
Fixes my part of #4283 by inserting another cast pre-emptively when an
IllegalAccess error is possible in an erasure-inserted cast. Review by
extempore.
|
|
|
|
|
|
| |
An alteration to r24740 to fix failing test
files/neg/protected-constructors. Review by odersky.
|
|
|
|
|
|
| |
An alteration to r24740 to fix failing test files/neg/sensitive.scala.
Review by odersky.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Made the 'onCompilerThread' flag a field, correctly indicating wether
the work item was asked from the compiler thread or not. Fixes issues in
the IDE. no review.
|
|
|
|
|
| |
Ensured invariant that notPRIVATE can be set only for PRIVATE members.
|
|
|
|
|
|
| |
Pulled daemonized from the process API based on input from harrah. No
review.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
[scaladoc] Improve visual design and layout of Scaladoc, using
contributions from Heather Miller. No review.
|
|
|
|
|
|
| |
FreshRunReq's are no longer suppressed when thrown in a
respondGradually.
|
|
|
|
|
|
| |
Closes #4390, unfortunately by taking the stricter standpoint. No
review.
|
|
|
|
|
| |
Deleted debug output that made it into previous commit.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Found there was still all kinds of detritus remaining from the deceased
IMPLICITMETHODtpe and ImplicitMethodType. Applied wrecking ball,
review by moors. (Can I do the same thing with DEBRUIJNINDEXtpe and
DeBruijnIndex?)
|
|
|
|
|
|
| |
Improving the repl help infrastructure, and made the :wrap command more
robust. No review.
|
|
|
|
|
|
| |
Changed scala.io.Position into something other than a fixed object which
throws exceptions when the position overflows. Closes #4382, no review.
|
|
|
|
|
|
| |
More fun with xml and elements not appearing equal. Closes #4387, no
review.
|
| |
|
| |
|
|
|
|
|
|
| |
Factoring the imports related code out of the main Interpreter class, no
review.
|
| |
|
|
|
|
|
|
| |
[scaladoc] Don't generate long comments if they are the same as the
short comment. Closes #4455. No review.
|
|
|
|
|
|
|
| |
[scaladoc] Separate sections for "linear supertype" and "known
subclasses" using patch provided by Ruediger Keller. Closes #4456.
Closes #4304.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
long-term configuration answer, but what I have any chance of doing
before 2.9 ships.
// file to interpret when entering power mode instead of default
-Dscala.repl.power.initcode=/path/to/file // file holding banner to
display instead of default -Dscala.repl.power.banner=/path/to/file
No review.
|
|
|
|
|
| |
Fixes #2808 without redefining what override means. Review by extempore.
|
|
|
|
|
|
| |
[scaladoc] Don't generate an attributes block if its contents are empty.
No review.
|
|
|
|
|
|
| |
[scaladoc] Make links to classes and traits not be the entire line, but
just the template name. Closes #4444. No review.
|
|
|
|
|
|
| |
Added a comment to Dynamic sharing that if you don't supply mr.
-Xexperimental, it won't work. No review.
|