summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* I wrote a warning when nullary methods return U...Paul Phillips2011-04-28120-238/+237
| | | | | | | | | | | | | | | I wrote a warning when nullary methods return Unit. I wimped out of including it in this patch because we had about 200 of them, and that's what is fixed in this patch. I will add the warning to some kind of "-Xlint" feature after 2.9. This is motivated at least partly by the resolution of #4506, which indicates the distinction between "def foo()" and "def foo" will continue to jab its pointy stick into our eyes, so I believe we have a minimal duty of at least following our own advice about what they mean and not making a semirandom choice as to whether a method has parens or not. Review by community.
* Improved the error message for another of the m...Paul Phillips2011-04-286-0/+74
| | | | | | | | | | | | | | | | | | | Improved the error message for another of the most common situations I hear about in newbieland. It could be taken further. If compilation fails due to an unimplemented abstract method, and there is a concrete method of the same name and arity, it will do a pairwise analysis of the parameters and attempt to further explain where you went off the beam if it feels it can do so sensibly. Such as in the test case: % scalac S.scala S.scala:1: error: class S needs to be abstract, since method g in class J of type (y: Int,z: java.util.List)Int is not defined (Note that java.util.List does not match java.util.List[String]. To implement a raw type, use java.util.List[_]) class S extends J { ^ one error found No review.
* Improvements to the AST browser contributed by ...Paul Phillips2011-04-281-15/+111
| | | | | | | | | Improvements to the AST browser contributed by Yuvi Masory. Uses Nimbus LAF when available and improves readability by padding components. Adds menu items and key bindings for expanding and contracting nodes, closing the browser and continuing compilation, and closing the browser and aborting. No review.
* Upgraded -d so you can output classes directly ...Paul Phillips2011-04-284-68/+152
| | | | | | | | Upgraded -d so you can output classes directly to a jar. Very (very) loosely based on a patch from dmharrah. Like dmharrah before me, I see little if any change in compile times, which I find difficult to explain. Closes #27, review by dmharrah.
* Cleaned up some hopelessly atrophied documentat...Paul Phillips2011-04-272-42/+17
| | | | | Cleaned up some hopelessly atrophied documentation, no review.
* Trying out a different strategy for restoring t...Paul Phillips2011-04-271-15/+25
| | | | | | | | Trying out a different strategy for restoring terminal settings so we don't have a list of hardcoded terminal types. Now it saves the terminal settings on script start and restores those on exit. Closes #4170, review by rytz.
* Trying to fix the pattern matcher took me into ...Paul Phillips2011-04-272-107/+90
| | | | | | | | | Trying to fix the pattern matcher took me into the lambda lifter, and I made some changes which seemed sensible to me. I'm going to be a stickler about eliminating mutable maps which hold mutable listbuffers. I could use some confirmation that I didn't somehow break the world: review by dragos.
* A little cleanup on a repl command, no review.Paul Phillips2011-04-271-3/+12
|
* Fixed a booch I made in io.Position's positioning.Paul Phillips2011-04-273-1/+14
| | | | | Closes #4498, no review.
* Fixed inversion of fsc's exit code, closes #451...Paul Phillips2011-04-271-5/+4
| | | | | Fixed inversion of fsc's exit code, closes #4519 no review.
* More bridges in collections. Review by prokopec.Martin Odersky2011-04-279-5/+34
|
* Some solid progress on the pattern matcher, no ...Paul Phillips2011-04-265-82/+136
| | | | | Some solid progress on the pattern matcher, no review.
* Temporarily moving interpreter.scala to pending.Martin Odersky2011-04-251-0/+0
|
* Added a bunch of bridges to make ameliorate bin...Martin Odersky2011-04-2431-285/+604
| | | | | | Added a bunch of bridges to make ameliorate binary compatibility of new collections. Review by prokopec. Review by extempore.
* Added warning when someone tries to return a no...Paul Phillips2011-04-244-7/+29
| | | | | | Added warning when someone tries to return a non-Unit value from a Unit method, no review.
* Removed restriction on case classes having only...Paul Phillips2011-04-246-11/+25
| | | | | | Removed restriction on case classes having only two parameter lists. Closes #1333, no review.
* Enclosed the out of bounds index with some IOOB...Paul Phillips2011-04-242-24/+2
| | | | | Enclosed the out of bounds index with some IOOB exceptions, no review.
* New starr based on r24814, no review.Paul Phillips2011-04-243-3/+3
|
* Updated a bunch of @deprecated annotations to h...Paul Phillips2011-04-2487-121/+121
| | | | | Updated a bunch of @deprecated annotations to have a version, no review.
* Refined handling fo @bridge methods.Martin Odersky2011-04-244-12/+18
|
* Working my way through pattern matcher sequence...Paul Phillips2011-04-2312-215/+253
| | | | | | | | | Working my way through pattern matcher sequence issues mostly caused by the special handling of Lists. Also deleting all kinds of useless or almost useless code which is presently only clutter. Closes #2756, #2800, #3050, #3530, #3972, no review.
* Shows migration and it's message.Pedro Furlanetto2011-04-231-5/+14
|
* Reverted a jline commit which had broken histor...Paul Phillips2011-04-235-74/+4
| | | | | Reverted a jline commit which had broken history search, no review.
* Strip unused pattern variable bindings out befo...Paul Phillips2011-04-232-5/+22
| | | | | | Strip unused pattern variable bindings out before performing match translation. Closes #4269, no review.
* Introduce new request for informing the present...Eugene Vigdorchik2011-04-232-1/+29
| | | | | | Introduce new request for informing the presentation compiler of files deletion. Review by odersky.
* Fixing a BaseBerrySethi bug I introduced in r19...Paul Phillips2011-04-221-2/+0
| | | | | | Fixing a BaseBerrySethi bug I introduced in r19842. Patch by buraq, no review.
* Fixed spurious qualification of types that are ...Martin Odersky2011-04-222-9/+9
| | | | | | Fixed spurious qualification of types that are locally quantified. Review by extempore.
* New starr based on r24804, no review.Paul Phillips2011-04-223-3/+3
|
* Some more tweaks to the bridge scheme.Martin Odersky2011-04-212-5/+2
|
* Added bridge method capability to compiler.Martin Odersky2011-04-218-12/+35
|
* Made FreshRunReq a traceable exception, so that...Martin Odersky2011-04-214-9/+15
| | | | | | Made FreshRunReq a traceable exception, so that we can better spot problems in the IDE.
* There is still all kinds of code in the pattern...Paul Phillips2011-04-214-192/+123
| | | | | | | | | | | There is still all kinds of code in the pattern matcher which I've been dragging forward (for years now) unclear on the need for it but having been burned too many times by its undocumented ways. Returned to the fray once again and encountered shocking success levels with the abatement stick. Dumped all kinds of unnecessary code (or so we can hope) and seem close to fixing some fundamental issues. But we've heard that before. No review.
* One of the blips in the performance charts seem...Paul Phillips2011-04-208-18/+73
| | | | | | | | | | One of the blips in the performance charts seems to implicate some changes I made with slice to reduce the number of implementations and surface area for inconsistencies and bugs. Altering those changes in a more performance-mindful way, although I don't see anything here which is likely to help much. Also fixing some wrong documentation about copyToArray. No review.
* Some tweaks to slice to make it run faster, no ...Paul Phillips2011-04-202-2/+12
| | | | | Some tweaks to slice to make it run faster, no review.
* [scaladoc] kindFilter should switch show/hide a...Kato Kazuyoshi2011-04-204-2/+58
| | | | | | [scaladoc] kindFilter should switch show/hide anchor of package. Closes #4463. Review by malayeri.
* [MSIL] finer-grain debugging (steps one sub-exp...Miguel Garcia2011-04-205-49/+60
| | | | | [MSIL] finer-grain debugging (steps one sub-expression at time).
* Shows deprecation message only once.Pedro Furlanetto2011-04-201-2/+12
|
* Makes entire package area clickable in the left...Pedro Furlanetto2011-04-203-32/+34
| | | | | | Makes entire package area clickable in the left panel. Contributed by Simon Ochsenreither (soc). Closes #4464. Review by malayeri.
* Removed GenTravOnceLike and TravOnceLike, put t...Aleksandar Pokopec2011-04-1936-927/+875
| | | | | | | | | Removed GenTravOnceLike and TravOnceLike, put their functionality to GenTravOnce and TravOnce. Remove immutable Gen* traits. Removing mutable Gen* traits. No review.
* [scaladoc] Removed some drop shadows from CSS, ...Donna Malayeri2011-04-191-10/+14
| | | | | | [scaladoc] Removed some drop shadows from CSS, to improve readability. No review.
* [scaladoc] Change URL when navigating Scaladoc,...Donna Malayeri2011-04-192-3/+65
| | | | | | | [scaladoc] Change URL when navigating Scaladoc, so as to allow linking to individual pages with the left frame intact. Patch submitted by Ruediger Keller. Closes #4473. No review.
* [scaladoc] CSS tweaks, changes to display of li...Donna Malayeri2011-04-193-73/+27
| | | | | | [scaladoc] CSS tweaks, changes to display of linear supertypes/known subclasses. Closes #4458. No review.
* Further optimizations of implicits.Martin Odersky2011-04-192-3/+16
|
* Trying to get build times down by refining impl...Martin Odersky2011-04-191-6/+121
| | | | | | Trying to get build times down by refining implicit searches. Implicit infos associated with toplevel classes are cached now. Review by rompf.
* Revised that last botched commit. No review.Paul Phillips2011-04-171-11/+23
|
* Added releaseVersion and developmentVersion to ...Paul Phillips2011-04-171-4/+23
| | | | | | Added releaseVersion and developmentVersion to Properties so people don't all have to parse the versionString. No review.
* Added a script in tools for deploying maven art...Paul Phillips2011-04-151-0/+11
| | | | | | | Added a script in tools for deploying maven artifacts locally, since it always takes me an eternity to figure out slash remember how to do it. No review.
* [scaladoc] Strike-through for deprecated symbol...Kato Kazuyoshi2011-04-155-24/+80
| | | | | | [scaladoc] Strike-through for deprecated symbols on the reference index. Closes #4471. Review by dubochet.
* Couple of fixes to the usecases in docs.Aleksandar Pokopec2011-04-153-11/+11
| | | | | No review.
* Having been tortured by remorse ever since tiar...Paul Phillips2011-04-156-282/+251
| | | | | | | | | Having been tortured by remorse ever since tiark told me that r23934 had made the hashmap slower, I crushed my previous efforts under the heel of my boot, threw all the types out the window, poured acid on them, and turned all the dials to the far other extreme. Pity the man who will sell his soul for a few CPU cycles. (I am that man.) Review by rompf.