summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Better handling of presentation compiler shutdown.Iulian Dragos2011-08-312-8/+60
| | | | | | | | | | of deadlocks: when the PC was asked to shutdown, all work items in the work queue would be left pending, and no response would be set. This commit attempts to clean up a bit better: a shutdown request clears the work queue and all pending loaded&typed or parsed-entered requests by setting their responses to 'MissingResponse'. review by odersky.
* More fixes to reflection and reflective compiler.Martin Odersky2011-08-303-24/+63
|
* Twist to make crashes more robust :-) (by avoid...Martin Odersky2011-08-301-1/+2
| | | | | | Twist to make crashes more robust :-) (by avoiding exceptions that get raised when printing debug output in erasure).
* removing more debug output from reflection.Martin Odersky2011-08-301-2/+2
|
* Added extraneous test where classes are verifie...Josh Suereth2011-08-293-0/+107
| | | | | | | Added extraneous test where classes are verified by loading them in non-boot classloaders one at a time. These are not wired into the standard workflow, but available optionally. Review by rytz
* Added copyright notice to all scaladoc pages.Heather Miller2011-08-292-0/+12
|
* Added package object support to reflection fram...Martin Odersky2011-08-2910-85/+91
| | | | | | Added package object support to reflection framework. Removed debug output and made some speed improvements.
* More changes to get Reflect compiler working.Martin Odersky2011-08-2917-104/+188
|
* Gave partial function an empty member.Paul Phillips2011-08-281-2/+9
|
* Another bit of stray debugging output involving...Paul Phillips2011-08-271-1/+1
| | | | | | Another bit of stray debugging output involving good old symbol #431. Oh, symbol #431, why must you haunt our dreams. No review.
* Fixing up a few instances of suboptimal reversi...Paul Phillips2011-08-274-4/+4
| | | | | Fixing up a few instances of suboptimal reversing, no review.
* Replaced various now-unnecessary casts with str...Paul Phillips2011-08-277-7/+7
| | | | | | Replaced various now-unnecessary casts with straight getClass calls. Closes SI-4780, no review.
* Fixed bug in Sorted "to" not using the ordering.Paul Phillips2011-08-271-2/+1
|
* Fixing the buildMartin Odersky2011-08-261-3/+4
|
* Removing debug output that slipped into main co...Martin Odersky2011-08-263-4/+4
| | | | | | Removing debug output that slipped into main compiler and broke the build.
* More fixes/debug code for reflection.Martin Odersky2011-08-266-12/+43
|
* Always include `liftcode` phase in a compiler run.Grzegorz Kossakowski2011-08-262-2/+1
| | | | | | | | | | | | | | It turns out that `liftcode` phase must be always executed or other phases will fail. Specifically, at the moment `explicitouter` seems to depend on `liftcode`. One can observe compiler crash by compiling scala/Array.scala file without `liftcode` included. At `explicitouter` phase compiler will crash with assertion error saying it cannot lift some code. Review by odersky
* Some kind of scaladoc quoting fix from the sbt ...Paul Phillips2011-08-251-6/+6
| | | | | Some kind of scaladoc quoting fix from the sbt guy, no review.
* Recent icode checking tests were leaving a bit ...Paul Phillips2011-08-252-3/+7
| | | | | | | Recent icode checking tests were leaving a bit of a mess in the filesystem. Taught them to clean up after themselves. I knew I'd pick up a few useful tricks from my kids. No review.
* Made -Xprompt more useful, less crashy and more...Paul Phillips2011-08-255-22/+21
| | | | | | | | | | | | | | | | | | | | | | Made -Xprompt more useful, less crashy and more open to showing you the stack trace without aborting. For example, the following would resume compilation after showing the trace. % scala -deprecation -Xprompt -nc -e 'case class Foo' foo.scala:1: warning: case classes without a parameter list have been deprecated; use either case objects or case classes with `()' as parameter list. case class Foo ^ a)bort, s)tack, r)esume: s java.lang.Exception [...] at scala.tools.nsc.ast.parser.Parsers$UnitParser.deprecationWarning(Parsers.scala:207) at scala.tools.nsc.ast.parser.Parsers$Parser.paramClauses(Parsers.scala:2058) at scala.tools.nsc.ast.parser.Parsers$Parser$$anonfun$classDef$1.apply(Parsers.scala:2557) at scala.tools.nsc.ast.parser.Parsers$Parser$$anonfun$classDef$1.apply(Parsers.scala:2545) No review.
* Fixes and temporary debug scaffolding for refle...Martin Odersky2011-08-254-27/+49
| | | | | Fixes and temporary debug scaffolding for reflect code.
* Fixed build problemsMartin Odersky2011-08-242-2/+2
|
* Class that can be used for memoizing types in r...Martin Odersky2011-08-241-0/+15
| | | | | Class that can be used for memoizing types in reified trees
* reflection refactoring so that we can now have ...Martin Odersky2011-08-2411-10/+47
| | | | | | | reflection refactoring so that we can now have a compiler that uses reflection instead of class files (ReflectGlobal/ReflectMain). Still needs some debugging to get it to run.
* Refactored everything that's clean in nsc.Main ...Martin Odersky2011-08-242-58/+83
| | | | | | | | Refactored everything that's clean in nsc.Main to nsc.Driver. Left the cruft in Main which now inherits Driver. Makes it simpler to create new compiler variants by subclassing Driver instead of adding yet one more case to the convoluted logic in Main.
* Some 11th hour modifications with the dual purp...Paul Phillips2011-08-239-35/+96
| | | | | | | | | | | | | | | | | | Some 11th hour modifications with the dual purpose of a smooth console life for sbt and so the repl can be used on google app engine. Although this patch may look largish to be entering at RC4, there isn't a lot going on. It's trying to make these dangerous things: - property and environment variable accesses - thread creation - signal handler installation happpen in a sufficiently uniform way that people who don't want them and places who don't allow them are not left with an unfixable situation where things blow up inside private methods. Also, the (ahem) lower than usual elegance levels are due to it being intended for 2.9.x as well. Review by harrah.
* Modified scala.reflect package object not to th...Paul Phillips2011-08-232-7/+46
| | | | | | | Modified scala.reflect package object not to throw an exception at initialization time if it can't instantiate the value in question. Review by odersky.
* New reification code for symbols and types.Martin Odersky2011-08-234-103/+384
|
* applying patch provided by Topher, fixes #3501.Tiark Rompf2011-08-231-1/+4
|
* Created infrastructure for testing icode + sett...Paul Phillips2011-08-2214-48/+178
| | | | | | | | | | | | | | | | Created infrastructure for testing icode + settings/partest yak shaving. See enclosed test files/run/inline-ex-handlers.scala. To compare optimized and unoptimized icode after a given phase, all you need in a partest source file is this: import scala.tools.partest.IcodeTest object Test extends IcodeTest { override def printIcodeAfterPhase = "inlineExceptionHandlers" } Other things can be done, see IcodeTest.scala. Review by ureche.
* corrected misspelled type params (capitalized n...michelou2011-08-221-123/+140
| | | | | corrected misspelled type params (capitalized names 3x)
* Some cleanups in inline exception handlers.Paul Phillips2011-08-221-232/+143
|
* Bug in optimizer eliminated potentially excepti...Paul Phillips2011-08-211-10/+8
| | | | | | Bug in optimizer eliminated potentially exceptional not-dead code. Streamlined isSideEffecting logic. Review by ureche.
* Set the partest encoding to UTF-8.Paul Phillips2011-08-211-0/+1
|
* Improved documentation for scala.collection.imm...Heather Miller2011-08-212-0/+41
| | | | | | | Improved documentation for scala.collection.immutable.List and scala.collection.immutable.Queue. Contributed by Matthew Pocock during the Monthly Docspree. Review by phaller.
* Maybe that last commit was closer than I thought.Paul Phillips2011-08-211-0/+1
| | | | | 0-arg getClass reach bytecode. References SI-4931, no review.
* Reverts previous commit.Paul Phillips2011-08-201-1/+0
| | | | | a hurry, no review.
* Kludge: don't let getClass make it into bytecode.Paul Phillips2011-08-201-0/+1
| | | | | References SI-4931, no review.
* Improves documentation of scala.Predef.Heather Miller2011-08-201-3/+61
|
* Replaced Application with App in ScalaDoc.Kato Kazuyoshi2011-08-204-4/+4
|
* Shows modifiers before kinds.Kato Kazuyoshi2011-08-202-10/+12
|
* Moved files to welcome our ant overlords, no re...Paul Phillips2011-08-202-0/+0
| | | | | Moved files to welcome our ant overlords, no review.
* [recommit] Backend optimization: Inline excepti...Vlad Ureche2011-08-197-27/+535
| | | | | | [recommit] Backend optimization: Inline exception handlers. Review by dragos.
* Literals now take Any as argument (used to repr...Martin Odersky2011-08-193-2/+24
| | | | | | Literals now take Any as argument (used to represent free values in reified trees).
* fixed svn props and presentation check filesmichelou2011-08-191-4/+6
|
* New utilitly method to create scope with some e...Martin Odersky2011-08-191-0/+7
| | | | | New utilitly method to create scope with some elements.
* Major rewrite of the testing infrastructure for...Micro Dotta2011-08-1713-214/+581
| | | | | | | | | Major rewrite of the testing infrastructure for the presentation compiler. Added several new tests that will be part of the nightly build. Once the move to SBT is completed I will look into how to extract the test infrastructure (as it should really not be living in the compiler codebase). Review by dragos
* Added --presentation flag in the help messageMicro Dotta2011-08-171-0/+1
|
* Looks like I broke -nobootcp at some point.Paul Phillips2011-08-161-1/+3
|
* Improved the error message given when a concret...Paul Phillips2011-08-161-3/+14
| | | | | | Improved the error message given when a concrete method implementation doesn't match the abstract one. No review.