summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Renamed some methods in icode exception handler...Iulian Dragos2011-03-041-13/+12
| | | | | | | Renamed some methods in icode exception handlers for clarification, fixed finalizers for 'return' inside a catch block. closes #4240. review by rytz.
* Note to self: travel with laptop and server.Paul Phillips2011-03-041-4/+2
| | | | | attempt #2. No review.
* Reverting some recent signature code and tempor...Paul Phillips2011-03-042-9/+7
| | | | | | | Reverting some recent signature code and temporarily disabling a test so I can work this out without shattering the tranquility of the build. No review.
* A swing at fixing the remaining test without ta...Paul Phillips2011-03-032-4/+8
| | | | | | A swing at fixing the remaining test without taking any innocents down with me. No review.
* Seem to have made a breakthrough with signature...Paul Phillips2011-03-032-10/+53
| | | | | | | | Seem to have made a breakthrough with signature correctness. Most of the remaining troubles were due to inherited members and their foreign identifiers, but I think I found a simple way to make everyone happy. Closes #4238, review by moors.
* Added an innocuous java BigDecimal -> scala Big...Paul Phillips2011-03-021-53/+55
| | | | | | Added an innocuous java BigDecimal -> scala BigDecimal implicit. Cleaned up some documentation. Closes #2199, no review.
* Made Stream.collect collect instead of filter.Paul Phillips2011-03-021-1/+1
| | | | | | | Glad to see there was a test case; but we have to push harder when writing tests to include the key characteristics of the function being tested. No review.
* Fix for defParamsToString.Paul Phillips2011-03-021-3/+5
| | | | | | | | | | | | | | commas in the generated scaladoc. Example: < <a id=":+[B&gt;:B, That](B)(C,a,n,B,u,i,l,d,F,r,o,m,[,L,i,s,t,[,B,],,, ,B,,, ,T,h,a,t,]):That"></a> --- > <a id=":+[B&gt;:B, That](B)(CanBuildFrom[List[B], B, That]):That"></a> The whole element may be spurious given that this could go unnoticed, but today was only "Stamp Out Commas" day. No review.
* Added cycle detection to getParts.Paul Phillips2011-03-021-0/+4
|
* Another lap around the track with generic signa...Paul Phillips2011-03-021-42/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | Another lap around the track with generic signatures. At the root of the issue reported in #4214 is our old friend (fondly remembered from the days of primitive equality) boxed/primitive unification. // scala trait T[A] { def f(): A } // the generic signature spec doesn't allow for parameterizing // on primitive types, so this cannot remain Char. However // translating it to Character, as was done, also has issues. class C extends T[Char] { def f(): Char = 'a' } // Note that neither of the signatures for f, the implementation // or the bridge method, matches the type parameter. Generic interfaces in class: T<java.lang.Character> Generic signatures: public char C.f() public java.lang.Object C.f() After this commit, primitive type parameters are translated into Object instead of the boxed type. It was martin's idea, so no review. Closes #4214.
* More debug output for -Ylog-classpathIulian Dragos2011-03-011-0/+1
|
* Long overdue rehaul of presentation compiler te...Iulian Dragos2011-03-011-6/+34
| | | | | | | | | | | | | | | | | Long overdue rehaul of presentation compiler tests. Added support for options file, and switched simple-tests to use the STARR library on the test classpath. Put any options you need passed to the presentation compiler in a file with the same name as the test, ending in '.opts'. Currently it's used to set the -bootclasspath for simple-tests. Check the contents of simple-tests.opts for all the options. IMPORTANT: when committing a new STARR, you need to check this test. Most likely, you *will* break it otherwise. review by extempore
* Break 9 tests, fix 9 tests, realize you broke t...Paul Phillips2011-02-281-0/+19
| | | | | | | Break 9 tests, fix 9 tests, realize you broke the test you checked in between +9 and -9. Fix that and generalize the repl tests a little. I think we're all the way there. No review.
* Fixing the other half of my recent breakage.Paul Phillips2011-02-283-4/+15
|
* Attempting to fix half my recently imposed brea...Paul Phillips2011-02-281-1/+1
| | | | | Attempting to fix half my recently imposed breakage. No review.
* Altered a check for impl classes to look at the...Paul Phillips2011-02-282-7/+16
| | | | | | | | | Altered a check for impl classes to look at the name instead of the flags, since the flags are wrong. Obviously we should fix the flags or otherwise better address. Note that the test is well intentioned but doesn't actually fail with older versions; the crash is not easy to reproduce even when I simulate the whole repl. Review by dragos.
* A fix for ListBuffer's iterator not to blow up ...Paul Phillips2011-02-282-7/+18
| | | | | | A fix for ListBuffer's iterator not to blow up when values are changed during iteration. No review.
* Fixes and closes #4294.Aleksandar Pokopec2011-02-281-0/+20
| | | | | No review.
* Made mkString work correctly on views.Paul Phillips2011-02-254-2/+23
| | | | | about how to obtain a String and how not to. Closes #4297, no review.
* make classpath access lazy. no reviewHubert Plociniczak2011-02-241-2/+2
|
* lazy val calls shouldn't be included in pure ex...Hubert Plociniczak2011-02-243-6/+6
| | | | | | | lazy val calls shouldn't be included in pure expressions in general. closes 4047. fixed also bug in optimizer (was eliminating a.foo call in the test). review by dragos
* Reversion of r24319 for causing #4291.Paul Phillips2011-02-241-1/+1
| | | | | in future attempts. Closes #4291, references #4214, no review.
* [scaladoc] Comments for lazy vals are printed i...Gilles Dubochet2011-02-231-0/+2
| | | | | | | [scaladoc] Comments for lazy vals are printed in documentation. Solution is hack around issue in compiler's analyser. Closes #3790. Review by plocinic.
* [scaladoc] No companion linking is attempted fr...Gilles Dubochet2011-02-231-1/+2
| | | | | | [scaladoc] No companion linking is attempted from inner object to abstract type member. Closes #4180. No review.
* [scaladoc] Specializes upper and lower bounds o...Gilles Dubochet2011-02-231-6/+6
| | | | | | [scaladoc] Specializes upper and lower bounds of abstract type members and variables to local class context. Closes #3982. No review.
* [scaladoc] The "inherited" filter work correctl...Gilles Dubochet2011-02-231-2/+4
| | | | | | [scaladoc] The "inherited" filter work correctly for inner classes and object. Closes #3775. No review.
* [scaladoc] Unsightly hack in Scaladoc to close ...Gilles Dubochet2011-02-231-2/+14
| | | | | [scaladoc] Unsightly hack in Scaladoc to close #4086. Review by odersky.
* [scaladoc] Fixes the way default values and ann...Gilles Dubochet2011-02-231-65/+88
| | | | | | [scaladoc] Fixes the way default values and annotations are output in Scaladoc. Closes #4167. No review.
* [scaladoc] Changed TreeFactory so that it doesn...Gilles Dubochet2011-02-232-48/+40
| | | | | | | | [scaladoc] Changed TreeFactory so that it doesn't consume exceptions. Required fixes to makeAnnotation and makeTree which were throwing exceptions as a matter of fact. Also code refactoring around annotations and trees. Closes #4284. No review.
* Partial revert of r24325; tryToSetFromPropertyV...Eugene Vigdorchik2011-02-232-1/+11
| | | | | Partial revert of r24325; tryToSetFromPropertyValue is used by Eclipse.
* [scaladoc] Fully commented the Scaladoc model.Gilles Dubochet2011-02-237-101/+366
|
* Added daemonized() method to ProcessBuilder so ...Paul Phillips2011-02-227-18/+43
| | | | | | | Added daemonized() method to ProcessBuilder so I can do things like start fsc without the jvm failing to exit. More logging to fsc. scala -e '5' now works again. Closes #4254, review by harrah.
* Fixes and closes #4261.Aleksandar Pokopec2011-02-222-8/+9
| | | | | No review.
* exclude sourcepath from classpath.Hubert Plociniczak2011-02-223-3/+8
|
* Closes #4202 and removes empty TreeHashMap (sup...Hubert Plociniczak2011-02-222-274/+2
| | | | | | Closes #4202 and removes empty TreeHashMap (superseded by HashMap implementation). No review
* Changes to startup.Paul Phillips2011-02-225-24/+50
| | | | | | | | | | | | | | default. The -toolcp option now works. -D and -J options are passed as arguments to the runner program as well as to the underlying JVM, because they may be needed for such things as fsc talking to a server compiler. Added a new Settings type for -D and -J options. Deleted some dead settings code. There are dummy settings for -toolcp and -nobootcp so they can be seen in the help output, which needs a big cleanup. No review.
* Fixed a bug where newly introduced type paramet...Aleksandar Pokopec2011-02-212-5/+36
| | | | | | | | Fixed a bug where newly introduced type parameters didn't have all the substitutions done correctly. Fixes #4266. No review.
* Attempt to fix #4214 by avoiding signature gene...Martin Odersky2011-02-211-1/+1
| | | | | | Attempt to fix #4214 by avoiding signature generation for mixed in and bridge methods.
* Moved delayedInit Application to App; reinstant...Martin Odersky2011-02-212-48/+127
| | | | | | Moved delayedInit Application to App; reinstantiated 2.8.1 Application and deprecated it.
* Closes #4146.Martin Odersky2011-02-211-9/+85
|
* More work on symbol trackers.Paul Phillips2011-02-202-19/+44
| | | | | | | | | | | from one AST snapshot to the next, it displays the nodes which had until so recently been decorated with it. It's quite the symbol whisperer now, try it. scalac -Yshow-syms bippy.scala No review.
* Making parsing more interruptible + better timi...Martin Odersky2011-02-203-40/+60
| | | | | Making parsing more interruptible + better timing info in logs.
* Moved unlift to the Function companion object, ...Paul Phillips2011-02-2094-1335/+1680
| | | | | | | | | | | | | | Moved unlift to the Function companion object, which might have been better in the first place. Had to make a minor change to genprod, and then I couldn't escape that unscathed. Finished the not very complete undertaking I found there to update the scaladoc. Lots of little changes to the generated text and code. I changed genprod to only put a unique stamp on Function0 so we can stop having a 100 file diff everytime an i is dotted somewhere. Closes #3825, no review.
* Observed that some historical issues with packa...Paul Phillips2011-02-201-7/+2
| | | | | | | | Observed that some historical issues with package objects no longer seem so issuey. In the interests of keeping the arbitrary limitations to a minimum, re-enabled case classes in package objects (see #2130, #3437.) Closes #3437, review by odersky.
* Cleaned up some horribly rotted xml doc comments.Paul Phillips2011-02-202-28/+17
| | | | | | a trait so it had a chance of being mixed into another class as directed in the doc comment in question. Closes #4087, no review.
* Hid repl value rebinding behind power mode.Paul Phillips2011-02-204-4/+13
|
* Based on the frequency with which I hear questi...Paul Phillips2011-02-203-22/+42
| | | | | | | | | | | | | | | | | Based on the frequency with which I hear questions about it and similar, this error message assumes too much understanding. scala> scala.collection.mutable.MultiMap(1, 2, 3) <console>:8: error: value MultiMap is not a member of package scala.collection.mutable Now it says: scala> scala.collection.mutable.MultiMap(1, 2, 3) <console>:8: error: object MultiMap is not a member of package scala.collection.mutable Note: trait MultiMap exists, but it has no companion object. No review.
* Rediscovering that transpose sometimes throws a...Paul Phillips2011-02-191-1/+11
| | | | | | | | | | | | Rediscovering that transpose sometimes throws an exception on irregular lists and sometimes returns an irregular result (depending on whether the first collection is the longest or not) indicated that this needs a better resolution than the status quo. Determination: as long as we're throwing an exception on any invalid input, we should throw an exception on all invalid input, so that's what it does now. I postpone any attempt to offer a variation accepting a "hole value". Closes #3597, review by community.
* [scaladoc] Closes #3681. Review by dubochet.Kato Kazuyoshi2011-02-171-1/+9
|
* Fix in the unify, for a failing specialized test.Aleksandar Pokopec2011-02-161-3/+7
| | | | | No review.