summaryrefslogtreecommitdiff
path: root/src/library
Commit message (Collapse)AuthorAgeFilesLines
* The first working scalacheck test! Now Arbitrar...Paul Phillips2009-09-161-1/+1
| | | | | | The first working scalacheck test! Now Arbitrary is working for us instead of our nemesis Capt. Entropy.
* Cleaning code: removed unused methods, type lit...Gilles Dubochet2009-09-161-0/+2
| | | | | Cleaning code: removed unused methods, type literals are a bit simpler.
* fixed headers/comments/svn props, made some pro...michelou2009-09-1584-392/+813
| | | | | | fixed headers/comments/svn props, made some progress with serializable classes
* Workaround for by-name/implicit/default clash d...Paul Phillips2009-09-141-3/+14
| | | | | Workaround for by-name/implicit/default clash described in #2290.
* Added -Ynewarrays option which generates new ar...Martin Odersky2009-09-131-4/+7
| | | | | | Added -Ynewarrays option which generates new array scheme. This is necessary for a clean bootstrap.
* Preparing for array switchoverMartin Odersky2009-09-1218-316/+916
|
* Made canEqual abstract in Product and only inse...Paul Phillips2009-09-114-10/+3
| | | | | | | Made canEqual abstract in Product and only inserted into case classes if no concrete implementation is inherited. Restored the disabled canEquals usages in collections.
* Split TaskRunner into FutureTaskRunner and Task...Philipp Haller2009-09-117-45/+80
| | | | | | | | | | Split TaskRunner into FutureTaskRunner and TaskRunner. FutureTaskRunner has an abstract Future[T] type member and inherits an abstract Task[T] type member from TaskRunner. Implicit conversions enable tasks and futures to be treated as parameter-less functions. This allows TaskRunners to be used by actor schedulers without creating lots of wrapper objects.
* A bundle of small bugfixes to recent patches.Paul Phillips2009-09-113-2/+8
|
* Missing files from last checkinMartin Odersky2009-09-102-6/+2
|
* Massive redesign so that: scala> "hi" == "hi".r...Martin Odersky2009-09-1071-2326/+3148
| | | | | | Massive redesign so that: scala> "hi" == "hi".reverse.reverse gives: res0: Boolean = true Preparing to do similar things to arrays.
* Generalized -Xdisable-assertions into an annota...Paul Phillips2009-09-092-1/+71
| | | | | | | | Generalized -Xdisable-assertions into an annotation (presently called @elidable) so it can be used with arbitrary code. It takes an argument which sets its priority level, and you can control what code is elided from the command line by setting -Xelide-level to desired threshold.
* Created plausibly sensible equals and hashCode ...Paul Phillips2009-09-0918-133/+65
| | | | | | | | | | Created plausibly sensible equals and hashCode methods in collection.{ Set, Map, Sequence } and made sure that none of the derived collections is getting too excited about doing its own thing and in so doing either breaking equals/hashCode consistency or creating an asymmetric equals (or both.)
* added a few @serializable annotations, added @S...michelou2009-09-0812-183/+217
| | | | | | added a few @serializable annotations, added @SerialVersionUID to anonfuns, several cleanups
* Reintegrated DoubleLinkedList, SynchronizedBuff...Philipp Haller2009-09-084-25/+47
| | | | | | Reintegrated DoubleLinkedList, SynchronizedBuffer, ArrayStack, BufferProxy.
* Reverts scala.io.* to its natural state, and th...Paul Phillips2009-09-078-678/+45
| | | | | | | | Reverts scala.io.* to its natural state, and the rest of trunk to using java.io.File. Anyone who wants to salvage any usable bits is of course welcome to do so, so long as they also assume responsibility for those bits.
* Converts some "lazy vals by hand" (probably pre...Paul Phillips2009-09-061-0/+2
| | | | | | | Converts some "lazy vals by hand" (probably predating the availability of lazy vals) to lazy vals. Streamlined some Plugin(s) logic and took minor advantage of scala.io.
* Created NoStackTrace trait and mixed it into Co...Paul Phillips2009-09-053-9/+22
| | | | | Created NoStackTrace trait and mixed it into ControlException.
* Removed custom UTF8 encoding implementation, de...Paul Phillips2009-09-054-94/+60
| | | | | | Removed custom UTF8 encoding implementation, deprecated all its methods, and ran everything through java's built-in decoder.
* Minor refinements to recent patches, and the re...Paul Phillips2009-09-051-17/+0
| | | | | | Minor refinements to recent patches, and the reversion of times. "It was the best of times... it was the reversion of times..."
* some changes and additions to move to new arrays.Martin Odersky2009-09-0423-137/+599
|
* A few minor bugfixes for recent work.Paul Phillips2009-09-012-11/+11
|
* Since I began using scala I have sought an appe...Paul Phillips2009-09-011-1/+28
| | | | | | | | Since I began using scala I have sought an appealing null coalescing operator. Only now in this dark hour is it upon us! I should find a better place for it, and the rest of my utility functions for dealing sensibly with null.
* Further organization of File/Path/Directory.Paul Phillips2009-09-013-4/+46
| | | | | copyFile method.
* Changed createDirectory and createFile to accept aPaul Phillips2009-09-012-15/+11
| | | | | | failIfExists argument (defaults to false) and eliminated the very short-lived ensureDirectory and ensureFile.
* Factored the InputStream-based implementations ...Paul Phillips2009-09-013-65/+118
| | | | | | Factored the InputStream-based implementations out of File into scala.io.Streamable, where they will eventually be reused by Source.
* More cleanup in nsc.io, and a toByteArray() met...Paul Phillips2009-09-012-3/+27
| | | | | More cleanup in nsc.io, and a toByteArray() method for File.
* One more try to unbreak fsc all the way.Paul Phillips2009-08-312-1/+5
|
* Unbreaking fsc with ensureDirectory().Paul Phillips2009-08-311-0/+4
|
* Brushing some of the cobwebs off the denizens o...Paul Phillips2009-08-3111-232/+85
| | | | | | | Brushing some of the cobwebs off the denizens of scala.xml. I am removing bits of XML code which are clearly unfinished and which nothing anywhere in the compiler or library uses.
* Starting some cleanup deeper in scala.xml in th...Paul Phillips2009-08-313-115/+44
| | | | | | Starting some cleanup deeper in scala.xml in the hopes of reducing the number of XML-related dependencies.
* Further work creating pure interfaces for the c...Paul Phillips2009-08-316-4/+110
| | | | | | | Further work creating pure interfaces for the collections so we can validate their contents. Also fixed an overly loose upper bound in SequenceTemplate.
* A little smoothing the last patch with codecs a...Paul Phillips2009-08-302-3/+12
| | | | | A little smoothing the last patch with codecs and mkdirs().
* Large Path/File/Directory checkin.Paul Phillips2009-08-308-126/+237
| | | | | | | | of the functionality that one can straightforwardly obtain from the capabilities of java.io.File in java 5, but written with an eye on the significantly more capable (if not significantly more appealing) nio2 API in openjdk.
* Blessing Iterator with another method from the ...Paul Phillips2009-08-301-1/+17
| | | | | Blessing Iterator with another method from the Traversables.
* Some notes on the random shuffle implementation.Paul Phillips2009-08-301-2/+25
|
* Tightening the character range in random string...Paul Phillips2009-08-301-4/+16
| | | | | Tightening the character range in random string generation.
* A few cleanups, and toXXX methods for BigDecima...Paul Phillips2009-08-294-11/+35
| | | | | | A few cleanups, and toXXX methods for BigDecimal and BigInteger so all the numeric types have the same conversion methods.
* Fix for #2304.Paul Phillips2009-08-291-1/+1
|
* Moves sorting into Iterable, and adds a conveni...Paul Phillips2009-08-294-28/+33
| | | | | | Moves sorting into Iterable, and adds a convenience creation method to the Ordering object.
* This is the beginning of a preventative effort ...Paul Phillips2009-08-297-8/+191
| | | | | | | | | | This is the beginning of a preventative effort to keep the collections organization from drifting too far away from internal consistency. For the various Proxy and Forwarder classes to be reliable and not missing methods here and there, we need all methods defined in a canonical location. I started organizing in collection/interfaces for the time being.
* Moved zip/zipAll/zipWithIndex to Iterable and a...Paul Phillips2009-08-289-90/+129
| | | | | | | Moved zip/zipAll/zipWithIndex to Iterable and attempts to get all the views and etc working correctly and consistently. Addresses ticket #2301 and then some.
* Added a times method to RichInt.Paul Phillips2009-08-281-0/+17
| | | | | | | | against in the past but I collected performance numbers on every available approach to repeating something and this is by far the winning combination in speed and clarity. Elaboration available if anyone still feels strongly negative about it.
* Opening, experimental implementation of StringV...Paul Phillips2009-08-281-0/+215
| | | | | | | Opening, experimental implementation of StringVector, since I wrote all this yesterday and it'll be useful whether or not we the current compiler-magic proposal for Arrays and Strings pans out.
* A bunch of cleanups around Ordered & Ordering, ...Paul Phillips2009-08-283-23/+19
| | | | | | A bunch of cleanups around Ordered & Ordering, and provided PartialOrdering with the "partial" part it had never been given.
* Removed some code which has been commented out ...Paul Phillips2009-08-281-19/+0
| | | | | | Removed some code which has been commented out since Apr 8 2004. I say 5.5 years is long enough to warrant a fresh start.
* Fix and test case for #2276.Paul Phillips2009-08-281-12/+4
|
* added manifests to most parts of standard libra...Martin Odersky2009-08-2723-223/+417
| | | | | | | added manifests to most parts of standard library which deal with arrays. One test is temporarily disabled, as it shows a deep problem with multi-dimensional arrays (which was present all along).
* Swapped some Eithers around to try to get every...Paul Phillips2009-08-275-24/+19
| | | | | | Swapped some Eithers around to try to get everyone in line with the convention, which is failure in Left, success in Right.
* Removed ComparableTraversableOps and NumericTra...Paul Phillips2009-08-272-54/+32
| | | | | | | | Removed ComparableTraversableOps and NumericTraversableOps in favor of methods directly on Traversable. We can revisit this, but for the time being I think it'd be wise to reduce the use of implicits wherever we can easily do so.