| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
completion is now avilable, with some caveats. Review by community.
|
|
|
|
|
| |
suppresses generation of manifests for abstract type members.
|
|
|
|
|
|
|
|
| |
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 reflect.) We don't have
to @deprecate it since it's never been in a released version. No review.
|
| |
|
|
|
|
|
|
| |
lifted out core compiler data structures into reflect.generic package.
Made Unpickler work on generic data.
|
| |
|
|
|
|
|
| |
Seq[Node]" means never having to meet your base case. No review.
|
|
|
|
|
|
| |
Solidified the logic of stringOf for repl results printing. Closes #726.
Review by community.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
name mangling and forwarders, in which case review away.
|
|
|
|
|
|
|
|
| |
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 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: some basic conveniences
for directories and sockets, and some cleanups in CompileSocket. Review
by community.
|
|
|
|
|
|
|
| |
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 types where necessary. Closes
#2838. No review.
|
|
|
|
|
| |
new starr to bag performance improvements and fixes to companion objects
|
| |
|
|
|
|
|
|
|
|
|
| |
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 match blocks differently for
debugging purposes. No review.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
[scaladoc] In HTML documentation, `@return` tag is printed also when
there is no `@param` tag present. No review.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
|
| |
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 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.)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|