summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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
|
* A missing test.Aleksandar Pokopec2011-02-092-0/+52
| | | | | No review
* Applied a few more fixes for specialization and...Aleksandar Pokopec2011-02-092-38/+84
| | | | | | 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
|
* Test case uncommented.Aleksandar Pokopec2011-02-091-32/+32
|
* Added a test case for anyref specialization.Aleksandar Pokopec2011-02-097-9/+467
|
* 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
|
* Fixed several specialization cases.Aleksandar Pokopec2011-02-091-32/+64
|
* Further specialization work.Aleksandar Pokopec2011-02-091-12/+40
|
* Specialization work in progress.Aleksandar Pokopec2011-02-096-14/+62
|
* Improved an error message involving overload+de...Paul Phillips2011-02-094-8/+39
| | | | | | Improved an error message involving overload+default args. Closes #3909, no review.
* Added a system property which disables stack tr...Paul Phillips2011-02-092-8/+17
| | | | | | | | | Added a system property which disables stack trace suppression. (At present it is the very terse -Dscala.control.no-trace-suppression.) This makes zero-output crashes involving things like MissingType significantly less maddening. It would behoove us to have a central naming scheme for such properties. Review by community.
* Some cleanup from investigating #4041, with a c...Paul Phillips2011-02-092-16/+32
| | | | | | Some cleanup from investigating #4041, with a comment instead of a fix for the ticket. Review by rytz in case he sees a good way to fix it.
* [scaladoc] Don't hide AnyRef's methods on the A...Kato Kazuyoshi2011-02-081-8/+15
| | | | | | | [scaladoc] Don't hide AnyRef's methods on the AnyRef page. This issue is reported at http://lampsvn.epfl.ch/trac/scala/ticket/3668. Review by dubochet.
* [scaladoc] Simplify selectors. No review.Kato Kazuyoshi2011-02-081-4/+4
|
* Added compiler crash recovery to the repl.Paul Phillips2011-02-084-55/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | up it will issue some apologies and then replay the session up to the crash line with a new compiler. If you combine this with -Yrich-exceptions then you can induce a crash, see the exact path through the code which led there, and then continue on your merry way as if nothing happened. // say ticket #4188 for example % scala -Yrich-exceptions scala> class A { | object Ding | class B { | (null: Any) match { case _: Ding.type => () } | } | } assertion failed: Trying to access the this of another class: tree.symbol = class $read$$iw$$iw$A, ctx.clazz.symbol = class $read$$iw$$iw$A$B compilation unit:<console> [searching for exception contexts...] [GenICode.scala$tools$nsc$backend$icode$GenICode$ICodePhase$$genLoad] 958: 959: case This(qual) => 960: assert(tree.symbol == ctx.clazz.symbol || tree.symbol.isModuleClass, *961: "Trying to access the this of another class: " + 962: "tree.symbol = " + tree.symbol + ", ctx.clazz.symbol = " + ctx.clazz.symbol + " compilation unit:"+unit) 963: if (tree.symbol.isModuleClass && tree.symbol != ctx.clazz.symbol) { 964: if (settings.debug.value) [GenICode.genLoadQualifier] 1166: tree match { 1167: case Select(qualifier, _) => 1168: genLoad(qualifier, ctx, toTypeKind(qualifier.tpe)) *1169: case _ => 1170: abort("Unknown qualifier " + tree) 1171: } 1172: [...] Attempting session recovery... scala> No review.
* vector concat stubsTiark Rompf2011-02-081-0/+10
|
* Fixed failing test. no reviewHubert Plociniczak2011-02-081-2/+3
|
* Closes #4215. review by oderskyHubert Plociniczak2011-02-084-2/+24
|
* Closes #3986 plus some cleanup. no reviewHubert Plociniczak2011-02-083-4/+11
|
* Made after-type-delay configurable in Eclipse.Martin Odersky2011-02-081-1/+17
|
* New option: Ypresentation-delay, to wait with t...Martin Odersky2011-02-081-0/+1
| | | | | New option: Ypresentation-delay, to wait with typechecking after typing.
* Working on fsc.Paul Phillips2011-02-089-134/+136
| | | | | | | | | for me anyway, with this commit scripts will occasionally reuse a compiler instance, instead of never. Since any tests I write will fail on platforms which aren't mine, there are no tests. I might have to start a platform-specific testing area to break some ice around these huge untested zones. No review.
* redesigned error message handling for presentat...Martin Odersky2011-02-073-40/+43
| | | | | redesigned error message handling for presentation compiler.
* [scaladoc] Tweaks to CSS for comments. No review.Gilles Dubochet2011-02-071-2/+6
|
* Added missing file to last commit.Martin Odersky2011-02-073-3/+41
|
* Towards better error handling in the IDE.Martin Odersky2011-02-076-8/+14
|
* Guess I can't have a javap test with no javap.Paul Phillips2011-02-072-0/+0
|
* Fixed a history bug with it not starting at the...Paul Phillips2011-02-071-1/+2
| | | | | Fixed a history bug with it not starting at the right index. No review.
* Added all the javap command line options to :ja...Paul Phillips2011-02-075-70/+157
| | | | | Added all the javap command line options to :javap. No review.
* The comment for isCoDefinedWith has long saidPaul Phillips2011-02-072-12/+22
| | | | | | | | | | | Is this symbol defined in the same scope and compilation unit as `that' symbol? But "same scope" was never checked, only "same compilation unit." Presumably other layers of logic kept this from being noticed until now, but it has been crashing sbt. Added check to isCoDefinedWith. Closes #4220, review by odersky.