| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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 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 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 object icons. No review.
|
| |
|
| |
|
|
|
|
|
|
| |
[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 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 constructors.
|
|
|
|
|
|
| |
Every tag element (even @define and @usecase) end before the next
recognised tag. Closes #4409. Review by extempore.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
[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 condition and method
signatures not being cleaned of their $iws. Closes #4434, no review.
|
|
|
|
|
|
| |
On Scaladoc, we should escape meta characters before compile regexp. No
review.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 subclass's. Closes #4289.
Review by pedrofurla.
|
|
|
|
|
|
|
| |
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, no review.
|
|
|
|
|
|
| |
A less ad hoc infrastructure for generating AnyVal sources. A few more
comments on said sources. No review.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
A quick fix for the weird string output one gets in the repl when
calling .par. No review.
|
|
|
|
|
|
|
|
|
|
|
| |
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 power mode. This is why real
things with real types are better than generating code and remembering
to update your strings. No review.
|
|
|
|
|
|
| |
one-member refinements, for bigger ones printing the number of members.
Should be improved. Closes #484, no review.
|
|
|
|
|
|
| |
recommitted 24578: All compiler control methods now do something
sensible when called from presentation compiler thread itself.
|
|
|
|
|
|
|
| |
the input verifier is null should be "assume it verifies" not "assume it
doesn't" but since I don't actually know anything about swing this guess
could be wrong. Closes #3783, review by imaier.
|
| |
|
|
|
|
|
|
| |
Allow the presentation thread to terminate when the compiler is shut
down. no review.
|
| |
|
|
|
|
|
|
|
| |
Don't create a new thread on each presentation compiler crash. Solves
race conditions in outstanding maps (should fix deadlocks in the IDE).
Added project name to the thread name and log messages. no review.
|
|
|
|
|
|
| |
Fix for interpreter issue with missing newlines wreaking havoc. No
review.
|
|
|
|
|
|
| |
Some minor sensibility improvements to previous patch, and tearing out
some obsolete pieces of scalap. No review.
|
|
|
|
|
|
| |
Making the scaladoc command line help look as pretty as all the others
ones do now. No review.
|
|
|
|
|
|
| |
Incidental work on scaladoc while trying to figure out what is up with
usecases. Did a little rewrite of recent patch. No review.
|
|
|
|
|
|
|
|
|
|
| |
Modified some typer logic to allow annotation arguments for constants
which don't have the form Literal(_). The current logic seems to be
avoided most of the time, but scaladoc breaks when it runs into it. This
closes #4301. I can't figure out from the ticket what the deal is with
#2764 and what is presently happening, but it seems like this patch
could only improve the situation. Review by rytz.
|
|
|
|
|
|
| |
[scaladoc] Scaladoc should expand macros recursively. Closes #3484.
Review by dubochet.
|
|
|
|
|
|
|
| |
Warn about unqualified names in scaladoc links because they don't work.
I think it would be better to just make them work, but the way things
are structured it looks involved. Closes #3696, no review.
|
|
|
|
|
|
| |
Addressing most of the warnings revealed by the patch to warn about
unknown scaladoc variables. Updated and reran genprod. No review.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Issue warning when doccomments have $variables which go unfulfilled.
Started with patch by dmharrah. Noticed expandVariables never
incremented its recursion guard and ended up rewriting it. To avoid
spurious warnings you can escape $'s, as in this comment:
/** The decoded name of the symbol, e.g. `==` instead of `\$eq\$eq`.
*/
The above will be ignored during expansion and translated to $eq$eq for
output. Closes #4412, no review.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Wanting to deprecate -make, first I had to write a way to deprecate
-make. So there's that, now you can do
val s = SomeSetting(...) withDeprecationMessage "don't use this"
And it will do the usual deprecation things. And, deprecated -make. And
couldn't resist fixing a bug in -make, it would crash if you gave it its
own default option (i.e. -make:all.) Let's deprecate more!
I also did further cleaning up of our help outputs. Do I smell a
pulitzer in the making? No review.
|
|
|
|
|
| |
Excluding presentation test from sbaz-packaged test suite.
|
|
|
|
|
|
| |
include files/specialized/*.txt in the set of files packaged in the test
sbp.
|
|
|
|
|
|
| |
Transcript pastes now work with leading whitespace (such as my commit
message in r24624), no review.
|