summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* new readme. no review.Martin Odersky2010-03-241-9/+9
|
* Scala signature is generated as an annotation, ...Gilles Dubochet2010-03-242-64/+30
| | | | | | Scala signature is generated as an annotation, second try. Review by dragos.
* Reverted a presumably unintentional reincarnati...Paul Phillips2010-03-241-16/+0
| | | | | | | Reverted a presumably unintentional reincarnation of old predef (these functions are in ScalaRunTime now.) Review by odersky just in case there was a secret plan.
* Closes #3187. No review.Martin Odersky2010-03-241-1/+1
|
* Fixes problematic equality of Enumeration values.Martin Odersky2010-03-241-2/+2
|
* Fixes problematic equality of En umeration values.Martin Odersky2010-03-241-0/+16
|
* Fixed the serialization test.Philipp Haller2010-03-241-15/+23
|
* Removed ArgumentsExpander in favor of having al...Paul Phillips2010-03-232-41/+15
| | | | | | Removed ArgumentsExpander in favor of having all arguments parsed the same way. No review.
* Fixed build.Gilles Dubochet2010-03-231-4/+29
|
* Remedied accidental obscuring of -X, -Y, and -P...Paul Phillips2010-03-231-1/+1
| | | | | | Remedied accidental obscuring of -X, -Y, and -P in the standard help output. No review.
* You know Cutty McPastington is having a good ti...Paul Phillips2010-03-233-37/+5
| | | | | | | | | | | | | | | | | You know Cutty McPastington is having a good time when you can find this logic in two different files: ('A' <= c && c <= 'Z') || ('a' <= c && c <= 'a') || How could that possibly work, you might ask. After a series of ||s, the last condition subsumes most of the previous ones: Character.isUnicodeIdentifierStart(c) thereby saving us from a world where the only legal lower case identifiers are a, aa, aaa, aaaa, and a few others. No review.
* Fix and test case for #3169.Paul Phillips2010-03-231-2/+5
|
* Added some documentation to the methods in Pred...Paul Phillips2010-03-234-6/+52
| | | | | | Added some documentation to the methods in Predef which utilize @elidable. No review.
* Although it was working fine, a test case for @...Paul Phillips2010-03-232-3/+3
| | | | | | Although it was working fine, a test case for @elidable to make sure that state of affairs continues. No review.
* Closed #3195. Review by extempore.Iulian Dragos2010-03-231-36/+23
|
* Fixes #3186. Closes #2214.Philipp Haller2010-03-231-6/+35
|
* Scala signature is generated as an annotation (...Gilles Dubochet2010-03-2314-56/+249
| | | | | | | | | | | | | Scala signature is generated as an annotation (that is accessible through Java reflection). - compiler generates all pickled Scala signatures as annotations to class files. - compiler can read class files with signature as annotations or old-style signatures as attributes. - Scalap has also been updated to new signatures (contributed by Ilya Sergey: thanks a lot). - FJBG updated to allow entering constant pool strings as byte arrays. - ByteCodecs decode method returns the length of the decoded array. Review by ilyas. Already mostly reviewed by odersky.
* You try to get away with one little line of unc...Paul Phillips2010-03-231-1/+1
| | | | | | | You try to get away with one little line of uncompiled patch... reverting last patch since I'm too tired to see why it broke the build. No review.
* 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-239-35/+17
| | | | | | | | | | | | | | | | | | | | | 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-221-1/+4
|
* 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-211-43/+77
| | | | | | | | | 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-203-15/+24
| | | | | | | 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-193-2/+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-195-72/+123
| | | | | | | | 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-1912-178/+145
| | | | | | | | | | | | | | | | | | 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-191-42/+10
|
* 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-191-16/+23
|
* Fixes #3054. No review.Hubert Plociniczak2010-03-193-18/+44
|
* Reverse didn't work for empty ranges.Aleksandar Pokopec2010-03-181-1/+1
|
* Closes #3133. Review by community.Hubert Plociniczak2010-03-172-8/+1
|
* Closes #3185. Review by plocinic.Philipp Haller2010-03-171-0/+2
|
* closes #3112. no review.Tiark Rompf2010-03-161-12/+17
|
* 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.
* Closes #2913.Martin Odersky2010-03-161-1/+1
| | | | | 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-161-0/+10
|
* Fixes #3091. Review by community.Aleksandar Pokopec2010-03-161-3/+7
|
* Changed `!=` to `ne` for #3086. No review.Aleksandar Pokopec2010-03-161-13/+13
|
* added support for continuations in try/catch bl...Tiark Rompf2010-03-165-24/+126
| | | | | | 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-151-0/+1
| | | | | | fixed treatment of annotated types in isNumericSubType. re-enabled test case. review by odersky