summaryrefslogtreecommitdiff
path: root/src/library/scala/compat/Platform.scala
Commit message (Collapse)AuthorAgeFilesLines
* Use System.lineSeparator, rather than sys.propsJason Zaugg2016-03-291-2/+1
|
* ScalaDoc fixes for library and library-auxJanek Bogucki2015-07-281-1/+1
|
* cleanup @throws tags in library and reflectAntoine Gourlay2014-11-051-7/+7
| | | | | - there is no need for explicit links with [[ and ]] - there is no need for explicit backquoting
* Absolutized paths involving the scala package.Paul Phillips2013-05-031-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Confusing, now-it-happens now-it-doesn't mysteries lurk in the darkness. When scala packages are declared like this: package scala.collection.mutable Then paths relative to scala can easily be broken via the unlucky presence of an empty (or nonempty) directory. Example: // a.scala package scala.foo class Bar { new util.Random } % scalac ./a.scala % mkdir util % scalac ./a.scala ./a.scala:4: error: type Random is not a member of package util new util.Random ^ one error found There are two ways to play defense against this: - don't use relative paths; okay sometimes, less so others - don't "opt out" of the scala package This commit mostly pursues the latter, with occasional doses of the former. I created a scratch directory containing these empty directories: actors annotation ant api asm beans cmd collection compat concurrent control convert docutil dtd duration event factory forkjoin generic hashing immutable impl include internal io logging macros man1 matching math meta model mutable nsc parallel parsing partest persistent process pull ref reflect reify remote runtime scalap scheduler script swing sys text threadpool tools transform unchecked util xml I stopped when I could compile the main src directories even with all those empties on my classpath.
* Brings all copyrights (in comments) up-to-date, from 2011/12 to 2013Heather Miller2012-11-021-1/+1
|
* More relative path elimination.Paul Phillips2012-09-151-1/+1
| | | | | | | | | | | | | | | | Some names I missed in 55b609458fd . How one might know when one is done: mkdir scratch && cd scratch mkdir annotation beans collection compat concurrent io \ math parallel ref reflect runtime scala sys testing \ text tools util xml scalac $(find ../src/library -name '*.scala') Until recently that would fail with about a billion errors. When it compiles, that's when you're done. And that's where this commit takes us, for src/library at least.
* Improved API documentation for scala.compat.Pla...Heather Miller2011-09-181-8/+68
| | | | | | Improved API documentation for scala.compat.Platform. Contributed by Matthew Farwell during the September doc spree.
* I wrote a warning when nullary methods return U...Paul Phillips2011-04-281-1/+1
| | | | | | | | | | | | | | | 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.
* Updated copyright notices to 2011Antonio Cunei2011-01-201-1/+1
|
* [docs] Documentation updates contributed throug...Gilles Dubochet2010-07-281-7/+17
| | | | | [docs] Documentation updates contributed through Colladoc. No review.
* [docs] The first comment contributed using Petr...Gilles Dubochet2010-07-211-0/+5
| | | | | [docs] The first comment contributed using Petr Hošek's Colladoc.
* Removed more than 3400 svn '$Id' keywords and r...Antonio Cunei2010-05-121-1/+0
| | | | | Removed more than 3400 svn '$Id' keywords and related junk.
* Some much needed housecleaning regarding system...Paul Phillips2010-02-231-1/+1
| | | | | | | | | 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.
* Updated copyright notices to 2010Antonio Cunei2009-12-071-1/+1
|
* fix cyclic reference errors in scaladoc.Lukas Rytz2009-11-041-1/+0
|
* Made Platform methods inlineable and allow the ...Iulian Dragos2009-10-211-0/+7
| | | | | | 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...Paul Phillips2009-05-061-6/+1
| | | | | Removed java 1.4 charset workaround and a stray 1.4 mention.
* Updated copyright notices to 2009Antonio Cunei2009-01-091-1/+1
|
* New reorg planGeoffrey Washburn2008-04-071-0/+60
|
* The great library reorg!Geoffrey Washburn2008-04-041-60/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* fixed #713michelou2008-04-021-5/+4
|
* Added a method to give you the default characte...Geoffrey Washburn2008-03-061-0/+7
| | | | | | Added a method to give you the default character set encoding as a String.
* dual mode (generics or not) version of compiler...Martin Odersky2007-12-191-2/+2
| | | | | dual mode (generics or not) version of compiler and libraries
* Made mutable.{Set, BitSet} platform-independentmihaylov2007-05-011-0/+3
|
* Removed implicit use of any java.lang classes f...mihaylov2007-03-261-1/+1
| | | | | Removed implicit use of any java.lang classes from the library
* updated scaladoc commentsmichelou2007-02-251-4/+18
|
* Merged the dotnet-scala branchmihaylov2007-02-061-4/+1
|
* Minor portability fix in BoxedObjectArraymihaylov2006-11-191-7/+7
|
* - added runtime.RichException with a getStackTr...mihaylov2006-11-021-16/+0
| | | | | | | - added runtime.RichException with a getStackTraceString method (the - .NET version will be more extensive) added a split(c: Char) method to - RichString
* Committed my original version of RichCharmihaylov2006-11-011-1/+0
|
* Refactored portability supportmihaylov2006-11-011-21/+12
|
* Mapped Java exceptions via scala.compat.Platformmihaylov2006-10-241-0/+13
|
* Made some test cases platform-independentmihaylov2006-10-101-0/+17
|
* Moved scala.runtime.compat to scala.compatmihaylov2006-10-081-0/+36