| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
to have command line options following source files, at the price of
temporarily breaking tools/pathResolver. Working my way through all the
usages of classpath in trunk zeroing in on fully consistent handling.
Review by community.
|
|
|
|
|
|
| |
partest no longer treats remaining .log files as tests. No review
necessary.
|
| |
|
| |
|
|
|
|
|
|
| |
modified typing of while loops to allow other types than Unit (e.g. Unit
@cps). review by odersky.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Compiler part of fix for #2767: provide hooks to allow the presentation
compiler to add sources to the run to resolve top-level symbols which
cannot be found via the Java naming convention. Review by odersky.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Until now directories on the classpath were not considered for repl
completion because of the risk of accidentally traversing large chunks
of the filesystem (e.g. "." in the path, run from /). Some low hanging
fruit was available - at least SCALA_HOME can be considered safe, and
then we get the scala classes.
The main impact of this is that completion now works for the built-in
classes when you run build/quick/bin/scala. Review by community.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
at https://lampsvn.epfl.ch/trac/scala/wiki/Classpath modulo some minor
details which remain to be investigated. It is not entirely integrated,
and should not involve any behavioral changes. The patch also contains a
number of small improvements targetting widely duplicated code.
PathResolver offers a main method. If run with no arguments it will
output a pile of information about classpath relevant environment vars
and properties. If given arguments, it will output the classpath info
that any scala runner script would use if given the same args. There is
a wrapper in the tools directory. Example:
tools/pathResolver -extdirs /foo -sourcepath /bar | egrep
"sourcePath|scalaExtDirs"
scalaExtDirs = /foo
sourcePath = /bar
There is also a (probably temporary) command line option -Ylog-classpath
which will print out the settings.classpath value anytime it changes.
Review by community.
|
|
|
|
|
|
|
|
| |
[scaladoc] Fully qualified names are displayed in tooltips instead of
using in-place growth. All inherited members can be filtered in a single
operation. Contributed by Pedro Furlanetto, checked by dubochet, no
review.
|
|
|
|
|
|
|
|
|
|
|
| |
[scaladoc] Many improvements in the UI for Scaladoc's entity index
(left-pane):
- It is possible to "focus" on a package to restrict searches on it.
- Filtering in left pane no longer blocks the UI.
- The filter tool for packages is easily recognizable for what it is, not just an empty, mysterious space.
Review by community.
|
|
|
|
|
| |
Re-added deprecated member to scala.actors.Future. No review necessary.
|
| |
|
|
|
|
|
|
| |
IntelliJ project metadata updated for new location. Thanks to Tony
Coates for the patch.
|
|
|
|
|
|
| |
Some code duplication removal as I inch us toward consistent classpath
handling. No review.
|
|
|
|
|
|
|
|
| |
A more MSIL-aware attempt at isolating the platform dependent pieces
of Global and ClassPath so we don't introduce unwanted dependencies.
Introduces a small interface backend.Platform which encapsulates that
data. Review by rytz, odersky.
|
| |
|
| |
|
|
|
|
|
|
| |
Discovered that List's deprecated removeDuplicates didn't survive the
renaming of unique to distinct. No review.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Made a whole WithFilter class for Option after discovering this bug:
scala> def f(x: AnyRef) = for (p <- Option(x)) yield p
f: (x: AnyRef)Option[AnyRef]
scala> def f(x: AnyRef) = for (p <- Option(x) ; if true) yield p
f: (x: AnyRef)Iterable[AnyRef]
The for comprehension logic apparently prefers to convert Option to
Iterable to get at the withFilter method over using Option's filter.
|
|
|
|
|
|
| |
Added byval mode and annotation checker hook for weak lub. Review by
odersky.
|
|
|
|
|
|
|
|
|
| |
Raised the level of abstraction (slightly, not enough) on ClassPath by
defining the difference between optimized and regular classpaths in
terms of an arbitrary name filter instead of in terms of settings.XO.
Altered the decision logic to look at the value of -Yinline instead of
-optimise. Closes #2950. Review by rytz.
|
|
|
|
|
|
| |
Some hardening in the repl, and removing some functions which now exist
in the standard library. No review.
|
|
|
|
|
|
| |
Fixed issue in partest where result of tests that timed out was not
printed. Improved reporting. Added support for JUnit report files.
|
|
|
|
|
|
| |
into the compiler so Traversers can define whatever apply is relevant to
them. No review.
|
|
|
|
|
|
|
|
|
| |
The remainder of isolating MSIL from the rest of the classpath code. To
accomplish this I made ClassRep an inner class of ClassPath (which given
the broad definition of ClassPath already in place, it conceptually is
already) and as a bonus this allowed dropping its type parameter. Review
by rytz.
|
|
|
|
|
|
| |
Unique's seeming victory is overruled by committee. It is "distinct",
not "unique", wherein lies the nub. No review.
|
|
|
|
|
|
|
| |
Noticed that all the system properties were being read into vals so they
didn't notice changes. Determined this was not correct, and changed them
into defs. No review.
|
|
|
|
|
|
|
|
|
|
|
|
| |
A big push to make the interpreter easier to instantiate without having
to dodge bullets. It shouldn't have to be any harder than this:
scala> new scala.tools.nsc.Interpreter().evalExpr[Int]("5*5")
res0: Int = 25
...and now it isn't. Review by community.
|
|
|
|
|
|
| |
Created MSILGlobal to start breaking the dependency on msil.jar for
those platforms which don't use msil. Review by rytz.
|
|
|
|
|
|
| |
Preserve source order for class members in generated bytecode. No review
necessary.
|
|
|
|
|
| |
Fixed XML Utility.escape method to conform to XML spec. Closes #3014
|
|
|
|
|
|
|
|
|
| |
Striking while the iron is hot, renamed removeDuplicates to unique and
deprecated removeDuplicates. The debate between distinct and unique was
vigorous but unique won by a freckle. (Dark horse 'nub' was disqualified
for taking performance enhancers.) The only thing which might need
review is the choice of name, but review by odersky.
|
|
|
|
|
|
|
|
|
| |
[scaladoc] Optional link to source (set parameter "-doc-source-url").
Support for commenting packages (using package objects). Contributed by
Perdo Furlanetto. Also: small performance improvements, short comment
extraction is more robust (but no HTML tags allowed in first sentence),
small code clean-ups. Checked by dubochet, no review.
|
|
|
|
|
|
| |
Made sliding/grouped throw an exception when read past the end. Closes
#3017.
|
|
|
|
|
| |
Fixes the problem mentioned in #2882, which seems to be the reason for #2280 - allow simple ananlysis on java sources. Review by dragos
|
|
|
|
|
|
|
|
| |
It was pointed out that sorted and the 1-arg version of sortWith are the
same method, one with implicit argument, one without. Since sortWith has
never exist in a release, we can un-overload it (which is a win anyway)
and route everything through sorted. Review by moors.
|