| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Improved API documentation for scala.compat.Platform. Contributed by
Matthew Farwell during the September doc spree.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I wrote a warning when nullary methods return Unit. I wimped out of
including it in this patch because we had about 200 of them, and that's
what is fixed in this patch. I will add the warning to some kind of
"-Xlint" feature after 2.9.
This is motivated at least partly by the resolution of #4506, which
indicates the distinction between "def foo()" and "def foo" will
continue to jab its pointy stick into our eyes, so I believe we have a
minimal duty of at least following our own advice about what they mean
and not making a semirandom choice as to whether a method has parens or
not. Review by community.
|
| |
|
|
|
|
|
| |
[docs] Documentation updates contributed through Colladoc. No review.
|
|
|
|
|
| |
[docs] The first comment contributed using Petr Hošek's Colladoc.
|
|
|
|
|
| |
Removed more than 3400 svn '$Id' keywords and related junk.
|
|
|
|
|
|
|
|
|
| |
Some much needed housecleaning regarding system properties. If you can
possibly resist the temptation, it'd be great if people could try to
go through the properties classes to get and set them, and also to set
property values somewhere fixed rather than using strings directly.
Review by community.
|
| |
|
| |
|
|
|
|
|
|
| |
Made Platform methods inlineable and allow the optimiser to load code
for methods that have the @inline attribute
|
|
|
|
|
| |
Removed java 1.4 charset workaround and a stray 1.4 mention.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The standard library will now be laid out approximately like this
library/scala
/jvm/scala
/jvm/jvm1.4/scala
/jvm/jvm1.5/scala
/jvm/android/scala
/jvm/cldc/scala
/dotnet/scala
To build the standard library for a given target you start by copying
the root library/scala tree to a staging area, then move down in the
hierarchy copying the nested "scala" trees on top in the staging area.
So if you wanted to build for cldc, for example, you would do something
like the following:
rsync -avz library/scala staging/
rsync -avz library/scala/jvm/scala staging/
rsync -avz library/scala/jvm/cldc/scala staging/
The ant build files will be updated to do this for you automagically,
and there will soon be shell script to do this if you want to compile
some parts of the standard library manually.
|
| |
|
|
|
|
|
|
| |
Added a method to give you the default character set encoding as a
String.
|
| |
|
| |
|
|
|
|
|
| |
dual mode (generics or not) version of compiler and libraries
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added rich string builder (a random access sequence, mutable buffer).
Fleshed out compat.StringBuilder some more to support this.
Rolled back buffered iterator to its simple "head" method form,
added advanced buffer iterator for multi-lookahead peak (call
buffered.advanced for advanced version)
Made string a random access seq. Deprecated utility fromString
methods for strings that no longer make sense (better alternatives in
RichString). Also, ensured that many seq operations return strings.
Changed deprecated accesses from XML library.
Made Stream a sub-class of Seq.Projection rather than a direct subclass
of Seq to support the lazy nature of Seq.
Deprecated type aliases in Predef, deprecated direct access to Integer
through Predef.
Added to to Range.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Deprecated scala.compat.Math and move some members to scala.Math and scala.runtime.Rich{Float,Double}
|
|
|
|
|
| |
Removed implicit use of any java.lang classes from the library
|
| |
|
| |
|
|
|
|
|
|
| |
Added values for floating point NaN, Infinity, Min, Max, Eps to
scala.compat.Math
|
| |
|
|
|
|
|
|
|
| |
- added runtime.RichException with a getStackTraceString method (the
- .NET version will be more extensive) added a split(c: Char) method to
- RichString
|
| |
|
| |
|
| |
|
| |
|
|
|