summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Removed leftovers of r20857, added test for #3045Hubert Plociniczak2010-02-113-0/+11
|
* Fixes #3045. No review.Hubert Plociniczak2010-02-101-1/+1
|
* Disabled failing test. Review by plocinic.Paul Phillips2010-02-107-0/+0
|
* More work on classpaths.Paul Phillips2010-02-1017-350/+349
| | | | | | | | 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 a...Philipp Haller2010-02-101-3/+3
| | | | | | partest no longer treats remaining .log files as tests. No review necessary.
* Closes #2651Hubert Plociniczak2010-02-1021-12/+111
|
* close #2984. review by community.Lukas Rytz2010-02-102-11/+16
|
* modified typing of while loops to allow other t...Tiark Rompf2010-02-101-6/+21
| | | | | | modified typing of while loops to allow other types than Unit (e.g. Unit @cps). review by odersky.
* fixes #3046Aleksandar Pokopec2010-02-101-1/+1
|
* close #3003. no review, already done by dragos.Lukas Rytz2010-02-104-2/+19
|
* Fixed partially specialized classes.Iulian Dragos2010-02-093-4/+18
|
* some small byval mode changes. review by odersky.Tiark Rompf2010-02-091-8/+11
|
* No double-processing format strings.Paul Phillips2010-02-091-1/+1
|
* `replaceSomeIn` method added.Aleksandar Pokopec2010-02-092-19/+14
|
* Compiler part of fix for #2767: provide hooks t...Miles Sabin2010-02-094-4/+30
| | | | | | | 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.
* Export missing package.Miles Sabin2010-02-091-0/+1
|
* Until now directories on the classpath were not...Paul Phillips2010-02-081-25/+58
| | | | | | | | | | | | | 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.
* Some work on classpaths.Paul Phillips2010-02-0822-374/+585
| | | | | | | | | | | | | | | | | | | | | | | | 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 ...Gilles Dubochet2010-02-085-19/+54
| | | | | | | | [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 Scal...Gilles Dubochet2010-02-0812-128/+510
| | | | | | | | | | | [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.Fut...Philipp Haller2010-02-081-0/+3
| | | | | Re-added deprecated member to scala.actors.Future. No review necessary.
* fix msil build (nested classes in particular).Lukas Rytz2010-02-083-11/+23
|
* IntelliJ project metadata updated for new locat...Miles Sabin2010-02-079-1180/+1098
| | | | | | IntelliJ project metadata updated for new location. Thanks to Tony Coates for the patch.
* Some code duplication removal as I inch us towa...Paul Phillips2010-02-074-70/+26
| | | | | | Some code duplication removal as I inch us toward consistent classpath handling. No review.
* A more MSIL-aware attempt at isolating the plat...Paul Phillips2010-02-0610-138/+229
| | | | | | | | 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.
* testdata changedilyas2010-02-051-4/+4
|
* scalap output bug fixedilyas2010-02-051-1/+1
|
* Discovered that List's deprecated removeDuplica...Paul Phillips2010-02-051-0/+3
| | | | | | Discovered that List's deprecated removeDuplicates didn't survive the renaming of unique to distinct. No review.
* some scalap tweaksilyas2010-02-054-25/+34
|
* [scaladoc] Fixed issue with failing Windows build.Gilles Dubochet2010-02-051-1/+1
|
* Taking a swing at fixing -optimise. No review.Paul Phillips2010-02-042-8/+2
|
* fixed previous commit. No review.Tiark Rompf2010-02-041-4/+4
|
* Made a whole WithFilter class for Option after ...Paul Phillips2010-02-041-0/+17
| | | | | | | | | | | | | 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 fo...Tiark Rompf2010-02-043-32/+71
| | | | | | Added byval mode and annotation checker hook for weak lub. Review by odersky.
* Raised the level of abstraction (slightly, not ...Paul Phillips2010-02-045-79/+72
| | | | | | | | | 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 f...Paul Phillips2010-02-046-17/+29
| | | | | | 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 th...Philipp Haller2010-02-045-74/+120
| | | | | | Fixed issue in partest where result of tests that timed out was not printed. Improved reporting. Added support for JUnit report files.
* Some minor cleanups in reflect.Paul Phillips2010-02-045-29/+31
| | | | | | into the compiler so Traversers can define whatever apply is relevant to them. No review.
* The remainder of isolating MSIL from the rest o...Paul Phillips2010-02-046-195/+211
| | | | | | | | | 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 commit...Paul Phillips2010-02-0423-34/+31
| | | | | | 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 bei...Paul Phillips2010-02-043-23/+22
| | | | | | | 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 in...Paul Phillips2010-02-035-65/+58
| | | | | | | | | | | | 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 depend...Paul Phillips2010-02-032-82/+94
| | | | | | 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 gene...Iulian Dragos2010-02-031-0/+1
| | | | | | Preserve source order for class members in generated bytecode. No review necessary.
* Fixed XML Utility.escape method to conform to X...David Pollak2010-02-031-5/+23
| | | | | Fixed XML Utility.escape method to conform to XML spec. Closes #3014
* Striking while the iron is hot, renamed removeD...Paul Phillips2010-02-0322-28/+31
| | | | | | | | | 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 paramet...Gilles Dubochet2010-02-038-51/+102
| | | | | | | | | [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 re...Paul Phillips2010-02-032-0/+15
| | | | | | Made sliding/grouped throw an exception when read past the end. Closes #3017.
* Fixes the problem mentioned in #2882, which see...Hubert Plociniczak2010-02-035-5/+9
| | | | | 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 ve...Paul Phillips2010-02-021-36/+22
| | | | | | | | 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.