summaryrefslogtreecommitdiff
path: root/src/compiler
Commit message (Collapse)AuthorAgeFilesLines
* more performance improvements; eliminated mk......Martin Odersky2010-01-1913-149/+194
| | | | | more performance improvements; eliminated mk...Type function in Types.
* Fixed isClosureClass in inliner and removed it ...Iulian Dragos2010-01-192-19/+4
| | | | | | Fixed isClosureClass in inliner and removed it from CopyPropagation (was dead code). See #2893.
* [scaladoc] Search tool will ignore case for low...Gilles Dubochet2010-01-192-12/+23
| | | | | | | | [scaladoc] Search tool will ignore case for lowercase-only queries. Type return when search tool is active to immediately search and display the first result. Contributed by Johannes Rudolph. Also: removed useless `DocProvider` class. No review, checked by dubochet.
* Digging into why the repl is so slow, discovere...Paul Phillips2010-01-195-62/+68
| | | | | | | | | | | | | | | | | | Digging into why the repl is so slow, discovered that fsc is once again never reusing compiler instances (but for a different reason than #1683.) Small changes break equality and the little troopers are so darn quiet about it. Steady state, hot fsc repl startup times before this patch: 0m1.747s 0m1.789s 0m1.842s 0m1.690s After this patch: 0m1.139s 0m1.148s 0m1.090s 0m1.091s No review. Could use a test case but I have trouble coaxing partest this far outside the box.
* More work consolidating the XML code needlessly...Paul Phillips2010-01-181-123/+15
| | | | | | | More work consolidating the XML code needlessly duplicated between the compiler and the library. Having to fix #2354 in two completely different places was I found very motivating.
* some more performance tunings. No review.Martin Odersky2010-01-182-56/+76
|
* Fix and test case for #2891. No review necessary.Miles Sabin2010-01-181-1/+1
|
* Adjectified some parts of speech as discussed o...Paul Phillips2010-01-183-12/+12
| | | | | | | Adjectified some parts of speech as discussed on the mailing list. The methods to call on FunctionN are "curried" and "tupled" with "curry" deprecated and "tuple" gone. Closes #2907. Review by community.
* Don't insert whitespace on multiline strings an...Paul Phillips2010-01-171-2/+7
| | | | | | Don't insert whitespace on multiline strings and xml literals. Closes #2115. No review.
* Brought ShowPickler somewhat more up to date wi...Paul Phillips2010-01-171-3/+35
| | | | | | Brought ShowPickler somewhat more up to date with the current pickler format.
* New repl feature: you can start a line with .Paul Phillips2010-01-162-4/+22
| | | | | | | | | | | on the previous result. For instance: scala> (1 to 10).iterator res0: Iterator[Int] = non-empty iterator scala> .toList.sum res1: Int = 55
* Exposed native Array clone() method.Paul Phillips2010-01-166-28/+39
| | | | | Review by dragos.
* Wrapped a buffered output stream around class f...Paul Phillips2010-01-153-7/+8
| | | | | | Wrapped a buffered output stream around class file generation. This has a nontrivial impact on total build time. Closes #2906.
* Fix for #2365.Paul Phillips2010-01-154-32/+28
| | | | | | | | | | | | | | a soft reference around cached classes so they do not interfere with garbage collection. There is a test case, but it is in pending because I spent longer trying to get it to fail under partest than I did writing the actual patch. If you would like to see the behavior which was corrected, go to test/pending/run/bug2365 and run that script with scalac built before and after this commit. Review by dubochet.
* Reverted over-zealous replacement of 'PartialFu...Antonio Cunei2010-01-153-4/+4
| | | | | Reverted over-zealous replacement of 'PartialFunction' with '=>?'.
* [scaladoc] Companion classes are printed.Gilles Dubochet2010-01-153-0/+14
|
* Fixed issue when searching for companion of cla...Gilles Dubochet2010-01-151-5/+12
| | | | | | | Fixed issue when searching for companion of class using "linkedSym" when value of same name is overloaded (for example companion of the Value class in an Enumeration). No review, already checked by odersky.
* Fixes for various Scaladoc-related positions re...Miles Sabin2010-01-152-11/+27
| | | | | | Fixes for various Scaladoc-related positions regressions with tests. Review by dubochet.
* Fix and test for #2354. Review by community.Paul Phillips2010-01-151-46/+8
|
* Closes #2649. No review.Hubert Plociniczak2010-01-141-1/+1
|
* Fixed #2889. No review necessary.Miles Sabin2010-01-141-1/+1
|
* [scaladoc] Use cases are marked as such in the ...Gilles Dubochet2010-01-142-2/+2
| | | | | | [scaladoc] Use cases are marked as such in the documentation (using some changes in r20488). Review by odersky.
* fix for .net compiler (flatten is skipped).Lukas Rytz2010-01-141-1/+8
|
* Finished up fixing #2773.Paul Phillips2010-01-142-14/+10
| | | | | import synthetic locals from previous scopes.
* better fix for see #2421 after feedback from Ma...Adriaan Moors2010-01-132-51/+59
| | | | | better fix for see #2421 after feedback from Martin
* [scaladoc] Use cases are printed.Gilles Dubochet2010-01-139-135/+182
|
* Closes #2866, #2870.Martin Odersky2010-01-132-13/+36
|
* Fixes #2755, but leaving open to analyze issue ...Martin Odersky2010-01-131-8/+15
| | | | | | Fixes #2755, but leaving open to analyze issue raised by Paul. review by extempore.
* Fix for #2817. Review by mharrah.Paul Phillips2010-01-131-7/+20
|
* closes #2421: more complete fix, now also check...Adriaan Moors2010-01-132-1/+11
| | | | | | | closes #2421: more complete fix, now also check validity of inferred type arguments for expressions inferred for implicit values review by odersky
* A variety of bugfixes discovered by findbugs.Paul Phillips2010-01-134-6/+9
| | | | | | examples of equality comparisons which are guaranteed to return false because someone is not comparing what they think they're comparing.
* more statistics hooks. no review necessary.Martin Odersky2010-01-131-17/+56
|
* When comparing type aliases use info instead of...Hubert Plociniczak2010-01-131-1/+7
| | | | | | When comparing type aliases use info instead of tpe so that the changes are correctly detected. Fixes #2650. No review.
* Closes #2867. review by extempore.Martin Odersky2010-01-121-4/+7
|
* Updated attempt at removing @inline warnings:Iulian Dragos2010-01-123-4/+6
| | | | | | | - fixed a bug in closure elimination causing VerifyErrors - fixed a broken assert in GenICode that fired when -Ydebug was used - added final modifiers
* Compare typeParams correctly for symbols so tha...Hubert Plociniczak2010-01-122-25/+28
| | | | | | | Compare typeParams correctly for symbols so that the build manager no longer reports false changes, cloneInfo instead instead of symbols. No review.
* A few repl features.Paul Phillips2010-01-116-36/+107
| | | | | | | | | | :history <N> shows N lines of history :h? <str> greps the history for str Altered tab-completion to be less verbose on the first tab, but notice when tab has been hit twice without any other input, and then be more verbose. And prettified the repl help text.
* Commented out some (debugging?) code which was ...Paul Phillips2010-01-111-2/+2
| | | | | Commented out some (debugging?) code which was breaking the build.
* Avoided a crash scenario in the presentation co...Martin Odersky2010-01-111-95/+236
| | | | | Avoided a crash scenario in the presentation compiler.
* Removed extraneous clause is isStrictlyMoreSpec...Martin Odersky2010-01-111-3/+4
| | | | | Removed extraneous clause is isStrictlyMoreSpecific
* speed up ClassPath.findClass. review by communityLukas Rytz2010-01-111-16/+16
|
* Fix for an unfortunate bug introduced in r19020...Paul Phillips2010-01-111-1/+3
| | | | | | | Fix for an unfortunate bug introduced in r19020 which was causing a great many unnecessary and unreachable MatchErrors to appear in generated bytecode.
* Weaken the test for co-definition to equality o...Miles Sabin2010-01-101-1/+1
| | | | | | Weaken the test for co-definition to equality of paths (equality of files fails where implementing types differ). Review by odersky.
* Added warning for failed inlining when the targ...Iulian Dragos2010-01-071-10/+17
| | | | | | Added warning for failed inlining when the target is @inline annotated. No review necessary.
* Improvements in checking for references during ...Hubert Plociniczak2010-01-071-10/+33
| | | | | | | Improvements in checking for references during dependency analysis. For example more carefully analysis of abstract type members, typerefs etc. References #2793. review by dragos.
* Fixed #2850 -- while inside finally causes Veri...Iulian Dragos2010-01-071-4/+9
| | | | | Fixed #2850 -- while inside finally causes VerifyError, review by rytz
* scalac portion of fix for #2689.Miles Sabin2010-01-063-1/+43
|
* further speed improvements by eliminating most ...Martin Odersky2010-01-0611-92/+161
| | | | | | | further speed improvements by eliminating most uses of paramTypes. Knocks off about 3% of typer time. Not overwhelming but still worth doing. Review by rytz.
* Fixed issue with operator symbols.Martin Odersky2010-01-061-1/+1
|
* reinstated accidentally deleted commentAdriaan Moors2010-01-061-1/+3
| | | | | no review