summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Took a swing at sorting out sorting.Paul Phillips2010-02-0214-36/+48
| | | | | | | | | | | | rewriting the Sorting methods to accept Orderings and adding a sorted method to SeqLike, because we should all be pretty tired of writing ".sortWith(_ < _)" by now. I think it should be called "sort", not "sorted", but that refuses to coexist gracefully with the deprecated sort in List. Review by moors (chosen pretty arbitrarily, someone at epfl should review it but I don't know who deserves the nomination.)
* Hid some AST nodes from the prying eyes of refl...Paul Phillips2010-02-023-79/+71
| | | | | | | | | Hid some AST nodes from the prying eyes of reflectors. Now Parens, AssignOrNamedArg, and DocDef are known only to scalac. Also some cosmetic arranging in the new reflect.generic package, because there's never a better time than when the code is still warm from the compiler. Review by odersky.
* Correctly check annotated types.Hubert Plociniczak2010-02-024-8/+15
|
* Closes #3009.Philipp Haller2010-02-023-11/+62
|
* Fixed tests. No review.Hubert Plociniczak2010-02-022-2/+2
|
* Cleaned up the code slightly. No review.Hubert Plociniczak2010-02-021-5/+5
|
* Continuing the fine work creating an abstract i...Paul Phillips2010-02-012-151/+171
| | | | | | | Continuing the fine work creating an abstract interface to the compiler in scala.reflect.generic, promoted Trees#Traverser and made the associated changes. Review by odersky.
* Quite a lot more work on completion.Paul Phillips2010-02-019-93/+270
| | | | | completion is now avilable, with some caveats. Review by community.
* suppresses generation of manifests for abstract...Martin Odersky2010-02-013-4/+11
| | | | | suppresses generation of manifests for abstract type members.
* Exclude anonymous function classes from the def...Hubert Plociniczak2010-02-017-4/+33
| | | | | | | | Exclude anonymous function classes from the definitions in dependency analysis. This was causing spurious errors in for example Global.scala and Interpreter.scala because of fresh names numbering. Also cleanup up some code. No review.
* Removed scala.util.NameTransformer (it moved to...Paul Phillips2010-02-0112-167/+11
| | | | | | Removed scala.util.NameTransformer (it moved to reflect.) We don't have to @deprecate it since it's never been in a released version. No review.
* missing bits of r20746.Martin Odersky2010-02-0134-846/+112
|
* lifted out core compiler data structures into r...Martin Odersky2010-02-0157-1479/+3081
| | | | | | lifted out core compiler data structures into reflect.generic package. Made Unpickler work on generic data.
* Check recursively the type aliases.Hubert Plociniczak2010-02-016-1/+33
|
* Unbroke the build.Paul Phillips2010-02-011-1/+4
| | | | | Seq[Node]" means never having to meet your base case. No review.
* Solidified the logic of stringOf for repl resul...Paul Phillips2010-01-311-8/+6
| | | | | | Solidified the logic of stringOf for repl results printing. Closes #726. Review by community.
* Great moments in typos: somehow the "decodeUni"...Paul Phillips2010-01-312-2/+1
| | | | | | | | Great moments in typos: somehow the "decodeUni" in CharArrayReader had transmogrified into "decodeUnit" in UnitScanner, thus causing -Xno-uescape to be ignored. Also, removed a now unused -X option. Review by community.
* Band-aid for #3004.Paul Phillips2010-01-311-2/+7
| | | | | name mangling and forwarders, in which case review away.
* Better test for checking existential types, whe...Hubert Plociniczak2010-01-304-1/+27
| | | | | | | | Better test for checking existential types, where symbols not necessarily have the same name. Added test for that. The problem manifested itself in Globals.scala for variable classpath causing execissive compilation without any reason. No review.
* A compact tree printer, for primitives like mys...Paul Phillips2010-01-3012-208/+353
| | | | | | | | | A compact tree printer, for primitives like myself who do all their debugging in the console and need extraneous information filtered out. New option: -Ycompact-trees. Supply that in conjunction with -Xprint:all and suddenly the output is a (relative) masterpiece of concision. Review by anyone who is game to review such a thing. Community?
* A few compiler IO lib bits I have been needing:...Paul Phillips2010-01-294-32/+61
| | | | | | | A few compiler IO lib bits I have been needing: some basic conveniences for directories and sockets, and some cleanups in CompileSocket. Review by community.
* Implemented rompf's suggested improvement to th...Paul Phillips2010-01-291-5/+11
| | | | | | | Implemented rompf's suggested improvement to the tail recursive combinators, avoiding re-evaluation of by-name argument. Score one for code review. No review. (Ironic.)
* Added hashCode implementations to Manifest type...Paul Phillips2010-01-292-0/+7
| | | | | | Added hashCode implementations to Manifest types where necessary. Closes #2838. No review.
* new starr to bag performance improvements and f...Martin Odersky2010-01-293-3/+3
| | | | | new starr to bag performance improvements and fixes to companion objects
* Closes #2650.Hubert Plociniczak2010-01-2917-0/+87
|
* I'm sure I'm not the only one driven into parox...Paul Phillips2010-01-291-5/+98
| | | | | | | | | I'm sure I'm not the only one driven into paroxysms of annoyance at the fact that repl transcripts are not at all usable in the repl. No longer: now you can paste a transcript into the repl and it will automatically detect it as such, clean it up and replay it. It is triggered by the "scala> " on the first line of the transcript. Review by community.
* Added a command line option for desugaring matc...Paul Phillips2010-01-283-1/+37
| | | | | | Added a command line option for desugaring match blocks differently for debugging purposes. No review.
* Added :search to power mode for finding classes...Paul Phillips2010-01-282-19/+86
| | | | | | | | | | | | | Added :search to power mode for finding classes on the classpath by regular expression, plus a bunch of compiler hacker convenience methods to the repl. Now after :power you can: mkContext() // Context mkUnit("class Q") // CompilationUnit mkTypedTree("class A { val x = 5 }") // Tree after phase typer mkType("java.util.Map") // Type object ... and many more. No review.
* Removing defaultGetter field from TermSymbols.Lukas Rytz2010-01-289-29/+45
|
* [scaladoc] In HTML documentation, `@return` tag...Gilles Dubochet2010-01-281-2/+4
| | | | | | [scaladoc] In HTML documentation, `@return` tag is printed also when there is no `@param` tag present. No review.
* [scaladoc] Comment parsing is improved:Gilles Dubochet2010-01-284-46/+87
| | | | | | | | | * tags in code blocks no longer confuse the parser; * `@note` and `@example` are recognised tags; * Empty comments no longer generate "must start with a sentence" warnings; * `@usecase` parsing works better in some situations with blank comment lines above or below. No review.
* close #2886 (applied patch). no reviewLukas Rytz2010-01-283-0/+11
|
* Moved some test cases from pending to files sin...Paul Phillips2010-01-2810-32/+0
| | | | | | | | Moved some test cases from pending to files since the bugs they were watching for seem to be fixed. Moved some other test cases from pending to disabled because they deceptively claim to pass while investigation reveals the ticket needs to remain open. Closes #1996, #2660.
* One of those "$.05 for the bolt, $50,000 for kn...Paul Phillips2010-01-287-37/+42
| | | | | | | | | One of those "$.05 for the bolt, $50,000 for knowing where to put it" commits. Closes #425, #816, #2310, #2691. All credit for this patch goes to me for having the genius to know when new eyes were needed (although if you're feeling generous some could also go to walter korman for the actual debugging and code writing part.)
* Some hardening of repl generated code. No review.Paul Phillips2010-01-271-5/+6
|
* Fix for #2563. Review by mharrah.Paul Phillips2010-01-271-10/+9
|
* now correctly fix #2868. no reviewLukas Rytz2010-01-275-20/+42
|
* Forgot to commit the change. No review.Hubert Plociniczak2010-01-271-0/+2
|
* Closes #2966. Review by milessabin.Hubert Plociniczak2010-01-273-7/+14
|
* reverting r20688 for now, no reviewLukas Rytz2010-01-275-41/+19
|