summaryrefslogtreecommitdiff
path: root/src/library
Commit message (Collapse)AuthorAgeFilesLines
* Trying to make typechecker faster by (1) new su...Martin Odersky2009-07-131-0/+9
| | | | | | | Trying to make typechecker faster by (1) new subtyping (2) better implicit caches. Disallowed '42 as a symbol. Added cache method to Mutable Maps. Better complietion in interactive.
* Implementation and test cases for canEqual meth...Paul Phillips2009-07-091-0/+6
| | | | | | | Implementation and test cases for canEqual method in case classes. Now the autogenerated equality method inquires with the argument as to whether other.canEqual(this) before returning true.
* Made NamespaceBinding a case class; addresses t...Paul Phillips2009-07-081-6/+6
| | | | | Made NamespaceBinding a case class; addresses ticket #2138.
* minor change (Scala comments)michelou2009-07-076-65/+106
|
* minor change (Scala comments)michelou2009-07-072-28/+40
|
* fixed Scala comments, added svn:keywordsmichelou2009-07-0731-245/+395
|
* Fixes and test cases for #2124 and #2125.Paul Phillips2009-07-0510-127/+44
|
* Added the co- part of codec.Paul Phillips2009-07-031-1/+2
|
* refined range positions some more; eliminated A...Martin Odersky2009-07-022-8/+1
| | | | | refined range positions some more; eliminated Array.withDims
* Applied patches to fix the issues in #2074.Philipp Haller2009-06-302-1/+6
|
* Applied patch to fix #2104 and added test.Philipp Haller2009-06-301-6/+7
|
* Reverted default parameters on RichInt range me...Paul Phillips2009-06-291-2/+4
| | | | | Reverted default parameters on RichInt range methods.
* Gave a Source method a more precise name.Paul Phillips2009-06-272-2/+2
|
* Skeletal implementation of scala.io.File.Paul Phillips2009-06-246-14/+108
| | | | | | | Separated default source code encoding (the one specified by -encoding) from default system encoding, because otherwise you can't compile scala with the defaults on OSX.
* fixed variance bug; added smart brace insertion...Martin Odersky2009-06-241-1/+1
| | | | | | fixed variance bug; added smart brace insertion to parser. moved interactive compiler interface along.
* More work and documentation for GenericRanges, ...Paul Phillips2009-06-2413-72/+136
| | | | | | More work and documentation for GenericRanges, plus minor findbugs noticed issues.
* Working my way toward a consistent interface fo...Paul Phillips2009-06-246-174/+55
| | | | | | | | | | | Working my way toward a consistent interface for scala.io.Source. Now all the Source factory methods whose input is something Byte based rather than Char based require an implicit Codec, which will be Codec.default if no implicit is available. The idea is that if one uses the scala APIs, your desired encoding can be expressed as an implicit value and it will always be used; and that we (if so inclined) can change the default in one place.
* Some enhancements to Option to cover a variety ...Paul Phillips2009-06-241-2/+31
| | | | | | | | Some enhancements to Option to cover a variety of cases which have come up repeatedly: Option factory which translates null to None .orNull method on Options of nullable types filterMap implementation so Option[T].filterMap => Option[U]
* Some incremental steps on overhauling IO.Paul Phillips2009-06-233-72/+93
| | | | | | | scala.io.Codec for encapsulating charset encoding/decoding info, and then uses that class as the world's first default/implicit parameter: see BufferedSource.fromInputStream.
* Made some minor adjustments to Stream, having d...Paul Phillips2009-06-231-32/+7
| | | | | | | | | | Made some minor adjustments to Stream, having deprecated methods actually use the implementation they recommend to everyone else, except in those cases where doing so caused scalac to become unbuildable (e.g. concat) or the suggested alternative doesn't actually exist (e.g. fill(elem)). Also dropped the "drop" override as it appeared identical to the inherited implementation.
* As Ordered now extends Comparable, so too shouldPaul Phillips2009-06-231-1/+3
| | | | | Ordering extend Comparator.
* Fixed #2062.Philipp Haller2009-06-231-1/+1
|
* Attempted to resolve the improbable mess surrou...Paul Phillips2009-06-223-19/+11
| | | | | | | | Attempted to resolve the improbable mess surrounding implicit conversions from Unit. Modified test case which relied on the supposedly verboten behavior; verbotenized () => AnyRef; added new test case which fails if verboten behavior should ever return.
* More equality shenanigans.Paul Phillips2009-06-212-35/+9
| | | | | | | and the various Int types all use different hashCode algorithms. This means there is very broken behavior afoot among the types. I see no option but to make numeric equals significantly less tricky.
* Created DelayedLazyVal for your def/val hybrid ...Paul Phillips2009-06-201-0/+44
| | | | | Created DelayedLazyVal for your def/val hybrid needs.
* Removed some useless type arguments which survi...Paul Phillips2009-06-191-8/+8
| | | | | | Removed some useless type arguments which survived an earlier iteration, and resolved an implicit ambiguity that snuck into SpecializeTypes.
* Support for specialization on explicit types.Iulian Dragos2009-06-191-2/+17
| | | | | class Foo[@specialized("Int, Double") T] ..
* Created scala.reflect.Invocation, which offers ...Paul Phillips2009-06-191-0/+128
| | | | | | | | | Created scala.reflect.Invocation, which offers an easy syntax for reflective method calls, like: "abcdefgh" o 'endsWith("gh") // returns Any val res: Boolean = "abc" oo 'endsWith("z") // casts to expected type
* corrected some typosTiark Rompf2009-06-193-3/+3
|
* Specialization landed in trunk.Iulian Dragos2009-06-181-0/+9
|
* tweak to hashable.Paul Phillips2009-06-181-1/+1
|
* (1) some changes to interactive compiler interf...Martin Odersky2009-06-182-6/+55
| | | | | | (1) some changes to interactive compiler interface. 2) added (symbol.hasTypeAt 3) Added flatten/transpose/unzip to TraversableClass
* fixed some deprecation messages.Paul Phillips2009-06-181-2/+2
|
* Adds @experimental annotation to lower the acti...Paul Phillips2009-06-172-0/+30
| | | | | | | | Adds @experimental annotation to lower the activation energy wall between me and all my good ideas. Then took advantage of same to add the experimental filterMap to Traversable. (I consider its goodness undeniable, but its name at least is experimental.)
* Newly generated Tuple/Product/Function classes ...Paul Phillips2009-06-1767-703/+622
| | | | | | Newly generated Tuple/Product/Function classes from new genprod, plus a couple minor tweaks to genprod to keep tests happy.
* made Hashable use a Seq instead of List.Paul Phillips2009-06-161-6/+6
|
* More work on all the collection proxies.Paul Phillips2009-06-1611-74/+120
| | | | | | attempted to bring Map/Set/Sequence/Iterable up to date with the methods in their underlying classes.
* added headers, svn keywords, updated pilib exam...michelou2009-06-1661-85/+257
| | | | | added headers, svn keywords, updated pilib examples
* An attempt at reintegrating MapProxy.Paul Phillips2009-06-155-61/+118
|
* A RichClass for the java side which offers type...Paul Phillips2009-06-122-18/+92
| | | | | | | A RichClass for the java side which offers typed Constructors. Working around bug #1560 and improving on the java interface. Also a small experiment in the reflection department.
* Lots and lots of BigInt and BigDecimal code att...Paul Phillips2009-06-112-29/+87
| | | | | | | Lots and lots of BigInt and BigDecimal code attempting to make it all consistent and equality correct and consistent (to the extent that's even possible.) I'll be glad when this is over.
* Fixed #2051.Paul Phillips2009-06-101-3/+3
|
* Trying to bring BigDecimal all the way up to sp...Paul Phillips2009-06-101-37/+78
| | | | | | | | | | | | | | | | | Trying to bring BigDecimal all the way up to speed with its java counterpart. Added a MathContext val and perform all operations with that MathContext, and an apply method which accepts a math context so you can e.g.: val x = BigDecimal(1.0) x / 3 // ArithmeticException x(DECIMAL32) / 3 // 0.3333333 Also added most of the java BigDecimal methods which for whatever reason weren't exposed by the wrapper. Precision to infinity... and beyond!
* Added some missing methods to BigDecimal.Paul Phillips2009-06-101-0/+10
|
* removed debug code (revert r17767 and r17780)Lukas Rytz2009-06-102-51/+1
|
* A couple findbugs inspired bugfixes, and a new ...Paul Phillips2009-06-092-1/+64
| | | | | | A couple findbugs inspired bugfixes, and a new trait scala.util.Hashable, now used by GenericRange.
* Use `keySet' and `valueIterable' to get keys an...Gilles Dubochet2009-06-086-28/+49
| | | | | | Use `keySet' and `valueIterable' to get keys and values from a map as non-iterator collections.
* Fix for #1993.Paul Phillips2009-06-071-15/+11
|
* Tightened up XHTML minimization logic - closes ...Paul Phillips2009-06-071-3/+9
| | | | | Tightened up XHTML minimization logic - closes #2043.
* fixed BeanProperty, added BooleanBeanProperty, ...Lukas Rytz2009-06-072-7/+27
| | | | | | fixed BeanProperty, added BooleanBeanProperty, added many tests (#1029, #1751, #294, #1942, #1782, #1788, #637).