| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Adapted specialization tests to track number of boxings.
Review by dragos
|
|
|
|
|
|
|
|
|
| |
Moved the painful-in-ant git/svn revision getting logic 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Switched from ignoring nonexistent directory to creating an empty one to
accomodate old underpowered versions of ant. No review.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Fixed build.xml so scalacheck won't fail to compile anytime there are
partial build artifacts. No review.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Fixed a scalacheck test group "test entire subdirectory" problem. It's
now possible to add scalacheck tests consisting of multiple files. No
review.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
While trying to come to an understanding with #3869 I had one of 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.)
|
|
|
|
|
|
| |
[scaladoc] Adds some simple tests for Scaladoc (using Scalacheck).
Contributed by Kato Kazuyosh. No review.
|
| |
|
|
|
|
|
| |
No review yet.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added scalacheck folder, scalacheck source update script, and scalacheck
ant tasks.
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.
|
|
|
|
|
| |
Alterations so the sbt build will run under git-svn. Review by moix.
|
|
|
|
|
|
| |
[scaladoc] Setting for link to source URLs is much more flexible and
should allow satisfying Toni's exacting demands. Review by cunei.
|
|
|
|
|
|
| |
Fix for stability failure introduced in build.xml change. Review by
malayeri (as an FYI.)
|
|
|
|
|
|
|
| |
[scaladoc] Modify build script to copy html resources to output
directory; display template in a frame rather than an iframe; change
title of main page when new frame is loaded. Review by dubochet.
|
|
|
|
|
|
|
| |
Abandoned any pretense of selectivity and put forkjoin.jar on every
compilation path from locker to strap. Review postponed until the
afterlife.
|
|
|
|
|
|
|
|
| |
Since the buildbots won't meet me in the middle, am putting the
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.
|
|
|
|
|
|
|
|
| |
Although everything now builds for me, the buildbot still fails
on src/dbc for lack of forkjoin.jar. We apparently have invented
non-deterministic jar dependencies. Added forkjoin.jar in another spot,
no review.
|
|
|
|
|
| |
Added forkjoin to partest's classpath to unbreak the build. No review.
|
|
|
|
|
|
| |
Moved parallel collections to library dir, changed sabbus script. Added
`par` to some of the classes. No review.
|
|
|
|
|
| |
sabbus also edited to add parallel collections to the library jar - review by phaller
|
|
|
|
|
|
|
|
| |
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.)
|
|
|
|
|
| |
Some more, hopefully temporary, partest timeout tweaks. No review.
|
|
|
|
|
|
| |
Increased partest per-test timeout in an attempt to fix the windows
nightly.
|
|
|
|
|
|
|
| |
Kicked the partest timeouts way up since apparently even 6 hours isn't
enough for windows to complete. Don't know what the deal is there, let's
see if 10 hours is enough. No review.
|
| |
|
|
|
|
|
|
|
| |
Took advantage of the sophisticated abstractions available in ant to cut
and paste the entirety of r21723 a little further down the build file.
No review.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added classes/continuations-plugin to the plugin build classpath.
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.
|
|
|
|
|
|
| |
Raised some partest timeouts, I think with these we might see the
windows nightly pass. No review.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
moved plugin folder back to 'misc/scala-devel/plugins'. moved bash
completion to scala-tool-support (see r21449). include continuations
in compiler sbaz package. replaced some tabs by spaces. review by
extempore.
|
|
|
|
|
|
|
|
|
| |
Restores the passing of scalac.args and javac.args from 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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Created a test.suite.clean.checkinit ant target which:
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
Mostly IO tweaks related to my upcoming partest patch, which to 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.
|
| |
|
|
|
|
|
|
|
| |
Continuations support classes are included in scala-library.jar
so their sources should be in scala-library-src.jar. Also export
scala.util.continuations from the scala-library bundle.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
tests you have placed in the test/debug directories - critically
for those of us stuck debugging ant, this lets one run a small
selection of tests by way of ant instead of the console runner.
(Sorry about the empty .gitignore files, but one of git's quirks is that
it won't acknowledge the existence of an empty directory.) No review.
|
|
|
|
|
|
| |
Changed partest ant task not to use reflection, instead using the path
with which scala was invoked. No review.
|
|
|
|
|
|
|
|
| |
what must be legacy scalatest.* properties to partest.*, boldly assuming
that the fact that partest is pretty much unusable outside of scalac
means there are no users outside of scalac who might be disrupted by
eliminating old property names. Review by community.
|