summaryrefslogtreecommitdiff
path: root/src/library
Commit message (Collapse)AuthorAgeFilesLines
* "scala.Random" has been deprecated since 2.7.2 ...Gilles Dubochet2009-05-291-25/+0
| | | | | | "scala.Random" has been deprecated since 2.7.2 (replaced by "scala.util.Random"), and will not be part of 2.8.
* Further development of the Numeric and Ordering...Paul Phillips2009-05-286-165/+81
| | | | | | | Further development of the Numeric and Ordering traits. Replaced Predef implicits from everything => Ordered with a single implicit from Ordering => Ordered.
* Added a sequence shuffling method to scala.util...Paul Phillips2009-05-281-1/+30
| | | | | Added a sequence shuffling method to scala.util.Random.
* Implements feature request #2008.Gilles Dubochet2009-05-281-2/+1
|
* The classics never go out of style: reintegrate...Paul Phillips2009-05-282-73/+36
| | | | | The classics never go out of style: reintegrated immutable.Queue.
* Deprecated "elements" method moved to "Iterable...Gilles Dubochet2009-05-2710-28/+2
| | | | | Deprecated "elements" method moved to "Iterable" were it belongs.
* Reintegrated PriorityQueue.Paul Phillips2009-05-275-60/+53
|
* In "Iterable" and in all its subclasses, "itera...Gilles Dubochet2009-05-27121-391/+470
| | | | | | In "Iterable" and in all its subclasses, "iterator" replaces "elements" (and assorted changes).
* Logic error in Traversable; fixes #2002.Paul Phillips2009-05-271-1/+1
|
* Not quite complete reintegration of a handful o...Paul Phillips2009-05-2711-108/+78
| | | | | | | | Not quite complete reintegration of a handful of collection classes, but they compile quietly and keep to themselves (of course that's always what the neighbors say after some loner goes on a rampage, so it's not the innocuous description it once was.)
* Moved the script related classes from scala.col...Paul Phillips2009-05-265-57/+50
| | | | | | Moved the script related classes from scala.collection.mutable to scala.collection.script and reintegrated the Scriptable trait.
* removed deprecated files; more changes to repl.Martin Odersky2009-05-264-211/+1
|
* A big yet interim patch emerging from my attemp...Paul Phillips2009-05-263-0/+294
| | | | | | | | | | | | | | | | | | A big yet interim patch emerging from my attempts to centralize common classloader-related code. As it turns out, not that much of the patch is directly associated with that. Most of it is cleanup in the neighborhoods I was visiting, but there are a few new library files about which I'm open to feedback: scala/util/control/Exception - lots of exception handling code. scala/net/Utility - what would be the first file in scala.net.*, more code to follow if that sounds like a good package idea. scala/util/ScalaClassLoader - mostly convenience methods right now, more sophistication to come Also, this adds a :jar command to the repl which adds a jar to your classpath and replays the session.
* added missing file; hope we are done now!Martin Odersky2009-05-251-0/+20
|
* rest of collections check-inMartin Odersky2009-05-252-3/+3
|
* added SynchronizedMap; changed Set.put to Set.a...Martin Odersky2009-05-259-200/+191
| | | | | | added SynchronizedMap; changed Set.put to Set.add, implemented LinkedHashMap/Set more efficiently.
* Case classes use product prefix instead of clas...Iulian Dragos2009-05-251-1/+1
| | | | | | Case classes use product prefix instead of class name when computing hash codes. (see #1332).
* KMP implementation for StringBuilder and test c...Paul Phillips2009-05-201-69/+65
| | | | | | KMP implementation for StringBuilder and test case. Repaired long-standing infinite loop in lastIndexOf.
* Added java.lang.String's other format variant t...Paul Phillips2009-05-201-0/+17
| | | | | | | | | Added java.lang.String's other format variant to RichString. At a glance this may appear to create a conflict because format takes (args: Any*), but since there is no format specifier for a Locale object, the first argument being one such unambiguously means the second variant. i18n or bust!
* more debugging code for teh NoSuchElementExceptionLukas Rytz2009-05-202-16/+32
|
* small modifications to collections.Martin Odersky2009-05-1913-21/+14
|
* Reverting 17770 - right, that is what "map view...Paul Phillips2009-05-191-1/+6
| | | | | Reverting 17770 - right, that is what "map view" means.
* Modified filterKeys to return the same type of ...Paul Phillips2009-05-191-6/+1
| | | | | | | | Modified filterKeys to return the same type of Map as it was called upon. If this method is doing something important it should probably be documented, because right now it looks rather redundant with filter: map filterKeys (_ < 10) map filter (x => x._1 < 10)
* some temporary code to find the bug (NoSuchElem...Lukas Rytz2009-05-191-0/+34
| | | | | | some temporary code to find the bug (NoSuchElementException) in LinkedHashMap
* Cleanup in aisle scala.util.automata! And fix f...Paul Phillips2009-05-183-189/+58
| | | | | Cleanup in aisle scala.util.automata! And fix for #1988.
* Updated documentation.Paul Phillips2009-05-171-2/+3
|
* fixed .net buildLukas Rytz2009-05-161-0/+1
|
* Creates XMLOptions configuration object to addr...Paul Phillips2009-05-152-44/+80
| | | | | | | Creates XMLOptions configuration object to address the proliferation of Booleans associated with XML parsing. Utilizes to address tag minimization issues described in #1118.
* Fixed #1932.Gilles Dubochet2009-05-151-1/+0
|
* Minding our ps and qs in the packrat.Paul Phillips2009-05-151-1/+1
|
* more collection cleanups and better docsMartin Odersky2009-05-1425-79/+97
|
* more collection cleanups and better docsMartin Odersky2009-05-141-26/+44
|
* Removed plus/minus/fromOldMartin Odersky2009-05-1419-384/+140
|
* cleaned up collection builder frameworkMartin Odersky2009-05-1465-575/+651
|
* Added to/until methods to RichLong and BigInt.Paul Phillips2009-05-133-38/+76
| | | | | | | | Created Inclusive and Exclusive subclasses of GenericRange. Moved factories for GenericRanges inside the Range object. They are now created by calling e.g. Range.Long(1,10,1) or Range.BigInt(0, BigInt(1) << 128, BigInt(1) << 124) .
* Optimiser-friendly changes to Range for more ef...Iulian Dragos2009-05-131-3/+4
| | | | | Optimiser-friendly changes to Range for more efficient loops.
* Various improvements to the optimiser: more agg...Iulian Dragos2009-05-131-1/+1
| | | | | | | Various improvements to the optimiser: more aggresive inlining for monad methods, bytecode reading in more cases, better copy propagation during closure elimination.
* changes to maps and setsMartin Odersky2009-05-1239-232/+377
|
* This patch includes the following:Paul Phillips2009-05-125-7/+434
| | | | | | | | | | | | | | | | | | | 1) Default Ordering implementations for various built-in types, supplied by DrMacIver. Ticket #1303. 2) Implicits for scala.Numeric and scala.Ordering so classes implementing those can use punctuation and, more importantly, infix notation. Compare "minus(plus(x, y), z)" to "x + y - z". 3) A generic implementation of Range, but leaving the original Int-only Range untouched. A LongRange. 4) Numeric and Ordering implementations of BigInt, as required for the new BigIntRange. Ticket #931. 5) Numeric implementations for built-in types changed to the trait + implicit-object-extends-trait model so the implementation can be mixed into other objects - in particular one might easily want to combine Numeric[T] and Ordering[T] in one object. 6) Assorted tweaks to support all the above.
* Reverted probably unintentional change to Enume...Paul Phillips2009-05-121-2/+2
| | | | | | | | Reverted probably unintentional change to Enumeration (the method formerly called valueOf and now called withName needs to return Option[Value], not Value) and updated the failing tests to use the new Enumeration interface.
* Patch for #1970 (submitted by jeortiz).Gilles Dubochet2009-05-121-2/+5
|
* separated mutable and immutable mapsMartin Odersky2009-05-1290-906/+1222
|
* Cleaned up format a little further now that .to...Paul Phillips2009-05-111-2/+1
| | | | | Cleaned up format a little further now that .toArray[Any] works.
* Removed redundant type parameter for class Buil...Martin Odersky2009-05-0964-101/+100
| | | | | Removed redundant type parameter for class Builder
* finitized an infinite loop in sameElementsPaul Phillips2009-05-091-3/+6
|
* Small change to Stream so force wouldn't always...Paul Phillips2009-05-081-1/+1
| | | | | Small change to Stream so force wouldn't always throw an exception.
* Explicit locking on Symbol creation so multiple...Paul Phillips2009-05-081-35/+49
| | | | | | Explicit locking on Symbol creation so multiple readers don't have to block up on synchronize. Closes bug #1307.
* Further refinement of fix for #1960.Paul Phillips2009-05-081-5/+5
|
* fix typos: wrong < chars in scaladocstepancheg2009-05-081-3/+3
|
* make all scala source files not executablestepancheg2009-05-0864-0/+0
|