summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* And so my attempt to have a performance test dr...Paul Phillips2011-03-291-0/+0
| | | | | | And so my attempt to have a performance test draws the final curtain, no review.
* Polishing the programmatic interface to the rep...Paul Phillips2011-03-299-68/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Polishing the programmatic interface to the repl and other bits of machinery which we'll have to live with for a while. The repl classloader now works more like you'd expect a classloader to, as seen here: % scala -Dscala.repl.power scala> class Bippus extends Traversable[Int] { def foreach[U](f: Int => U) = () } defined class Bippus scala> intp.classLoader.getResourceAsStream("Bippus").bytes() res0: Array[Byte] = Array(-54, -2, -70, ... scala> res0.size res1: Int = 23954 scala> case class Bippy(x: Int) defined class Bippy // classBytes is shorter way to say the same thing scala> intp.classLoader.classBytes("Bippy").size res2: Int = 2356 scala> intp.classLoader.classBytes("Bippy$").size res3: Int = 1741 Closes #4399, no review.
* Made ScalaRunTime.stringOf more general by sepa...Paul Phillips2011-03-283-19/+18
| | | | | | | Made ScalaRunTime.stringOf more general by separating out the part which formats it for a repl result, and cleaned up some string functions around the repl. No review.
* Eliminated option -Xwarninit, which is warning ...Paul Phillips2011-03-282-19/+2
| | | | | | | | Eliminated option -Xwarninit, which is warning about a change which took place 2.5 years ago and is only likely to add to option confusion at this point. No review. (But let me know if we still need this for some reason: many more of our options should be culled.)
* Removed some bitrotted ant directives which wer...Paul Phillips2011-03-282-26/+0
| | | | | | | Removed some bitrotted ant directives which were keeping us from getting Manifest docs. Thanks to dmharrah. Also removed RichUnit, fare thee well. Closes #4404, no review.
* Looks like another java5/java6 difference gets ...Paul Phillips2011-03-281-5/+13
| | | | | | Looks like another java5/java6 difference gets me on a test. At least this time I was looking for that. No review.
* Expanding the test which tries to use the colle...Paul Phillips2011-03-281-9/+60
| | | | | | Expanding the test which tries to use the collections from java. No review.
* Added some implicitNotFound annotations to comm...Paul Phillips2011-03-289-35/+46
| | | | | | | Added some implicitNotFound annotations to commonly used classes, and some documentation to Manifest. (Said documentation is invisible for the moment due to #4404.) No review.
* [scaladoc] Remove whitespace around colon and p...Kato Kazuyoshi2011-03-281-11/+8
| | | | | | [scaladoc] Remove whitespace around colon and parentheses. Closes #4372. Review by pedrofurla.
* Don't analyse symbols with error types.Hubert Plociniczak2011-03-281-0/+1
|
* msil.jar updated with changeset 24614Miguel Garcia2011-03-281-1/+1
|
* (1) The msil library can now parse modreq and m...Miguel Garcia2011-03-285-50/+161
| | | | | | (1) The msil library can now parse modreq and modopt, (2) bug fix in GenMSIL. review by rytz. Updated msil.jar coming soon.
* Learned an interesting lesson about having an i...Paul Phillips2011-03-283-51/+113
| | | | | | | | Learned an interesting lesson about having an implicit object with a "def apply(x: Any): List[String]" method imported into power mode. Let's just say this is not advised. This and other rough edges eliminated from power mode, no review.
* A paltry 570 cases failing in -Xcheckinit due t...Paul Phillips2011-03-284-5/+5
| | | | | | A paltry 570 cases failing in -Xcheckinit due to some uninitialized val or other. It is but a trifle! No review.
* Trying to get fsc doing the right thing with re...Paul Phillips2011-03-276-50/+115
| | | | | | | | | | | | | | | | | | | | Trying to get fsc doing the right thing with respect to absolute and relative paths. My knowledge of the problem had heretofore been second hand, and my understanding of it incomplete. The real problem I have determined is that there are a bunch of different things which go wrong if relative paths start being resolved from a different base, each of which needs custom handling. classpath-style options, e.g. fsc -cp ../foo.jar path-style options, e.g. fsc -d ../mydir file arguments, e.g. fsc ../foo.scala So it was more work than I had realized, or I probably wouldn't have even touched it. But now it seems to be working as one would want. I also poured some readability onto the fsc help output. Closes #4395, no review, but community input would be great.
* Fix for linked lists closes #4080 and proves my...Paul Phillips2011-03-277-30/+38
| | | | | | | | | | | | | | | | | | | | | | | Fix for linked lists closes #4080 and proves my desire not to ship obviously broken code is even greater than my will to hold out for any help. I threw in a free fix for this which I noticed while in there. scala> scala.collection.mutable.LinkedList[Int]().head res0: Int = 0 Also was reminded how useless tests can be: val ten = DoubleLinkedList(1 to 10: _*) ten.insert(DoubleLinkedList(11)) // Post-insert position test require(ten.last == 11) Fortunately a test confirming buggy behavior still serves a purpose by breaking when you fix the bug which allowed it to pass, thus letting you fix the broken test too. Life's (very) little compensations. Linked list code should still be presumed broken. No review.
* Made :javap less crashy on windows, no review.Paul Phillips2011-03-271-1/+6
|
* needed when compiling the (jdk2ivkm'd) Scala li...Miguel Garcia2011-03-271-2/+4
| | | | | | needed when compiling the (jdk2ivkm'd) Scala library with Scala.NET, and doesn't hurt in forJVM mode.
* Revert "All compiler control methods now do som...Iulian Dragos2011-03-273-32/+39
| | | | | | | | | | | | Revert "All compiler control methods now do something sensible when called from presentation compiler thread itself." This reverts commit bb290ba26e1d4677a36b7278ab370e841cca2605. It leads to consistent lockups on the IDE, so we revert this temporarily. We'll re-enable it after we can make sure it works correctly.
* Introducing xz compression in nightly builds.Antonio Cunei2011-03-261-39/+36
| | | | | Also removed some obsolete targets related to the old 1.4 version.
* Suppressed unnecessary checkcasts on Throwables...Paul Phillips2011-03-261-1/+1
| | | | | | | Suppressed unnecessary checkcasts on Throwables which were letting AnyRefs reach the backend. Looks like this was my doing when trying to wake back up the icode checker. Closes #4393, no review.
* Cleaning up util.Tracer and its usage in Erasure.Paul Phillips2011-03-262-14/+40
|
* Some accumulated work and polish on classpath a...Paul Phillips2011-03-267-46/+94
| | | | | Some accumulated work and polish on classpath and jars. No review.
* Added some explanatory output when jline reader...Paul Phillips2011-03-261-1/+4
| | | | | | Added some explanatory output when jline reader fails to create. No review.
* Fix for cygwin: jline.UnixTerminal is now scala...Paul Phillips2011-03-261-1/+1
| | | | | | Fix for cygwin: jline.UnixTerminal is now scala.tools.jline.UnixTerminal. No review.
* [scaladoc] Cleanup tests. No review.Kato Kazuyoshi2011-03-261-71/+35
|
* [scaladoc] Closes #4371. Review by pedrofurla.Kato Kazuyoshi2011-03-261-1/+3
|
* [scaladoc] Fix wiki formatting to close #4359.Kato Kazuyoshi2011-03-261-12/+12
|
* [scaladoc] Add a test for #4180. No review.Kato Kazuyoshi2011-03-252-0/+9
|
* [scaladoc] Stop wiki syntax parsing inside HTML.Kato Kazuyoshi2011-03-254-11/+106
|
* Fixed the "poor resilience to error conditions"...Paul Phillips2011-03-251-1/+2
| | | | | | Fixed the "poor resilience to error conditions" crasher mentioned in #3625, no review.
* Figured out why -Ydebug has been such a deathtr...Paul Phillips2011-03-252-1/+2
| | | | | | Figured out why -Ydebug has been such a deathtrap for a while. I'm the culprit. Making -Ydebug less likely to kill a compile, no review.
* Set the original tree for TypeTree in self-type...Iulian Dragos2011-03-252-2/+10
| | | | | | Set the original tree for TypeTree in self-types, and making sure there are no cycles in TypeTree.original. review by odersky.
* I guess windows can show a < 500x difference an...Paul Phillips2011-03-251-2/+2
| | | | | | | | | I guess windows can show a < 500x difference and still give us confidence there isn't a 100,000x difference. Testing situation continues to confound and amaze. Trying to make 4279 not fail on windows, one more time and I will delete it and burn the bodies. No review.
* for Scala.NET bootstrapping.Miguel Garcia2011-03-251-8/+22
| | | | | forJVM behavior remains unchanged.
* Fixed error in previous commitMartin Odersky2011-03-251-0/+2
|
* All compiler control methods now do something s...Martin Odersky2011-03-253-39/+32
| | | | | | All compiler control methods now do something sensible when called from presentation compiler thread itself.
* [scaladoc] Changes to template.css based on sug...Donna Malayeri2011-03-241-5/+11
| | | | | | [scaladoc] Changes to template.css based on suggestions by Bill Venners. No review.
* Added synchronous version of askStructure, need...Iulian Dragos2011-03-241-0/+8
| | | | | | Added synchronous version of askStructure, needed by the IDE to avoid deadlocks. review by odersky.
* Moved Dynamic support to -Xexperimental.Martin Odersky2011-03-241-1/+1
|
* Three things to make Eclipse more robust agains...Martin Odersky2011-03-243-20/+41
| | | | | | | Three things to make Eclipse more robust against deadlocks: (1) catch stale responses in presentation compile thread. (2) Avoid stale responses by two try-finallys in getEnteredParsed, askLoadedTyped.
* Added a temporary fix for #4351, but disabled i...Aleksandar Pokopec2011-03-248-84/+253
| | | | | | | | | | | | | Added a temporary fix for #4351, but disabled it because the extend specialized class with nonspecialized type-parameters is used in the stdlib already. Disabling scala.parallel package, adding the currently disabled scala.concurrent package which will be implemented in some of the next releases. Review by phaller.
* Added implicit TaskRunner parameters to scala.c...Philipp Haller2011-03-241-2/+2
| | | | | Added implicit TaskRunner parameters to scala.concurrent.ops.{par, replicate}. Review by prokopec.
* Deprecated unused members in scala.concurrent.Philipp Haller2011-03-245-14/+26
|
* Moved failing tests to pending after having dia...Martin Odersky2011-03-246-0/+0
| | | | | | | | Moved failing tests to pending after having diagnosed that the only problem is a difference in output between Java 1.5 and 1.6 reflection libraries. Can we moved back once that's fixed. For now, it's more important to ghet the build back.
* Changed App-using tests to use main() to see if...Paul Phillips2011-03-243-19/+25
| | | | | | Changed App-using tests to use main() to see if that's our trouble. No review.
* Discovered Range.foreach inlining was broken du...Paul Phillips2011-03-243-33/+20
| | | | | | Discovered Range.foreach inlining was broken due to a Nothing signature appearing and confusing the loader. No review.
* Looks like I accidentally committed a test log,...Paul Phillips2011-03-241-2/+0
| | | | | Looks like I accidentally committed a test log, no review.
* Restoring my higher-kinded-Array signature chec...Paul Phillips2011-03-243-1/+9
| | | | | | Restoring my higher-kinded-Array signature check which martin callously blew away while fixing all our other problems. Review by odersky.
* Spiced up the signature test infrastructure a b...Paul Phillips2011-03-2311-60/+184
| | | | | | Spiced up the signature test infrastructure a bunch, wrote some more tests, restored the tests in pending. No review.