| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
SI-5981, SI-5979, SI-5973, SI-5890 Closed. Maintenance to Try.
|
| | |
|
| | |
|
|/ |
|
| |
|
|\
| |
| | |
two pullrequests from this morning, combined to merge changes to starrs
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
TypeTag.String is removed because it's unclear whether it should point to
scala.Predef.String or to java.lang.String. ClassTag.String is removed to
be consistent with TypeTag.String.
This requires re-bootstrapping, because Definitions.scala in locker
expects classTag[String] being automatically generated, whereas starr
disagrees with locker on how to generate that class tag.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1) type ClassManifest[T] = ClassTag[T] (solves a problem
with toArray[T: ClassManifest] defined on most of the collections;
if these types weren't aliases, then we won't be able to change
the signature of that method to toArray[T: ClassTag], because
that would break source compatibility for those who override
toArray in their custom collections)
2) Compiler-generated manifests no longer trigger deprecation warnings
(this is implemented by using ClassManifestFactory instead of ClassManifest
and ManifestFactory instead of Manifest)
3) Deprecation messages got improved to reflect the changes
that were introduced in 2.10.0-M4.
|
|/ |
|
|\
| |
| | |
Split @milessabin HasRepr into IsTraversableOnce and IsTraversableLike t...
|
| |
| |
| |
| | |
class-ish things.
|
|\ \
| | |
| | | |
Renaming convertTo to to on GenTraversableOnce.
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
src/library/scala/collection/MapLike.scala
src/library/scala/collection/SortedMapLike.scala
|
| |\ \ \
| | |/ /
| |/| | |
Fix SI-3326.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The heart of the problem - we want to retain the ordering when
using `++` on sorted maps.
There are 2 `++` overloads - a generic one in traversables and
a map-specific one in `MapLike` - which knows about the ordering.
The problem here is that the expected return type for the expression
in which `++` appears drives the decision of the overload that needs
to be taken.
The `collection.SortedMap` does not have `++` overridden to return
`SortedMap`, but `immutable.Map` instead.
This is why `collection.SortedMap` used to resort to the generic
`TraversableLike.++` which knows nothing about the ordering.
To avoid `collection.SortedMap`s resort to the more generic `TraverableLike.++`,
we override the `MapLike.++` overload in `collection.SortedMap` to return
the proper type `SortedMap`.
|
| |\ \ \
| | | | |
| | | | | |
Fix SI-5336.
|
| | |/ / |
|
| |\ \ \
| | | | |
| | | | | |
Fix SI-5986.
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Here we had an issue that RedBlack does not work the same way
for sets - which are not supposed to replace an element if
it is the same (wrt equals) and maps - which should replace
the corresponding values.
Adding an overwrite parameter which decides whether to overwrite
added keys if they are the same in the ordering.
Fix tests.
|
| |\ \ \
| | |_|/
| |/| | |
Parallelize convertTo in parallel collection.
|
| | | | |
|
| |\ \ \
| | | | |
| | | | | |
Fix SI-5971.
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When using `AbstractTransformed` abstract inner class in views in order
to force generating bridges, one must take care to push the corresponding
collection trait (such as `Iterable` or `Seq`) as far as possible to the
left in the linearization order -- otherwise, overridden methods from these
traits can override the already overridden methods in view. This was the
case with `takeWhile`.
|
| |\ \ \
| | | | |
| | | | | |
removes pre-M4 compatibility stubs for the IDE
|
| | | | | |
|
| | |/ /
| |/| | |
|
| |\ \ \
| | | | |
| | | | | |
remove semi-colons and extraneous whitespace
|
| | | | | |
|
| |\ \ \ \
| | | | | |
| | | | | | |
remove semi-colons and extraneous whitespace
|
| | |/ / / |
|
| |/ / / |
|
| |\ \ \
| | |/ /
| |/| | |
Fix SI-4809.
|
| | |/ |
|
| |\ \
| | | |
| | | | |
improve showRaw
|
| | | |
| | | |
| | | |
| | | | |
addresses concerns raised in http://groups.google.com/group/scala-user/browse_thread/thread/de5a5be2e083cf8e
|
| |\ \ \
| | | | |
| | | | | |
Adding copyInto and toVector methods to collections.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* Move method into TraversableOnce from Iterator and Traversable to make the build pass.
* Udpate IDE tests with new collection methods.
* Rewire default toXYZ methods to use convertTo.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* Fixed typo
* Renamed copyInto to copyTo
* Added tparam doc.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* Added generic copyInto method for collections. For any collection with a CanBuildFrom, can convert a generic collection into it using the builder.
* Added specifici toVector method for collections. This is more efficient than copyInto if the collection is a Vector.
|
| |\ \ \ \
| | | | | |
| | | | | | |
Fix SI-4954.
|
| | | |_|/
| | |/| |
| | | | |
| | | | |
| | | | |
| | | | | |
Override inner classes in `LinkedHashMap` that correspond
to `filterKeys`, `mapValues` and `keys` to retain a proper
ordering of elements when they are transformed.
|
| |\ \ \ \
| | | | | |
| | | | | | |
Use `ThreadLocalRandom` in `TrieMap.size`.
|
| | |/ / / |
|
| |\ \ \ \
| | |_|/ /
| |/| | | |
Remove unused type parameter.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
There should probably be a warning about non-overriding methods
which have unreferenced type parameters.
|
| |\ \ \ \
| | |_|/ /
| |/| | | |
Reverting the diagrams
|