summaryrefslogtreecommitdiff
path: root/src/library
Commit message (Collapse)AuthorAgeFilesLines
* Applied performance patch and test case from ij...Paul Phillips2009-11-213-2/+41
| | | | | Applied performance patch and test case from ijuma; closes #2526.
* Expanding the warning cleansing into -unchecked...Paul Phillips2009-11-202-7/+9
| | | | | Expanding the warning cleansing into -unchecked territory.
* updated/extended serialization tests michelou2009-11-2010-17/+103
|
* More deprecation avoidance and some minor smoot...Paul Phillips2009-11-204-13/+4
| | | | | More deprecation avoidance and some minor smoothings.
* Eliminated warning about Tuple2 and Tuple3 impo...Paul Phillips2009-11-202-2/+2
| | | | | Eliminated warning about Tuple2 and Tuple3 importing Traversable.
* Tweak to Iterator.++ to keep it from going into...Paul Phillips2009-11-201-7/+11
| | | | | | Tweak to Iterator.++ to keep it from going into an infinite loop on x ++ x.
* Deprecated the Tuple(...) methods in Predef, bu...Paul Phillips2009-11-202-10/+45
| | | | | | | 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.
* PriorityQueue fixed, should work ok now.Aleksandar Pokopec2009-11-203-37/+84
|
* More world-shaking deprecation work.Paul Phillips2009-11-2015-58/+65
| | | | | | | 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, enable...Martin Odersky2009-11-2014-55/+63
| | | | | | Simplifiations in collections libraries, enabled by introduction of Self type in TraversableLike.
* Slightly more fixy fix than the previous fix.Paul Phillips2009-11-201-2/+2
|
* Fix for infinite loop in StringBuilder pointed ...Paul Phillips2009-11-201-1/+1
| | | | | Fix for infinite loop in StringBuilder pointed out by dpp.
* Deprecation patrol exercises the new capabiliti...Paul Phillips2009-11-192-29/+26
| | | | | | Deprecation patrol exercises the new capabilities in Tuple2.zipped among other exciting no-ops.
* closes #2670.Lukas Rytz2009-11-196-10/+53
|
* Restoring an embarassingly large quantity of de...Paul Phillips2009-11-199-0/+196
| | | | | | Restoring an embarassingly large quantity of deprecated methods whose time had not yet come.
* More deprecation soothing.Paul Phillips2009-11-187-9/+10
| | | | | warning count.
* Finally completed the incredibly tedious task o...Paul Phillips2009-11-181-11/+0
| | | | | | 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...Paul Phillips2009-11-181-2/+5
| | | | | | | | 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.
* More deprecation work.Paul Phillips2009-11-1816-214/+0
| | | | | | 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 a...Paul Phillips2009-11-185-37/+5
| | | | | More minor removals and some cleanups of !!!s and XXXs.
* Removing bits from the library which shouldn't ...Paul Phillips2009-11-187-405/+1
| | | | | | | | | | | | | | | 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 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.