summaryrefslogtreecommitdiff
path: root/src/library
Commit message (Collapse)AuthorAgeFilesLines
* Contents of scala.Math moved into scala.math pa...Paul Phillips2009-11-173-10/+8
| | | | | | Contents of scala.Math moved into scala.math package object, and scala.Math deprecated. Also a couple janitorial cleanups.
* Fix for #2647.Paul Phillips2009-11-162-6/+5
|
* Fixed #2848 and #2630; Improvements in equality...Martin Odersky2009-11-152-37/+50
| | | | | Fixed #2848 and #2630; Improvements in equality speed
* Fixes and test cases for #2087 and #2400.Paul Phillips2009-11-141-24/+1
| | | | | | | 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...Paul Phillips2009-11-125-16/+64
| | | | | | | | 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 packa...Paul Phillips2009-11-123-70/+55
| | | | | | Moved those bits of Predef into the scala package object which would go without a fight.
* Removed everything deprecated in 2.7.3 or earli...Paul Phillips2009-11-1217-251/+2
| | | | | | 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 t...Martin Odersky2009-11-125-16/+50
| | | | | | added hooks so that BigInt, BigDecimal can do the right thign for equality.
* removed disabled filesAntonio Cunei2009-11-125-850/+0
|
* fixed #2546 using patch from dlwh -- please rev...Adriaan Moors2009-11-112-34/+28
| | | | | fixed #2546 using patch from dlwh -- please review!
* Promotes reverseMap out of List into SeqLike as...Paul Phillips2009-11-112-20/+19
| | | | | | Promotes reverseMap out of List into SeqLike as discussed on scala-internals.
* Queue - several bugs fixed, particular one not ...Aleksandar Pokopec2009-11-111-11/+34
| | | | | Queue - several bugs fixed, particular one not updating the last0 field of MutableList.
* In dequeueAll there was a bug checking if colle...Aleksandar Pokopec2009-11-101-1/+1
| | | | | In dequeueAll there was a bug checking if collection is nonEmpty instead of isEmpty - fixed.
* Changed the ctor of the LinkedList so that it i...Aleksandar Pokopec2009-11-101-2/+4
| | | | | | Changed the ctor of the LinkedList so that it ignores null if given as the next list.
* fixed the sentinel bug for mutable list.Aleksandar Pokopec2009-11-101-0/+1
|
* Zipped for Tuple2&Tuple3Adriaan Moors2009-11-102-2/+129
|
* added CanBuild type alias in package object sca...Adriaan Moors2009-11-102-0/+16
| | | | | | added CanBuild type alias in package object scala.collection.generic added breakout to scala.collection test for breakout
* fixing ++=:Adriaan Moors2009-11-101-3/+3
|
* tentative re-implementation of LinkedList and s...Martin Odersky2009-11-105-76/+95
| | | | | tentative re-implementation of LinkedList and subclasses
* Breaks down the hash function in BoxesRunTime b...Paul Phillips2009-11-093-162/+63
| | | | | | | | | | | | | | | | 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.
* Reverted r19466, as the decision is now thatAntonio Cunei2009-11-095-15/+16
| | | | | isDefinedAt should /not/ be in Function1
* fixed bug in implicit resolution that only mani...Adriaan Moors2009-11-091-43/+67
| | | | | | | | | | | | | 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 `locally' to Predef.Martin Odersky2009-11-092-0/+16
| | | | | | added overloaded hashes to Predef. some small changes.
* Adds isDefinedAt to Function1. As a consequence,Antonio Cunei2009-11-095-16/+15
| | | | | | | | code that mixes in PartialFunction now have to define isDefinedAt as override. Fixes #2225.
* Made Benchmarks use standard output instead of ...Iulian Dragos2009-11-091-10/+13
| | | | | | Made Benchmarks use standard output instead of requiring a file name on the command line
* Better implementation of Predef.hashMartin Odersky2009-11-092-2/+25
|
* fast path equals and hash methods.Martin Odersky2009-11-093-17/+51
|
* fixed #2583, patch supplied by huynhjlAdriaan Moors2009-11-091-2/+4
|
* Some @experimental cleanups/removals I missed o...Paul Phillips2009-11-088-15/+3
| | | | | Some @experimental cleanups/removals I missed on the last pass.
* Fixed collections unit test (regression in List...Philipp Haller2009-11-081-1/+5
| | | | | | Fixed collections unit test (regression in ListBuffer.apply) and serialization test.
* Added missing classMartin Odersky2009-11-081-0/+16
|
* Fixed #2497Martin Odersky2009-11-078-20/+12
|
* Fixed build problem in last checkinMartin Odersky2009-11-071-4/+1
|
* Moved a bunch of classes into the newly created...Paul Phillips2009-11-0611-10/+34
| | | | | | Moved a bunch of classes into the newly created scala.math package. Created compatibility aliases in the scala package object.
* Fix for #2525.Paul Phillips2009-11-065-5/+5
|
* - Renames filterMap to partialMapPaul Phillips2009-11-0614-88/+55
| | | | | | - Renames GenericRange to NumericRange - Removes most @experimental annotations
* fixed obvious bug in JenkinsHashLukas Rytz2009-11-061-1/+1
|
* Replaced immutable.Queue.apply, which should fi...Philipp Haller2009-11-051-11/+7
| | | | | Replaced immutable.Queue.apply, which should fix the build.
* simplified re-ordering packagesLukas Rytz2009-11-052-3/+2
|
* fix cyclic reference errors in scaladoc.Lukas Rytz2009-11-0460-129/+25
|
* bit missingAntonio Cunei2009-11-042-2/+2
|
* Clarification to scaladoc comments for "sort".Antonio Cunei2009-11-042-6/+6
|
* Some tabs I unwittingly let creep in are now sp...Paul Phillips2009-11-041-135/+135
| | | | | Some tabs I unwittingly let creep in are now spaces.
* Scala implementation of fancier hashCode algori...Paul Phillips2009-11-042-0/+194
| | | | | | | | Scala implementation of fancier hashCode algorithm. At the moment it isn't used unless you supply -Yjenkins-hashCodes to scalac. Without the flag, the supplied test case generates 12559 unique hashCodes among 90000 case class instances; with the flag it generates 89999.
* Deleted Zero, or "Nothing ventured, Nothing gai...Paul Phillips2009-11-042-82/+0
| | | | | Deleted Zero, or "Nothing ventured, Nothing gained."
* Fix and test for #2527Philipp Haller2009-11-031-3/+8
|
* Applied patch for #2524.Philipp Haller2009-11-031-3/+18
|
* fixed #2500 (second part)Adriaan Moors2009-11-035-8/+5
| | | | | missed some compile errors because I didn't do a full recompile...
* fixed #2500: refactoring collections so that a ...Adriaan Moors2009-11-039-36/+22
| | | | | | | | | | fixed #2500: refactoring collections so that a `collection.{Map|SortedMap|SortedSet}` can be built from the corresponding collection (thus, do not require the immutable one) pulling up newBuilder method from Immutable*Factory to *Factory, and inheriting *Factory in scala.collection companion objects, instead of the Immutable*Factory this way, you can, e.g., build a collection.Map from a collection.Map (instead of requiring an immutable.Map)
* Fixed #2545.Martin Odersky2009-11-022-5/+22
|