| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Attempt to fix #2926 (companion object of case class problem in Eclipse)
|
| |
|
|
|
|
|
|
|
|
| |
[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 (branching out of try / catch /
finally blocks is not allowed). predef.dll now almost passes PEVerify.
no review
|
|
|
|
|
|
|
|
| |
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 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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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 if they are positioned at
the same element. Review by community.
|
|
|
|
|
| |
more performance improvements; eliminated mk...Type function in Types.
|
|
|
|
|
|
| |
Fixed isClosureClass in inliner and removed it from CopyPropagation (was
dead code). See #2893.
|
|
|
|
|
|
|
|
| |
[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, 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 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 combinators rep1 and repN,
which covers all of them since the others go through those. Review by
rompf.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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 and xml literals. Closes
#2115. No review.
|
|
|
|
|
|
| |
Brought ShowPickler somewhat more up to date with the current pickler
format.
|
|
|
|
|
|
|
|
|
|
|
| |
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 adding grouped and sliding to
IterableLike. Closes #2837. Review by community.
|
|
|
|
|
| |
Review by dragos.
|
|
|
|
|
|
| |
Wrapped a buffered output stream around class file generation. This has
a nontrivial impact on total build time. Closes #2906.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 'PartialFunction' with '=>?'.
|
| |
|
|
|
|
|
|
|
| |
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 regressions with tests.
Review by dubochet.
|
| |
|
|
|
|
|
| |
Some optimizations to actor message queues and event handling.
|
|
|
|
|
|
|
|
| |
JavaConversions now include conversions between Java ConcurrentMap
objects and Scala ConcurrentMap objects.
review by odersky
|
| |
|
| |
|
|
|
|
|
|
| |
[scaladoc] Use cases are marked as such in the documentation (using some
changes in r20488). Review by odersky.
|
| |
|
|
|
|
|
| |
import synthetic locals from previous scopes.
|
|
|
|
|
| |
Added ConcurrentMap and Properties conversion classes and test.
|
|
|
|
|
|
| |
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 Martin
|
| |
|
| |
|
|
|
|
|
|
| |
Fixes #2755, but leaving open to analyze issue raised by Paul. review by
extempore.
|
| |
|
|
|
|
|
|
|
| |
closes #2421: more complete fix, now also check validity of inferred
type arguments for expressions inferred for implicit values review by
odersky
|
|
|
|
|
|
| |
examples of equality comparisons which are guaranteed to return false
because someone is not comparing what they think they're comparing.
|