summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Deprecated scala.reflect.generic, except for By...Paul Phillips2011-06-1617-30/+17
| | | | | | | | Deprecated scala.reflect.generic, except for ByteCodecs. After we move some non-internal things out of scala.reflect.internal we should go back and improve some deprecation messages (i.e. point somewhere useful.) No review.
* Suppressing the ability to suppress stack trace...Paul Phillips2011-06-161-1/+3
| | | | | | Suppressing the ability to suppress stack trace suppression in NonLocalReturnControl for performance reasons, no review.
* Fix for that slightly not compiling previous pa...Paul Phillips2011-06-161-1/+1
| | | | | Fix for that slightly not compiling previous patch, no review.
* Speeding up stack trace suppression.Paul Phillips2011-06-161-1/+5
|
* Eliminating accumulated dead ends from the patt...Paul Phillips2011-06-163-62/+41
| | | | | Eliminating accumulated dead ends from the pattern matcher. No review.
* Triumph over various unsolved mysteries of the ...Paul Phillips2011-06-163-30/+18
| | | | | | | Triumph over various unsolved mysteries of the pattern matcher. More elimination of redundant ways of doing things. More allowing the typer to do its typing thing. No review.
* Bytecode inspection reveals the pattern matcher...Paul Phillips2011-06-153-35/+42
| | | | | | | Bytecode inspection reveals the pattern matcher leaving a lot more redundancy in generated trees than is necessary. Added more inteligence to the process. Review by dragos.
* closes #4692: unification in type constructor i...Adriaan Moors2011-06-152-2/+30
| | | | | | | | | | | closes #4692: unification in type constructor inference now widens *and* dealiases when necessary in 2.8.1 implicit conversion search started with a widened type, so that combo never came up no review
* got rid of grotesque isCompat closure in exprTy...Adriaan Moors2011-06-152-7/+8
| | | | | | got rid of grotesque isCompat closure in exprTypeArgs and friends. no review
* A last little IO cleanup, no review.Paul Phillips2011-06-141-2/+3
|
* Update manually created tree which was calling ...Paul Phillips2011-06-145-3/+14
| | | | | | | | Update manually created tree which was calling Predef.error to call scala.sys.error instead. Created convenience functions in Definitions for getting package objects akin to those for getting classes and objects. No review.
* More batched performance improvements for io.{ ...Paul Phillips2011-06-148-48/+34
| | | | | | | | | More batched performance improvements for io.{ File, Classpath } and others in the neighborhood. Avoids calling the expensive getCanonicalPath in favor of getAbsolutePath: I note that because it has the potential to change compiler behavior at the borders. No review.
* closes #4547.Adriaan Moors2011-06-142-0/+7
| | | | | review by rompf -- odersky may want to take a quick look and update the spec
* Documented what I could figure out about late f...Paul Phillips2011-06-146-29/+84
| | | | | | | Documented what I could figure out about late flags and anti-flags. Eliminated some indirection in flag usage. Made -Xshow-phases print out more info about flags if -Ydebug is also given. No review.
* Performance tweaks for AbstractFile, no review.Paul Phillips2011-06-141-25/+29
|
* Test case for implicits which unwrap typeclasse...Paul Phillips2011-06-135-8/+57
| | | | | | | Test case for implicits which unwrap typeclasses, something which must really live on the edge given the multiple ways we've busted it lately. Also some Array/signature and repl tests. No review.
* Views using methods implemented in terms of isE...Paul Phillips2011-06-133-0/+67
| | | | | | | | | | | | | | | Views using methods implemented in terms of isEmpty (in particular, headOption and lastOption) were traversing the collection twice up to the nonEmpty element, because "if (isEmpty) None else Some(head)" means calling isEmpty separately from head. I overrode those methods in TraversableViewLike to avoid the second traversal. This leaves at least init and tail still in that boat, but they were getting too involved. How do I say "review by pool of reviewers", who can help set that up? In the meantime no review.
* Marked some more by-name-argument-using methods...Paul Phillips2011-06-134-12/+14
| | | | | | | Marked some more by-name-argument-using methods with final @inline to make possible and then encourage their inlining. Knocked almost 300 more classfiles and 200K off the compiler jar. No review.
* In the interests of unbreaking the ide, changin...Paul Phillips2011-06-131-1/+1
| | | | | | In the interests of unbreaking the ide, changing the reporter type in the repl to ConsoleReporter. No review.
* Revert r24960, "Change Types#narrow to create a...Paul Phillips2011-06-122-17/+16
| | | | | | | | | | | | | | | | | | | | | | Revert r24960, "Change Types#narrow to create an existential rather than a refinement type." For many days I have been haunted by the knowledge that the 20 seconds I took off quick.comp between r24893 and r24920 all came roaring back around r24960 for no reason which I could discern. To verify r24960 was not at fault I had compared it against r24959 more than once, and the difference was negligible. It was negligible, that is, until I compared under -optimise, and then the wheels came off. In fact the differences there are so spectacular (quick.lib under -optimise goes from 8:50 to 4:26 with this patch, quick.comp from 8:34 to 6:30) that there must be some major disconnect between what the benchmark charts are measuring and what I am measuring. In any case, the charts and I do agree on the direction of the arrow. For reasons which remain to be determined, this commit was bad on the nanos. Review by odersky.
* We migrated the Scala wiki from Trac to Conflue...Kato Kazuyoshi2011-06-122-2/+2
| | | | | We migrated the Scala wiki from Trac to Confluence. Review by rytz.
* We rename Trac and start using JIRA as the issu...Kato Kazuyoshi2011-06-122-2/+2
| | | | | We rename Trac and start using JIRA as the issue tracking system.
* The '#' sign may easily to lead to problems, So...Kato Kazuyoshi2011-06-123-1/+11
| | | | | | The '#' sign may easily to lead to problems, So we use '_' instead of '#'. Closes #4641.
* Disabled the addition to isImpossibleSubType wh...Paul Phillips2011-06-121-2/+3
| | | | | | | Disabled the addition to isImpossibleSubType which prevents scalaz from building with trunk. Not sure what should happen with it; review by rompf.
* Don't issue unchecked warnings on higher-kinded...Paul Phillips2011-06-123-1/+4
| | | | | | Don't issue unchecked warnings on higher-kinded types. Closes #1439, review by moors.
* Fix for wrong results from groupBy on views.Paul Phillips2011-06-122-1/+12
|
* Reverts r25051 due to witnessed movement of sca...Paul Phillips2011-06-122-3/+9
| | | | | | Reverts r25051 due to witnessed movement of scalaz in the noncompiling direction. Postmortem help I hope in the review by moors.
* Informs the bootstrap code which preferences ce...Paul Phillips2011-06-111-1/+2
| | | | | | | Informs the bootstrap code which preferences certain source files about EmbeddedControls.scala, necessary so that starrs from trunk can be used to build scala-virtualized. No review.
* A third round of optimizations from Tiark, no r...Paul Phillips2011-06-115-23/+57
| | | | | A third round of optimizations from Tiark, no review.
* A few additional (but less dramatic) optimizati...Paul Phillips2011-06-113-20/+76
| | | | | | A few additional (but less dramatic) optimizations to implicit search, courtesy of Tiark. No review.
* Tiark's main batch of optimizations to implicit...Paul Phillips2011-06-115-24/+50
| | | | | Tiark's main batch of optimizations to implicit search. No review.
* Making some recent changes less breaky so sbt c...Paul Phillips2011-06-1113-11/+26
| | | | | | | | | | | | | Making some recent changes less breaky so sbt can be used with trunk again. Mainly, renamed scala.reflect.internal's AbstractFile to AbstractFileType. I can't see a way around renaming it and it's becoming quite a problem not to have sbt. I inspected scala-ide and I don't think this is going to break it, but in general I don't know how plausible it is that we can avoid periodic breakage given that we have at least three source bases (scala, sbt, scala-ide) each with multiple branches with interdependencies which are not being continuously integrated. Review by odersky.
* A test case demonstrating some of the issues wi...Paul Phillips2011-06-103-0/+138
| | | | | | A test case demonstrating some of the issues with DelayedInit. References #4680. Review by odersky.
* Compilation of spec-List enters an infinite loo...Paul Phillips2011-06-101-0/+0
| | | | | | | Compilation of spec-List enters an infinite loop under -optimise, disabling in the hopes of seeing a new build before I die. I'll put it back. No review.
* Tweaks repl tests to enforce -Yrepl-sync and ot...Paul Phillips2011-06-105-12/+31
| | | | | | | | | Tweaks repl tests to enforce -Yrepl-sync and other setup on all clients. Also includes some more why-do-tests-hang bosons for the particle accelerator in case that doesn't wrap it up. I think it will though, because now constrained-types is the only one which failed and it's also the only one which overrides Settings. No review.
* Reverts r25036, "Altered the positioning of XML...Paul Phillips2011-06-101-8/+2
| | | | | | Reverts r25036, "Altered the positioning of XML literal trees" because the IDE did not like it. No review.
* A somewhat more realistic attempt to fix the bu...Paul Phillips2011-06-105-33/+60
| | | | | | | | A somewhat more realistic attempt to fix the build, no review. This introduces a repl command line option -Yrepl-sync to inhibit the asynchronous path which makes repl startup seem so snappy. And then it uses it in the repl tests.
* First of what might be several attempts to fix ...Paul Phillips2011-06-101-1/+1
| | | | | First of what might be several attempts to fix the build, no review.
* Modified erasure not to generate instance tests...Paul Phillips2011-06-073-2/+54
| | | | | | | | | | | Modified erasure not to generate instance tests for statically known types. It appears the production of types like "Foo with Bar" in the pattern matcher (where the scrutinee is known to be Foo) has been a major contributor of suboptimal pattern matches. I will also fix it in the matcher, but it makes sense to catch it in erasure as both a check on the matcher and because they may come from elsewhere too. Review by odersky.
* Lisp test wins again, no review.Paul Phillips2011-06-072-0/+0
|
* Proliferating the number of debugging modes bec...Paul Phillips2011-06-0619-317/+505
| | | | | | | | | | | | | | Proliferating the number of debugging modes because it's still way too hard to see what's going on in there. Until we get hubert's type debugger with its whiz-bang whizbanginess, we'll have to struggle along with somewhat prettier ascii. This introduces: -Yinfer-debug which tries to print in readable fashion what is happening in the worlds of inference and implicit search. It should be made a bit more complementary and less overlappy with -Ytyper-debug. No review.
* Realized most of the remaining methods in Optio...Paul Phillips2011-06-061-13/+12
| | | | | | Realized most of the remaining methods in Option warrant @inline and final treatment and modified them accordingly. Review by dragos.
* Working on the inliner, discovered that a few k...Paul Phillips2011-06-062-7/+7
| | | | | | | | Working on the inliner, discovered that a few key methods are not inlined. With this commit there are 326 fewer classfiles generated under -optimise. Use getOrElse with even wilder abandon than you were previously. No review.
* Carved out access exception for java protected ...Paul Phillips2011-06-0610-1/+73
| | | | | | Carved out access exception for java protected statics, which otherwise cannot be accessed from scala. Changes close status of #1806, no review.
* A few more items so that all may enjoy power mo...Paul Phillips2011-06-031-20/+37
| | | | | | A few more items so that all may enjoy power mode in the way nature intended. No review.
* More polishing up repl power mode, no review.Paul Phillips2011-06-037-88/+76
|
* Misc accumulated repl work.Paul Phillips2011-06-0313-178/+271
| | | | | down into more flexible pieces. No review.
* More adjustments to repl parsing to accomodate ...Paul Phillips2011-06-013-24/+61
| | | | | | More adjustments to repl parsing to accomodate inaccurately positioned parse trees. No review.
* The eagerly awaited companion commit to r23622,...Paul Phillips2011-06-014-5/+10
| | | | | | | | | | | | | | | The eagerly awaited companion commit to r23622, the surprise hit of last winter. Singletons now have the singleton type inferred in monomorphic contexts as well. In english: scala> object X defined module X scala> def f = X f: X.type Wait, that's not english. English review by moors.
* Fixed a repl regression with parentheses handli...Paul Phillips2011-05-313-2/+50
| | | | | | | | Fixed a repl regression with parentheses handling, reminding me we really need that honest parser phase which doesn't betray us with parentheses abandonment and dramatic desugarings. I'll promote it from page 14 to page 11. Closes #4661, no review.