| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| | |
Now that I've resorted to building git 1.5.4, I can stop trying
to reverse engineer it through jenkins. This implementation feels
winnerish.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Reimplementing without git-describe to harden against old
gits and make any kind of reference tag unnecessary.
Conflicts:
tools/get-scala-revision
|
| |
| |
| |
| |
| |
| | |
Now that I've resorted to building git 1.5.4, I can stop trying
to reverse engineer it through jenkins. This implementation feels
winnerish.
|
| |
| |
| |
| |
| | |
Reimplementing without git-describe to harden against old
gits and make any kind of reference tag unnecessary.
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Environment variable maven_settings.
|
|\| | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Offer explicit settings.xml path for maven if some specific
hardcoded path exists, don't otherwise. At least it's in one
place where we can keep an eye on it.
|
|\| | |
|
| | |
| | |
| | |
| | | |
Configuring via environment variables.
|
|\| | |
|
| | |
| | |
| | |
| | | |
Unified further with build options.
|
| | | |
|
| |/
| |
| |
| | |
Out of jenkins and into version control.
|
| |
| |
| |
| |
| |
| | |
Binary library pull/push is limited to:
- test/files
- lib
|
|\ \
| | |
| | |
| | |
| | |
| | | |
tools/get-scala-revision.bat should have the same logic as
tools/get-scala-revision, but I'm afraid to try to implement
an if/then/else in a windows batch file. Contributions welcome.
|
| | |
| | |
| | |
| | | |
a289465c70630719cbd3a74edf5502a156ef83c4 broke get-scala-revision.bat.
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Reference to git head is supposed to be HEAD, not head.
Also apparently [[ <test> ]] is a bashism so it's [ <test> ].
Made name generation robust against the absence of the dev
tag; it will generate a similar name even if it's not there,
minus the part it can't determine without it.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Created dev tag which is the merge-base of master and 2.9.1 (merge-base
is the last common commit), and told ant to generate build strings based
on that. So distributions look like
scala-2.10.0.dev-1289-gbba3918
Where the 1289 means you are 1289 commits ahead of "dev" and
the last segment (minus the g) is the sha-1 hash.
This no doubt breaks windows even further. Help getting it
back on its feet greatly appreciated.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Enable the use of spaces in paths for the Scala build on Windows -- take 2.
(The original commit in r26026, reverted in r26027, used the new
compilerargs
element in the Scala build -- we cannot do this until it's in starr.)
- Revert r25995 which was fixing it only partly and in the wrong place.
- Properly encode argument files for scalac in scalac ant task. - Allow
'compilerarg' elements in scalac ant task (like in ant's built-in
javac task) to allow passing extra parameters like plugindir path with
proper encoding of spaces and file names. - Fix space handling in
get-scala-revision.bat.
Closes SI-3047.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Revert "Enable the use of spaces in paths for the Scala build on
Windows."
This reverts the previous commit due to failure to build:
BUILD FAILED
/scratch/trunk1/build.xml:639: scalacfork doesn't support the nested "compilerarg" element.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Enable the use of spaces in paths for the Scala build on Windows.
Revert r25995 which was fixing it only partly and in the wrong place.
Properly encode argument files for scalac in scalac ant task. Allow
'compilerarg' elements in scalac ant task (like in ant's built-in javac
task) to allow passing extra parameters like plugindir path with proper
encoding of spaces and file names, and use it in the Scala build. Fix
space handling in get-scala-revision.bat.
(Patch by Stefan Zeiger.) Closes SI-3047.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If you build and then run
tools/proxy-report <outdir>
you will be given files revealing interesting things like:
/** With respect to trait SetLike, trait SetProxyLike does NOT wrap:
*/
trait Unwrapped {
def +(elem1: A,elem2: A,elems: A*): This
def ++(elems: scala.collection.GenTraversableOnce[A]): This
def subsets(len: Int): Iterator[This]
def subsets: Iterator[This]
protected override def newBuilder: scala.collection.mutable.Builder[A,This]
protected override def parCombiner: scala.collection.parallel.Combiner[A,scala.collection.parallel.ParSet[A]]
}
Lots more possible here, for now I just want to get a backstop
against our worst transgressions (not just in the library -- look
at SimpleTypeProxy, if you dare!) I will inquire about the results
separately, so no review.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Added a command line script to ~/tools to count flag usages. I'm
checking this in less out of the enormous demand for flag counting
scripts than because I wanted to lower the barrier to people writing
reusable bash scripts.
*** DO YOU WANT TO WRITE NICE BASH SCRIPTS? ***
*** Look at tools/flag-usages.sh ***
*** It's easy to understand and full of helpful comments! ***
I'm not making any claims here about having massive bash expertise,
but I know a lot of people resist learning any of it (I was once like
you) so I wanted to lower the barrier a little. Because as a mechanism
for the composition and modification of the world of existing tools,
nothing comes close to the shell. And I know many of us write way too
many one-offs which we delete in shame and horror shortly after their
immediate purpose is served.
No review. (I should say r-e-v-i-e-w by everyone but I'm sure it would
give me a nice pile of crucible errors.)
|
| |
| |
| |
| |
| |
| |
| | |
Added a script in tools for deploying maven artifacts locally, since it
always takes me an eternity to figure out slash remember how to do it.
No review.
|
| |
| |
| |
| |
| |
| | |
fix get-scala-revision script for the case when svn prints some
warnings. no review
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Addresses the issues swirling around Double.Epsilon and friends which
were battled out in more than one venue and then aptly summarized by
retronym in #3791. Thanks to Simon Ochsenreither for submitting a patch;
I wasn't able to use too much of it because the source code for these
types is generated, but effort is always appreciated. Closes #3791, and
I'm tired and I'd hate to blow this one at this late date: review by
rytz.
|
| |
| |
| |
| |
| |
| |
| | |
Tackled source generation from a new angle rather than letting genprod
get any more creaky. This code generates the AnyVal source files (but
those are not included here.) No review.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
after each phase, so all the allocations are partitionable by phase
in the profiler. I also changed the name of -Yprofile-resident to
-Yprofile-memory and had it snapshot after the run instead of between
them, so it is usable for regular scalac usage as well.
Added tools/profile_scalac which can be used as a drop-in replacement
which handles some tedious setup. Review by dragos.
|
| | |
|
| |
| |
| |
| |
| |
| | |
The usual flailing associated with changing a shell script and using too
recent a feature. Hopefully unbreaks build, no review.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
No review.
|
| |
| |
| |
| |
| | |
No review
|
| |
| |
| |
| |
| | |
No review.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Mostly refactored existing test functionality for parallel collections.
Added immutable hash set tests.
No review.
|
| |
| |
| |
| |
| | |
No review.
|
| |
| |
| |
| |
| | |
No review.
|
| |
| |
| |
| |
| | |
No review.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
For all those using .git who like their build and tests being run on a different machine - remotetest.
Uses ssh, git and the remote home directory to push the current tree
to a bare repo, then check it out remotely and run the full build and
tests.
Usage: remotetest [--init] <user> <server> <bare-repo-path>
<workspace-repo-path> Modifying .ssh/authorized_keys on the <server> is
recommended. To be run with --init first time.
No review.
|
| |
| |
| |
| |
| | |
Review by extempore.
|
| |
| |
| |
| |
| | |
These improvements are based upon suggestions given by extempore, so - review by extempore.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Two new command line programs in ~/tools: scmp and tokens.
1) scmp: will need a bit more fleshing out to be super useful, but here
is what you can do right now:
// This means run the given command line first with the options
// given to p1 and then without, and show the diff in output.
% tools/scmp --p1 '-no-specialization -nowarn' scalac -Ydebug
src/library/scala/Function1.scala
Upcoming features will involve seeing diffs of such things as the
pickled signatures of generated files and the javap disassembly.
2) tokens: tokenizes all the scala files found under any given paths and
prints one token per line.
Example: the five most frequently used tokens under scala/util.
% tools/tokens src/library/scala/util |sort | uniq -c | sort -r | head
-5 598 ')' 598 '(' 347 ; 294 '=' 278 ,
Good to see those parens are balanced.
Example: number of appearances of an identifier called x:
% tools/tokens src/library/scala/util | grep ^x$ | wc 137
Way to go, x. Review by community.
|
| |
| |
| |
| |
| |
| | |
Added a --bare option to ShowPickled so I can diff signatures without
all the explicit indices blowing any points of similarity. No review.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
A variety of changes to partest made in a quest to get it to reveal the
classpaths it is using. No longer will partest actively sabotage your
efforts to pass -Dpartest.debug=true by inserting "-Dpartest.debug="
after yours! And etc. Review by haller (if so inclined.)
|