summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Some patches to jline, and new jar.Paul Phillips2011-04-149-301/+120
| | | | | for improving the keybindings. No review.
* Adding some docs refactorings.Aleksandar Pokopec2011-04-1416-925/+997
| | | | | | | Also, added some docs variables to Gen* traits that were missing. No review.
* This time, fixed #4283. no review.Iulian Dragos2011-04-144-5/+11
|
* Closed #4454.Philipp Haller2011-04-141-2/+3
|
* Doing a little polishing on the parallel collec...Paul Phillips2011-04-1415-91/+67
| | | | | | | | | | | | | 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.
* Tests which run have to be called "Test".Paul Phillips2011-04-142-1/+1
| | | | | and renames file to avoid ant's brainlessness, no review.
* Revert "Closes #4283.Iulian Dragos2011-04-133-10/+4
|
* Further fixes #4405.Aleksandar Pokopec2011-04-133-0/+24
| | | | | No review.
* Fixes and closes #4405.Aleksandar Pokopec2011-04-131-1/+1
| | | | | No review.
* Refactoring the collections api to support diff...Aleksandar Pokopec2011-04-13160-1904/+3601
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Closes #4283. no review.Iulian Dragos2011-04-133-4/+10
|
* Warn when the jar file cannot be found when loa...Iulian Dragos2011-04-131-1/+3
| | | | | Warn when the jar file cannot be found when loading a plugin. no review.
* Fixes my part of #4283 by inserting another cas...Martin Odersky2011-04-133-7/+22
| | | | | | | 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 fil...Paul Phillips2011-04-131-1/+3
| | | | | | An alteration to r24740 to fix failing test files/neg/protected-constructors. Review by odersky.
* An alteration to r24740 to fix failing test fil...Paul Phillips2011-04-131-1/+1
| | | | | | An alteration to r24740 to fix failing test files/neg/sensitive.scala. Review by odersky.
* closes #4426.Hubert Plociniczak2011-04-121-3/+2
|
* Closes #4432. review by dragosHubert Plociniczak2011-04-121-13/+37
|
* Closes #4275.Martin Odersky2011-04-122-34/+53
|
* [scaladoc] Closes #4452 again. Review by malayeri.Kato Kazuyoshi2011-04-121-11/+12
|
* Made the 'onCompilerThread' flag a field, corre...Iulian Dragos2011-04-121-1/+1
| | | | | | | 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 on...Martin Odersky2011-04-121-1/+1
| | | | | Ensured invariant that notPRIVATE can be set only for PRIVATE members.
* Pulled daemonized from the process API based on...Paul Phillips2011-04-113-8/+14
| | | | | | Pulled daemonized from the process API based on input from harrah. No review.
* Closes #4402. Review by plocinic.Martin Odersky2011-04-111-4/+6
|
* [scaladoc] Closes #4452. Review by malayeri.Kato Kazuyoshi2011-04-111-1/+5
|
* [scaladoc] Add missing file. No review.Donna Malayeri2011-04-111-0/+0
|
* [scaladoc] Improve visual design and layout of ...Donna Malayeri2011-04-1132-65/+370
| | | | | | [scaladoc] Improve visual design and layout of Scaladoc, using contributions from Heather Miller. No review.
* FreshRunReq's are no longer suppressed when thr...Martin Odersky2011-04-111-3/+4
| | | | | | FreshRunReq's are no longer suppressed when thrown in a respondGradually.
* Closes #4390, unfortunately by taking the stric...Martin Odersky2011-04-111-1/+15
| | | | | | Closes #4390, unfortunately by taking the stricter standpoint. No review.
* Deleted debug output that made it into previous...Martin Odersky2011-04-111-4/+4
| | | | | Deleted debug output that made it into previous commit.
* Closes #4380. No review.Martin Odersky2011-04-111-6/+10
|
* Closes #4396. No review.Martin Odersky2011-04-111-0/+1
|
* Tighten the visibility of interactive.Global.Eugene Vigdorchik2011-04-111-16/+16
|
* Found there was still all kinds of detritus rem...Paul Phillips2011-04-118-34/+19
| | | | | | | | 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 mad...Paul Phillips2011-04-116-131/+180
| | | | | | Improving the repl help infrastructure, and made the :wrap command more robust. No review.
* Changed scala.io.Position into something other ...Paul Phillips2011-04-104-79/+67
| | | | | | 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 eq...Paul Phillips2011-04-103-16/+4
| | | | | | More fun with xml and elements not appearing equal. Closes #4387, no review.
* Made the reading of y/n a little more robust.Paul Phillips2011-04-102-11/+18
|
* Added :imports command, no review.Paul Phillips2011-04-084-4/+56
|
* Factoring the imports related code out of the m...Paul Phillips2011-04-082-172/+190
| | | | | | Factoring the imports related code out of the main Interpreter class, no review.
* Closes #4431. Review by extempore.Martin Odersky2011-04-081-0/+7
|
* [scaladoc] Don't generate long comments if they...Donna Malayeri2011-04-081-4/+9
| | | | | | [scaladoc] Don't generate long comments if they are the same as the short comment. Closes #4455. No review.
* [scaladoc] Separate sections for "linear supert...Donna Malayeri2011-04-083-74/+46
| | | | | | | [scaladoc] Separate sections for "linear supertype" and "known subclasses" using patch provided by Ruediger Keller. Closes #4456. Closes #4304.
* [MSIL] handling of volatile fields.Miguel Garcia2011-04-0812-54/+232
|
* Made power mode more configurable.Paul Phillips2011-04-0714-35/+71
| | | | | | | | | | | | 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 me...Martin Odersky2011-04-072-1/+10
| | | | | Fixes #2808 without redefining what override means. Review by extempore.
* [scaladoc] Don't generate an attributes block i...Donna Malayeri2011-04-071-3/+5
| | | | | | [scaladoc] Don't generate an attributes block if its contents are empty. No review.
* [scaladoc] Make links to classes and traits not...Donna Malayeri2011-04-071-3/+8
| | | | | | [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 ...Paul Phillips2011-04-071-4/+5
| | | | | | Added a comment to Dynamic sharing that if you don't supply mr. -Xexperimental, it won't work. No review.
* Deleted SourcelessComments.Paul Phillips2011-04-0717-311/+524
| | | | | | | | | | | | | Nothing and Null with improved documentation of their particulars and convinced scaladoc to parse them without leaving scalac institutionalized. Now rather than seeing our hardcoded documentation strings bitrot in a shadowy flight from classes which do not exist, we are championing the cause of the innocent and powerless. Nothing and Null aren't above the law! So now any responsible party can fire up their text editor and go to town on Nothing.scala. As I'm sure they will. Review by malayeri.
* Clamping down on some more breakage which snuck...Paul Phillips2011-04-073-25/+44
| | | | | | Clamping down on some more breakage which snuck into power mode. I really need some power tests. No review.