Nothing and Null with improved documentation of their particulars and
convinced scaladoc to parse them without leaving scalac institutionalized.
Now rather than seeing our hardcoded documentation strings bitrot in a
shadowy flight from classes which do not exist, we are championing the cause
of the innocent and powerless. Nothing and Null aren't above the law!
So now any responsible party can fire up their text editor and go to
town on Nothing.scala. As I'm sure they will. Review by malayeri.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@24702 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
into bash where it's at least somewhat less painful. Made
it more flexible for easy use in more places since we presently
have all kinds of revision figuring logic variations in other
build files (sbaz, installer, scala-documentation, scala-tool-support,
etc.) No review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@23604 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
I avoided creating any dependency on yourkit. In addition, there
was no way to give arguments to the JVM without losing the ones
defined in ANT_OPTS, which has been a massive pain for a while.
So there is now "jvm.opts" which is simply appended to ANT_OPTS, e.g.
% ant -Djvm.opts=-verbose
[echo] Forking with JVM opts: -Xms1536M -Xmx2g -Xss1M -XX:MaxPermSize=192M -XX:+UseParallelGC -verbose
There is a minimal stub defining a profiler interface:
scala.tools.util.Profiling
Then the yourkit wrapper implements that interface. Once your
locker has been rebuilt once, you can do this:
ant yourkit.run
And it will build quick.lib/comp with profiling enabled, assuming
it can find the necessary files. See the yourkit.init target for
values to change: or ant -Dyourkit.home=/path/to/it might be enough.
Review by dragos.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@23528 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
been ignoring their painstakingly set classpaths and using whatever
they can find in the vicinity of the scala script, which works OK
for pack but not so well for quick.
I also added a build.xml feature so you can drop jars into a dir and
have them automatically used everywhere. The directory is lib/extra.
Pro tip: add lib/extra to .gitignore and put jars like
yjp-controller-api-redist.jar in there.
Closes#3706, no review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@23523 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
Log file is printed now right away if:
- test fails due to an exception thrown in the a test
- test fails due to a ScalaCheck test fail
- test fails due to compiler errors in ScalaCheck tests
Review by extempore.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@23216 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
Fixing an issue with hashset splitters where the splitting does not work if some elements have already been iterated.
Added parallel collections exception handling.
Added parallel collections break control.
Renaming ParHashTrie -> ParHashMap.
The part with immutable.{HashSet, HashMap} - review by rompf
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@23200 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
those "what are we doing" moments regarding the reams of output
generated under -Ydebug. We have all these places where extra
info is logged under -Ydebug -- like "if (debug) log(...)" -- and if
you try for those you are also saddled with all these irrelevant places
which instead say if (debug) Console.println(...).
I changed about every one of them to send it to log() instead.
So if you were enjoying that 600 MB of debugging output when you compile
"goodbye world", you can have it back and then some with -Ylog:all.
Until then, enjoy the calm, quiet competence of the new -Ydebug.
Also herein: raised default ANT_OPTS permgen because I can no longer
build a dist with the former defaults, and gave some synthetics a better
home in StdNames.
No review (but if anyone just can't live without some particular
piece of output every single time -Ydebug is given, I can put it back.)
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@23158 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
Build process will now generate a scalacheck jar in the build/pack/lib directory. It generates it from the scalacheck source in the src/scalacheck dir. If the source there gets out of date, it is to be updated manually using the tools/updatescalacheck script.
Review by phaller.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@22868 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
forkjoin.jar everywhere with the hope/expectation we will see a
restoral of order. Someone should definitely figure out how it
is we developed this non-deterministic dependency. Review by phaller.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@22462 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
on src/dbc for lack of forkjoin.jar. We apparently have invented
non-deterministic jar dependencies. Added forkjoin.jar in
another spot, no review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@22450 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
changes necessary to plug it back in while preserving everything
which has happened since then in tests and such, but we should
be the lookout for overreversion. Review by phaller (but as a
formality, I don't think it requires direct review.)
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21829 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
Explanation: as things stood the plugin step of the overall build
fails constantly even when no files have been touched. The reason
is that if one checks out an older version of the repository and
then returns to the master, a subset of continuation source files
will have more recent modification dates than their corresponding
classes, and ant sees that as a reason to rebuild them. But without
continuations-plugin on the classpath, it cannot see the classfiles
of those which were not changed.
IOW, if a project has A.scala B.scala C.scala and tries to rebuild
only A.scala and C.scala, B.class must be somewhere it can be seen.
We can resolve this differently if desired but this is how the rest
of the compiler does it. (Try removing quick from quick's classpath
and rebuilding after some changes.)
Review by rompf.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21723 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
temporary if considered clutter.
ant test.partest
ant test.partest-opt
They run some recently troublesome partest tests with a low timeout.
Logged some more exceptions where the compiler has been dying.
Review by phaller.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21510 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
ant to partest for use on all tests, which rytz had
astutely pointed out I made disappear. Long term I think one
ought to be able to specify different arguments for building
the compiler and for partest, but now is not the moment for
such grand ambition. No review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21439 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
runs ant all.clean
builds with -Xcheckinit
runs the test suite with -Xcheckinit
Review by cunei? If the nightly is trying to do the above
sequence with command line options, I suggest it be changed
to run this target or a similar one so the logic is not
separated from the buildfile.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21374 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
it they can be my guest (reviewbot: review by community!) More
realistically: more than likely I have unwittingly altered or
impaired some piece of functionality used by someone somewhere.
Please alert me if this is the case and I will remedy it. I
have to call it at this point as the best interests of 2.8 cannot
be served by me nursing this patch along any further.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21330 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
my chagrin is being held up by windows. Also updates the default
ANT_OPTS to be the same as the ones the nightlies override it with.
(If we know you can't build scala with those settings it seems kind
of uncool to leave them for everyone else.) No review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21323 5e8d7ff9-d8ef-0310-90f0-a4852d11357a