summaryrefslogtreecommitdiff
path: root/src/compiler
Commit message (Collapse)AuthorAgeFilesLines
* More partest cleanups, and putting back a coupl...Paul Phillips2010-02-253-2/+3
| | | | | | 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 ...Paul Phillips2010-02-252-39/+25
| | | | | | | 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 w...Iulian Dragos2010-02-251-2/+9
| | | | | | | | | 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.
* Tweaking the sealed logic in light of #3097.Paul Phillips2010-02-252-12/+24
| | | | | | | 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.
* Fix for a king-sized last-minute thinko.Paul Phillips2010-02-251-1/+3
|
* Created -Yfatal-warnings, as otherwise I can't ...Paul Phillips2010-02-253-4/+9
| | | | | | | | | | | | | 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 crea...Paul Phillips2010-02-242-4/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 li...Gilles Dubochet2010-02-245-20/+142
| | | | | | | | [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.
* Another update for ShowPickled. No review.Paul Phillips2010-02-241-0/+2
|
* Removed stray debugging code.Miles Sabin2010-02-231-2/+1
|
* Improved fix for #2767. Review by community.Miles Sabin2010-02-231-7/+3
|
* The initial results of running a basic cut and ...Paul Phillips2010-02-239-143/+88
| | | | | | | | 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.
* Removed now redundant function splitParams.Paul Phillips2010-02-233-132/+2
|
* After the compiler refactor, we ended up with i...Paul Phillips2010-02-236-404/+9
| | | | | | | 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.
* [scaladoc] Updated jQuery to version 1.4.2.Gilles Dubochet2010-02-232-140/+142
|
* Added productElementName to Product.Paul Phillips2010-02-233-5/+15
| | | | | | | | | | | | | | | 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 el...Paul Phillips2010-02-237-45/+51
| | | | | | Abstracting out a few more platform specific elements now that we have a facility for doing so. Review by rytz.
* Oops, I broke jline in r20953. Fixed. No review.Paul Phillips2010-02-231-1/+1
|
* More fun with ClassPaths.Paul Phillips2010-02-234-18/+39
| | | | | Review by community.
* Some much needed housecleaning regarding system...Paul Phillips2010-02-239-51/+47
| | | | | | | | | 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 tree...Miles Sabin2010-02-222-39/+23
| | | | | | 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 b...Paul Phillips2010-02-221-0/+166
| | | | | | | 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 ty...Iulian Dragos2010-02-221-2/+2
| | | | | | Specialized types are not substituted inside type arguments. Closes #3085, no review.
* Some deprecation patrol and minor cleanups.Paul Phillips2010-02-221-3/+3
|
* More laboring on Settings, ClassPaths, Ant Task...Paul Phillips2010-02-2211-70/+115
| | | | | | 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...Paul Phillips2010-02-217-21/+108
| | | | | | 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.
* Some repl cleanups and debugging conveniences.Paul Phillips2010-02-212-39/+44
|
* Lowering the noise level in the classpath debug...Paul Phillips2010-02-202-10/+15
| | | | | | | 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 fo...Miles Sabin2010-02-202-10/+24
| | | | | | 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...Paul Phillips2010-02-202-1/+6
| | | | | | | 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 ...Paul Phillips2010-02-202-55/+69
| | | | | | | 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 t...Paul Phillips2010-02-202-2/+2
| | | | | | Temporarily reverting r20928 as it is leading to ant dist crashing. Review by milessabin.
* Some script fixes tied up with classpaths.Paul Phillips2010-02-192-21/+6
|
* Fixed #3043 and #3043; fixed a regression with ...Miles Sabin2010-02-192-2/+2
| | | | | | | 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 posti...Miles Sabin2010-02-181-5/+5
| | | | | | Patch from Mirko Stocker correcting start postions of import AST nodes for refactoring and other tools. Review by community.
* The first reasonably satisfying classpath commit.Paul Phillips2010-02-1812-258/+197
| | | | | there with this one. Documentation to come. Review by community.
* Tighter pattern matching hits the street.Paul Phillips2010-02-183-38/+42
| | | | | | | | | | | | | 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.
* Fix for recent stability issue with Apply0.Paul Phillips2010-02-181-0/+3
| | | | | | | 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...Paul Phillips2010-02-171-1/+5
| | | | | | | | 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.)
* Added a copy() method to Settings. No review.Paul Phillips2010-02-171-2/+16
|
* Fix for silly mistake in [20835]. No review.Miles Sabin2010-02-171-1/+1
|
* Checking the symbols of parameters in overloade...Hubert Plociniczak2010-02-171-4/+4
| | | | | | | | | 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.
* Fix and test case for #3031. Review by odersky.Miles Sabin2010-02-171-1/+7
|
* Took a less ambitious approach to restoring sta...Paul Phillips2010-02-162-8/+5
| | | | | | | | | 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 befor...Paul Phillips2010-02-161-2/+12
| | | | | | | 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 ...Paul Phillips2010-02-162-3/+19
| | | | | | Unix scripts pass -D options to the underlying JVM invocation. Closes #1222. Review by community.
* Trying again to unbreak the repl patch.Paul Phillips2010-02-161-2/+3
|
* Last minute change broke the last commit.Paul Phillips2010-02-161-1/+1
|
* Some prestidigitation improving the repl startu...Paul Phillips2010-02-162-15/+45
| | | | | | Some prestidigitation improving the repl startup time. The prompt is quicker than the eye! No review.
* Some minor bugfixing/refining to completion.Paul Phillips2010-02-163-11/+27
|