| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Applied performance patch and test case from ijuma; closes #2526.
|
|
|
|
|
| |
Expanding the warning cleansing into -unchecked territory.
|
| |
|
|
|
|
|
| |
More deprecation avoidance and some minor smoothings.
|
|
|
|
|
| |
Eliminated warning about Tuple2 and Tuple3 importing Traversable.
|
|
|
|
|
|
| |
Tweak to Iterator.++ to keep it from going into an infinite loop on x ++
x.
|
|
|
|
|
|
|
| |
Deprecated the Tuple(...) methods in Predef, but at the same time
extended the overload out to 22 and moved them into the scala package
object.
|
| |
|
|
|
|
|
|
|
| |
object, updating some @deprecated messages to give realistic
alternatives, properly resolving the semantic mismatch between List.--
and diff, its once-recommended but inequivalent alternative.
|
|
|
|
|
|
| |
Simplifiations in collections libraries, enabled by introduction of Self
type in TraversableLike.
|
| |
|
|
|
|
|
| |
Fix for infinite loop in StringBuilder pointed out by dpp.
|
|
|
|
|
|
| |
Deprecation patrol exercises the new capabilities in Tuple2.zipped among
other exciting no-ops.
|
| |
|
|
|
|
|
|
| |
Restoring an embarassingly large quantity of deprecated methods whose
time had not yet come.
|
|
|
|
|
| |
warning count.
|
|
|
|
|
|
| |
Finally completed the incredibly tedious task of removing the lower case
primitive aliases from Predef. Had to rebuild msil.jar along the way.
|
|
|
|
|
|
|
|
| |
Fixed a bug in Range which was causing take and drop to overflow and
return empty if the argument was larger than the actual length
of the Range and arg * step > MaxInt.
|
|
|
|
|
|
| |
since 2.7.2 (still except for lower case primitive type aliases) and
removes every deprecated method which has never shipped in a release.
|
|
|
|
|
| |
More minor removals and some cleanups of !!!s and XXXs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Removing bits from the library which shouldn't make the 2.8 cut. Removed
outright:
util.Hashable: unused and I have a better plan for this net.Utility:
class created to accomodate expansion which never materialized
reflect.Invocation: doesn't go far enough, needs love it won't find
right now reflect.RichClass: same as Invocation
Moved into compiler:
util.ScalaClassLoader: too useful to lose, not done enough to ship
|
|
|
|
|
|
| |
Contents of scala.Math moved into scala.math package object, and
scala.Math deprecated. Also a couple janitorial cleanups.
|
| |
|
|
|
|
|
| |
Fixed #2848 and #2630; Improvements in equality speed
|
|
|
|
|
|
|
| |
fixing a long-standing bug in fjbg and recompiling fjbg.jar, which had
the side effect of revealing that the current fjbg jar had never been
recompiled with target 1.5, so now it's smaller and (I imagine) faster.
|
|
|
|
|
|
|
|
| |
Bringing BigInt and BigDecimal into the club of things which can be
equal to one another and which will have the same hashCode. Fixed
some old and some new bugs associated with equality. Note: not fully
optimized.
|
|
|
|
|
|
| |
Moved those bits of Predef into the scala package object which would go
without a fight.
|
|
|
|
|
|
| |
Removed everything deprecated in 2.7.3 or earlier except the lower case
primitive type aliases, plus associated fixes.
|
|
|
|
|
|
| |
added hooks so that BigInt, BigDecimal can do the right thign for
equality.
|
| |
|
|
|
|
|
| |
fixed #2546 using patch from dlwh -- please review!
|
|
|
|
|
|
| |
Promotes reverseMap out of List into SeqLike as discussed on
scala-internals.
|
|
|
|
|
| |
Queue - several bugs fixed, particular one not updating the last0 field of MutableList.
|
|
|
|
|
| |
In dequeueAll there was a bug checking if collection is nonEmpty instead of isEmpty - fixed.
|
|
|
|
|
|
| |
Changed the ctor of the LinkedList so that it ignores null if given as
the next list.
|
| |
|
| |
|
|
|
|
|
|
| |
added CanBuild type alias in package object scala.collection.generic
added breakout to scala.collection test for breakout
|
| |
|
|
|
|
|
| |
tentative re-implementation of LinkedList and subclasses
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Breaks down the hash function in BoxesRunTime by type so we can do as
much as possible at compile time. Documents various trouble points I've
identified with trying to get the hashCodes aligned. Test case exercises
the hashCode functions.
Deleted all the code associated with previous equality adventures. Don't
worry, I can put anything back if it turns out we have to change course
again, but for now it's noise.
Also, gives return types to the box and unbox methods which are added to
the primitive companions, so e.g. Int.box(5) now returns a j.l.Integer
instead of an Object.
|
|
|
|
|
| |
isDefinedAt should /not/ be in Function1
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fixed bug in implicit resolution that only manifested itself when
multiple implicit arguments needed to be resolved and they were intended
to instantiate type parameters
two problems:
- type parameters that could not be inferred where removed from undetparams erroneously
- the successfully inferred parameters were not propagated to the the implicit arguments on the right (implicit resolution searches for implicit arguments from left to right, fixing type parameters in the process)
this should give the green light for the addition of Zipped to TupleN
|
|
|
|
|
|
| |
added overloaded hashes to Predef.
some small changes.
|
|
|
|
|
|
|
|
| |
code that mixes in PartialFunction now have to
define isDefinedAt as override.
Fixes #2225.
|
|
|
|
|
|
| |
Made Benchmarks use standard output instead of requiring a file name on
the command line
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Some @experimental cleanups/removals I missed on the last pass.
|