summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Some new tools for the tools directory.Paul Phillips2010-02-154-9/+40
| | | | | | | | | | | | | | | | | | | | | amounts to a yak shaving expedition to enable this, which now works: tools/diffPickled scala.Either and since stability is presently broken you will see the following. (When it's not broken you will see nothing.) 541,544c541,544 < 538,4090: EXTref 3: 539(Left) 2 < 539,4095: TYPEname 4: Left < 540,4101: EXTref 3: 541(Right) 2 < 541,4106: TYPEname 5: Right --- > 538,4090: EXTref 3: 539(Right) 2 > 539,4095: TYPEname 5: Right > 540,4102: EXTref 3: 541(Left) 2 > 541,4107: TYPEname 4: Left
* Fix for the out-of-date showpickled. No review.Paul Phillips2010-02-151-1/+1
|
* Merge branch 'fix-specialized'Iulian Dragos2010-02-153-19/+37
|
* Restored the disabled exception in classfilepar...Paul Phillips2010-02-152-6/+12
| | | | | | | Restored the disabled exception in classfileparser. Strange quick behavior was being caused by multiple occurrences of some classpath elements. No review.
* More classpath work, and cleanups in the vicini...Paul Phillips2010-02-1415-267/+246
| | | | | | | More classpath work, and cleanups in the vicinities of everything manipulating classpaths. Review by anyone willing to slog through the approximately dozen different ways the classpath can be influenced.
* Added some error logic so if #2956 strikes agai...Paul Phillips2010-02-141-6/+7
| | | | | | Added some error logic so if #2956 strikes again we'll have a better idea why. No review.
* Reducing the amount of low-level classpath mani...Paul Phillips2010-02-149-47/+64
| | | | | | Reducing the amount of low-level classpath manipulation going on around town. No review.
* Some change to classpath handling in r20866 has...Paul Phillips2010-02-141-4/+2
| | | | | | | | | | | Some change to classpath handling in r20866 has left quick in a condition where it won't load Array. After a fair bit of beating my head against the wall as to why, I determined that everything works if I simply don't throw the exception it used to throw. In the short term I am committing this so quick works, and I will continue the investigation. Review by dragos (2 line patch to minimize reviewer burden.)
* [scaladoc] Added "display packages only" filter...Gilles Dubochet2010-02-122-3/+61
| | | | | | [scaladoc] Added "display packages only" filter to entity index. No review.
* Fixes #3046 once more. No review is necessary.Aleksandar Pokopec2010-02-121-1/+1
|
* [scaladoc] Fixes for IE 8 compatibility.Gilles Dubochet2010-02-125-20/+31
|
* The non-intrusive bits of my hopefully pending ...Paul Phillips2010-02-112-22/+17
| | | | | | | | | | | | The non-intrusive bits of my hopefully pending "use the static type of the scrutinee to rule out some type/extractor patterns" patch. Includes a cleanup of the (still inadequate) type-parameter-ignoring match test which had been interfering with martin's digestion. Also: implicit search is disabled when typing a pattern, because the matcher never invokes implicits to satisfy a pattern. At worst maybe we'll get a performance bump. No review.
* added annotation checker hook for Types.isWithi...Tiark Rompf2010-02-112-1/+13
| | | | | | | added annotation checker hook for Types.isWithinBounds. needed to allow functions of type T => A @cps[B,C] even though A @cps[B,C] is not a subtype of Any. review by odersky.
* More work on classpaths.Paul Phillips2010-02-1112-176/+139
| | | | | | | | | which we must have no test cases at all. In the short term there will probably be a few more minor disruptions since with classpaths constructed a half dozen different ways, achieving consistency requires flushing out the undocumented accidents upon which any given island might depend. Review by community.
* [scaladoc] Fixed popup content lookup so that i...Gilles Dubochet2010-02-115-140/+146
| | | | | | | | [scaladoc] Fixed popup content lookup so that it works on all browsers. Speed-up in entity index search (according to jQuery manual, observed no notable difference). Some small aesthetic cleanups in the way index initialization and filtering behaves. No review.
* Trying to get when "." is added to the classpat...Paul Phillips2010-02-111-0/+2
| | | | | | Trying to get when "." is added to the classpath under control. Band-aid for an obscure bit of fallout closes #3049. No review.
* Fixes #3045. No review.Hubert Plociniczak2010-02-101-1/+1
|
* 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-101-12/+23
|
* close #2984. review by community.Lukas Rytz2010-02-101-11/+11
|
* 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-101-2/+6
|
* Fixed partially specialized classes.Iulian Dragos2010-02-091-4/+12
|
* 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-091-14/+8
|
* 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.
* 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-0821-374/+581
| | | | | | | | | | | | | | | | | | | | | | | | 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-082-10/+22
|
* 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.
* 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-052-22/+31
|
* [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.