summaryrefslogtreecommitdiff
path: root/src/library
Commit message (Collapse)AuthorAgeFilesLines
* Overrode addString in TraversableViewLike.Paul Phillips2010-09-161-0/+3
| | | | | | | | | | | | | | | the Transform-derived traits within view resisted evaluating the entire sequence on a toString call, but the original view returned from a call to .view did not. This has a particularly bad result in the case of Stream, as for instance: Stream from 1 view would enter infiniteloopiland in the repl despite the fact that it should be doubly resistant to eager evaluation. Review by prokopec.
* Gave StringBuilder a StringLike parent as endor...Paul Phillips2010-09-155-10/+22
| | | | | | Gave StringBuilder a StringLike parent as endorsed by martin in http://www.scala-lang.org/node/6893 . Review by odersky.
* Added implicits to create Orderings from java's...Paul Phillips2010-09-152-41/+27
| | | | | | | Added implicits to create Orderings from java's Comparable and Comparator interfaces. Also some cleanup in Sorting. Review by community.
* Stream gets a specialized, extra-lazy Iterator ...Paul Phillips2010-09-151-0/+24
| | | | | | | | Stream gets a specialized, extra-lazy Iterator so it can iterate as lazily as it traverses. Patch submitted by "Eastsun": probably not his real name, but that's what we call him. Closes #3273, review by prokopec.
* Improved parallel scan performance further.Aleksandar Pokopec2010-09-143-14/+121
|
* Interpreted absence of any objections in mailin...Paul Phillips2010-09-131-1/+10
| | | | | | | | | Interpreted absence of any objections in mailing list thread http://www.scala-lang.org/node/7398 as implicit encouragement to proceed. Adds complementary implicits to Predef such that the eight primitive types are both boxed and unboxed as the occasion demands. Review by odersky.
* Improving parallel scan. No reviewAleksandar Pokopec2010-09-134-30/+92
|
* Proposed implementation of 'unlift' on Function...Paul Phillips2010-09-0991-93/+113
| | | | | | | Proposed implementation of 'unlift' on Function1, the inverse function of PartialFunction#lift. Review by rytz and other interested parties. References #3825, but not closing until this is further considered.
* fixed some scaladoc commentsmichelou2010-09-094-58/+75
|
* doc comment fix. No review.Martin Odersky2010-09-071-1/+1
|
* Fixes infinite loop when appending a ListBuffer...Martin Odersky2010-09-071-0/+6
| | | | | | Fixes infinite loop when appending a ListBuffer to itself. Review by extempore.
* Fixes binary compatibility problem in BufferLikeMartin Odersky2010-09-071-1/+1
|
* Updated link to collections API guide.Antonio Cunei2010-09-071-2/+2
|
* Brought the files in scala.collection.interface...Paul Phillips2010-09-067-71/+48
| | | | | | | | Brought the files in scala.collection.interfaces up to date, for whatever purpose they may someday serve. Also deprecated Seq.findIndexOf, which is identical to indexWhere and must have been overlooked when deprecations were being handed out. No review.
* Makes utility methods in the ArrayStack compani...Aleksandar Pokopec2010-09-021-2/+2
| | | | | | | Makes utility methods in the ArrayStack companion object private. No review.
* fixes #2662. Review by moors.Aleksandar Pokopec2010-09-022-14/+105
|
* Closes #1220.Iulian Dragos2010-09-011-3/+7
|
* Fix for #3684. No reviewAleksandar Pokopec2010-08-311-10/+10
|
* Fixes #3684. Closes #3684. No review.Aleksandar Pokopec2010-08-311-20/+10
|
* Added a few overrides to prevent default implem...Aleksandar Pokopec2010-08-311-0/+8
| | | | | | | | Added a few overrides to prevent default implementation that uses 'foreach'. Fixes #3747. Closes #3747. No review.
* removed author attribution, since no code from ...Martin Odersky2010-08-301-1/+1
| | | | | removed author attribution, since no code from Stepan remains here.
* added doc comment which makes things clearer wh...Martin Odersky2010-08-301-0/+1
| | | | | added doc comment which makes things clearer when seen from Map or Set.
* Dredged some more dead code out of SyncVar.Paul Phillips2010-08-301-6/+2
|
* Some more finnessing printing in the repl.Paul Phillips2010-08-301-6/+3
|
* documentation for scala.collection package, con...Lukas Rytz2010-08-261-1/+68
| | | | | | documentation for scala.collection package, contribution by Dave Copeland. close #3793, no review.
* documentation for scala.xml.pull, contribution ...Lukas Rytz2010-08-263-28/+77
| | | | | | documentation for scala.xml.pull, contribution by Dave Copeland. close #3786, no review.
* Fix and test case for broken linked lists, cont...Paul Phillips2010-08-232-7/+12
| | | | | | Fix and test case for broken linked lists, contributed by Lucien Pereira. Closes #3361, no review.
* Pretty print tuples in the repl.Paul Phillips2010-08-231-9/+12
|
* Renaming and small tweak in testing.Benchmark f...Iulian Dragos2010-08-231-1/+1
| | | | | Renaming and small tweak in testing.Benchmark for the output format.
* inline more in RangeIulian Dragos2010-08-231-2/+2
|
* Made ranges a bit more friendly to the optimizer.Iulian Dragos2010-08-233-21/+9
|
* debugging output to track down wild boxing.Iulian Dragos2010-08-231-0/+3
|
* Added setup and teardown methods.Iulian Dragos2010-08-231-3/+20
|
* Added an overridable setUp method that is calle...Iulian Dragos2010-08-231-0/+7
| | | | | | Added an overridable setUp method that is called prior to each benchmarking (but whose execution time is not measured).
* closes 2462. better implicit error messages.Adriaan Moors2010-08-202-1/+20
| | | | | | | | | | | | | | | | | | @implicitNotFound(msg="Custom error message that may refer to type parameters ${T} and ${U}") trait Constraint[T, U] whenever an implicit argument of type Constraint[A, B] cannot be found, the custom error message will be used, where the type arguments are interpolated in the obvious way note: if the msg in the annotation references non-existing type params, a warning is emitted the patch also cleans up annotation argument retrieval (moved it to AnnotationInfo from Symbol) review by odersky
* Discovered ListMap.++ returns a Map instead of ...Paul Phillips2010-08-192-3/+10
| | | | | | | Discovered ListMap.++ returns a Map instead of a ListMap. Does preserving binary compatibility mean we can't fix this sort of thing? Fixing for now, inquiring via: review by odersky.
* closes #2788.Adriaan Moors2010-08-191-3/+4
| | | | | | | the added flexibility'll cost ya one ClassManifest review by phaller
* use arraycopy not Array.copy in Arraybuffer.siz...Lukas Rytz2010-08-171-1/+1
| | | | | | use arraycopy not Array.copy in Arraybuffer.sizeHint. close #3766, #3767. no review.
* Revert ArrayBuffer's sizeHint as I had a typo a...Lukas Rytz2010-08-161-2/+1
| | | | | | | | Revert ArrayBuffer's sizeHint as I had a typo anyway and it needs more thinking. see #3766, see #3767. This reverts commit bf87118d701df2313a9f680e327ce066765c10d3.
* use arraycopy instead of Array.copy in ArrayBuf...Lukas Rytz2010-08-161-1/+2
| | | | | | use arraycopy instead of Array.copy in ArrayBuffer's sizeHint. close #3766, review by extempore.
* documentation for scala.Array.Lukas Rytz2010-08-161-66/+94
|
* doc comment for scala package.Lukas Rytz2010-08-161-0/+3
|
* Overhaul of ScalaRunTime.stringOf.Paul Phillips2010-08-151-21/+38
| | | | | | | | material changes are a) deferring to the target object's toString method on custom collections, so now only built-in collections receive special treatment, and b) guarding against runaways and inappropriate exceptions, falling back on toString. Closes #3710, Review by prokopec.
* Changes in docs and layout. No review.Martin Odersky2010-08-121-1/+4
|
* Added missing file for last checkin.Martin Odersky2010-08-101-0/+6
|
* Removed duplicate classes. No review.Martin Odersky2010-08-101-10/+0
|
* update doc of option. close #3737.Lukas Rytz2010-08-091-43/+118
|
* close #3709. no review.Lukas Rytz2010-08-091-1/+1
|
* fixed t3738michelou2010-08-071-1/+1
|
* added @deprecatedName annotation, allowing to d...Lukas Rytz2010-08-031-0/+13
| | | | | | added @deprecatedName annotation, allowing to deprecate parameter names. review by prokopec.