| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
Unparsed Scala signature annotations are not added to the symbol table.
Review by dragos.
|
| |
|
|
|
|
|
|
| |
Tweaked help output a little further so -Y isn't visible except to those
who consider themselves advanced. No review.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Altered classpath behavior when no default is given. Now in that case
the contents of environment variable CLASSPATH will be used as the
scala user classpath, and only if that is not present will "." be used.
Be advised that there are still various "hand assembled" sorts of
classpaths in trunk, and there's not yet any way to ensure they honor
this; things which use the normal Settings object should do the right
thing. No review.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
While working on partest discovered that CompilerCommand ignores half
its constructor arguments and a couple dozen places blithely pass it
those arguments as if they're being used. Then there were setups like
this:
class OfflineCompilerCommand(
arguments: List[String],
settings: Settings,
error: String => Unit,
interactive: Boolean)
extends CompilerCommand(arguments, new Settings(error), error, false)
Hey offline compiler command, why throw away the perfectly good settings
you were given? Ever heard 'reduce, reuse, recycle'? How did you ever
work... or do you? No review.
|
|
|
|
|
|
| |
New scalacheck jar because recent Actor changes broke binary
compatibility. No review.
|
| |
|
| |
|
|
|
|
|
| |
Renamed Replyable* source files to the types they define. No review.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Apparently I can't fix a test case to save my life. No review.
|
|
|
|
|
|
| |
continuations plugin will now report a nice error message if it is not
enabled and encounters an @cps expression. review by rytz
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
method on Iterator called collect which I had to remove, because if
the method is overloaded it puts a bullet in the type inference, an
intolerable result for a function which takes a partial function as its
argument. I don't think there's much chance of confusion, but I put a
migration warning on collect just in case. No review.
|
|
|
|
|
|
|
|
|
|
|
| |
[scaladoc] Improved Scaladoc comment syntax, contributed by Pedro
Furlanetto.
- Wiki syntax supports nested, numbered and unnumbered lists;
- Wiki syntax supports links (entity links currently require fully qualified names);
- Stars no longer are mandatory to start comment lines.
Already reviewed by dubochet; no review.
|
|
|
|
|
|
| |
Fixed an issue with no-parameter-list methods not being elided. No
review.
|
| |
|
|
|
|
|
|
| |
Scala signature is generated as an annotation, second try. Review by
dragos.
|
|
|
|
|
|
|
| |
Reverted a presumably unintentional reincarnation of old predef (these
functions are in ScalaRunTime now.) Review by odersky just in case there
was a secret plan.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Removed ArgumentsExpander in favor of having all arguments parsed the
same way. No review.
|
| |
|
|
|
|
|
|
| |
Remedied accidental obscuring of -X, -Y, and -P in the standard help
output. No review.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
You know Cutty McPastington is having a good time when you can find this
logic in two different files:
('A' <= c && c <= 'Z') ||
('a' <= c && c <= 'a') ||
How could that possibly work, you might ask. After a series of ||s, the
last condition subsumes most of the previous ones:
Character.isUnicodeIdentifierStart(c)
thereby saving us from a world where the only legal lower case
identifiers are a, aa, aaa, aaaa, and a few others. No review.
|
| |
|
|
|
|
|
|
| |
Added some documentation to the methods in Predef which utilize
@elidable. No review.
|
|
|
|
|
|
| |
Although it was working fine, a test case for @elidable to make sure
that state of affairs continues. No review.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Scala signature is generated as an annotation (that is accessible
through Java reflection).
- compiler generates all pickled Scala signatures as annotations to class files.
- compiler can read class files with signature as annotations or old-style signatures as attributes.
- Scalap has also been updated to new signatures (contributed by Ilya Sergey: thanks a lot).
- FJBG updated to allow entering constant pool strings as byte arrays.
- ByteCodecs decode method returns the length of the decoded array.
Review by ilyas. Already mostly reviewed by odersky.
|
|
|
|
|
|
|
| |
You try to get away with one little line of uncompiled patch...
reverting last patch since I'm too tired to see why it broke the build.
No review.
|
|
|
|
|
|
|
| |
that can arise when return types of public facing methods are inferred.
We eventually need some mechanism to make such issues easier to avoid.
No review.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Went ahead and implemented classpaths as described in email to
scala-internals on the theory that at this point I must know what I'm
doing.
** PUBLIC SERVICE ANNOUNCEMENT **
If your code of whatever kind stopped working with this commit (most
likely the error is something like "object scala not found") you can get
it working again with either of:
passing -usejavacp on the command line
set system property "scala.usejavacp" to "true"
Either of these will alert scala that you want the java application
classpath to be utilized by scala as well.
Review by community.
|
|
|
|
|
|
|
|
| |
Noticed we still have a bunch of collection classes which are rather
lacking. Did some integration, added some companion objects. Not
thrilled with the overall picture in there, there's still a lot which
should be done. Updated a deprecation message, closes #3202. No review.
|
|
|
|
|
|
|
| |
Seq-derived classes. Creating GrowingBuilder to complement AddingBuilder
on classes with += but not +. Fixed some inconsistencies I came across
in the process. No review.
|
| |
|
| |
|