summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [rev:Adriaan] dummy implementation for update t...ilyas2009-08-201-0/+1
| | | | | | [rev:Adriaan] dummy implementation for update to fix deep function compilation
* added missing fileMartin Odersky2009-08-201-0/+65
|
* reverted bad checkinMartin Odersky2009-08-201-1/+0
|
* Added #:: extractor for streams to package.scalaMartin Odersky2009-08-201-0/+1
|
* removed failing assertion.Martin Odersky2009-08-201-2/+2
|
* intermeidate step towards manifests for arraysMartin Odersky2009-08-1912-32/+73
|
* Put scala-library.jar back on the boot classpath.Paul Phillips2009-08-191-2/+5
|
* Second half of fix for #2177. Fixed #2255.Philipp Haller2009-08-191-0/+15
|
* Fixed #2177.Philipp Haller2009-08-191-0/+15
|
* Adjusted timeout in partest to get rid of spuri...Philipp Haller2009-08-191-1/+2
| | | | | Adjusted timeout in partest to get rid of spurious build failures.
* Fixed the rest of the library deprecation warni...Paul Phillips2009-08-194-9/+9
| | | | | | Fixed the rest of the library deprecation warnings which had clear-ish resolutions.
* Handled a dozen or so deprecation warnings.Paul Phillips2009-08-1914-18/+21
|
* Fix for #2269.Paul Phillips2009-08-191-1/+1
|
* Added file; I forgot before and it broke the buildMartin Odersky2009-08-181-0/+25
|
* A bunch of cleanup on scriptrunner and fsc perf...Paul Phillips2009-08-187-319/+283
| | | | | | | A bunch of cleanup on scriptrunner and fsc performed in a quest to fix #1889. I understand why #1889 happens now but I believe fixing it is going to require adjusting the logic in SymbolLoaders.
* Fixed memory leaks for streams.Martin Odersky2009-08-187-119/+169
|
* fix for #2264Lukas Rytz2009-08-181-0/+3
|
* Fix for #2164.Paul Phillips2009-08-181-1/+7
|
* Skeletal exploratory implementations ofPaul Phillips2009-08-172-0/+85
| | | | | scala.io.{ Directory, Path }.
* Added bytes() method to File.Paul Phillips2009-08-171-1/+12
| | | | | | | | | patches from today you can write something like this: io.File("/etc/passwd").bytes grouped 512 map (_.sum) mkString ", " res1: String = 45481, 46001, 45110, 45559, 45967, 29543
* More fleshing out Codec.Paul Phillips2009-08-173-31/+38
| | | | | | positioning change. Deleted instead of deprecated the two argument version of Iterator.iterate since it did not exist in 2.7.
* Fixed both versions of Iterator.iterate, which ...Paul Phillips2009-08-171-11/+4
| | | | | | | | | | | | | | | | | | | Fixed both versions of Iterator.iterate, which were a bit off, and gave them type parameters. Before: Iterator.iterate(5, 10)(_ + 1) toList res0: List[Int] = List(6, 6, 6, 6, 6, 6, 6, 6, 6, 6) After: Iterator.iterate(5L)(_ + 1) take 10 toList res1: List[Long] = List(5, 6, 7, 8, 9, 10, 11, 12, 13, 14) Also, I deprecated the two argument version because def iterate[T](start: T, len: Int)(f: T => T) is identical to iterate(start)(f) take len
* Updated BufferedSource to use Iterator.continua...Paul Phillips2009-08-171-16/+1
| | | | | Updated BufferedSource to use Iterator.continually.
* Added Iterator.continually, becausePaul Phillips2009-08-171-1/+13
| | | | | | | | val it = Stream continually (foo) iterator it.foldLeft(...) grows without bound, and there needs to be a simple reliable way to repeatedly side effect.
* Added two new methods to Iterator, each of whic...Paul Phillips2009-08-171-0/+73
| | | | | | | | | | | | | | | Added two new methods to Iterator, each of which creates new Iterators based on the original. Example usages: (1 to 5).iterator grouped 3 toList = List(List(1, 2, 3), List(4, 5)) (1 to 5).iterator sliding 3 toList = List(List(1, 2, 3), List(2, 3, 4), List(3, 4, 5)) (1 to 10).iterator.sliding(4, step = 3) toList = List(List(1, 2, 3, 4), List(4, 5, 6, 7), List(7, 8, 9, 10))
* fixed typo #2263Lukas Rytz2009-08-171-1/+1
|
* Various work on Codec/File/Source getting it in...Paul Phillips2009-08-174-84/+98
| | | | | | | Various work on Codec/File/Source getting it in consistent shape and ready for revisiting Iterator vs. Iterable and Source's assumption of Char.
* Adding more and fleshing out convenience functi...Paul Phillips2009-08-161-44/+59
| | | | | Adding more and fleshing out convenience functions in io.File.
* Restored missing pieces of some of my patches w...Paul Phillips2009-08-163-24/+14
| | | | | | | Restored missing pieces of some of my patches which were accidentally reverted in r17680. This one includes StringBuilder cleanups and tail-recursive drop in Iterator.
* Restoring tail recursive version of List.dropWh...Paul Phillips2009-08-161-3/+11
| | | | | Restoring tail recursive version of List.dropWhile.
* Improvements in positions assigned to expresssi...Miles Sabin2009-08-163-5/+6
| | | | | | Improvements in positions assigned to expresssions using assignment operators.
* A variety of work on scala.io.{ File, Source } ...Paul Phillips2009-08-165-172/+173
| | | | | | | | | | | | | A variety of work on scala.io.{ File, Source } with changes including: getLines() now takes a line separator argument (defaults to platform line.separator) and drops the newlines. scala.io.File adds several convenience methods. The mechanisms for configuring Source are more consistent. This is not complete, performance issues remain to be investigated.
* 1.Martin Odersky2009-08-164-40/+91
| | | | | 2. Relaxed bounds checking rules for existential types.
* Fixed #1560 (which was a typing hole, so some l...Martin Odersky2009-08-157-34/+68
| | | | | | Fixed #1560 (which was a typing hole, so some library classes had to be fixed)
* Blocks can now end in definitions.Martin Odersky2009-08-142-3/+4
|
* Merge branch 'ticket/513'Adriaan Moors2009-08-141-5/+10
|
* improving fix of #2246: optimised isDifferentTy...Adriaan Moors2009-08-141-37/+33
| | | | | | | | | | | | | | | | | | | improving fix of #2246: optimised isDifferentTypeConstructor removed typeConstructor(Boolean), using hasDifferentTypeSymbol instead switched to new subtyping algorithm (isSubType2) substitution now uses appliedType appliedType ensures Any/Nothing never have type args (so don't need to shortcut isSubArgs in firstTry when sym == AnyClass) appliedType ignores TypeVar's for now (must deal with them, since they arise during substitution) when tcpoly infer is integrated, TypeVar's also have type arguments and this case in appliedType must be updated maybe appliedType should become a member of Type (and rename to applyTypeArgs?)
* add @since scaladoc tag to scala.* typesstepancheg2009-08-1355-4/+83
| | | | | only for classes created after Scala 1.4
* drop svn:executable flag from source filesstepancheg2009-08-1314-0/+0
|
* fixed #2251Adriaan Moors2009-08-131-1/+2
|
* fixed #2246 type checker looping on pos/contrib701Adriaan Moors2009-08-131-30/+42
| | | | | | | | | | | | | be more careful in isSubType for abstract types: type *constructors* must be different, not the whole type, which includes type arguments typeConstructor needed to instantiate the resulting type constructor with fresh type arguments (derived from type params), otherwise we end up in the higher-kinded case, and isDifferentTypeConstructor might try to compare polytypes with type params that have different (higher-order) arities --> this may still arise on other cases, though -- should fix this while working on #2210
* fix for 513: use deep ForeachTypeTraverser in d...Adriaan Moors2009-08-136-10/+7
| | | | | | fix for 513: use deep ForeachTypeTraverser in doTypeTraversal instead of shallow one test case+checkfile for #513
* Adds Source.stdin convenience method.Paul Phillips2009-08-121-0/+4
|
* Fixed the resolveType method per ticket #2207.Derek Chen-Beker2009-08-121-2/+5
|
* Fix for #2249.Paul Phillips2009-08-121-1/+1
|
* Fix of #1722Martin Odersky2009-08-111-4/+13
|
* Fixed erroneous debug statement in erasure.Martin Odersky2009-08-101-1/+1
|
* Fixed #1642Martin Odersky2009-08-102-2/+13
|
* fixed t1705.Martin Odersky2009-08-102-61/+14
|
* Fixed specialization of lazy values.Iulian Dragos2009-08-071-10/+19
|