summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix for #3204.Paul Phillips2010-03-231-2/+2
| | | | | | | that can arise when return types of public facing methods are inferred. We eventually need some mechanism to make such issues easier to avoid. No review.
* Went ahead and implemented classpaths as descri...Paul Phillips2010-03-2310-37/+19
| | | | | | | | | | | | | | | | | | | | | Went ahead and implemented classpaths as described in email to scala-internals on the theory that at this point I must know what I'm doing. ** PUBLIC SERVICE ANNOUNCEMENT ** If your code of whatever kind stopped working with this commit (most likely the error is something like "object scala not found") you can get it working again with either of: passing -usejavacp on the command line set system property "scala.usejavacp" to "true" Either of these will alert scala that you want the java application classpath to be utilized by scala as well. Review by community.
* Noticed we still have a bunch of collection cla...Paul Phillips2010-03-229-39/+36
| | | | | | | | Noticed we still have a bunch of collection classes which are rather lacking. Did some integration, added some companion objects. Not thrilled with the overall picture in there, there's still a lot which should be done. Updated a deprecation message, closes #3202. No review.
* Consistency work on Addable and Growable.Paul Phillips2010-03-2210-67/+88
| | | | | | | Seq-derived classes. Creating GrowingBuilder to complement AddingBuilder on classes with += but not +. Fixed some inconsistencies I came across in the process. No review.
* closes #3199. review by community.Tiark Rompf2010-03-225-1/+37
|
* Some support code related to partest changes.Paul Phillips2010-03-216-30/+56
|
* During my last look at r21224 I noticed what mu...Paul Phillips2010-03-213-43/+91
| | | | | | | | | During my last look at r21224 I noticed what must be a long standing bug in Array.update handling. Fixing this probably never to be noticed corner case (see bug3175.scala) seduced me into drumming out some duplication. At least we got some nice commenting out of it. Review by dubochet.
* Some minor changes in scala.swing.* which I was...Paul Phillips2010-03-2112-99/+95
| | | | | | | | | | Some minor changes in scala.swing.* which I was glancing through because of #3196. I noticed the Font object was in package scala instead of scala.swing, which looks sure to be a mistake (an easy one to make, and one others have made as well, because we're not entirely used to package objects.) I didn't want to accidentally ship a scala.Font so I moved it into swing. Review by imaier.
* Some work on the Array methods as they manifest...Paul Phillips2010-03-205-15/+76
| | | | | | | Some work on the Array methods as they manifest in refinement types: tightening when Array code is generated and also what code is generated. Review by dubochet.
* Half-disabled productElementName until I have t...Paul Phillips2010-03-195-4/+7
| | | | | | | Half-disabled productElementName until I have time to reimplement it more to martin's liking. ("Half" because full disabling is not possible until starr has forgotten about it.) No review.
* Returning to the thrilling world of equality an...Paul Phillips2010-03-196-72/+125
| | | | | | | | Returning to the thrilling world of equality and hashCodes now that Any.## is a reality. Moved the hash functions from Predef to ScalaRunTime, and made what appears to be an optimization to equals by not losing the result of an instanceof test. Review by community.
* Added a tryToSetFromPropertyValue implementatio...Miles Sabin2010-03-191-0/+1
| | | | | Added a tryToSetFromPropertyValue implementation for MultiStringSetting.
* More fun with -Xmigration.Paul Phillips2010-03-1915-193/+160
| | | | | | | | | | | | | | | | | | to BufferLike (++ and similar now create a new collection.) Removed MapLikeBase. Annotated all the methods in mutable.{ Map, Set } which mutated in-place in 2.7 to note that they create new collections, and implemented same. At this point the only +/- like method which mutates in place which I am aware of is BufferLike.+ (see source comment for my observations.) Also tweaked some collections return types as necessitated by these changes, such as mutable.Set.clone() now returning "This" rather than mutable.Set[A]. References #3089, closes #3179. Review by odersky.
* new version of decode that does not need a length.Martin Odersky2010-03-192-42/+49
|
* Spring cleaning of collection libraries.Martin Odersky2010-03-1914-137/+307
| | | | | | If people think some operations can be more lazy, please provide patches/do changes. Also brought proxies and forwarders into line.
* Closes #2827. Review by community.Philipp Haller2010-03-193-16/+40
|
* Fixes #3054. No review.Hubert Plociniczak2010-03-197-18/+60
|
* Reverse didn't work for empty ranges.Aleksandar Pokopec2010-03-181-1/+1
|
* Closes #3133. Review by community.Hubert Plociniczak2010-03-175-8/+12
|
* Continuations support classes are included in s...Miles Sabin2010-03-171-0/+1
| | | | | | | Continuations support classes are included in scala-library.jar so their sources should be in scala-library-src.jar. Also export scala.util.continuations from the scala-library bundle.
* Closes #3185. Review by plocinic.Philipp Haller2010-03-173-0/+46
|
* closes #3112. no review.Tiark Rompf2010-03-163-12/+32
|
* added test case for #2417. no reviewTiark Rompf2010-03-162-0/+89
|
* Fixed build problem by eliminiating a redundant...Martin Odersky2010-03-161-1/+1
| | | | | | Fixed build problem by eliminiating a redundant implicit in scalap. Review by extempore.
* Closes #2688 by disallowing call-by-name implic...Martin Odersky2010-03-161-0/+4
| | | | | Closes #2688 by disallowing call-by-name implicit parameters. No review.
* new testsMartin Odersky2010-03-165-34/+32
|
* Closes #2913.Martin Odersky2010-03-162-1/+32
| | | | | different from the other errors, so no second try was done for them.)
* Fixes nitpicks by Adriaan in his review.Martin Odersky2010-03-161-3/+3
|
* Closes #3180. No review.Martin Odersky2010-03-161-2/+5
|
* Fixes infinite streams in #3091. No review.Aleksandar Pokopec2010-03-162-0/+15
|
* Fixes #3091. Review by community.Aleksandar Pokopec2010-03-162-4/+8
|
* Changed `!=` to `ne` for #3086. No review.Aleksandar Pokopec2010-03-161-13/+13
|
* added support for continuations in try/catch bl...Tiark Rompf2010-03-1611-24/+245
| | | | | | added support for continuations in try/catch blocks. review by community.
* Tracked down docs.lib build issue from the dent...Paul Phillips2010-03-151-1/+1
| | | | | | | Tracked down docs.lib build issue from the dentist's chair while waiting for my teeth to numb. Checking in over open wireless access point. This is dedication. No review.
* fixed treatment of annotated types in isNumeric...Tiark Rompf2010-03-152-4/+5
| | | | | | fixed treatment of annotated types in isNumericSubType. re-enabled test case. review by odersky
* Fixes #3091. Review by community.Aleksandar Pokopec2010-03-153-0/+75
|
* minor cleanup to build.xml. review by rompfLukas Rytz2010-03-151-35/+18
|
* new immutable.HashSet. review by community.Tiark Rompf2010-03-153-110/+315
|
* Fixes #3086. Review by community.Aleksandar Pokopec2010-03-151-13/+13
|
* Fixes #3132. No review necessary.Aleksandar Pokopec2010-03-154-9/+19
|
* Fixes #3155. No review is necessary.Aleksandar Pokopec2010-03-151-0/+2
|
* Fix for msil compiler.Lukas Rytz2010-03-151-1/+1
|
* Reverting a couple replacements from that last ...Paul Phillips2010-03-152-6/+6
| | | | | | Reverting a couple replacements from that last patch which don't look so safe on re-examination. No review.
* Leveraged -Xmigration to burn off some warts wh...Paul Phillips2010-03-1539-112/+114
| | | | | | | | | | | | | | | | | | | | | | | | | Leveraged -Xmigration to burn off some warts which arose in the new collections. Warnings put in place for behavioral changes, allowing the following. 1) Buffers: create new collections on ++ and -- like all the other collections. 2) Maps: eliminated never-shipped redundant method valuesIterable and supplied these return types: def keys: Iterable[A] def keysIterator: Iterator[A] def values: Iterable[B] def valuesIterator: Iterator[B] def keySet: Set[A] I concluded that keys should return Iterable because keySet also exists on Map, and is not solely in the province of Maps even if we wanted to change it: it's defined on Sorted and also appears in some Sets. So it seems sensible to have keySet return a Set and keys return the more general type. Closes #3089, #3145. Review by odersky.
* improved immutable HashMap iterator.Tiark Rompf2010-03-141-31/+101
|
* Tighten update check in cleanup.Paul Phillips2010-03-142-1/+8
|
* Test case for #2940. No review.Paul Phillips2010-03-142-0/+15
|
* Test case closes #751. No review.Paul Phillips2010-03-141-0/+6
|
* Closes #2918. Review by moors.Martin Odersky2010-03-132-3/+30
|
* More support code for the big partest patch I'm...Paul Phillips2010-03-138-37/+59
| | | | | | More support code for the big partest patch I'm working on to finally finish classpaths for good. No review.