summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 24525-24539 via svnmerge from Antonio Cunei2011-03-2257-58301/+558
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://lampsvn.epfl.ch/svn-repos/scala/scala/trunk ........ r24525 | kzys | 2011-03-21 13:24:48 +0100 (Mon, 21 Mar 2011) | 1 line [scaladoc] Add HtmlFactoryTest and reorganize directory structure. Reviewed by pedrofurla. ........ r24526 | kzys | 2011-03-21 13:44:20 +0100 (Mon, 21 Mar 2011) | 2 lines [scaladoc] Add a test for #4361. ........ r24527 | plocinic | 2011-03-21 14:37:53 +0100 (Mon, 21 Mar 2011) | 1 line Closes #4202 again, closes #4363. if someone can enlighten me why we actually had that exclusion for companion objects in the first place I would be grateful. review by odersky ........ r24528 | kzys | 2011-03-21 14:47:57 +0100 (Mon, 21 Mar 2011) | 2 lines [scaladoc] Add a test for #4306. Review by pedrofurla. ........ r24529 | extempore | 2011-03-21 17:19:33 +0100 (Mon, 21 Mar 2011) | 2 lines One hundred! One hundred times slower on windows! Ah, ha, ha! Adjusted test case, no review. ........ r24530 | cunei | 2011-03-21 18:08:00 +0100 (Mon, 21 Mar 2011) | 2 lines license files ........ r24531 | cunei | 2011-03-21 18:13:20 +0100 (Mon, 21 Mar 2011) | 2 lines license files. ........ r24532 | cunei | 2011-03-21 18:47:44 +0100 (Mon, 21 Mar 2011) | 5 lines removed gpl Some javascript utils are dual licensed under gpl and mit. We already include the mit ones. ........ r24533 | extempore | 2011-03-21 23:25:40 +0100 (Mon, 21 Mar 2011) | 20 lines [I'm laptop only so there's some chance this will incur temporary breakage, but it needs committing.] Heading off gratuitous complications which haven't yet shipped, I eliminated the -jar startup option in favor of doing what we already do, figuring it out. So now all these things work. scala foo/bar.scala // if file is a script or has one main method scala foo.Bar // if it has a legal main method scala foo.jar // if it has a legal MainClass attribute Also changed "-savecompiled" to "-save" and given scala source called foo.scala, generate foo.jar rather than foo.scala.jar. Cleaned up a bunch of related code and further polished the scala startup message. And unbroke choice settings and improved that error too, which closes #3849. While trying to write a test for the choice setting, was reminded that partest just discards invalid flags files. Made it fail instead, which closes #3712. Fixed the new failures that revealed. No review. ........ r24534 | extempore | 2011-03-21 23:46:53 +0100 (Mon, 21 Mar 2011) | 2 lines We need a successful build, not sure why this hasn't been disabled yet. Disabled failing coder test, no review. ........ r24535 | extempore | 2011-03-22 01:06:44 +0100 (Tue, 22 Mar 2011) | 3 lines Oh the irony, disabling the failing test made the build fail, because another test is hardcoded to use its paths. Disabled that test too. We'll put humpty back together again. No review. ........ r24536 | extempore | 2011-03-22 05:28:21 +0100 (Tue, 22 Mar 2011) | 6 lines Not yet learned my lesson about partest and empty directories. Rather than reapply that bandaid, went after partest. Attempts to make partest ignore empty directories. Discover directory tests aren't run when the command line tool is used, make them run like everyone else. Find more tests which due to misplacement are silently ignored, move them into tested locations. No review. ........ r24537 | kzys | 2011-03-22 15:10:25 +0100 (Tue, 22 Mar 2011) | 2 lines [scaladoc] Closes #4366. Review by pedrofurla. ........ r24538 | moors | 2011-03-22 15:31:36 +0100 (Tue, 22 Mar 2011) | 1 line closes #4205: quick&dirty fix to force loading of info's and thus avoid order-dependency until we fix unsafeTypeParams for good. no review ........ r24539 | moors | 2011-03-22 16:43:28 +0100 (Tue, 22 Mar 2011) | 1 line closes #4345. skip variance checks for calls to super accessor. no review ........
* Merged revisions 24518-24521,24523 via svnmerge...Antonio Cunei2011-03-2010-193/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merged revisions 24518-24521,24523 via svnmerge from https://lampsvn.epfl.ch/svn-repos/scala/scala/trunk ........ r24518 | extempore | 2011-03-20 06:24:23 +0100 (Sun, 20 Mar 2011) | 2 lines Restored erasure warning for isInstanceOf tests. Closes #4302, no review. ........ r24519 | odersky | 2011-03-20 08:35:58 +0100 (Sun, 20 Mar 2011) | 1 line Commented #3928 patch. ........ r24520 | rytz | 2011-03-20 10:12:02 +0100 (Sun, 20 Mar 2011) | 1 line minor fix for -Xmax-classfile-name. no review ........ r24521 | magarcia | 2011-03-20 11:55:55 +0100 (Sun, 20 Mar 2011) | 1 line for .NET bootstrapping (more coming). review by rytz. ........ r24523 | magarcia | 2011-03-20 15:08:34 +0100 (Sun, 20 Mar 2011) | 3 lines The last checkin caused a test to time-out, but that test runs fine locally. I'm giving Jenkins another chance. Like the previous changeset, this one has to do with .NET bootstrapping. review by rytz. ........
* Merged revisions 24504-24516 via svnmerge from Antonio Cunei2011-03-2035-250/+588
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://lampsvn.epfl.ch/svn-repos/scala/scala/trunk ........ r24504 | extempore | 2011-03-19 01:31:59 +0100 (Sat, 19 Mar 2011) | 4 lines rytz's patch for making our crazy long names a bit less crazy. You can now use -Xmax-classfile-name to limit your filenames to as few as 72 characters. Watch out, nanotube gardens, we'll be stepping on your tiny flowers before you know it. No review. ........ r24505 | kzys | 2011-03-19 13:14:14 +0100 (Sat, 19 Mar 2011) | 2 lines [scaladoc] Closes #4361. ........ r24506 | kzys | 2011-03-19 14:02:35 +0100 (Sat, 19 Mar 2011) | 2 lines [scaladoc] Closes #4357. Review by dubochet. ........ r24507 | extempore | 2011-03-19 16:27:01 +0100 (Sat, 19 Mar 2011) | 3 lines A couple more minor tweaks to power mode, and more importantly, fix for a jline NPE provoked if your classloaders loaded classes in a way other than it expected. No review. ........ r24508 | extempore | 2011-03-19 16:27:19 +0100 (Sat, 19 Mar 2011) | 4 lines Some boundary conditions in range. Also bit the bullet on getting infix implicits to Integral and Fractional. As a bonus this patch knocked 10,000 long boxings off a specialized test. Who knew. Closes #4308, #4321, review by community. ........ r24509 | extempore | 2011-03-19 16:38:06 +0100 (Sat, 19 Mar 2011) | 1 line Added a :type command to the repl, no review. ........ r24510 | extempore | 2011-03-19 18:32:37 +0100 (Sat, 19 Mar 2011) | 10 lines Removed long deprecated and obscure CloneableCollection. Discovered we have a scala.collection.mutable.Cloneable which does not extend java.lang.Cloneable, which is why Array is not considered cloneable. That seems wrong, but to be conservative I gave Array the Cloneable interface without altering the scala trait. Also, if @serializable is deprecated in favor of Serializable, should not @cloneable be deprecated analogously? Closes #4307, and a commit-question review by rytz. ........ r24511 | extempore | 2011-03-19 19:12:17 +0100 (Sat, 19 Mar 2011) | 2 lines Fix for crasher with Class objects. Code by moors, comment by extempore. References #4305, no review. ........ r24512 | extempore | 2011-03-19 20:55:42 +0100 (Sat, 19 Mar 2011) | 3 lines Prevent a divergent implicit from terminating implicit search, so that there can still be a winner, as endorsed by martin over a cheese plate. Closes #3883, review by dmharrah. ........ r24513 | extempore | 2011-03-19 20:55:59 +0100 (Sat, 19 Mar 2011) | 3 lines I'm going to assume the patch I dropped off five months ago for #3938 was merely overlooked. Fixes an issue with java types which extend inner classes. Closes #3938, review by odersky. ........ r24514 | extempore | 2011-03-19 21:20:17 +0100 (Sat, 19 Mar 2011) | 1 line Fix for a slice related array view regression. Closes #4352, no review. ........ r24515 | extempore | 2011-03-19 21:29:02 +0100 (Sat, 19 Mar 2011) | 2 lines Oh yeah, now I remember why I started with length overrides. Fix for soon to be failing test, no review. ........ r24516 | extempore | 2011-03-20 00:20:19 +0100 (Sun, 20 Mar 2011) | 2 lines Fix for a big bug in lastIndexOfSlice and some latent negative index bugs in both that and indexOfSlice. This stuff is taxing. Closes #4348, no review. ........
* Merged revisions 24494-24498 via svnmerge from Antonio Cunei2011-03-1862-514/+634
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://lampsvn.epfl.ch/svn-repos/scala/scala/trunk ........ r24494 | extempore | 2011-03-18 19:23:14 +0100 (Fri, 18 Mar 2011) | 17 lines Accumulated work on fsc. Cleans up a bunch of things, and adds the following new options. -ipv4 Use IPv4 rather than IPv6 for the server socket absolute-cp -Make classpath elements absolute paths before sending to server -max-idle Set idle timeout in minutes for fsc (use 0 for no timeout) My question marks are what are the right defaults for the first two. Former behavior is to absolutize the classpath always and never prefer IPv4 sockets. I changed the default to not absolutize the classpath, with the option if you need it; I left the system default in place for the socket creation, but I have a feeling we should default to IPv4. My only hesitation is that the only way to request an IPv4 socket from java involves mutating a global system property. (Robustness FTW.) So for now, you have to give -ipv4. Closes #3626, #3785, #3788, #3789. Review by community. ........ r24495 | extempore | 2011-03-18 20:06:22 +0100 (Fri, 18 Mar 2011) | 2 lines Improved the error message when one gives invalid options to scala. Similar improvements for scalac/fsc/etc has to wait. No review. ........ r24496 | prokopec | 2011-03-18 20:07:38 +0100 (Fri, 18 Mar 2011) | 25 lines Removing toPar* methods, since we've agreed they're difficult to: - underestand - maintain Also, changed the docs and some tests appropriately. Description: 1) Every collection is now parallelizable - switch to the parallel version of the collection is done via `par`. - Traversable collections and iterators have `par` return a parallel collection of type `ParIterable[A]` with the implementation being the representative of `ParIterable`s (currently, `ParArray`). - Iterable collections do the same thing. - Sequences refine `par`'s returns type to `ParSeq[A]`. - Maps and sets do a similar thing. The above means that the contract for `par` changed - it is no longer guaranteed to be O(1), nor reflect the same underlying data, as was the case for mutable collections before. Method `par` is now at worst linear. Furthermore, specific collection implementations override `par` to a more efficient alternative - instead of copying the dataset, the dataset is shared between the old and the new version. Implementation complexity may be sublinear or constant in these cases, and the underlying data structure may be shared. Currently, these data structures include parallel arrays, maps and sets, vectors, hash trie maps and sets, and ranges. Finally, parallel collections implement `par` trivially. 2) Methods `toMap`, `toSet`, `toSeq` and `toIterable` have been refined for parallel collections to switch between collection types, however, they never switch an implementation from parallel to sequential. They may or may not copy the elements, as is the case with sequential variants of these methods. 3) The preferred way to switch between different collection types, whether maps, sets and seqs, or parallel and sequential, is now via use of methods `toIterable`, `toSeq`, `toSet` and `toMap` in combination with `par` and `seq`. Review by odersky. ........ r24497 | extempore | 2011-03-18 22:07:37 +0100 (Fri, 18 Mar 2011) | 2 lines A minor overhaul of power mode. I'm going to document it any minute now. No review. ........ r24498 | extempore | 2011-03-18 22:22:57 +0100 (Fri, 18 Mar 2011) | 1 line Little tweak for failing test, no review. ........
* Merged revisions 24492 via svnmerge from Antonio Cunei2011-03-181-3/+2
| | | | | | | | | | | https://lampsvn.epfl.ch/svn-repos/scala/scala/trunk ........ r24492 | cunei | 2011-03-18 17:45:53 +0100 (Fri, 18 Mar 2011) | 2 lines minor changes ........
* Merged revisions 24490 via svnmerge from Antonio Cunei2011-03-181-32/+15
| | | | | | | | | | | https://lampsvn.epfl.ch/svn-repos/scala/scala/trunk ........ r24490 | cunei | 2011-03-18 17:00:46 +0100 (Fri, 18 Mar 2011) | 2 lines Reworked windows batch files; should fix #2671. ........
* Merged revisions 24483-24486 via svnmerge from Antonio Cunei2011-03-1813-63/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | https://lampsvn.epfl.ch/svn-repos/scala/scala/trunk ........ r24483 | extempore | 2011-03-17 21:04:47 +0100 (Thu, 17 Mar 2011) | 5 lines Always forget that checking system properties causes exceptions in applets and such. Made the system property wrapper wrap its access checks in some more wrapping. I spent a long time trying to write a test for the security manager but it's hopeless without knowing all the details of the test environment. Closes #4346, no review. ........ r24484 | extempore | 2011-03-17 23:40:54 +0100 (Thu, 17 Mar 2011) | 1 line Reenabled the commented out bits of the test for #1642. No review. ........ r24485 | extempore | 2011-03-18 02:00:04 +0100 (Fri, 18 Mar 2011) | 1 line Disabled test not actually doing anything anyway, no review. ........ r24486 | rytz | 2011-03-18 10:44:07 +0100 (Fri, 18 Mar 2011) | 1 line close #4041. review by extempore ........
* Merged revisions 24472-24473,24476 via svnmerge...Antonio Cunei2011-03-179-108/+13
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merged revisions 24472-24473,24476 via svnmerge from https://lampsvn.epfl.ch/svn-repos/scala/scala/trunk ........ r24472 | phaller | 2011-03-17 10:55:42 +0100 (Thu, 17 Mar 2011) | 1 line Removed uniqueness annotations. Review by rytz. ........ r24473 | kzys | 2011-03-17 12:40:03 +0100 (Thu, 17 Mar 2011) | 2 lines [scaladoc] Closes #4306. Review by extempore. ........ r24476 | extempore | 2011-03-17 16:32:13 +0100 (Thu, 17 Mar 2011) | 1 line Rebuilt jline for java 1.5. No review. ........
| * Rebuilt jline for java 1.5. No review.v2.9-divergedPaul Phillips2011-03-172-1/+3
| |
| * [scaladoc] Closes #4306. Review by extempore.Kato Kazuyoshi2011-03-171-1/+3
| |
| * Removed uniqueness annotations. Review by rytz.Philipp Haller2011-03-176-106/+7
| |
* | reverting r24475 (svnmerge should take care of ...Antonio Cunei2011-03-176-7/+106
| | | | | | | | | | reverting r24475 (svnmerge should take care of that)
* | Updated some definitions while testing 2.9 dist...Antonio Cunei2011-03-173-4/+4
| | | | | | | | | | Updated some definitions while testing 2.9 distrib building.
* | Removed uniqueness annotations. Review by rytz.Philipp Haller2011-03-176-106/+7
| |
* | Merged revisions 24457-24470 via svnmerge from Antonio Cunei2011-03-16155-920/+974
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://lampsvn.epfl.ch/svn-repos/scala/scala/trunk ........ r24457 | plocinic | 2011-03-14 21:24:57 +0100 (Mon, 14 Mar 2011) | 1 line Applied second patch by asloane. closes #3969. no review ........ r24458 | plocinic | 2011-03-14 21:25:11 +0100 (Mon, 14 Mar 2011) | 1 line Closes #4163. no review ........ r24459 | extempore | 2011-03-15 03:56:39 +0100 (Tue, 15 Mar 2011) | 4 lines Fix for a jline/history bug when the history file didn't already exist. Also expunged a bunch of history code which didn't get where it was going, including everything involving shutdown hooks. No review. ........ r24460 | extempore | 2011-03-15 03:56:58 +0100 (Tue, 15 Mar 2011) | 12 lines Various chronic annoyances with the repl addressed. Much improved transcript pasting. Now goes back in time to fix the transcript if it contains self-referential "res0, res1" etc. so that it works as it originally did. Shows which commands it is running, and places the commands with their result in a manner suitable for framing. Also, a new :paste command which accepts input up to ctrl-D, so you can enter companions without gyrations, or code from people who write in a repl unfriendly fashion by putting their curly braces on the next line (I'm looking at you mark harrah) or you name it, it's not picky. No review. ........ r24461 | extempore | 2011-03-15 05:02:35 +0100 (Tue, 15 Mar 2011) | 7 lines Addresses the issues swirling around Double.Epsilon and friends which were battled out in more than one venue and then aptly summarized by retronym in #3791. Thanks to Simon Ochsenreither for submitting a patch; I wasn't able to use too much of it because the source code for these types is generated, but effort is always appreciated. Closes #3791, and I'm tired and I'd hate to blow this one at this late date: review by rytz. ........ r24462 | extempore | 2011-03-15 06:55:38 +0100 (Tue, 15 Mar 2011) | 3 lines Deprecated scala.dbc. Wish there was a better way to deprecate a package than deprecating every individual thing. (There isn't, is there?) Closes #4313, no review. ........ r24463 | extempore | 2011-03-15 07:18:02 +0100 (Tue, 15 Mar 2011) | 1 line Slight tweak to case class deprecation message, no review. ........ r24464 | rytz | 2011-03-15 15:09:47 +0100 (Tue, 15 Mar 2011) | 1 line improved documentation for annotations in scala.annotation.target. closes #4250, no review. ........ r24465 | odersky | 2011-03-15 17:18:48 +0100 (Tue, 15 Mar 2011) | 1 line Fixes problem with getLinkPos, which sometimes failed on first try. ........ r24466 | phaller | 2011-03-15 17:42:00 +0100 (Tue, 15 Mar 2011) | 1 line Closes #3838. Review by prokopec. ........ r24467 | extempore | 2011-03-15 19:34:48 +0100 (Tue, 15 Mar 2011) | 1 line Brought all the collections pure interfaces up to date. No review. ........ r24468 | extempore | 2011-03-15 21:41:57 +0100 (Tue, 15 Mar 2011) | 11 lines Leveraged having a place to put some useful implicits which we sensibly are reluctant to introduce in the default scope. The test case pretty much sums it up. import Ordering.Implicits._ import Numeric.Implicits._ def f1[T: Numeric](x: T, y: T, z: T) = x + y + z def f2[T: Ordering](x: T, y: T, z: T) = if (x < y) (z > y) else (x < z) No review. ........ r24469 | extempore | 2011-03-16 07:31:59 +0100 (Wed, 16 Mar 2011) | 8 lines Deprecation patrol. There was a bug among the deprecation warnings due to my changing a map from mutable to immutable (which ought to be the good direction) because "def update" still lingers on immutable maps. I counted the days elapsed since it was marked for death (before 2.8.0) and added in the bugliness of what I was looking at and bid it farewell. Now removed: def update on immutable maps. No review. ........ r24470 | extempore | 2011-03-16 08:49:16 +0100 (Wed, 16 Mar 2011) | 15 lines Undoing some much too hacky code to implement a -jar option and then following wherever that led me. Tangible results include: * much beautified scala -help, including documenting some things never before documented in this plane of existence * an improved Jar abstraction * further systemization of system properties In addition, the jars created by -savecompiled are given the right manifest so the jar is runnable. That means you can: scala -savecompiled bippy.scala arg1 arg2 scala -jar bippy.scala.jar arg1 arg2 And both lines should yield the same result. No review. ........
| * Undoing some much too hacky code to implement a...Paul Phillips2011-03-1624-233/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Undoing some much too hacky code to implement a -jar option and then following wherever that led me. Tangible results include: * much beautified scala -help, including documenting some things never before documented in this plane of existence * an improved Jar abstraction * further systemization of system properties In addition, the jars created by -savecompiled are given the right manifest so the jar is runnable. That means you can: scala -savecompiled bippy.scala arg1 arg2 scala -jar bippy.scala.jar arg1 arg2 And both lines should yield the same result. No review.
| * Deprecation patrol.Paul Phillips2011-03-1613-32/+25
| | | | | | | | | | | | | | | | | | | | | | warnings due to my changing a map from mutable to immutable (which ought to be the good direction) because "def update" still lingers on immutable maps. I counted the days elapsed since it was marked for death (before 2.8.0) and added in the bugliness of what I was looking at and bid it farewell. Now removed: def update on immutable maps. No review.
| * Leveraged having a place to put some useful imp...Paul Phillips2011-03-154-64/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Leveraged having a place to put some useful implicits which we sensibly are reluctant to introduce in the default scope. The test case pretty much sums it up. import Ordering.Implicits._ import Numeric.Implicits._ def f1[T: Numeric](x: T, y: T, z: T) = x + y + z def f2[T: Ordering](x: T, y: T, z: T) = if (x < y) (z > y) else (x < z) No review.
| * Brought all the collections pure interfaces up ...Paul Phillips2011-03-156-29/+39
| | | | | | | | | | Brought all the collections pure interfaces up to date. No review.
| * Closes #3838. Review by prokopec.Philipp Haller2011-03-153-12/+31
| |
| * Fixes problem with getLinkPos, which sometimes ...Martin Odersky2011-03-152-6/+6
| | | | | | | | | | Fixes problem with getLinkPos, which sometimes failed on first try.
| * improved documentation for annotations in scala...Lukas Rytz2011-03-157-234/+74
| | | | | | | | | | | | improved documentation for annotations in scala.annotation.target. closes #4250, no review.
| * Slight tweak to case class deprecation message,...Paul Phillips2011-03-152-7/+4
| | | | | | | | | | Slight tweak to case class deprecation message, no review.
| * Deprecated scala.dbc.Paul Phillips2011-03-1566-84/+89
| | | | | | | | | | | | package than deprecating every individual thing. (There isn't, is there?) Closes #4313, no review.
| * Addresses the issues swirling around Double.Eps...Paul Phillips2011-03-1517-69/+103
| | | | | | | | | | | | | | | | | | | | | | Addresses the issues swirling around Double.Epsilon and friends which were battled out in more than one venue and then aptly summarized by retronym in #3791. Thanks to Simon Ochsenreither for submitting a patch; I wasn't able to use too much of it because the source code for these types is generated, but effort is always appreciated. Closes #3791, and I'm tired and I'd hate to blow this one at this late date: review by rytz.
| * Various chronic annoyances with the repl addres...Paul Phillips2011-03-158-106/+231
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Various chronic annoyances with the repl addressed. Much improved transcript pasting. Now goes back in time to fix the transcript if it contains self-referential "res0, res1" etc. so that it works as it originally did. Shows which commands it is running, and places the commands with their result in a manner suitable for framing. Also, a new :paste command which accepts input up to ctrl-D, so you can enter companions without gyrations, or code from people who write in a repl unfriendly fashion by putting their curly braces on the next line (I'm looking at you mark harrah) or you name it, it's not picky. No review.
| * Fix for a jline/history bug when the history fi...Paul Phillips2011-03-152-40/+19
| | | | | | | | | | | | | | Fix for a jline/history bug when the history file didn't already exist. Also expunged a bunch of history code which didn't get where it was going, including everything involving shutdown hooks. No review.
| * Closes #4163. no reviewHubert Plociniczak2011-03-143-1/+19
| |
| * Applied second patch by asloane.Hubert Plociniczak2011-03-141-3/+6
|/
* Fixing the build.Martin Odersky2011-03-141-2/+7
|
* new test.Martin Odersky2011-03-142-0/+29
|
* Removing everything in trait Dynamic.Martin Odersky2011-03-141-12/+2
|
* Closes #4300. No review.Martin Odersky2011-03-141-1/+6
|
* Changed Super to fix #4300Martin Odersky2011-03-1427-103/+132
|
* Raised the threshold for the test looking at vi...Paul Phillips2011-03-141-2/+2
| | | | | | | | Raised the threshold for the test looking at view performance. I guess if views are only 50x as slow on windows that's still a lot better than 100,000. (The real issue is more like "it's windows" plus "it's windows running on virtualbox".) No review.
* A small addition to the library to address some...Paul Phillips2011-03-125-6/+237
| | | | | | | | | | | A small addition to the library to address something bugging me forever. It's a light interface to system properties. It's not intended to solve all property issues for all time, only to greatly improve on the overly ad-hoc ways things are presently done. Feedback welcome. Sorry it's coming in this late but it arises from writing the tools to fix the bugs to allow that release to happen. That's nature's circle of bugs. Review by community.
* Fixed up the regression I slipped in with slice.Paul Phillips2011-03-123-4/+24
| | | | | for pointing me toward the problem. No review.
* Fixes the broken test, introduced in the view p...Aleksandar Pokopec2011-03-112-10/+15
| | | | | | | Fixes the broken test, introduced in the view patch commit. No review.
* Added a callback to Global.Run for fine-grain p...Donna Malayeri2011-03-111-1/+9
| | | | | | Added a callback to Global.Run for fine-grain progress reporting, to used by e.g., the Eclipse plugin.
* A patch for views. Most relevant change:Paul Phillips2011-03-1125-394/+693
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Almost all view classes now list parents like trait Appended[B >: A] extends super.Appended[B] with Transformed[B] instead of the former trait Appended[B >: A] extends Transformed[B] with super.Appended[B] because as it was, the implementation of foreach in TraversableViewLike#Transformed was repeatedly trumping overrides found in e.g. IterableLike. This change was not without its own consequences, and much of the rest of the patch is dealing with that. A more general issue is clearly revealed here: there is no straightforward way to deal with trait composition and overrides when some methods should prefer B over A and some the reverse. (It's more like A through Z in this case.) That closes #4279, with some views being five orders of magnitude slower than necessary. There is a test that confirms they'll stay performance neighbors. In the view classes (Zipped, Mapped, etc.) I attended to them with comb and brush until they were reasonably consistent. I only use "override" where necessary and throw in some "final" in the interests of trying to anchor the composition outcome. I also switched the newSliced, newZipped, etc. methods to use early init syntax since a number have abstract vals and I found at least one bug originating with uninitialized access. There was a piece of a parallel collections scalacheck test failing, which I disabled out of expedience - am emailing prokopec. There is plenty of work left to do but paulp must get back to other 2.9 issues. This is the Zurich->SF airplane patch. No review.
* Added askStructure method.Martin Odersky2011-03-101-0/+11
|
* Added assert that deferring cases of askLoadedT...Martin Odersky2011-03-101-1/+6
| | | | | | Added assert that deferring cases of askLoadedTyped and askParsedEntered are not called from within an ask, as this would cause a deadlock.
* Removed the `par` method from numeric ranges.Aleksandar Pokopec2011-03-101-3/+1
| | | | | No review.
* Adding special take and drop for numeric ranges...Aleksandar Pokopec2011-03-104-2/+161
| | | | | | | | Adding special take and drop for numeric ranges, and a test. Parallel numeric ranges are added, but currently disabled. Review by extempore.
* Fixes and closes #4328.Aleksandar Pokopec2011-03-091-0/+12
| | | | | No review.
* Avoids continuous background compiler runningMartin Odersky2011-03-091-4/+9
|
* closes #3446 and improves parsing speed by enco...Adriaan Moors2011-03-081-13/+39
| | | | | | | | closes #3446 and improves parsing speed by encoding lazy arguments using CBN args and lazy vals. should avoid needlessly recomputing parsers review by plocinic (so you can include a version that uses the direct support for lazy args in your branch)
* One last build break and unbreak so I can be fo...Paul Phillips2011-03-081-0/+2
| | | | | | One last build break and unbreak so I can be fondly remembered as that guy who kept breaking the build. No review.
* Cleaned up PC logix dealing with waiting respon...Martin Odersky2011-03-082-19/+33
| | | | | Cleaned up PC logix dealing with waiting responses.
* Moved SeqDerived into an Ordering.Implicits obj...Paul Phillips2011-03-081-15/+27
| | | | | | Moved SeqDerived into an Ordering.Implicits object. Closes #3152 (only mopping up), no review.