summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* LiftCode works again, now integrated with new r...Martin Odersky2011-07-3029-489/+208
| | | | | | | | LiftCode works again, now integrated with new reflection library. Other changes: def Literal(x: Any) has been deprecated, and all its uses removed. Modifiers has lost positions as fourth case class argument; is now a field, mirroring Tree.pos (this removes junk in patterns and makes reification simpler). Review by extempore.
* README updates, no review.Paul Phillips2011-07-301-35/+14
|
* One last build fix for our poor java5 build ser...Paul Phillips2011-07-301-18/+25
| | | | | | One last build fix for our poor java5 build servers with their String.isEmpty confusion, no review.
* Getting LiftCode to work.Martin Odersky2011-07-3011-87/+92
|
* - Update Scaladoc for LinkedList and for some o...Paul Phillips2011-07-297-40/+311
| | | | | | | | | | - Update Scaladoc for LinkedList and for some of the functions/operators - that it inherits. Completed Scaladoc for append Added example - in GenSeqLike for apply. Added $collectExample to collect in - GenTraversableLike and supplied an actual example in LinkedList Contributed by Donald McLean.
* Move vector descrition from the obejct to the c...Paul Phillips2011-07-291-8/+8
| | | | | | | | Move vector descrition from the obejct to the class, where it actually makes sense. Preserve previously existing attribute definitions. Contributed by Daniel C. Sobral
* Moved test out of pending, closes SI-3628, no r...Paul Phillips2011-07-293-3/+4
| | | | | Moved test out of pending, closes SI-3628, no review.
* Following up on things that -Xlint told me, som...Paul Phillips2011-07-2931-110/+109
| | | | | | | | | | | | | | | Following up on things that -Xlint told me, sometimes because Mr. Linty was being sensible and other times just to shut him up so we can hear better in the future. - made xml.Equality public because it occurs in public method signatures - made some actor classes with inaccessible-unoverridable methods final - eliminated a bunch of "dead code follows" warnings by deleting the dead code which really did follow - improved the reliability of warnings about inaccessible types For the changes in actors, review by phaller.
* Disabled all the old scala.reflect._ tests whic...Paul Phillips2011-07-296-0/+0
| | | | | | Disabled all the old scala.reflect._ tests which are now crash-failing, no review.
* Quieting down mr. lifty, no review.Paul Phillips2011-07-292-3/+3
|
* Fixing the very broken build (was going for "co...Paul Phillips2011-07-291-25/+32
| | | | | | | Fixing the very broken build (was going for "compiling" mostly because I can't be sure what to do with some of this) really this code is certainly not correct, please review by odersky.
* First steps towards liftingMartin Odersky2011-07-2910-71/+202
|
* Discovered through jsuereth's work that a file ...Paul Phillips2011-07-291-1/+0
| | | | | | | Discovered through jsuereth's work that a file I should have removed way back in r17897 slipped the noose. Your free ride ends here, midpapi10.jar. No review.
* Added two new compiler options:Paul Phillips2011-07-2918-18/+212
| | | | | | | | | | | | | | | -Ywarn-adapted-args // also included in -Xlint -Yno-adapted-args The former warns when a () is inserted or an argument list is implicitly tupled. The latter errors under the same conditions. Using these options I found several bugs in the distribution which would otherwise be nearly impossible to spot. These bugs were innocuous (I think) but similar bugs could easily be (and have been) otherwise. Certain particularly threatening scenarios are at minimum warned about regardless of options given. Closes SI-4851, no review.
* Turned off the notFINAL flag which was applied ...Paul Phillips2011-07-281-2/+8
| | | | | | | | Turned off the notFINAL flag which was applied to expanded name methods due to java breakage, on the principle of "first, do no harm." If there is some rationale why these methods must be made final, let's at least get it documented. Review by dragos.
* Expression type argument instantiation should n...Paul Phillips2011-07-282-7/+30
| | | | | | | | Expression type argument instantiation should not fail in a context expecting Unit if there is any valid instantiation, because value discarding should kick in and offer a literal (). Closes SI-4853, review by odersky.
* New starr based on r25394 to make the starr lib...Paul Phillips2011-07-283-3/+3
| | | | | | New starr based on r25394 to make the starr liberator's job easier, no review.
* Test case for SI-4603, no review.Paul Phillips2011-07-282-0/+15
|
* Remove sigint handler on repl exit as a sanity ...Paul Phillips2011-07-282-0/+4
| | | | | Remove sigint handler on repl exit as a sanity check, no review.
* Closes #4603. Review by extempore.Martin Odersky2011-07-281-2/+5
|
* Scaladoc shouldn't drop type arguments to alias...Kato Kazuyoshi2011-07-283-1/+15
| | | | | | Scaladoc shouldn't drop type arguments to aliased tuple. Related to SI-4676. Review by pedrofurla.
* Changed forwarders not to generate final method...Paul Phillips2011-07-283-12/+40
| | | | | | | Changed forwarders not to generate final methods, which otherwise would induce VerifyErrors anytime the companion class was subclassed and had a method with the same signature. Closes SI-4827, no review.
* Test case closes SI-4172 - I think the output i...Paul Phillips2011-07-272-0/+18
| | | | | Test case closes SI-4172 - I think the output is right anyway - review by rytz.
* Some tweaks to repl thread creation based on sp...Paul Phillips2011-07-273-19/+31
| | | | | | Some tweaks to repl thread creation based on speculation from mark harrah, no review.
* Debug output to help with signature issues.Paul Phillips2011-07-273-3/+16
| | | | | | comments into code comments for reference by me or some lucky future person. No review.
* A few tests for pending and non-pending, no rev...Paul Phillips2011-07-274-0/+83
| | | | | A few tests for pending and non-pending, no review.
* "Freed the lisp test." Tweaked partest defaults...Paul Phillips2011-07-274-2/+2
| | | | | | "Freed the lisp test." Tweaked partest defaults a little in the hopes that seth tisue is correct in his analysis. No review.
* Fix/workaround for inliner bug uncovered by fin...Paul Phillips2011-07-277-5/+68
| | | | | | | | | | Fix/workaround for inliner bug uncovered by finalizing Option methods. Something in the backend is leaving open but empty blocks in the worklist. Rather than freaking out at the merest mention of an empty block, I quietly remove the empty ones. A proper fix will involve not leaving empty blocks lying around but we're on a schedule here people. Review by dragos.
* Adding the missing ParMap and GenMap methods.Aleksandar Pokopec2011-07-267-3/+305
| | | | | No review.
* Discard empty strings in option position, but n...Paul Phillips2011-07-261-1/+8
| | | | | | Discard empty strings in option position, but not in argument position. Closes SI-4782, no review.
* Add test for SI-4839. No review.Philipp Haller2011-07-261-0/+8
|
* Enable implicit parameters in the presence of v...Philipp Haller2011-07-252-3/+11
| | | | | | Enable implicit parameters in the presence of view- or context bounds. Fix SI-4839. Review by moors.
* Scaladoc should decode symbolic type alias name.Kato Kazuyoshi2011-07-253-1/+18
|
* Always escape control characters when printing ...Grzegorz Kossakowski2011-07-251-7/+2
| | | | | | | | | | | | Always escape control characters when printing trees. Escaping of control characters should be performed for both Char and String constants. This is useful when printing trees of a program that contains control character as constants. Before that fix, one could get really broken output that was hard to read. Review by extempore.
* Updated documentation for testing.Benchmark.Heather Miller2011-07-241-1/+8
|
* Since trunk seems to be undergoing all kinds of...Paul Phillips2011-07-2327-185/+124
| | | | | | | | | Since trunk seems to be undergoing all kinds of changes of the sort which touch lots of files, the time is ripe for various search/replace improvements which have stacked up. This one is the replacement of all "if (settings.debug.value) log" with "debuglog" since as noted in a recent commit, the inliner will take care of that for you. No review.
* Start of an attempt to abstract above some hard...Paul Phillips2011-07-2323-84/+138
| | | | | | | | Start of an attempt to abstract above some hardcoded name mangling decisions so they can be modified, something we need to do to fix long-standing problems with inner classes. It's not easy. This commit doesn't actually change much, it's primarily setup. No review.
* Reflection refactoring.ōMartin Odersky2011-07-2218-125/+173
|
* Small fix to mirrors in treatment of primitive ...Martin Odersky2011-07-223-4/+7
| | | | | Small fix to mirrors in treatment of primitive types. No review.
* Should not set the parameter name's width on CSS.Kato Kazuyoshi2011-07-223-2/+27
|
* As per discussion documented in SI-1799, brough...Paul Phillips2011-07-218-9/+96
| | | | | | | | | | | | | | | | | | | | | | As per discussion documented in SI-1799, brought back the ProductN traits and synthesized them into case classes. It's -Xexperimental for now because there may be minor implications for existing code which should be discussed. And also because I snuck in another "improvement" but it's probably too dangerous to be touching productIterator directly and it should go into something else. scala> case class Bippy(x: Int, y: Int) defined class Bippy scala> Bippy(5, 10).productIterator res0: Iterator[Int] = non-empty iterator ^^^----- as opposed to Iterator[Any] There is an even better idea available than lubbing the case class field types: it starts with "H" and ends with "List"... Review by oderksy.
* Fixed build problem. No review.Martin Odersky2011-07-211-2/+2
|
* Adding mirrors top connect reflection to someth...Martin Odersky2011-07-215-14/+68
| | | | | | Adding mirrors top connect reflection to something real without going through Java.
* Fleshed out Scala -> Java mapping; dealing with...Martin Odersky2011-07-214-11/+62
| | | | | Fleshed out Scala -> Java mapping; dealing with arrays. No review.
* Fixed doc comments of the keys and values metho...Philipp Haller2011-07-201-3/+4
| | | | | Fixed doc comments of the keys and values methods in MapLike. No review
* 4th round of clean ups (see r25293, r25285, r25...michelou2011-07-2019-445/+381
| | | | | 4th round of clean ups (see r25293, r25285, r25292)
* Fleshed out reflection that now also correctly ...Martin Odersky2011-07-204-37/+213
| | | | | | Fleshed out reflection that now also correctly interpretes Java classes. We are getting there! No review; let's wait until it is complete.
* Fixes SI-4641 again.Kato Kazuyoshi2011-07-201-1/+12
|
* One more package rename that broke the IDE nigh...Iulian Dragos2011-07-201-0/+1
| | | | | | One more package rename that broke the IDE nightly for trunk. Fixing. no review.
* Restored test case for SI-2873 which hubert had...Paul Phillips2011-07-192-0/+6
| | | | | | | Restored test case for SI-2873 which hubert had callously deleted back when it was briefly irrelevant. It would have been failing were it around, but now it passes. Closes SI-2873, no review.