| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
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 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 to date. No review.
|
| |
|
|
|
|
|
| |
Fixes problem with getLinkPos, which sometimes failed on first try.
|
|
|
|
|
|
| |
improved documentation for annotations in scala.annotation.target.
closes #4250, no review.
|
|
|
|
|
| |
Slight tweak to case class deprecation message, no review.
|
|
|
|
|
|
| |
package than deprecating every individual thing. (There isn't, is
there?) Closes #4313, no review.
|
|
|
|
|
|
|
|
|
|
|
| |
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 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 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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
for pointing me toward the problem. No review.
|
|
|
|
|
|
|
| |
Fixes the broken test, introduced in the view patch commit.
No review.
|
|
|
|
|
|
| |
Added a callback to Global.Run for fine-grain progress reporting, to
used by e.g., the Eclipse plugin.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 assert that deferring cases of askLoadedTyped and askParsedEntered
are not called from within an ask, as this would cause a deadlock.
|
|
|
|
|
| |
No review.
|
|
|
|
|
|
|
|
| |
Adding special take and drop for numeric ranges, and a test. Parallel
numeric ranges are added, but currently disabled.
Review by extempore.
|
|
|
|
|
| |
No review.
|
| |
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Cleaned up PC logix dealing with waiting responses.
|
|
|
|
|
|
| |
Moved SeqDerived into an Ordering.Implicits object. Closes #3152 (only
mopping up), no review.
|
|
|
|
|
| |
decent Array/specialization solution. Reopens #2996, no review.
|
|
|
|
|
|
| |
Fixed possible unsynchronized access to getEnteredParsed which might
lead to sticky PC errors.
|
|
|
|
|
|
| |
Added StringLike to the list of things the repl lets print themselves.
No review.
|
|
|
|
|
| |
Added documentation in annotation.unique package object. No review.
|
|
|
|
|
|
|
|
|
|
|
| |
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 iterator revealed during slice
work. Review by prokopec.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Added few lines of clarification in the docs of ParallelIterableLike.
No review.
|
|
|
|
|
|
|
| |
Modify BufferedSource to use a BufferedLineIterator to speed up
line-by-line reads on large files. Updated testfile which used this
class. Closes #4186. Review (of fft.check) by prokopec.
|
|
|
|
|
|
|
| |
Rename io.Code.toUTF8 and io.Code.fromUTF8 so that the names match
what the methods do, with an added migration warning. Closes #4203. No
review.
|
|
|
|
|
|
| |
Made the .opts file in presentation compiler tests be 'platform
independent'. Paths are given in Unix notation. no review.
|
|
|
|
|
|
| |
Better workflow + debug logs in presentation compiler. Ask is
non-interruptable. Responses can't be dropped anymore.
|
|
|
|
|
| |
Clarify documentation of Position.includes, closes #2874. No review.
|
|
|
|
|
| |
No review.
|
|
|
|
|
|
|
| |
More signature fixes and tests and generally being more sophisticated
about our primitive squashing. These signatures belong in world-class
museums but we are their shepherds for now. Closes #4317, no review.
|
|
|
|
|
|
|
| |
Raised the scariness of the case class deprecation message. (I hope
you don't mind, hubert, I like writing scary messages.) Closes #4109 I
suppose, no review.
|
|
|
|
|
|
| |
More signature work arising from actually looking at the signatures.
Slightly improved the coverage of the tests. No review.
|