summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #816 from VladUreche/feature/diagrams-dev-pullreq-newJosh Suereth2012-07-071-0/+50
|\ | | | | Scaladoc diagrams (again)
| * Scaladoc diff-firendly outputVlad Ureche2012-07-021-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Scaladoc can create raw content files that we can easily diff and spot any modifications. There is a cool project by Stefan Zeiger to export the scaladoc model in JSON, but with the language and scaladoc being so quick to evolve, it'll be a pain to properly maintain. In the long-run, the plan is to sample a couple of raw files on each build and email me the diff. If I spot anything that may be wrong I can fix it, revert the commit or at least file a bug. For now, .html.raw files are generated on-demand, using ant -Dscaladoc.raw.output="yes" <targets> Also added a script that will do the job of diff-ing. Review by @jsuereth. Conflicts: src/compiler/scala/tools/nsc/doc/Settings.scala
* | Fix to push-jars to use same sha fixing that pull uses.Josh Suereth2012-07-061-7/+13
|/
* Updated tools/*cp scripts.Paul Phillips2012-06-067-42/+33
| | | | | To include the asm classes in some cases, and also to improve with my sadly now-greater knowledge of shell scripting.
* Orphan checkfile remover.Paul Phillips2012-05-261-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Are these -msil checkfiles used in some secret fashion? The level of activity suggest otherwise. Since scala-nightly-msil has been disabled for over a year, it's an easy rm unless someone speaks up. % tools/rm-orphan-checkfiles Scanning for orphan check files... rm 'test/disabled/run/code.check' rm 'test/files/jvm/t1652.check' rm 'test/files/neg/macro-argtype-mismatch.check' rm 'test/files/neg/macro-noncompilertree.check' rm 'test/files/neg/macro-nontree.check' rm 'test/files/run/Course-2002-01-msil.check' rm 'test/files/run/Course-2002-02-msil.check' rm 'test/files/run/Course-2002-03-msil.check' rm 'test/files/run/Course-2002-04-msil.check' rm 'test/files/run/Course-2002-08-msil.check' rm 'test/files/run/Course-2002-09-msil.check' rm 'test/files/run/Course-2002-10-msil.check' rm 'test/files/run/absoverride-msil.check' rm 'test/files/run/bitsets-msil.check' rm 'test/files/run/boolord-msil.check' rm 'test/files/run/bugs-msil.check' rm 'test/files/run/impconvtimes-msil.check' rm 'test/files/run/infix-msil.check' rm 'test/files/run/iq-msil.check' rm 'test/files/run/macro-invalidret-doesnt-conform-to-impl-rettype.check' rm 'test/files/run/macro-rettype-mismatch.check' rm 'test/files/run/misc-msil.check' rm 'test/files/run/promotion-msil.check' rm 'test/files/run/richs-msil.check' rm 'test/files/run/runtime-msil.check' rm 'test/files/run/tuples-msil.check' rm 'test/pending/jvm/t1464.check' rm 'test/pending/run/subarray.check' rm 'test/pending/run/t0446.check' rm 'test/pending/run/t5629.check' Scanning for orphan flags files... rm 'test/files/neg/macro-argtype-mismatch.flags' rm 'test/files/neg/macro-noncompilertree.flags' rm 'test/files/neg/macro-nontree.flags' rm 'test/files/pos/anyval-children.flags' rm 'test/files/pos/t3097.flags' rm 'test/files/run/macro-invalidret-doesnt-conform-to-impl-rettype.flags' rm 'test/files/run/macro-rettype-mismatch.flags'
* Removing extraneous files.Paul Phillips2012-05-159-138/+0
| | | | Culling accumulated unnecessary code.
* Optimization of Predef implicits.Paul Phillips2012-04-301-1/+1
| | | | | | | All those wildcards in a default-scoped implicit are expensive, they each lead to a typevar on every search. Restructured the Tuple2/Tuple3 Zipped classes, they're better this way anyway. This also gets all that Tuple[23] code out of genprod.
* A brand new, fast classfile parser.Paul Phillips2012-04-261-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Try it: ./tools/dump-class ./build/quick/classes The output is intended to be easy to filter on the command line. This is a starting point for lots of interesting bytecode analysis for which we have waited too long. Example. All generic signatures we produce. // almost 20K classfiles % find build/quick/classes -name '*.class' |wc -l 18519 // fully parsed in 6 seconds tools/dump-class build/quick/classes |grep "^ signature" | wc -l 50802 real 0m6.230s It's designed to be easy to make faster if you don't care about particular classfile bits; you can override those methods to jump forward in the input stream rather than building a structure. For just a little sampling, here are our most frequently repeated name/signature combinations. 194 signature <init> ()V // this one is weird, wonder why there's a generic signature 115 signature $div$colon$bslash <A1:Ljava/lang/Object;>(TA1;Lscala/Function2<TA1;TA1;TA1;>;)TA1; 105 signature applyOrElse <A1:Ljava/lang/Object;B1:Ljava/lang/Object;>(TA1;Lscala/Function1<TA1;TB1;>;)TB1; 103 signature view ()Ljava/lang/Object; 101 signature toSet <B:Ljava/lang/Object;>()Lscala/collection/immutable/Set<TB;>; And the top five name/descriptor combinations. 11170 descriptor <clinit> ()V 10155 descriptor serialVersionUID J 7130 descriptor apply (Ljava/lang/Object;)Ljava/lang/Object; 3028 descriptor apply ()Ljava/lang/Object; 2426 descriptor <init> ()V
* Portability changes to binary-repo-lib.sh.Paul Phillips2012-04-131-2/+8
|
*-. Merge commit 'refs/pull/380/head'; commit 'refs/pull/381/head' into developPaul Phillips2012-04-131-9/+44
|\ \
| * | Cache consistency checks for starr binary repo.Josh Suereth2012-04-121-9/+44
| |/
* | Merge pull request #277 from VladUreche/hack/spaces-scriptJosh Suereth2012-04-121-0/+130
|\ \ | |/ |/| Space/Tab cleanup script - run before committing
| * Space/Tab cleanup script - run before committingVlad Ureche2012-03-161-0/+130
| | | | | | | | | | Running this script will transform tabs into a pair of spaces and will eliminate trailing spaces. Use at your own risk!
* | fix for get-scala-commit-* on Windows (tested with Windows 7)Eugene Burmako2012-04-112-45/+18
| |
* | Yet another attempt to make the version a good oneJosh Suereth2012-03-203-39/+2
| | | | | | | | | | This fixes the git commit drift issue and gives us enough granularity to make releases at any time that are cronologically increasing.
* | First cut at a release notes tool to help generate them.Josh Suereth2012-03-191-0/+49
| |
* | Fixed versioning scheme when running on a tag.Josh Suereth2012-03-193-52/+7
| | | | | | | | git describe is useless in that situation, afaict.
* | Fixed sha to not have the 'g' for git.Josh Suereth2012-03-161-1/+2
| | | | | | | | Swapped 'r' to 'v' now that I've had more coffee and sleep.
* | Finished migrating to new versioning schemeJosh Suereth2012-03-167-36/+126
| | | | | | | | | | | | | | Conflicts: build.xml tools/get-scala-revision.bat
* | Fixes to build numbering system for 2.9.x releaseJosh Suereth2012-03-162-2/+7
| | | | | | | | | | | | | | Conflicts: build.number build.xml
* | Adapted tools/verify-jar-cache for UbuntuVlad Ureche2012-03-161-5/+5
|/
* Added tool for verifying jar cache.Paul Phillips2012-02-271-0/+33
| | | | And for removing corrupt files.
* Merge branch 'base-2.8.x-2.9.x-2.10.x'Paul Phillips2012-02-081-1/+4
|\
| * Remove alphanumeric characters from the major part of the Scala version number.Iulian Dragos2012-02-081-1/+4
| | | | | | | | | | | | In practice, this removes the 'v' in v2.10.0-M1-0168-g99844ebc10-2012-02-08. Why is this important, you ask? Many tools assume the version number to be composed of 3 numbers and a string qualifier. Eclipse is one of the tools that validates version numbers, and this string is used to stamp Scala IDE builds against Scala nightlies.
* | Fixes OSTYPE check for CygwinEugene Burmako2012-02-051-1/+1
| |
* | Fixes curlUpload for CygwinEugene Burmako2012-02-051-0/+1
| |
* | Merge branch 'fix-script'Paul Phillips2012-02-041-13/+18
|\| | | | | | | | | Conflicts: tools/get-scala-revision
| * Establish more baseline tags.Paul Phillips2012-02-041-13/+18
| | | | | | | | So we can turn out a build string regardless of local conditions.
| * Time-traveled get-scala-revision to 3-way merge base.Paul Phillips2012-02-041-16/+28
| |
* | Merge branch 'publish-fix'Paul Phillips2012-02-031-2/+2
|\| | | | | | | | | Conflicts: tools/epfl-publish
| * Fix 2.9.2 scaladoc replacing nightlies in jenkinsVlad Ureche2012-02-031-2/+2
| |
| * Injecting epfl-publish into merge-base.Paul Phillips2012-02-031-0/+32
| |
| * More build.xml massaging.Paul Phillips2011-12-121-0/+22
| | | | | | | | | | Backporting auto starr download to 2.8.x and 2.9.x build.xmls. Trying to get build strings consistent.
* | Updated and added some runners.Paul Phillips2012-02-036-10/+30
| | | | | | | | | | | | | | | | | | | | | | Easier ways to invoke scala/scalac based on starr, locker, or quick. % tools/starr_scalac -version Scala compiler version 2.10.0.r26060-b20111123092602 -- Copyright 2002-2011, LAMP/EPFL % tools/locker_scalac -version Scala compiler version v2.10.0-M1-0140-g4619a48c1e-2012-02-02 -- Copyright 2002-2011, LAMP/EPFL % tools/quick_scalac -version Scala compiler version v2.10.0-M1-0144-g0c59a25a81-2012-02-02 -- Copyright 2002-2011, LAMP/EPFL
* | Create a reference tag if none exists.Paul Phillips2012-02-021-2/+11
| |
* | Extremely hacky tweak to deal with printf portability failure.Paul Phillips2012-02-021-1/+4
| | | | | | | | No leading zeros for %016s on some platforms, yes on others.
* | Updated get-scala-revision to use git describe.Paul Phillips2012-02-012-17/+17
| | | | | | | | | | | | | | | | | | | | | | Hopefully this will satisfy all version-interesting parties. Version string now looks like this: v2.10.0-M1-0098-gbda61bb7e5-2012-02-01 Review by @dragos and anyone who uses windows (where it definitely won't produce that string, but hopefully it produces some usable string.)
* | Added caching to binary resolution.Josh Suereth2012-01-251-3/+24
| | | | | | | | | | | | * Duplicated binary repo cache in ~/.sbt/cache/scala/ * Resolved to cache before copying to local dir if jar is misisng * Does *not* check SHA in cache currently
* | Made the binary push script a bit friendlier for humansJosh Suereth2012-01-201-3/+9
| |
* | Remove maven deply from epfl-publish script.Lukas Rytz2012-01-101-18/+0
| | | | | | | | This is done by the separate scala-nightly-maven-deploy jenkins job, doing it here fails depending on the build machine (/home/linuxsoft/... is not available everywhere).
* | Merge branch 'dec10-version-string'Paul Phillips2011-12-121-4/+6
|\|
| * Tweaking build string some more.Paul Phillips2011-12-121-4/+6
| | | | | | | | | | | | Reintroduced date and an "r" to meet IDE needs. Moved reference commit backward to accomodate 2.8.x. Merging changes into 2.8.x, 2.9.x, and master.
| * More on get-scala-revision.Paul Phillips2011-12-121-3/+3
| | | | | | | | | | | | 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.
| * Hardening get-scala-version.Paul Phillips2011-12-091-0/+22
| | | | | | | | | | | | | | | | | | Reimplementing without git-describe to harden against old gits and make any kind of reference tag unnecessary. Conflicts: tools/get-scala-revision
* | More on get-scala-revision.Paul Phillips2011-12-091-3/+3
| | | | | | | | | | | | 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.
* | Hardening get-scala-version.Paul Phillips2011-12-091-12/+15
| | | | | | | | | | Reimplementing without git-describe to harden against old gits and make any kind of reference tag unnecessary.
* | Merge branch 'common-build-script'Paul Phillips2011-12-091-3/+8
|\ \
| * | Making path to settings.xml configurable.Paul Phillips2011-12-091-3/+8
| | | | | | | | | | | | Environment variable maven_settings.
* | | Merge branch 'common-build-script'Paul Phillips2011-12-091-2/+10
|\| |
| * | Boiling more logic out of jenkins.Paul Phillips2011-12-091-2/+10
| | | | | | | | | | | | | | | | | | 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.