summaryrefslogtreecommitdiff
path: root/src/library
Commit message (Collapse)AuthorAgeFilesLines
* A brown bag on the head fix to that last patch.Paul Phillips2010-07-051-1/+1
|
* The take/drop methods in IndexedSeqOptimized we...Paul Phillips2010-07-051-4/+4
| | | | | | | The take/drop methods in IndexedSeqOptimized were overridden to call slice without checking bounds, causing it to fail when the argument is too large. Restored expected behavior. No review.
* Fixes #3584. No review.Aleksandar Pokopec2010-07-051-21/+23
|
* Fixes #3580. Review by extempore.Aleksandar Pokopec2010-07-051-1/+1
|
* When compilation fails because of an unimplemen...Paul Phillips2010-07-031-0/+1
| | | | | | | | When compilation fails because of an unimplemented abstract var, give a more precise error message about what happened. Also avoid issuing the same error twice because neither getter nor setter is implemented. Closes #36, review by rytz.
* Option gets an empty factory like the collections.Paul Phillips2010-07-021-4/+6
|
* Abandoned any pretense of selectivity and put f...Paul Phillips2010-07-011-1/+0
| | | | | | | Abandoned any pretense of selectivity and put forkjoin.jar on every compilation path from locker to strap. Review postponed until the afterlife.
* Took a cue from mharrah that we don't need to b...Paul Phillips2010-07-011-22/+7
| | | | | | | | | | | Took a cue from mharrah that we don't need to build global static data to keep track of something when we know where it's kept. Altered the Enumeration deserialization scheme to use reflection, preserving the singleton property by delivering the MODULE$ singleton. This solves the GC issue and lets us drop synchronization to boot. Also added some graceful failure for malformed Enumerations. All tests look good but a second opinion is in order: closes #2214, review by phaller.
* Renaming files and inserting dummies to please ...Paul Phillips2010-07-017-27/+11
| | | | | | | | | | Renaming files and inserting dummies to please ant. Note to committers: whenever there is a source file which does not generate a classfile whose name and path exactly match the name and path of the source file, then ant will recompile the file every time it compiles anything. In this batch there were 7 such files, so any 1-char change meant an 8-file recompile. Someday we'll be rid of ant, but until then... no review.
* Fixed an infinite loop in the xml parser on inv...Paul Phillips2010-07-012-8/+8
| | | | | | Fixed an infinite loop in the xml parser on invalid input. Also found an off by one bug in Source while fixing it. No review.
* Created mutable.SeqLike so as to mix in Cloneab...Paul Phillips2010-07-015-15/+33
| | | | | | | Created mutable.SeqLike so as to mix in Cloneable like mutable.{Set, Map} do. Closes #3590, review by odersky.
* Removing some dead code from SyncVar and cleani...Paul Phillips2010-07-011-25/+10
| | | | | | Removing some dead code from SyncVar and cleaning up a little. Closes #3490, no review.
* Separate option Ordering into a trait so it can...Paul Phillips2010-07-011-8/+10
| | | | | | Separate option Ordering into a trait so it can be reused. Closes #3539, no review.
* Enumeration fixes.Paul Phillips2010-06-301-80/+56
| | | | | | | | | | | | correctly simply by inspecting method signatures (because a Value from a different Enumeration stored in a val looks identical to one from this Enumeration) so I have Value store the outer Enum for comparison purposes. This won't make anything new uncollectable because they already have an $outer pointing there. This also simplified the reflection logic: it's an eq test rather than a series of heuristics. Closes #3616, #3615. Review by phaller.
* Parallel array `map` optimisation. No review.Aleksandar Pokopec2010-06-301-0/+37
|
* Implemented lazy combiners for parallel hash trie.Aleksandar Pokopec2010-06-292-12/+121
|
* removed warnings (deprecation,unchecked)michelou2010-06-295-11/+20
|
* Removed unfinished Jenkins hashcode for final.Paul Phillips2010-06-272-193/+2
|
* Disposed of a gordian knot by transforming stri...Paul Phillips2010-06-273-188/+72
| | | | | | Disposed of a gordian knot by transforming stringbuilder into a straight wrapper of java's. No review.
* Fixed problem with `remove` in JavaConversions ...Martin Odersky2010-06-212-3/+3
| | | | | | Fixed problem with `remove` in JavaConversions which affected Java set and map wrappers and which was noted on the scala list.
* Added some null checks to == logic.Paul Phillips2010-06-211-2/+13
| | | | | | | sense that there are a few code paths where null may be checked redundantly, but I deemed further optimization too risky. Review by odersky.
* Moved parallel collections to library dir, chan...Aleksandar Pokopec2010-06-1842-15/+4772
| | | | | | Moved parallel collections to library dir, changed sabbus script. Added `par` to some of the classes. No review.
* fixed anonymous function in xhtml. no review.Lukas Rytz2010-06-161-2/+2
|
* first part of r22260Antonio Cunei2010-06-163-9/+10
|
* temporarily reversing r22260; will be shortly r...Antonio Cunei2010-06-163-10/+9
| | | | | | temporarily reversing r22260; will be shortly re-committed in two separate portions.
* Fixes #3563. Review by extempore.Aleksandar Pokopec2010-06-162-3/+14
|
* Fixed hash trie splitting. No review.Aleksandar Pokopec2010-06-161-17/+21
|
* Adding primary version of parallel hash tries.Aleksandar Pokopec2010-06-151-24/+16
| | | | | No review.
* Closes #3420, typo in scaladoc for BigInt.Iulian Dragos2010-06-141-3/+3
|
* Changed groupBy to return immutable.Map.Paul Phillips2010-06-133-9/+10
|
* Further improved combine for hash tries, cuttin...Aleksandar Pokopec2010-06-111-34/+107
| | | | | | Further improved combine for hash tries, cutting of another 30ms (160 downto 130). Review by rompf.
* Continued working on hash trie map combine - wo...Aleksandar Pokopec2010-06-101-29/+53
| | | | | Continued working on hash trie map combine - work in progress. No review yet.
* HashMap merge bug fixed. No reviewAleksandar Pokopec2010-06-101-17/+6
|
* Added `combine` and `split` to immutable.HashMap.Aleksandar Pokopec2010-06-091-4/+122
| | | | | | Under test/benchmarks there is a `bench` script to run benchmarks - it can be invoked after running building the library. Review by rompf.
* Fixes #3461. No review.pAleksandar Pokopec2010-06-081-1/+2
|
* Fixed #2424. Review by dragosMartin Odersky2010-06-0810-0/+179
|
* Most of the iterate implementations were callin...Paul Phillips2010-06-072-12/+21
| | | | | | | | Most of the iterate implementations were calling the given function one too many times, leading to tragic failure if the function could not handle this (such as repeatedly applying tail.) Closes #3540, review by prokopec.
* Fixed problem discovered by Paul that views do ...Martin Odersky2010-06-063-3/+17
| | | | | | Fixed problem discovered by Paul that views do not support a filter in for expressions. review by extempore.
* Fixed a typo in a use caseMartin Odersky2010-06-061-1/+1
|
* Overwrote copyToArray for efficiency.Martin Odersky2010-06-061-0/+8
|
* Fix for #3284.Derek Chen-Beker2010-06-042-21/+60
| | | | | | | | but in the interest of not breaking backwards compatibility, the JSON.parse method has been marked deprecated for now. Unit tests have been fixed so that this won't break the build this time.
* Fix for init-order caused NPE in NumericRange.Paul Phillips2010-06-041-28/+17
| | | | | | | ran across some tortured logic trying to accomodate the long abandoned idea of having 5 != 5L, so simplified the contains method. Closes #3518, no review.
* Burned by a last minute adjustment, I lost the ...Paul Phillips2010-06-041-1/+4
| | | | | | | Burned by a last minute adjustment, I lost the downward counting direction. It is a seriously fiddly process to adjust Range and I don't recommend it to anyone. Closes #3529 over again. Review by prokopec.
* Discovered and disproved this unlikely truth:Paul Phillips2010-06-041-6/+10
| | | | | | | | | | | | scala> (1 to 1 drop 1) == (1 to 1) res0: Boolean = true It was introduced in r21349 which was to fix #2535, but led to #3529. I humbly suggest we can't afford to introduce bugs of this severity in the pursuit of corner cases such as Ranges which use Int.MaxValue as a boundary. And looking at the patch I find the "after" code a lot harder to follow. Closes #3529. Review by prokopec.
* Sorted out some buck passing among TraversableO...Paul Phillips2010-06-033-11/+8
| | | | | | | Sorted out some buck passing among TraversableOnce and its subclasses about how exactly one creates a Stream. This is a continuation of r22115 for #3516. Review by prokopec.
* Codec changes in scala.tools.nsc.io correspondi...Paul Phillips2010-06-031-2/+1
| | | | | | Codec changes in scala.tools.nsc.io corresponding to those made in r22154. No review.
* Restored Source factories to a form source comp...Paul Phillips2010-06-037-99/+136
| | | | | | | | | Restored Source factories to a form source compatible with 2.7.7. No default implicit arguments, now low priority saves the day with a low priority codec which io.Codec offers as last resort. Dropped the line separator argument to getLines and made it act in a separator agnostic way (any of \r\n, \r, or \n is a separator.) Review by community.
* Forgot to add stream view classes for #3511.Aleksandar Pokopec2010-06-032-0/+88
|
* Fixes #3511 by adding a custom StreamView.Aleksandar Pokopec2010-06-031-0/+8
|
* Fixes #3508. No review is necessary.Aleksandar Pokopec2010-06-021-2/+2
|