| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Refactored some of the code from r20624 thanks to Iulian's review.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
few more things, like literals (1.<tab>, "abc".<tab>). A completion
aware case class walker which leverages the names of the case fields for
completion. For instance:
:power
val x = new ProductCompletion(mkTree("def f(x: Int, y: Int) = f(5, 10) + f(10, 20)")
x.<tab>
mods name rhs tparams tpt vparamss
x.rhs.fun.<tab>
name qualifier
scala> x.rhs.fun.qualifier
res3: scala.tools.nsc.ast.Trees$Apply = f(5, 10)
|
| |
|
|
|
|
|
|
| |
Fixed a number of faulty Scaladoc comments in library and compiler
sources. No review.
|
|
|
|
|
|
| |
Access modifiers added for certain members and some refactoring in
Regex.
|
|
|
|
|
|
| |
Hack for the refined build manager to print info in a deterministic way.
No review.
|
| |
|
|
|
|
|
|
|
|
| |
Changed the info statements in refined build manager to print the
information in more consistent way, so that we can test it using
partest. Added more tests for build manager, more to follow... No
review.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Replacement in matching can now be done by providing function arguments
for replacement. Fixes #2761. Review by phaller.
|
|
|
|
|
|
| |
Use file paths for equality and hashCode to deal with mixed-type file
equality test issues in the IDE. Fixes #2931.
|
|
|
|
|
|
|
| |
[scaladoc] Classes `FunctionX`, `ProductX`, and `TupleX`, for `X`
greater than 2, are not listed. Contributed by Pedro Furlanetto, checked
by dubochet, no review.
|
| |
|
|
|
|
|
|
| |
Fixed #2497: replaceInstruction now uses reference equality. No review
necessary.
|
| |
|
|
|
|
|
| |
small improvements in building newlibs / newforkjoin. no review.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Added new target for partest for testing Build Manager behaviour.
Updated Refined Build Manager for consistency. --buildmanager requires
the test file that describes actions to be done on the refined build
manager (compiling files, making changes to the classes), sources of
changes, the check file and the initial scala source files. Cleaned up
some code in partest, refactored some obvious code duplication. Tests to
follow... Review by phaller.
|
|
|
|
|
|
|
| |
Fixed dead code elimination to satisfy YourKit's instrumentation: a drop
for a newly initialized object is always added after the constructor
call, instead of immediately after a DUP
|
| |
|
| |
|
|
|
|
|
|
| |
Some minor polishing to the previous repl completion patch, plus a few
new features and improvements.
|
|
|
|
|
|
|
|
|
|
|
|
| |
a proper commit message, I will just say it adds a couple of pretty
frabjous features, in addition to cleaning up a whole bunch of
questionable code.
* Tab-completion now chains through intermediate results on fields and 0-arg methods
* You can now define custom Completors which define their own contents.
Details and demos to come in a wiki document about the repl.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Eliminated a bug which was causing all repl lines to be parsed twice
* Removed reference to JLine from InterpreterLoop which was causing someone trouble in eclipse
* Enriched the repl compile/reflect mechanism to allow retrieving the value as well as the String describing it
* Utilized said enrichment to write an eval[T] method which is exposed in the repl in :power mode
* Added ability to turn off string unwrapping in repl: settings.unwrapStrings = false
* Created interface presently called Completion.Special which lets objects define their own contents
* As minor demonstration of above, in :power mode variable "repl" implements Special and completes with all repl identifiers
* As more interesting demonstration of above, try a repl session like...
import scala.tools.nsc.interpreter.Completion.Special import
scala.tools.nsc.io.Process
val connections = new Special { def tabCompletions() = Process("netstat -p tcp").toList drop 2 map (_ split "\\s+" apply 4) }
connections.<tab>
Review by community!
|
|
|
|
|
| |
Moved test case for just-reverted patch to pending. No review.
|
| |
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Renamed new bin directory to "tools" to avoid conflict with Eclipse
incremental build output directory.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Bringing README up to date and filling in some of the info gaps. Review
by cunei.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Took a slightly different tack on parsing the svn version. No review.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|