summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Renamed Application to App.Martin Odersky2011-02-21262-283/+283
|
* Fixed a bug where newly introduced type paramet...Aleksandar Pokopec2011-02-213-5/+63
| | | | | | | | Fixed a bug where newly introduced type parameters didn't have all the substitutions done correctly. Fixes #4266. No review.
* Attempt to fix #4214 by avoiding signature gene...Martin Odersky2011-02-211-1/+1
| | | | | | Attempt to fix #4214 by avoiding signature generation for mixed in and bridge methods.
* new test for Application behavior.Martin Odersky2011-02-211-0/+7
|
* Moved delayedInit Application to App; reinstant...Martin Odersky2011-02-212-48/+127
| | | | | | Moved delayedInit Application to App; reinstantiated 2.8.1 Application and deprecated it.
* Closes #4146.Martin Odersky2011-02-211-9/+85
|
* More work on symbol trackers.Paul Phillips2011-02-202-19/+44
| | | | | | | | | | | from one AST snapshot to the next, it displays the nodes which had until so recently been decorated with it. It's quite the symbol whisperer now, try it. scalac -Yshow-syms bippy.scala No review.
* Making parsing more interruptible + better timi...Martin Odersky2011-02-203-40/+60
| | | | | Making parsing more interruptible + better timing info in logs.
* Moved unlift to the Function companion object, ...Paul Phillips2011-02-2095-1337/+1684
| | | | | | | | | | | | | | Moved unlift to the Function companion object, which might have been better in the first place. Had to make a minor change to genprod, and then I couldn't escape that unscathed. Finished the not very complete undertaking I found there to update the scaladoc. Lots of little changes to the generated text and code. I changed genprod to only put a unique stamp on Function0 so we can stop having a 100 file diff everytime an i is dotted somewhere. Closes #3825, no review.
* Observed that some historical issues with packa...Paul Phillips2011-02-205-17/+24
| | | | | | | | 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-208-23/+59
| | | | | | | | | | | | | | | | | 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.
* Test case closes #3137, no review.Paul Phillips2011-02-201-0/+17
|
* Rediscovering that transpose sometimes throws a...Paul Phillips2011-02-192-1/+23
| | | | | | | | | | | | 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.
* Test case closes #3861, no review.Paul Phillips2011-02-181-0/+2
|
* Test case closes #2070. No review.Paul Phillips2011-02-182-0/+15
|
* [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.
* Added a missing test case for the previous commit.Aleksandar Pokopec2011-02-161-0/+15
| | | | | 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-159-26/+17
| | | | | | | | 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 fix for a broken test case involving ne...Aleksandar Pokopec2011-02-151-2/+2
| | | | | | | | Another fix for a broken test case involving new set and map string reps. No review.
* Fixing tests depending on map and set string re...Aleksandar Pokopec2011-02-142-15/+15
| | | | | Fixing tests depending on map and set string representations. 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-142-4/+30
| | | | | 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.
* Test case closes #4173. No review.Paul Phillips2011-02-141-0/+4
|
* Added new setting -Ygen-javap, which takes a di...Paul Phillips2011-02-146-5/+31
| | | | | | | | 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-138-3/+37
|
* 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-114-54/+68
| | | | | | | | | | | | | 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-113-2/+8
| | | | | | | | 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-1113-51/+172
| | | | | | | | | | | | | | 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-106-13/+46
| | | | | | | | | 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.
* In support of project "A Better IDE...Paul Phillips2011-02-104-0/+0
| | | | | | | | | | | | | | | | reinstate the disabled test. COMMITTERS: the test is very fragile. If you don't run the whole test suite (it's the very last one which runs!) then you broke the build. Upon your toes you should be. For anyone unaware, test/partest --update-check path/to/test will magically pass any test and update the checkfile to resemble whatever output it just produced. Incautious use of this feature may negatively impact the mood of certain extempores. No review.
* 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).
* After seeing the 481 line diff I had to apply t...Paul Phillips2011-02-104-162/+151
| | | | | | | | | | After seeing the 481 line diff I had to apply to bring the checkfile up to date, I concluded this test cannot be in the general pool: this is the third build break in the last few days, because it changes output like some people change socks. (Hygenic people.) Sorry to move it to disabled iulian, but I don't know what else to do with it on short notice. Review by dragos.