summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix for #2867 undone, review by extempore.Martin Odersky2010-01-211-0/+8
|
* Attempt to fix #2926 (companion object of case ...Martin Odersky2010-01-202-1/+13
| | | | | Attempt to fix #2926 (companion object of case class problem in Eclipse)
* Closes #2653, #2652, #2556.Hubert Plociniczak2010-01-203-3/+79
|
* [scaladoc] Default values of parameters are doc...Gilles Dubochet2010-01-204-8/+80
| | | | | | | | [scaladoc] Default values of parameters are documented. Tags "@author", "@see", "@since", "@version", and "@deprecated" are displayed in documentation. Contributed by Pedro Furlanetto, checked by dubochet, no review.
* fixed bugs in .NET bytecode generation (branchi...Lukas Rytz2010-01-203-50/+150
| | | | | | | fixed bugs in .NET bytecode generation (branching out of try / catch / finally blocks is not allowed). predef.dll now almost passes PEVerify. no review
* Removed static state from global object ClassPa...Paul Phillips2010-01-207-54/+59
| | | | | | | | Removed static state from global object ClassPath object, and some minor repositioning while in there. Closes #2928, but the intentions behind -optimise being intertwined with ClassPath could really use some source comments. Review by rytz.
* No longer are there more IDE-specific junk file...Paul Phillips2010-01-209-0/+1717
| | | | | | | | | | No longer are there more IDE-specific junk files in the root directory of the official scala repository than actual scala files and directories put together. It's a truly awful first impression to give potential developers so I'm interpreting the non-response regarding the need for them as quiet encouragement to put them in src/intellij. Review by ilyas.
* Un-overloaded StringLike.format.Paul Phillips2010-01-201-1/+1
|
* Fix for #2927. No review.Paul Phillips2010-01-202-8/+14
|
* Made some cosmetic but clarity-increasing chang...Paul Phillips2010-01-2011-88/+84
| | | | | | | | | Made some cosmetic but clarity-increasing changes to a few files. Primarily, used corresponds where possible rather than zipped.forall. Added isImplicit and isJava to MethodType so the relevant subtypes could be determined without the hideous isInstanceOf checks. Review by odersky.
* Iterators created with duplicate compare equal ...Paul Phillips2010-01-191-1/+10
| | | | | | Iterators created with duplicate compare equal if they are positioned at the same element. Review by community.
* 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-183-289/+207
| | | | | | | 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.
* Tail-recursive implementations of parser combin...Paul Phillips2010-01-181-29/+23
| | | | | | | Tail-recursive implementations of parser combinators rep1 and repN, which covers all of them since the others go through those. Review by rompf.
* some more performance tunings. No review.Martin Odersky2010-01-183-57/+77
|
* cleaned up explicit tailcallsMartin Odersky2010-01-182-24/+56
|
* 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-1872-204/+243
| | | | | | | 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.
* Fix and test case for #408. Review by community.Paul Phillips2010-01-181-6/+9
|
* 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
* Made Iterator consistent with Iterable by addin...Paul Phillips2010-01-161-0/+32
| | | | | | Made Iterator consistent with Iterable by adding grouped and sliding to IterableLike. Closes #2837. Review by community.
* Exposed native Array clone() method.Paul Phillips2010-01-1610-29/+80
| | | | | 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-1527-80/+78
| | | | | 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-154-65/+69
|
* Some optimizations to actor message queues and ...Philipp Haller2010-01-146-60/+109
| | | | | Some optimizations to actor message queues and event handling.
* ConcurrentMap trait added to collection.mutable.Aleksandar Pokopec2010-01-142-2/+148
| | | | | | | | JavaConversions now include conversions between Java ConcurrentMap objects and Scala ConcurrentMap objects. review by odersky
* 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.
* Added ConcurrentMap and Properties conversion c...Aleksandar Pokopec2010-01-131-2/+93
| | | | | Added ConcurrentMap and Properties conversion classes and test.
* Reverts r20311 since I'm not seeing what's goin...Paul Phillips2010-01-136-163/+117
| | | | | | Reverts r20311 since I'm not seeing what's going on in #2876 and the optimization can wait.
* 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-137-11/+15
| | | | | | examples of equality comparisons which are guaranteed to return false because someone is not comparing what they think they're comparing.