summaryrefslogtreecommitdiff
path: root/src/compiler
Commit message (Collapse)AuthorAgeFilesLines
* 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-081-2/+34
|
* Made power mode more configurable.Paul Phillips2011-04-0711-35/+62
| | | | | | | | | | | | 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.
* Deleted SourcelessComments.Paul Phillips2011-04-0711-283/+245
| | | | | | | | | | | | | 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.
* The beautification of repl pasting had the prob...Paul Phillips2011-04-062-31/+70
| | | | | | | The beautification of repl pasting had the problem that the new beautiful output was not itself pastable. Now I have achieved "paste idempotence". No review.
* More refinements to avoid deadlocks systematica...Martin Odersky2011-04-062-25/+25
| | | | | | More refinements to avoid deadlocks systematically when asking from presentation compiler thread
* [scaladoc] Reduce horizontal lines in html outp...Donna Malayeri2011-04-062-104/+150
| | | | | | [scaladoc] Reduce horizontal lines in html output, refactor Template.css to improve readability. No review.
* Set "synthetic" flag for methods $asInstanceOf ...Donna Malayeri2011-04-061-2/+2
| | | | | | Set "synthetic" flag for methods $asInstanceOf and $isInstanceOf. Closes #4368. No review.
* Misc cleanups and crash avoidance, no review.Paul Phillips2011-04-062-3/+1
|
* Fixed an edge case setting crasher, no review.Paul Phillips2011-04-061-1/+1
|
* Some accumulated cleanups around the interprete...Paul Phillips2011-04-053-84/+130
| | | | | | | Some accumulated cleanups around the interpreter loop commands as I attempt to make my way all the way to the promised land of documenting it. No review.
* Forgot a import in the last commit. no review.Iulian Dragos2011-04-051-2/+0
|
* better handling of on-same-thread calls.Martin Odersky2011-04-052-10/+12
|
* Wrapped exceptions coming from calls to 'ask' i...Iulian Dragos2011-04-052-3/+6
| | | | | | | Wrapped exceptions coming from calls to 'ask' in a FailedException. This allows to get a stack trace from both the presentation compiler thread and the calling thread. review by odersky.
* Enhancing the repl-testing code by turning it i...Paul Phillips2011-04-051-4/+40
| | | | | | | | | | Enhancing the repl-testing code by turning it into a transcript producing machine. "Here's some code." "Here's a transcript!" "Good day to you, sir!" "No, good day to YOU!" These changes are awesome. Look at the checkfile diffs for god's sake, they'll make you weep with joy. No review.
* Added a long overdue warning for when people de...Paul Phillips2011-04-051-6/+25
| | | | | | | | | | | | | | | | Added a long overdue warning for when people define a class and then an object or vice versa in the repl. scala> object Bippy { implicit val myImplicitsDontWork = 5 } defined module Bippy scala> trait Bippy { val x = "hello" } defined trait Bippy warning: previously defined object Bippy is not a companion to trait Bippy. Companions must be defined together; you may wish to use :paste mode for this. No review.
* [scaladoc] Updated trait, package, class, and o...Donna Malayeri2011-04-049-1432/+1788
| | | | | [scaladoc] Updated trait, package, class, and object icons. No review.
* Some localized code cleanup.Martin Odersky2011-04-041-10/+11
|
* [scaladoc] Fix minor CSS issue. No review.Donna Malayeri2011-04-041-3/+2
|
* [scaladoc] Make object/template name be a link ...Donna Malayeri2011-04-041-17/+14
| | | | | | [scaladoc] Make object/template name be a link to the companion. Closes #4411. Review by extempore to make sure the design makes sense.
* [scaladoc] Change div id's of abstract and conc...Donna Malayeri2011-04-041-2/+2
| | | | | | | [scaladoc] Change div id's of abstract and concrete members so that "order by inheritance" action works properly. Fixes issue introduced in r24658. Review by extempore.
* Fixed crashes in IDE on default parameters in c...Martin Odersky2011-04-041-0/+2
| | | | | Fixed crashes in IDE on default parameters in constructors.
* Every tag element (even @define and @usecase) e...Kato Kazuyoshi2011-04-041-12/+7
| | | | | | Every tag element (even @define and @usecase) end before the next recognised tag. Closes #4409. Review by extempore.
* [scaladoc] Minor CSS tweaks. No review.Donna Malayeri2011-04-041-10/+15
|
* Fix for windows batch files. Closes #4439.Antonio Cunei2011-04-041-10/+2
|
* [scaladoc] Add missing files.Donna Malayeri2011-04-042-0/+0
|
* [scaladoc] Add explicit link to show linear sup...Donna Malayeri2011-04-0413-167/+250
| | | | | | | | [scaladoc] Add explicit link to show linear supertypes and known subclasses. Closes #4416. Modifications to style sheets to reduce number of colors and make the documentation more readable (includes contributions from Ruediger Keller). No review.
* A double completion whammy: crasher for edge co...Paul Phillips2011-04-012-2/+5
| | | | | | A double completion whammy: crasher for edge condition and method signatures not being cleaned of their $iws. Closes #4434, no review.
* On Scaladoc, we should escape meta characters b...Kato Kazuyoshi2011-04-011-11/+14
| | | | | | On Scaladoc, we should escape meta characters before compile regexp. No review.
* Finding myself wanting a working -Ystop, I did ...Paul Phillips2011-04-012-3/+19
| | | | | | | | | | | | | | | | | | | Finding myself wanting a working -Ystop, I did the following. -Ystop-after:phase works -Ystop-before:phase works -Ystop:phase is a backward compat alias for -Ystop-after Until now -Ystop, although documented to "stop after phase", actually stopped before phase, to the consternation of some. Furthermore the programmatic way to influence the stop phase (protected def stopPhase in Global#Run) involved returning true if you wanted to stop before the phase. So now the command line option works as advertised, and the method has the same semantics. The only potential loser is some script which uses -Ystop: based on the actual behavior rather than the documented behavior. Well, someone had to lose. No review.
* Put "\n" between superclass's comment and subcl...Kato Kazuyoshi2011-04-011-1/+3
| | | | | | Put "\n" between superclass's comment and subclass's. Closes #4289. Review by pedrofurla.
* Since somewhere before 2.8.0 shipped scalac has...Paul Phillips2011-04-011-1/+2
| | | | | | | Since somewhere before 2.8.0 shipped scalac has disgorged a stack trace for the misdemeanor of specifying a non-existent directory for -d. No more, no review.
* Fix for parsing bug in scaladoc closes #4420, n...Paul Phillips2011-04-011-5/+1
| | | | | Fix for parsing bug in scaladoc closes #4420, no review.
* A less ad hoc infrastructure for generating Any...Paul Phillips2011-04-012-221/+217
| | | | | | A less ad hoc infrastructure for generating AnyVal sources. A few more comments on said sources. No review.
* Working on the documentation of core classes.Paul Phillips2011-04-012-78/+103
| | | | | | | | withdraw some of the goodness I banked a while ago with the AnyVal types. Started on what will culminate in the total elimination of SourcelessComments. Cleaned up the docs on ancient classes like Product. More to come. No review.
* Separated abstract and concrete value members i...Paul Phillips2011-03-312-28/+14
| | | | | | | | | | | Separated abstract and concrete value members in scaladoc. This looks like such a runaway improvement to me that I'm just checking it in, but if anyone feels differently say the word. I eliminated the abstract/concrete filter entirely as it is extraneous once you can just see which is which. Closes #3831, review by malayeri.
* Fix for a little breakage which crept into powe...Paul Phillips2011-03-311-2/+1
| | | | | | | Fix for a little breakage which crept into power mode. This is why real things with real types are better than generating code and remembering to update your strings. No review.
* Printing refinement types in scaladoc.Paul Phillips2011-03-311-2/+8
| | | | | | one-member refinements, for bigger ones printing the number of members. Should be improved. Closes #484, no review.
* recommitted 24578: All compiler control methods...Martin Odersky2011-03-313-39/+32
| | | | | | recommitted 24578: All compiler control methods now do something sensible when called from presentation compiler thread itself.
* Allow the presentation thread to terminate when...Iulian Dragos2011-03-311-2/+3
| | | | | | Allow the presentation thread to terminate when the compiler is shut down. no review.
* [scaladoc] Don't link to syntetic companion.Kato Kazuyoshi2011-03-312-2/+7
|