Commit Graph

478 Commits

Author SHA1 Message Date
extempore e6db5217a0 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.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21374 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-04-07 19:06:52 +00:00
extempore 61673baf53 Typo patrol, no review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21333 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-04-05 17:40:59 +00:00
extempore 8d51dac0cb The code part of the partest patch. If anyone wants to review
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
2010-04-05 06:25:16 +00:00
extempore 96b243ddbe 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.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21323 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-04-02 21:09:34 +00:00
rompf bf8688554f fixed double-loading of plugins. reinstated not-enabled error msg for cps plugin. review by community.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21271 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-03-25 16:14:56 +00:00
milessabin d38951fd72 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.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21206 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-03-17 13:16:09 +00:00
rytz 1e2f71e25c minor cleanup to build.xml. review by rompf
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21178 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-03-15 13:54:23 +00:00
rompf 8506a865b8 moved the continuations plugin into trunk. it is now part of the distributions under /plugins/continuations.jar which should make scalac load it by default. actual use however must be enabled by passing -P:continuations:enable as command line arg. supporting library code is in package scala.util.continuations and is compiled into scala-library.jar. review by rytz, cunei, odersky.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21140 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-03-11 16:55:38 +00:00
extempore cdba29c6f3 Some windows oriented fixes for build.xml. No review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21123 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-03-10 15:33:14 +00:00
extempore cf1ad6b61d Added test.debug target to build.xml. This will run whatever
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.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21111 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-03-08 19:58:10 +00:00
extempore 87ea1aa955 Changed partest ant task not to use reflection, instead using
the path with which scala was invoked.  No review.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21109 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-03-08 18:46:35 +00:00
extempore ae4523fb45 Enabled scalacheck tests. Renamed the super confusing and
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.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21014 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-03-01 05:59:11 +00:00
extempore 001b5da564 More partest cleanups, and putting back a couple lines in build.xml
which were left a little too commented out.  No review.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20992 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-25 19:50:28 +00:00
extempore 51136ada46 Working on making the bootstrap process transparent and consistent.
And removed a bunch of what is now cruft in partest.  No review.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20990 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-25 18:24:58 +00:00
extempore 2848f7e543 The build file wasn't quite all the way on the bash completion
commit.  Now it should work, and also be copied into the
distribution.  Review by anyone who may be cruel enough to
oppose including completion in the distribution.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20979 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-25 00:14:04 +00:00
extempore 34402a8e36 Bash completion! The file is automatically created as
part of the build process and placed in $pack/etc.

% scala -Xprint
-Xprint-icode  -Xprint-pos    -Xprint-types  -Xprint:

% scala -Xprint:
all             flatten         mixin           tailcalls
cleanup         icode           namer           terminal
closelim        inliner         packageobjects  typer
constructors    jvm             parser          uncurry
dce             lambdalift      pickler
erasure         lazyvals        refchecks
explicitouter   liftcode        superaccessors

% scala -g:
line         none         notailcalls  source       vars

% scala -Ystruct-dispatch:
invoke-dynamic  mono-cache      no-cache        poly-cache

