summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Observed that some historical issues with packa...Paul Phillips2011-02-201-7/+2
| | | | | | | | Observed that some historical issues with package objects no longer seem so issuey. In the interests of keeping the arbitrary limitations to a minimum, re-enabled case classes in package objects (see #2130, #3437.) Closes #3437, review by odersky.
* Cleaned up some horribly rotted xml doc comments.Paul Phillips2011-02-202-28/+17
| | | | | | a trait so it had a chance of being mixed into another class as directed in the doc comment in question. Closes #4087, no review.
* Hid repl value rebinding behind power mode.Paul Phillips2011-02-204-4/+13
|
* Based on the frequency with which I hear questi...Paul Phillips2011-02-203-22/+42
| | | | | | | | | | | | | | | | | Based on the frequency with which I hear questions about it and similar, this error message assumes too much understanding. scala> scala.collection.mutable.MultiMap(1, 2, 3) <console>:8: error: value MultiMap is not a member of package scala.collection.mutable Now it says: scala> scala.collection.mutable.MultiMap(1, 2, 3) <console>:8: error: object MultiMap is not a member of package scala.collection.mutable Note: trait MultiMap exists, but it has no companion object. No review.
* Rediscovering that transpose sometimes throws a...Paul Phillips2011-02-191-1/+11
| | | | | | | | | | | | Rediscovering that transpose sometimes throws an exception on irregular lists and sometimes returns an irregular result (depending on whether the first collection is the longest or not) indicated that this needs a better resolution than the status quo. Determination: as long as we're throwing an exception on any invalid input, we should throw an exception on all invalid input, so that's what it does now. I postpone any attempt to offer a variation accepting a "hole value". Closes #3597, review by community.
* [scaladoc] Closes #3681. Review by dubochet.Kato Kazuyoshi2011-02-171-1/+9
|
* Fix in the unify, for a failing specialized test.Aleksandar Pokopec2011-02-161-3/+7
| | | | | No review.
* Made the unification algorithm for specializati...Aleksandar Pokopec2011-02-161-5/+14
| | | | | | | | | | | | | | | | | | | Made the unification algorithm for specialization stricter when checking if a specialized member symbol conforms to a type application. In particular, whereas the `strict` unification mode is concerned: - when both types are typerefs, unification checks whether they have the same number of type args, then unifies type args - when both types are method types, unification checks whether they have the same number of arguments, then unifies argument types and return types - when both types are poly types, -- || -- - when unifying multiple types, strict mode will ensure there aren't any overlapping mappings. Let's hope this fixes and closes #4257. Review by dragos.
* Revert "Added missing string prefixes for names...Aleksandar Pokopec2011-02-157-9/+0
| | | | | | | | Revert "Added missing string prefixes for names of map and set collection classes." and related commits. No review.
* Applying davetron5000's actors docs patches.Aleksandar Pokopec2011-02-1520-88/+109
| | | | | Review by phaller.
* Applying Davetron's enum doc cleanup patch.Aleksandar Pokopec2011-02-151-27/+30
| | | | | No review.
* Another docs patch submitted by Davetron, this ...Aleksandar Pokopec2011-02-141-62/+64
| | | | | | | Another docs patch submitted by Davetron, this time for Either. No review.
* Applying davetron5000's Console docs patch.Aleksandar Pokopec2011-02-141-93/+137
| | | | | No review.
* Added missing string prefixes for names of map ...Aleksandar Pokopec2011-02-147-0/+9
| | | | | | Added missing string prefixes for names of map and set collection classes.
* Refixing SyncVars, fixes #4094.Aleksandar Pokopec2011-02-141-33/+17
| | | | | No review.
* A fix for #4243.Aleksandar Pokopec2011-02-141-4/+12
| | | | | No review.
* solved hyperlinking problems caused by making p...Martin Odersky2011-02-141-16/+15
| | | | | solved hyperlinking problems caused by making parsing lazy.
* Fix to :javap so repl-defined objects as well a...Paul Phillips2011-02-141-1/+11
| | | | | | | | | | | | | | | | | | | | Fix to :javap so repl-defined objects as well as classes will be found. Even case classes: scala> case class Bippy(x: Int, y: Int) defined class Bippy scala> :javap Bippy Compiled from "<console>" public class Bippy extends java.lang.Object implements scala.ScalaObject,scala.Product,scala.Serializable{ ... scala> :javap Bippy$ Compiled from "<console>" public final class Bippy$ extends scala.runtime.AbstractFunction2 implements scala.ScalaObject,scala.Serializable{ ... No review.
* Added new setting -Ygen-javap, which takes a di...Paul Phillips2011-02-145-4/+29
| | | | | | | | Added new setting -Ygen-javap, which takes a directory as an argument and generates javap output for every generated classfile. There is still a lot of noise in a diff: still todo is postprocessing the output to remove diff-noise-generating numbers and such. No review.
* Removed generation of no-op checkcasts for Object.Paul Phillips2011-02-141-1/+3
|
* Closes #3140, #4245. no reviewHubert Plociniczak2011-02-132-3/+10
|
* corrections after recent comment to not parse o...Martin Odersky2011-02-131-0/+2
| | | | | | corrections after recent comment to not parse on reloadSources, so that it is assured that units areparsed before type checking.
* More tweaks to rawToExistential to avoid pile-u...Martin Odersky2011-02-132-5/+4
| | | | | More tweaks to rawToExistential to avoid pile-up of transformations.
* made parsing lazy to decrease blocking times of...Martin Odersky2011-02-131-1/+1
| | | | | made parsing lazy to decrease blocking times of UI thread.
* Fixed all the forms of process input/output red...Paul Phillips2011-02-126-23/+85
| | | | | | | | Fixed all the forms of process input/output redirection so the exit code which makes it out is the exit code of the process. Also changing names to be internally consistent and trying to prune pieces which don't make so much sense without sbt around. Started on documentation. No review.
* I chased a lot of ghosts before finding the rea...Paul Phillips2011-02-113-39/+51
| | | | | | | | | | | | | I chased a lot of ghosts before finding the real culprit for why partest failures have been unfailing. Process(Seq("bash", "-c", "exit 42")) ! // 42 Process(Seq("bash", "-c", "exit 42")) #> logFile ! // 0 That behavior is not yet fixed, but I altered partest not to use #> and fixed the test which should have been failing but wasn't. Closes #4227, no review.
* Fixed infinite expansion of rawToExistential di...Martin Odersky2011-02-111-2/+9
| | | | | Fixed infinite expansion of rawToExistential discovered by Donna.
* Fixed persistent error that was caused by hyper...Martin Odersky2011-02-111-1/+10
| | | | | Fixed persistent error that was caused by hyperlinking to Array methods.
* Fix for #4188.Paul Phillips2011-02-112-2/+2
| | | | | | | | It seems to arise from the changes to inner objects which make them look like lazy vals. I am not sure this is the right change but at least it's only about a six character diff to review. Closes #4188, review by odersky.
* This addresses a few long standing irritations ...Paul Phillips2011-02-1112-50/+171
| | | | | | | | | | | | | | This addresses a few long standing irritations with jline, rewriting chunks of it along the way. No longer does columnar output spill over and double space everything if you're unlucky with the chosen widths. Pagination works for a higher definition of work. Etc. Also, for those who enjoy operating missile systems from their repls, crash recovery now requests your permission before replaying the session. Closes #4194, no review.
* Created invisible setting to expose empty packa...Paul Phillips2011-02-105-11/+41
| | | | | | | | | Created invisible setting to expose empty package members outside of the empty package, so the repl can use packages without going blind to the empty package. This commit also eliminates a deadlock which hits when the compiler starts logging before a lazy val has pulled its head from the noose. Closes #4228, review by odersky.
* Made cooking dependent on a flag rather than a ...Martin Odersky2011-02-102-2/+6
| | | | | | | | Made cooking dependent on a flag rather than a variable. This way we do not waste space in Symbols AND we remain sane under cloning. Review by moors. (there's some debug output that I added to track down a seemingly not idempotent cooking Donna has when using Eclipse).
* One bug fixed.Aleksandar Pokopec2011-02-101-1/+1
| | | | | No review.
* Adding an implicit builder factory to wrapped ...Aleksandar Pokopec2011-02-101-0/+5
| | | | | Adding an implicit builder factory to wrapped strings.
* Made a lot of operations in interactive.Global ...Martin Odersky2011-02-102-27/+39
| | | | | | Made a lot of operations in interactive.Global protected, so that SDT is forced to go through CompilerControl.
* Correct doc comment.Martin Odersky2011-02-101-3/+3
|
* Reverting failed attempt to add more debugging ...Hubert Plociniczak2011-02-101-3/+1
| | | | | | Reverting failed attempt to add more debugging to build manager. no review
* Changed get for a with-default map.Martin Odersky2011-02-101-1/+1
|
* Removed unspecced condition for delayedInit.Martin Odersky2011-02-101-3/+3
|
* Updated docs. No review.Aleksandar Pokopec2011-02-1041-126/+710
|
* Filter completion proposals so that SDT need no...Martin Odersky2011-02-092-49/+71
| | | | | | Filter completion proposals so that SDT need not do it. Should solve the completion problems we were seeing.
* Partial revert of last commit.Hubert Plociniczak2011-02-091-0/+2
|
* cleanup.no reviewHubert Plociniczak2011-02-092-3/+3
|
* Applied a few more fixes for specialization and...Aleksandar Pokopec2011-02-091-37/+83
| | | | | | Applied a few more fixes for specialization and added a new instrumented jar. Review by dragos.
* Some fixes in specialization.Aleksandar Pokopec2011-02-091-10/+10
|
* Added a test case for anyref specialization.Aleksandar Pokopec2011-02-091-8/+14
|
* Changed AnyCompanion to SpecializableCompanion.Aleksandar Pokopec2011-02-095-11/+26
| | | | | Fixed a couple of term specialization bugs.
* Changed the dummy specialization parameter Ref ...Aleksandar Pokopec2011-02-096-26/+22
| | | | | Changed the dummy specialization parameter Ref to AnyRef.
* Added normalization to specialization.Aleksandar Pokopec2011-02-091-28/+52
|
* Got anyref specialized member selection to work.Aleksandar Pokopec2011-02-091-4/+31
|