summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* fixed #3604michelou2010-06-282-0/+13
|
* Removed unfinished Jenkins hashcode for final.Paul Phillips2010-06-272-0/+0
|
* Moved parallel collections to library dir, chan...Aleksandar Pokopec2010-06-182-4/+4
| | | | | | Moved parallel collections to library dir, changed sabbus script. Added `par` to some of the classes. No review.
* Refactorings and hash trie combiners. No review.Aleksandar Pokopec2010-06-182-0/+205
|
* The inliner now looks harder for method impleme...Paul Phillips2010-06-162-0/+20
| | | | | | | | | The inliner now looks harder for method implementations. In addition to the receiver, it will find those in directly mixed in traits and in superclasses. It still won't find those in traits mixed only into superclasses, as that didn't come quite so easily. Closes #3234 but I'll be opening up another ticket. Review by dragos.
* A wholesale reversion of the pattern matcher to...Paul Phillips2010-06-163-10/+31
| | | | | | | | A wholesale reversion of the pattern matcher to r21939, motivated by the appearance of #3578. Closes #3578, reopens #2800, #3050. Review by moors. (I can't keep saying "no review" when every move I make in here seems to break something.)
* first part of r22260Antonio Cunei2010-06-161-2/+2
|
* removed integration of placeholder syntax and n...Lukas Rytz2010-06-164-33/+44
| | | | | | removed integration of placeholder syntax and named arguments. review by odersky
* temporarily reversing r22260; will be shortly r...Antonio Cunei2010-06-161-2/+2
| | | | | | temporarily reversing r22260; will be shortly re-committed in two separate portions.
* Fixes #3563. Review by extempore.Aleksandar Pokopec2010-06-161-0/+21
|
* Minor changes in parallel hash trie. No review.Aleksandar Pokopec2010-06-164-0/+18
|
* Fixed hash trie splitting. No review.Aleksandar Pokopec2010-06-162-1/+5
|
* Disables NotNull checking unless -Ynotnull is g...Paul Phillips2010-06-151-0/+46
| | | | | | Disables NotNull checking unless -Ynotnull is given. Closes #3568, review by odersky.
* Adding primary version of parallel hash tries.Aleksandar Pokopec2010-06-152-1/+11
| | | | | No review.
* Added test case for #432. No review.Gilles Dubochet2010-06-141-0/+15
|
* Test for #3560.Antonio Cunei2010-06-141-0/+2
|
* Closes #3558.Iulian Dragos2010-06-142-0/+16
|
* Made getters treated more like private members ...Paul Phillips2010-06-132-0/+6
| | | | | | Made getters treated more like private members when debating whether to inline. Closes #3420, review by dragos.
* Changed groupBy to return immutable.Map.Paul Phillips2010-06-131-2/+2
|
* Further improved combine for hash tries, cuttin...Aleksandar Pokopec2010-06-111-1/+3
| | | | | | Further improved combine for hash tries, cutting of another 30ms (160 downto 130). Review by rompf.
* Make local lazy values thread-safe.Iulian Dragos2010-06-092-0/+18
| | | | | | is now guaranteed to be initialized at most once, even when accessed from different threads. Closes #3007, review by odersky.
* Updated disabled test file.Iulian Dragos2010-06-091-1/+1
| | | | | | compile because the specialized variants of apply were not implemented as well. Fixed by extending runtime.AbstractFunction0 instead.
* Added `combine` and `split` to immutable.HashMap.Aleksandar Pokopec2010-06-094-2/+59
| | | | | | Under test/benchmarks there is a `bench` script to run benchmarks - it can be invoked after running building the library. Review by rompf.
* Taking another shot at negative constants as an...Paul Phillips2010-06-082-0/+11
| | | | | | | | Taking another shot at negative constants as annotation arguments since r22175 didn't quite get there. I call into the constant folder with the unfolded tree at the last point before it's going to fail the compile anyway. Closes #3521, review by odersky.
* Most of the iterate implementations were callin...Paul Phillips2010-06-071-0/+7
| | | | | | | | 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.
* Adding parallel collections to trunk.Aleksandar Pokopec2010-06-0771-0/+4288
| | | | | sabbus also edited to add parallel collections to the library jar - review by phaller
* Patch from Jason Zaugg so singleton types aren'...Paul Phillips2010-06-051-0/+55
| | | | | | | Patch from Jason Zaugg so singleton types aren't accidentally deprived of a fourth try at satisfaction. Already reviewed by odersky, so no review.
* Fix for #3284.Derek Chen-Beker2010-06-042-15/+103
| | | | | | | | 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.
* Tracked down why the jvm/natives.scala fails fo...Paul Phillips2010-06-042-1/+1
| | | | | | | Tracked down why the jvm/natives.scala fails for me and apparently not anyone else. Rebuilt libnatives.jnlib to accomodate x86-64, and it seems to pass. No review.
* Fix for init-order caused NPE in NumericRange.Paul Phillips2010-06-041-0/+16
| | | | | | | 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-0/+2
| | | | | | | 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-0/+12
| | | | | | | | | | | | 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.
* Reverts r21973, the patch I characterized as "h...Paul Phillips2010-06-043-0/+4
| | | | | | | Reverts r21973, the patch I characterized as "hacky but no-risk" in my commit message, for causing #3480. Closes #3480. I'd say no review but who can trust a guy who throws around "no risk" with such abandon.
* Restored Source factories to a form source comp...Paul Phillips2010-06-031-1/+1
| | | | | | | | | 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.
* Closes #3499, double definition with specialized.Iulian Dragos2010-06-031-0/+14
|
* Fixes #3511 by adding a custom StreamView.Aleksandar Pokopec2010-06-031-0/+36
|
* Fixes #3508. No review is necessary.Aleksandar Pokopec2010-06-022-0/+11
|
* Partially solves the problem for #3502.Aleksandar Pokopec2010-06-021-0/+24
| | | | | | | | This commit reimplements filter for Streams, but does not reimplement map in StreamWithFilter. The problem is that GC can't collect instances of Streams residing on the stack if there are multiple references to the Stream (more than a single one on the stack on which a Stream method is invoked). In the case of a StreamWithFilter, being an inner class, there is always an `$outer` reference to the outer object, so there is little GC can do. Possible solution - change the return type of WithFilter to something else (in TraversableLike) to allow it to return objects that don't have to subclass TraversableLike.WithFilter, and reimplement the withFilter method in Stream to simply call `filter` method - in the case of Streams, `withFilter` has little sense in either case...
* some tests. no reviewLukas Rytz2010-06-023-16/+167
|
* Make Iterator.toStream be properly lazy.Paul Phillips2010-06-012-0/+16
|
* Fixes #3496. No review.Aleksandar Pokopec2010-06-011-0/+15
|
* Re-enabled a number of previously disabled tests;Antonio Cunei2010-05-2818-4/+4
| | | | | according to my tests, they all currently work.
* also consider non-implicit locals when checking...Adriaan Moors2010-05-262-0/+87
| | | | | | | | | | | | | also consider non-implicit locals when checking shadowing of implicits: closes #3453 nonImplicitSynonymInScope implements the predicate that is used in tryImplicit's checks for shadowing of locally defined implicits benchmarking shows the predicate does not significantly affect quick.comp+quick.lib (goes from 11min to 11min2s on my machine -- no optimisations) review by odersky
* Adds comments for #3471, and a test case which ...Aleksandar Pokopec2010-05-261-1/+1
| | | | | | Adds comments for #3471, and a test case which should have been added earlier. Review by extempore.
* Closes #3434.Iulian Dragos2010-05-262-0/+33
|
* Stupid java 5/6 schism got me.Paul Phillips2010-05-261-0/+0
|
* Added a migration warning for matches and insta...Paul Phillips2010-05-263-0/+43
| | | | | | Added a migration warning for matches and instance tests when it might be an Array/Seq test whose answer has changed. Review by odersky.
* Test closes #2919 which now works.Paul Phillips2010-05-261-0/+12
| | | | | attention in case the ticket was being left open intentionally.)
* Updated check file. No review.Martin Odersky2010-05-251-1/+1
|
* Addresses see #3470 by adding a method Reactor....Philipp Haller2010-05-252-0/+33
| | | | | Addresses see #3470 by adding a method Reactor.restart. Review by rompf.