Commit Graph

4710 Commits

Author SHA1 Message Date
eugene yokota 55e2b56af9 Merge pull request #2826 from vpetro/bump-giter8resolver-version
Use sbt-giter8-resolver 0.1.2
2016-11-09 11:39:18 -05:00
Petro Verkhogliad 08951436f0
Use sbt-giter8-resolver 0.1.2 2016-11-08 15:31:29 -05:00
Petro Verkhogliad 29a524e18d
Use sbt-giter8-resolver 0.1.1 2016-11-06 17:25:56 -05:00
Dale Wijnand 109cb4a762
Set version to 0.13.14-SNAPSHOT 2016-10-28 13:20:40 +01:00
Dale Wijnand 9d3bda71ea
Merge branch '0.13.13' into 0.13
* 0.13.13:
  Set version in launchconfig to 0.13.13 (automatic)
  Temporarily disable control/io for Scala 2.12
  Set version to 0.13.13
2016-10-28 13:20:05 +01:00
Dale Wijnand 673e89d087
Set version in launchconfig to 0.13.13 (automatic) 2016-10-28 13:15:32 +01:00
Dale Wijnand 1af8aab2d2
Temporarily disable control/io for Scala 2.12 2016-10-28 12:51:03 +01:00
Dale Wijnand 6dcba49934
Set version to 0.13.13 2016-10-28 12:02:36 +01:00
eugene yokota bbc70632d0 Merge pull request #2767 from avdv/fix-2766-sourceFile-null
Fix #2766 sourceFile null causes NPE
2016-10-25 13:40:48 -04:00
Eugene Yokota 462ee042ad Cross publishing to 2.12 2016-10-25 13:37:48 -04:00
eugene yokota 47a71c0ff5 Merge pull request #2794 from dwijnand/212
Cross build io (+ control) for playframework/playframework#6110
2016-10-24 13:38:33 -04:00
Dale Wijnand d32454c6e7
Cross build io (+ control) for playframework/playframework#6110 2016-10-20 22:07:33 +01:00
Eugene Yokota a3357af540 notes 2016-10-14 21:22:34 -04:00
Eugene Yokota bd4ba31544 launchconfig 2016-10-14 21:08:52 -04:00
Eugene Yokota cb5cf8dd54 notes 2016-10-14 21:08:39 -04:00
eugene yokota 38cfb622f7 Merge pull request #2764 from dwijnand/deprecate-tuple-enrich
Deprecate tuple enrichments. Fixes #2763
2016-10-14 20:13:22 -04:00
eugene yokota af2056b000 Merge pull request #2784 from eed3si9n/wip/show_dep
Show deprecations in build.sbt
2016-10-14 17:39:41 -04:00
Dale Wijnand 6ad39b1069
Deprecate tuple enrichments. Fixes #2763 2016-10-14 21:28:51 +01:00
eugene yokota 2a4e955e77 Merge pull request #2782 from bantonsson/lazily-concatenate-failed-errors
Lazily concatenate failed errors for completion
2016-10-14 16:17:08 -04:00
Eugene Yokota 620a49bb0c Improve deprecation message 2016-10-14 14:42:38 -04:00
Eugene Yokota cfac453c07 Add "-deprecattion" flag to metabuild
Fixes #2783
Ref #2716

