summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Disabled test not actually doing anything anywa...Paul Phillips2011-03-181-0/+0
| | | | | Disabled test not actually doing anything anyway, no review.
* Reenabled the commented out bits of the test fo...Paul Phillips2011-03-172-3/+3
| | | | | Reenabled the commented out bits of the test for #1642. No review.
* Always forget that checking system properties c...Paul Phillips2011-03-178-47/+146
| | | | | | | | | 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.
* bumping up the version number in trunk.Antonio Cunei2011-03-172-2/+2
|
* 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
|
* 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.
* Reverted r24388.Paul Phillips2011-03-081-1/+1
| | | | | decent Array/specialization solution. Reopens #2996, no review.
* Fixed possible unsynchronized access to getEnte...Martin Odersky2011-03-082-16/+19
| | | | | | Fixed possible unsynchronized access to getEnteredParsed which might lead to sticky PC errors.
* Added StringLike to the list of things the repl...Paul Phillips2011-03-081-3/+3
| | | | | | Added StringLike to the list of things the repl lets print themselves. No review.
* Added documentation in annotation.unique packag...Philipp Haller2011-03-081-0/+10
| | | | | Added documentation in annotation.unique package object. No review.
* An overhaul of slice and related implementation...Paul Phillips2011-03-0814-170/+140
| | | | | | | | | | | An overhaul of slice and related implementations (primarily that is drop and take.) In the course of trying to get it working consistently (mostly with respect to negative indices, which were dealt with arbitrarily differently across the 25+ concrete implementations) I fixed various bugs. Closes #4288, no review.
* Fix for drop bug in parallel collections iterat...Paul Phillips2011-03-081-17/+15
| | | | | | Fix for drop bug in parallel collections iterator revealed during slice work. Review by prokopec.
* Closes #2239.Philipp Haller2011-03-081-0/+16
|
* One more attempt at fixing the windows build.Iulian Dragos2011-03-081-1/+1
|