Review by community.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20978 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-24 23:17:30 +00:00
extempore 81b5655dbc Updated scalacheck jar to current trunk. Tracked down why it's
not being used.  Updated partest with a --scalacheck option.
Added scalacheck tests to the ant build target.  Still struggling
with ant/partest/classpaths so it's not on by default yet, but
at least ./partest --scalacheck works.  We... will... use...
scalacheck.  And we will like it! No review.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20973 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-24 02:27:03 +00:00
dubochet 524440deee [scaladoc] Optional link to source (set parameter "-doc-source-url"). Support for commenting packages (using package objects). Contributed by Perdo Furlanetto. Also: small performance improvements, short comment extraction is more robust (but no HTML tags allowed in first sentence), small code clean-ups. Checked by dubochet, no review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20778 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-02-03 17:03:58 +00:00
rytz 022fb536ec small improvements in building newlibs / newforkjoin. no review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20655 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-01-25 10:44:16 +00:00
plocinic 933b81f15d Fix ant task for build manager partest. no review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20654 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-01-25 10:28:11 +00:00
rytz 9552a7ae20 fix several issues in .net backend / type parsing. allow re-building forkjoin.jar separately. no review
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20635 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-01-22 16:55:23 +00:00
milessabin d2510e0077 Renamed new bin directory to "tools" to avoid conflict with Eclipse incremental build output directory.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20615 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-01-20 09:12:10 +00:00
extempore 817c14e480 Took a slightly different tack on parsing the svn version.
No review.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20611 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-01-20 04:38:32 +00:00
extempore 0604b0b23e Removed some debugging echoes I let slip through.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20610 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-01-20 02:36:51 +00:00
extempore edc74fc6e4 Until now all scala builds performed not in an svn tree were
given no version number, because the version was extracted from
"svn info".  Now it tries git style if svn info is unrevealing.
Review by community.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20602 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-01-19 19:28:17 +00:00
cunei 2a5cb5d3d2 Adding target distpack-opt.
Review by rytz.


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20178 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-12-17 11:16:58 +00:00
cunei 03072c33cb Updated copyright notices to 2010
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20028 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-12-07 11:49:19 +00:00
rytz a2a28e3ae3 moved forkjoin sources out of the library folder
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19982 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-12-02 16:08:53 +00:00
extempore 1ba42cc9c1 Added a line to build.xml to echo the value of $ANT_OPTS after
being burned one too many times by having it already set in my
environment.  What was the motivation for that change again?
In any case this should make it easier to notice.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19925 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-28 21:11:43 +00:00
dubochet 2b834fab29 Scaladoc 2.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19844 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-24 19:27:10 +00:00
extempore 5bc70d7ec4 Fixes and test cases for #2087 and #2400. This required
fixing a long-standing bug in fjbg and recompiling fjbg.jar,
which had the side effect of revealing that the current
fjbg jar had never been recompiled with target 1.5, so now
it's smaller and (I imagine) faster.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19651 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-14 18:02:10 +00:00
rytz f769656d8d use scalacfork for strap build, should make windows build work. Rename RichWindow so that ant does not always re-compile it.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19465 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-09 15:25:40 +00:00
phaller aca86d568a Increased partest timeout, since it seems we are hitting it in some hudson configs.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19455 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-09 10:31:13 +00:00
rytz fbb0f1f062 removed wrong .optimise targets
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19416 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-06 13:03:21 +00:00
rytz 6205cc62a6 fix cyclic reference errors in scaladoc. package objects are now compiled first. two-phase compile for library (Predef) no longer required.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19398 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-04 18:25:19 +00:00
odersky 8bfe94c595 Fixed #2545. Fixed problem with cyclic dependcies when adding package objects. Prepared for module expansion to lazy vals.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19375 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-02 16:48:56 +00:00
milessabin b4f031e71d Added -Ybuilder-debug:[none,simple,refined] option for testing the interactive build manager; added support for reporting comments during compilation; unbroke the test.positions build target.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19355 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-30 13:05:17 +00:00
rytz d6ef73c9a2 new classpaths. cleaned up scopes. removed scope kinds. cleaned up symbol loading, integrated msil types, fix separate compilation for msil. Symbol.sourceFile only set for classes which are being compiled.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19285 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-26 09:56:33 +00:00
extempore b1115f24bd Added scalac.args.quickonly to build.xml, because otherwise the
only way to fully test new command line options either involves
rebuilding starr every time or manually editing build.xml between
locker and quick.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19257 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-23 18:56:42 +00:00
dragos ed655d94e4 Re-enabled optimised nightly builds
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19090 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-14 14:49:38 +00:00
rytz 02bb168ee6 removing jvm5 stuff from trunk, now in branches/jvm5
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18998 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-09 07:35:10 +00:00
rytz d99726ea5a removing msil from trunk. everything related to .net is in branches/msil
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18976 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-08 14:46:15 +00:00
dragos b763b7482a Daily switch of optimised nightly. This time it's again off, neverending stability issues
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18960 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-07 17:16:29 +00:00
dragos eca7751262 Fixed stability issues for optimised
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18941 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-06 16:22:11 +00:00
cunei 9b518b6c89 Temporarily reverting r18863
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18911 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-03 18:10:54 +00:00
dragos 476c976da7 Re-enabled optimized nightlies
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18863 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-01 16:26:11 +00:00
moors 0af8ea9c1e fixed #2101
there were some issues with heap pressure that made the compile take incredibly long, these were solved by increasing the max allowed heap

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18857 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-01 14:26:56 +00:00
extempore 25fe0340e4 Modified build.xml so the -optimise argument will reliably be seen
in those situations where it was intended.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18805 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-27 00:57:32 +00:00
phaller a65f8f9235 Initial build files for 1.5 build.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18785 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-25 06:29:43 +00:00
rytz 08f413786e fix for a nightly build problem
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18734 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-22 10:35:12 +00:00