| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
More partest cleanups, and putting back a couple lines in build.xml
which were left a little too commented out. No review.
|
|
|
|
|
|
|
| |
Looking at iulian's patch to the squeezer sent me off looking at
equalsStructure, which clearly was written in a bygone era. Rewritten
with modern tools. No review.
|
|
|
|
|
|
|
|
|
| |
Made the squeezer worthy of its name: a block with an empty list of
stats and another block as the result expression is rewritten to the
inner block (recursively). This makes the output from the pattern
matcher nicer, eliminating loads of empty nested blocks. Review by
extempore.
|
|
|
|
|
|
|
| |
Reorganizes children a little so they always come back sorted the same
way the pickler does. Taking advantage of -Yfatal-warnings in the test
case. Review by community.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Created -Yfatal-warnings, as otherwise I can't see how to make partest
fail on the presence of an unchecked warning. It'll come in handy
anyway. Now we have a real tough guy's command line for those who want
it:
% scalac -unchecked -deprecation -Yfatal-warnings `find . -name
'*.scala'`
Not for the timid. Review by community.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bash completion! The file is automatically created as part of the build
process and placed in $pack/etc.
% scala -Xprint
-Xprint-icode -Xprint-pos -Xprint-types -Xprint:
% scala -Xprint:
all flatten mixin tailcalls
cleanup icode namer terminal
closelim inliner packageobjects typer
constructors jvm parser uncurry
dce lambdalift pickler
erasure lazyvals refchecks
explicitouter liftcode superaccessors
% scala -g:
line none notailcalls source vars
% scala -Ystruct-dispatch:
invoke-dynamic mono-cache no-cache poly-cache
Review by community.
|
|
|
|
|
|
|
|
| |
[scaladoc] Preliminary support for links and lists in wiki syntax,
as well as printing of lists. Fix to display of "inherits" classes.
Contributed by Pedro Furlanetto, no review. Member names in signature
are more contrasted and are aligned.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
The initial results of running a basic cut and paste detector over trunk
and trying to undo some of it. I can live with history but if I see
Cutty McPastington in new commits I will get all finger waggly. Don't
make me cross that ocean. No review.
|
| |
|
|
|
|
|
|
|
| |
After the compiler refactor, we ended up with identical copies of
PickleBuffer and PickleFormat in the library and compiler. Deleted the
compiler versions and updated references. No review.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
case class field names your heart desires. Review by odersky.
scala> case class Foo[T](kilroy: String, burma: List[T], shave:
Seq[Int]) defined class Foo
scala> Foo("was here", List('myanmar), Seq(25, 25))
res0: Foo[Symbol] = Foo(was here,List('myanmar),List(25, 25))
scala> 0 to 2 map (res0 productElementName _)
res1: IndexedSeq[String] = IndexedSeq(kilroy, burma, shave)
|
|
|
|
|
|
| |
Abstracting out a few more platform specific elements now that we have a
facility for doing so. Review by rytz.
|
| |
|
|
|
|
|
| |
Review by community.
|
|
|
|
|
|
|
|
|
| |
Some much needed housecleaning regarding system properties. If you can
possibly resist the temptation, it'd be great if people could try to
go through the properties classes to get and set them, and also to set
property values somewhere fixed rather than using strings directly.
Review by community.
|
|
|
|
|
|
| |
Yet another attempt at retaining ill-typed trees for the IDE ... this
time docs.comp should be unbroken.
|
|
|
|
|
|
|
| |
A simple command line parser to consolidate a bunch of different
implementations floating around trunk. And rolled it out in partest's
ConsoleRunner. Review by community.
|
|
|
|
|
|
| |
Specialized types are not substituted inside type arguments. Closes
#3085, no review.
|
| |
|
|
|
|
|
|
| |
More laboring on Settings, ClassPaths, Ant Tasks, Partest, and similar
epicenters of thrilldom. No review.
|
|
|
|
|
|
| |
Some more code for seeing what's going on in in scalac's mind with
respect to who to load when and from where. No review.
|
| |
|
|
|
|
|
|
|
| |
Lowering the noise level in the classpath debugging output. Try ant
-Dscalac.args="-Ylog-classpath" if you would like the rare joy of having
a fair idea what is being used to compile what. No review.
|
|
|
|
|
|
| |
Another attempt at retaining ill-typed trees for the IDE, this time
without breaking scaladoc. Review by extempore.
|
|
|
|
|
|
|
| |
Altered the ant task to generate a -Dscala.home= property, which now
acts as signal to scalac to ignore the java classpath and use only the
scala classpath. No review.
|
|
|
|
|
|
|
| |
Some cleanups on the scalacfork ant task since I'm clearly going to have
to go through everything which touches classpaths in any way shape or
form. No review.
|
|
|
|
|
|
| |
Temporarily reverting r20928 as it is leading to ant dist crashing.
Review by milessabin.
|
| |
|
|
|
|
|
|
|
| |
Fixed #3043 and #3043; fixed a regression with hover/hyperlinks on
import statements; don't attempt to parse out top-level types from
non-Scala sources. Review by community.
|
|
|
|
|
|
| |
Patch from Mirko Stocker correcting start postions of import AST nodes
for refactoring and other tools. Review by community.
|
|
|
|
|
| |
there with this one. Documentation to come. Review by community.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
is final and does not conform to the pattern, it will no longer compile.
See all the exciting things you can no longer do:
"bob".reverse match { case Seq('b', 'o', 'b') => true } // denied!
"bob".toArray match { case Seq('b', 'o', 'b') => true } // rejected!
final class Dunk
def f3(x: Dunk) = x match { case Seq('b', 'o', 'b') => true } // uh-uh!
And so forth. Review by odersky.
|
|
|
|
|
|
|
| |
classpaths flushes out bugs, we should do this all the time. Review by
odersky even though he authored it, because reliving one's own patches
is the key to a long and healthy life.
|
|
|
|
|
|
|
|
| |
A variety of changes to partest made in a quest to get it to reveal the
classpaths it is using. No longer will partest actively sabotage your
efforts to pass -Dpartest.debug=true by inserting "-Dpartest.debug="
after yours! And etc. Review by haller (if so inclined.)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Checking the symbols of parameters in overloaded methods didn't seem
to work in all cases. Apparently the enclosing class of the owner of
the parameter was changing during the compilations from trait to the
implementation class. This was causing annoying excessive compilation
for Types.scala.
|
| |
|
|
|
|
|
|
|
|
|
| |
Took a less ambitious approach to restoring stability. Leave isLess as
it was and have the pickler sort without using isLess. Interestingly
this approach still leaves a class failing the stability test
(scala/actors/remote/Apply0.class) so a little more will be needed.
Review by odersky.
|
|
|
|
|
|
|
| |
Altered Symbol.isLess to sort on initName before id. No longer will
slightly different classpaths break the stability test. Review by
odersky.
|
|
|
|
|
|
| |
Unix scripts pass -D options to the underlying JVM invocation. Closes
#1222. Review by community.
|
| |
|
| |
|
|
|
|
|
|
| |
Some prestidigitation improving the repl startup time. The prompt is
quicker than the eye! No review.
|
| |
|