Nafer Sanabria
3e201cee4d
Add lastGrep command
2018-04-08 10:56:25 -05:00
Dale Wijnand
289077a405
Re-introduce Command.process
...
This was an unnecessary removal in
e83564a6b7 .
2018-03-28 16:37:07 +01:00
Dale Wijnand
26c267e29e
Merge pull request #4043 from dwijnand/cleanup/ParseKey
...
Cleanup test/ParseKey
2018-03-28 16:10:03 +01:00
Dale Wijnand
25988d2256
Cleanup test/ParseKey
2018-03-28 09:04:12 +01:00
Eugene Yokota
c2837c7714
Merge branch 'wip/bumpsbt' into wip/merge-1.1.x
2018-03-27 10:16:10 -04:00
Dale Wijnand
b0f9fe77b6
Merge pull request #4036 from eed3si9n/wip/fix-startup-log
...
Fixes -error not suppressing startup logs
2018-03-26 15:28:50 +01:00
eugene yokota
cd40d1ac77
Merge pull request #4031 from eed3si9n/wip/bump
...
bump modules
2018-03-26 10:26:25 -04:00
Eugene Yokota
25ab94d96a
Fixes -error not suppressing startup logs
...
Fixes #3849
This brings back the 0.13 logic:
```scala
def setGlobalLogLevel(s: State, level: Level.Value): State = {
s.globalLogging.full match {
case a: AbstractLogger => a.setLevel(level)
case _ => ()
}
s.put(BasicKeys.explicitGlobalLogLevels, true).put(Keys.logLevel.key, level)
}
```
2018-03-25 14:56:00 -04:00
Eugene Yokota
b111b05d5f
Fixes new command leaving target directory
...
Fixes #2835
This fixes `new` command creating `target` directory by moving the `target` to a staging directory in the command itself.
2018-03-24 13:45:35 -04:00
Eugene Yokota
9d2d81645b
bump modules
2018-03-24 11:02:40 +09:00
Dale Wijnand
00ce32f102
Cleanup CommandChannel
2018-03-20 09:17:55 +00:00
Dale Wijnand
6ceed00f48
Cleanup NetworkChannel
2018-03-19 15:11:39 +00:00
tmiyamon
77ffbe896d
support test compile on saving in vscode
2018-03-16 18:03:52 +09:00
Dale Wijnand
d3ef452a5f
Extract jsonRpcRespondErrorImpl
2018-03-15 12:55:21 +00:00
Dale Wijnand
268b5111ab
Format LSP methods
2018-03-15 12:55:21 +00:00
Dale Wijnand
de690f4e41
Collapse 1-line scaladocs
2018-03-15 12:55:20 +00:00
Dale Wijnand
98332c0891
Reply to sbt/exec w/ a Response/Error w/ error code
2018-03-14 13:56:29 +00:00
Eugene Yokota
0433440c59
move ServerHandler to internal per review
2018-03-13 23:42:40 +09:00
Eugene Yokota
cd9f0d2711
make sbt server extensible
...
Fixes #3890
Here's an example:
```scala
Global / serverHandlers += ServerHandler({ callback =>
import callback._
import sjsonnew.BasicJsonProtocol._
import sbt.internal.protocol.JsonRpcRequestMessage
ServerIntent(
{
case r: JsonRpcRequestMessage if r.method == "lunar/helo" =>
jsonRpcNotify("lunar/oleh", "")
()
},
PartialFunction.empty
)
```
2018-03-13 23:02:45 +09:00
Dale Wijnand
80d342a811
Merge pull request #3995 from ruippeixotog/cross-strict-aggregation
...
Filter incompatible aggregates in cross switch commands
2018-03-08 11:27:55 +00:00
Dale Wijnand
a85d7606f3
Merge pull request #3994 from fmlrt/in_configuration_scope_filter_factories
...
Add more configuration axis ScopeFilter factory methods
2018-03-08 11:26:38 +00:00
TATSUNO Yasuhiro
68f58aba87
Merge branch '1.x' into global-eviction-warning-options
2018-03-08 09:18:53 +09:00
exoego
dc4f93a7c3
Remove unnecessary GlobalScope
2018-03-08 08:14:39 +09:00
Rui Gonçalves
251e5ab26e
Filter incompatible aggregates in cross switch commands
2018-03-07 00:27:22 +00:00
Maksym Fedorov
15f4498494
Add more configuration axis ScopeFilter factory methods
2018-03-06 23:01:31 +01:00
Dale Wijnand
685b416b8e
Cleanup Main
2018-03-06 11:59:26 +00:00
Dale Wijnand
dbbba67d36
Fix a Scaladoc error in BuildStructure
2018-03-06 11:54:13 +00:00
Dale Wijnand
78f4f56d1c
Fix 2 "discarded non-Unit value" warnings in ScriptedPlugin
2018-03-06 11:54:12 +00:00
Dale Wijnand
9006abe9be
Cleanup ScriptedPlugin
2018-03-06 11:54:12 +00:00
Dale Wijnand
6e83d408da
Define ScriptedPlugin keys with macros
2018-03-06 11:54:11 +00:00
Dale Wijnand
a73aa97b2c
Cleanup Extracted
2018-03-06 11:54:10 +00:00
exoego
36438d2ac3
Add eviction warnings options to global
2018-03-02 14:45:56 +09:00
Dale Wijnand
76e2f550ec
Merge branch '1.1.x' into merge-1.1.x-into-1.x
...
* 1.1.x:
Update mimaPreviousArtifacts/sbt.version
Introduce SBT_GLOBAL_SERVER_DIR env var to override too long paths
Handle very long socket file paths on UNIX
Conflicts:
project/build.properties
2018-02-14 14:38:07 +00:00
Dale Wijnand
4e038c91ce
Introduce SBT_GLOBAL_SERVER_DIR env var to override too long paths
2018-02-12 17:57:26 +00:00
Eugene Yokota
3db0e09b33
Merge branch '1.1.x' into wip/1.1.1
...
# Conflicts:
# main/src/main/scala/sbt/internal/CommandExchange.scala
# main/src/main/scala/sbt/internal/ConsoleProject.scala
# notes/1.0.2/sample.md
# notes/1.1.1/sample.md
# notes/sample.md
# sbt/src/test/scala/sbt/ServerSpec.scala
2018-02-09 23:55:23 -05:00
Dale Wijnand
8e7dfb4b20
Handle very long socket file paths on UNIX
...
Fixes #3930
2018-02-08 13:00:46 +00:00
eugene yokota
4a8adbb8e0
Merge pull request #3923 from dwijnand/PluginCross-scala-versions
...
Upgrade Scala versions that ^^ uses
2018-02-07 22:02:10 -05:00
eugene yokota
54eb6c2d6b
Merge pull request #3929 from eed3si9n/wip/servertest2
...
Backport server testing as a unit test
2018-02-07 21:18:35 -05:00
Eugene Yokota
3954985506
formatting
2018-02-07 18:16:02 -05:00
Eugene Yokota
5ab122c3cf
Use State to pick the port file
2018-02-07 18:00:02 -05:00
Deokhwan Kim
11dbbd0cfa
Update documentation for skip
...
'skip' is also supported for 'publish' by sbt/sbt#3380 .
2018-02-07 00:32:03 -05:00
Steve Waldman
96b9429669
Rework false-defaulting 'suppressServer' to true-defaulting 'autoStartServer'.
2018-02-06 11:49:46 -08:00
Dale Wijnand
2db5c77442
Upgrade Scala versions that ^^ uses
...
Refs #3907
2018-02-06 16:02:45 +00:00
Steve Waldman
0aa133d276
Implement 'suppressServer' setting, for builds and plugins that prefer to be conservative about exposure to other processes.
2018-02-05 23:11:42 -08:00
Eugene Yokota
4b1de14f87
Use State to pick the port file
2018-01-30 23:46:12 -05:00
Dale Wijnand
e3f33ddf7d
Merge pull request #3897 from dwijnand/misc
...
Misc tweaks and cleanups
2018-01-30 13:02:55 +00:00
Dale Wijnand
286758e2ba
Minor cleanups
2018-01-30 07:29:17 +00:00
eugene yokota
5d89795657
Merge pull request #3876 from eed3si9n/wip/jlineinit
...
Fix tab completion running `sbt console`
2018-01-22 14:14:35 -05:00
Eugene Yokota
c20029ce16
Work around package name confusion
...
This works around the name conflict between sbt.test package and sbt.Keys.test.
1. sbt.test package is renamed to sbt.scriptedtest. This allows 1.0 plugins and builds to use `test` to mean `Keys.test`.
2. To keep binary compatibility for sbt 0.13 scripted, I am adding `sbt.test.ScriptedRunner` and `sbt.test.ScriptedTests` in `scripted-plugin` artifact.
3. Another affected user is Giter8 plugin that uses ScriptedPlugin. Since the intereactions are limited to `sbt.ScriptedPlugin.*`, we should be fine here. - https://github.com/foundweekends/giter8/blob/v0.11.0-M2/plugin/src/main/scala-sbt-1.0/giter8/SBTCompat.scala
2018-01-22 14:03:02 -05:00
Eugene Yokota
b05802f63b
move some scripted defaults settings to global
...
Fixes #3656
2018-01-22 14:03:02 -05:00