`build.sbt` is treated a Scala source of metabuild, so to enable
deprecation flag on build.sbt we set the option here.
2016-10-14 14:19:53 -04:00
Eugene Yokota 81284081e2 Use non-deprecated constructor 2016-10-14 14:15:05 -04:00
Eugene Yokota 6ad545efea Move deprecation warnings to macro body
Ref #2783
2016-10-14 14:12:37 -04:00
eugene yokota a6cfb528c9 Merge pull request #2780 from eed3si9n/wip/template_resolver
Safer template resolver
2016-10-13 22:29:40 -04:00
Eugene Yokota f1055c79df Remove unused match 2016-10-13 18:15:54 -04:00
Eugene Yokota 4e09e9ef68 Refactoring per review 2016-10-13 18:12:40 -04:00
Björn Antonsson 127c164f81 Lazily concatenate failed errors for completion
* Fixes [sbt/sbt#2781]
* When using `<TAB>` completion the failed errors were always
  computed for mathcing projects even if there was no failure,
  leading to excessive computation of Levenshtein distances
  and a large lag (seconds) on builds with many matching
  projects.
2016-10-13 16:20:18 +02:00
Eugene Yokota 9430a1e1f8 Machine formatting fix 2016-10-13 00:50:42 -04:00
Eugene Yokota a1d972bb66 Remove dependencyOverrides 2016-10-13 00:49:06 -04:00
Eugene Yokota 6f3bbed47e Safer template resolver
Fixes #2761

With sbt 0.13.13-RC1 rediscovered that the dependency pulled in from
Giter8 was affecting the plugins. To avoid this, this change splits up
the template resolver implementation to another module called
sbt-giter8-resolver, and it will be downloaded using Ivy into
`~/.sbt/0.13/templates/`, and then launched reflectively using Java as
the interface.
2016-10-12 20:06:10 -04:00
Claudio Bley ec27d65fcb Fix #2766 sourceFile and sourcePath can be `null` 2016-10-01 15:12:24 +02:00
Miles Sabin 0dfd40972d Added CrossVersion.patch which strips off -bin-suffix. (#2757) 2016-09-29 01:42:59 +01:00
Dale Wijnand f860d5ef31 Recycle classloaders to be anti-hostile to JIT: Notes (#2756) 2016-09-27 23:26:24 +01:00
eugene yokota 9598884104 Merge pull request #2755 from dwijnand/show-seq-0.13
[0.13.13] Improve `show` when key returns a `Seq`
2016-09-27 18:08:31 -04:00
Eugene Yokota 272ada1e74
Improve `show` when key returns a `Seq`
This changes the output to:

```
> show externalDependencyClasspath
[info] Updating {file:/xxx/hello/}root...
[info] Resolving jline#jline;2.12.1 ...
[info] Done updating.
[info] *
Attributed(/Users/xxx/.sbt/boot/scala-2.11.8/lib/scala-library.jar)
[info] *
Attributed(/Users/xxx/.ivy2/cache/commons-io/commons-io/jars/commons-io-
2.4.jar)
```
2016-09-27 14:23:53 +01:00
eugene yokota b4bc9f13fb Merge pull request #2754 from retronym/ticket/SD-232-2
SD-232 Recycle classloaders to be anti-hostile to JIT
2016-09-26 18:53:12 -04:00
Dale Wijnand 06cdefebb9 Replace var/set with withClassLoaderCache 2016-09-26 19:32:11 +10:00
Jason Zaugg 5005abfef2 SD-232 Recycle classloaders to be anti-hostile to JIT.
The compiler interface subclasses `scala.tools.nsc.Global`,
and loading this new subclass before each `compile` task forces
HotSpot JIT to deoptimize larges swathes of compiled code. It's
a bit like SBT has rigged the dice to always descend the longest
ladder in a game of Snakes and Ladders.

The slowdown seems to be larger with Scala 2.12. There are a number
of variables at play, but I think the main factor here is that
we now rely on JIT to devirtualize calls to final methods in traits
whereas we used to emit static calls. JIT does a good job at this,
so long as classloading doesn't undo that good work.

This commit extends the existing `ClassLoaderCache` to encompass
the classloader that includes the compiler interface JAR. I've
resorted to adding a var to `AnalyzingCompiler` to inject the
dependency to get the cache to the spot I need it without binary
incompatible changes to the intervening method signatures.
2016-09-26 14:49:47 +10:00
Dale Wijnand f3434a149f
Bump version in launchconfig to 0.13.13-RC2 2016-09-22 16:43:10 +01:00
Dale Wijnand 682d91c3c6
Add sbt-pgp, required by publishSigned in release-sbt 2016-09-22 16:42:54 +01:00
Dale Wijnand 86670caf37 Add back addPluginResolvers (#2749)
See https://github.com/sbt/sbt/pull/2715/files#r79729382
2016-09-22 13:35:03 +01:00
Eugene Yokota 4b6c0196e6 launchconfig 2016-09-16 03:15:38 -04:00
Eugene Yokota 1ed546d567 notes 2016-09-16 02:46:24 -04:00
eugene yokota 79b0fbbc56 Merge pull request #2746 from dwijnand/scalas-silent
Silent startup for scalas
2016-09-15 21:40:21 -04:00
Eugene Yokota d945925d0e
Silent startup for scalas
Fixes #840
2016-09-15 22:08:56 +01:00
eugene yokota a572af00b7 Merge pull request #2745 from dwijnand/0.13.13-notes
Hand merge notes, with my own tweaks
2016-09-15 16:19:15 -04:00
eugene yokota dea72b6471 Launcher fixes notes 2016-09-15 16:17:24 -04:00
eugene yokota dddbc8491e Update 0.13.13.markdown 2016-09-15 15:49:59 -04:00
eugene yokota cb9ac64ba4 Use third-person singular on the bullet points 2016-09-15 15:43:59 -04:00
Dale Wijnand 29c23eaaae
Hand merge notes, with my own tweaks 2016-09-15 13:19:01 +01:00