Commit Graph

4869 Commits

Author SHA1 Message Date
Josh Soref 3786aff09b spelling: exclusion 2017-01-20 08:14:52 +00:00
Josh Soref 899cd85d06 spelling: exception 2017-01-20 08:13:55 +00:00
Josh Soref 524579d87a spelling: evaluate 2017-01-20 08:13:44 +00:00
Josh Soref b873338f25 spelling: disabled 2017-01-20 08:13:29 +00:00
Josh Soref 80583a35bb spelling: dependent 2017-01-20 08:13:17 +00:00
Josh Soref a8ce474fd6 spelling: dependencies 2017-01-20 08:13:00 +00:00
Josh Soref 950405f027 spelling: definition 2017-01-20 08:12:30 +00:00
Josh Soref 10c2a28d5d spelling: configuration 2017-01-20 08:11:53 +00:00
Josh Soref 1ee0e5dd0b spelling: computation 2017-01-20 08:11:45 +00:00
Josh Soref f5248f04ce spelling: compiler 2017-01-20 08:12:00 +00:00
Josh Soref 701b57107f spelling: compatibility 2017-01-20 08:11:39 +00:00
Josh Soref c81894e45b spelling: command 2017-01-20 08:10:32 +00:00
Josh Soref d3bea58555 spelling: classes 2017-01-20 08:10:16 +00:00
Josh Soref 1461bb2e39 spelling: attribute 2017-01-20 08:09:51 +00:00
Josh Soref ffe0323803 spelling: appended 2017-01-20 08:09:24 +00:00
Josh Soref 61b85982cd spelling: accumulated 2017-01-20 08:07:08 +00:00
Josh Soref f66acb8c0e spelling: abstraction 2017-01-20 08:06:55 +00:00
eugene yokota a65576e559 Merge pull request #2932 from eed3si9n/wip/async
Enable async logging, and start RelayAppender
2017-01-18 09:24:59 -05:00
Eugene Yokota 904069700d Start RelayAppender automatically 2017-01-18 07:04:19 -05:00
Eugene Yokota 23a20f41e6 Enable async logging 2017-01-18 07:02:16 -05:00
eugene yokota cf12860847 Merge pull request #2930 from dwijnand/fix-client
Fix logic in client
2017-01-17 08:03:07 -05:00
Dale Wijnand c239b553b6
Fix logic in client 2017-01-17 11:49:00 +00:00
eugene yokota 4201a6ecdd Merge pull request #2926 from eed3si9n/fport/2855
[fport] Add build-level keys to the tab completion
2017-01-16 18:24:03 -05:00
Eugene Yokota 569e19d03c Add build-level keys to the tab completion
Fixes #2460
Fixes #2851
Ref #2707, #2708, #2469

Unlike the previous attempts at fixing the handling of build-level
keys, this change does not change the main parsing logic, which uses
`getKey` to retrieve the key from the key map.
The fact that shell worked pre-0.13.11 means that the parsing was ok.

What this changes is just the "example" keys supplied to the parser so
the tab completion works.
2017-01-16 15:39:01 -05:00
Eugene Yokota 4ea2a99c3b Revert "Completion for build-level keys"
This reverts commit e35f9bb11e.
2017-01-16 13:39:21 -05:00
Eugene Yokota 39ad8cfb7d Revert "Unspecified project axis means current project or its build"
This reverts commit 4fea604759.
2017-01-16 13:37:21 -05:00
Eugene Yokota 26bdccd80f Revert "Fix key selection for build level keys"
This reverts commit 60bcc58852.
2017-01-16 13:35:42 -05:00
eugene yokota a52a95f67e Merge pull request #2916 from eed3si9n/wip/new_command
[fport] Safer template resolver
2017-01-16 11:05:46 -05:00
Eugene Yokota ec2f6c9748 sbt-giter8-resolver 0.1.3 2017-01-16 08:44:13 -05:00
Eugene Yokota d91df1f189 Adjust to 1.0.x 2017-01-16 08:44:13 -05:00
Eugene Yokota b4a1f66aea Remove unused match 2017-01-16 08:44:13 -05:00
Eugene Yokota 2de32ca723 Refactoring per review 2017-01-16 08:44:13 -05:00
Eugene Yokota 1b79cb85b6 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.
2017-01-16 08:44:13 -05:00
Eugene Yokota 729119a15a Fix parser for new command 2017-01-16 08:43:23 -05:00
Eugene Yokota 73a427c0b8 Adds templateResolvers and `new` command
This adds `new` command, which helps create a new build definition. The
`new` command is extensible via a mechanism called the template
resolver,
which evaluates the arbitrary arguments passed to the command to find
and run a template.

As a reference implementation [Giter8][g8] is provided as follows:

    sbt new eed3si9n/hello.g8

This will run eed3si9n/hello.g8 using Giter8.

  [g8]: http://www.foundweekends.org/giter8/
2017-01-16 08:43:23 -05:00
eugene yokota e54d4ed8fd Merge pull request #2921 from eed3si9n/fport/2784
[fport] Show deprecations in build.sbt
2017-01-15 23:19:19 -05:00
eugene yokota 9044d6c07a Merge pull request #2910 from eed3si9n/wip/212
[sbt 1.0] Use Scala 2.12.1
2017-01-15 22:24:33 -05:00
eugene yokota 39275849e5 Merge pull request #2922 from eed3si9n/fport/2764
[fport] Deprecate tuple enrichments. Fixes #2763
2017-01-15 21:34:58 -05:00
eugene yokota 84ab6bf5e4 Merge pull request #2920 from eed3si9n/fport/2754
[fport] SD-232 Recycle classloaders to be anti-hostile to JIT
2017-01-15 21:01:48 -05:00
eugene yokota ece78d67de Merge pull request #2919 from eed3si9n/fport/2749
[fport] Add back addPluginResolvers
2017-01-15 21:01:29 -05:00
eugene yokota 6493f336b9 Merge pull request #2917 from eed3si9n/fport/2730
[fport] Fail when the forked test harness fails
2017-01-15 21:01:01 -05:00
Eugene Yokota 7ddbd69e53 Use Scala 2.12.1
Bump up the Scala version used by sbt to 2.12.1.
Most changes are migration of the integration tests.
2017-01-15 20:49:14 -05:00
Dale Wijnand 74cddc254e Deprecate tuple enrichments. Fixes #2763 2017-01-15 09:01:43 -05:00
Eugene Yokota 38cf2cd1b2 Improve deprecation message 2017-01-15 08:54:51 -05:00
Eugene Yokota 00dda2a5f1 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.
2017-01-15 08:53:04 -05:00
eugene yokota 0a6c58ad76 Merge pull request #2918 from eed3si9n/fport/2745
[fport] Move release notes
2017-01-15 07:46:33 -05:00
Dale Wijnand 1822d3f67b Replace var/set with withClassLoaderCache 2017-01-15 06:54:52 -05:00
Jason Zaugg 3c508ce52d 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.
2017-01-15 06:42:29 -05:00
Dale Wijnand d58f89af5f Add back addPluginResolvers
See https://github.com/sbt/sbt/pull/2715/files#r79729382
2017-01-15 06:28:10 -05:00
Eugene Yokota 3ec0734f6c Move release notes 2017-01-15 05:59:51 -05:00