Commit Graph

466 Commits

Author SHA1 Message Date
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
extempore f3205ca1a3 Altered replacelocker target to replace locker.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18730 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-21 22:50:18 +00:00
dubochet b5f2cffcc6 SABBUS now builds FJBG, which sources are now part of the Scala module.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18727 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-21 19:24:41 +00:00
extempore 766bcd608e Changed vt-warning workaround to enable the setting in the
doc settings object, so anything using it will get the fix.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18725 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-21 17:11:51 +00:00
extempore e7cfba06eb Re-enabled the self-type check which was breaking the overall
build in favor of disabling the check only when running scaladoc.
This still requires attention!

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18723 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-21 14:04:26 +00:00
rytz 6327db0ff7 making nightly non-optimi(s|z)ed for now
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18687 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-10 17:05:21 +00:00
odersky 4151ad80e8 Massive redesign so that: scala> "hi" == "hi".reverse.reverse gives: res0: Boolean = true
Preparing to do similar things to arrays.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18685 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-10 15:39:11 +00:00
rytz f658049f70 partest now also uses -optimise to compile tests
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18682 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-10 14:11:45 +00:00
rytz aa52a1d46f made my changes actually work :)
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18680 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-10 09:28:15 +00:00
rytz 42b9ebc536 - support optimised build with "build.optimise", "dist.optimise" or "test.optimise".
- nightly builds are now optimised (but not the check-in builds)
- new starr containing all the latest optimiser-fixes

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18679 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-10 09:06:29 +00:00
dubochet 344c3a1a63 Sabbus can pack locker as JARs, for use in IDEs. Call 'newlocker' or 'freshlocker' to get the jars into 'build/palo'.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18642 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-04 13:20:58 +00:00
extempore 84adc95afe Getting docs.comp building again.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18641 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-03 20:55:35 +00:00
extempore deef5a2b70 Put a default for ANT_OPTS in build.xml.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18592 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-08-28 02:23:48 +00:00