Commit Graph

17940 Commits

Author SHA1 Message Date
eugene yokota c7911b9062
Merge branch '1.x' into 1.x-eviction-summary 2018-03-18 17:15:46 +09:00
IanGabes 7770fa64e9 Adds null check for 'sbt.managedChecksums' in ivySettings file
Fixes #195
2018-03-18 17:06:51 +09:00
Naohisa Murakami 9d01bdff68
Merge pull request #1 from eed3si9n/wip/fix-parsing-id
Add test case for number id in JSON-RPC
2018-03-18 07:38:25 +09:00
Eugene Yokota e5d2588927 Add test case for number id in JSON-RPC 2018-03-18 02:11:23 +09:00
tiqwab a5119a411c Fix handling id in jsonrpc model
Fix #3861
2018-03-17 22:41:47 +09:00
Dale Wijnand 77039c2e3b
Merge pull request #222 from analytically/master
Support SBT 1.1+ for preloading the compiler interface
2018-03-16 17:46:39 +00:00
Alexandre Archambault 15c9be7950
Merge pull request #805 from coursier/topic/reenable-proxy-tests
Re-enable Nexus proxy tests
2018-03-16 15:54:09 +01:00
Alexandre Archambault 21d550543b Ensure a Future is passed back to utest in all cases 2018-03-16 13:44:44 +01:00
Alexandre Archambault 86d3b923e4 Disable test whose dependencies can change, when using proxies 2018-03-16 13:44:43 +01:00
Alexandre Archambault f8884d4170 Re-enable Nexus proxy tests, launch the mirrors from the tests 2018-03-16 13:44:43 +01:00
Mathias Bogaert 7d826e05d5
Support SBT 1.1+ for preloading the compiler interface 2018-03-16 12:41:26 +01:00
Dale Wijnand 6abf4c9e00
Merge pull request #4022 from tmiyamon/support-vscode-test-compile
support test compile on saving in vscode
2018-03-16 10:12:32 +00:00
tmiyamon 77ffbe896d support test compile on saving in vscode 2018-03-16 18:03:52 +09:00
eugene yokota 571417dc6f
Merge pull request #4019 from itohiro73/improve-contributing
Improve instruction for locally built sbt in CONTRIBUTING.md
2018-03-16 15:24:22 +09:00
Hiroshi Ito 04ab2d30e1 Improve instruction for locally built sbt in CONTRIBUTING.md 2018-03-16 15:07:17 +09:00
Dale Wijnand 5b585b7a58
Merge pull request #226 from dwijnand/rename-MakePomConfiguration
Rename to MakePomConfigurationExtra.scala to match
2018-03-15 17:01:48 +00:00
eugene yokota 4efce7e877
Merge pull request #3991 from dwijnand/ExecStatusEvent-exitCode
Add an optional exitCode to ExecStatusEvent so clients can use it
2018-03-16 00:27:17 +09:00
Dale Wijnand dee7390117
Rename to MakePomConfigurationExtra.scala to match
See for example CrossVersionExtra.scala
2018-03-15 14:57:50 +00:00
Dale Wijnand 933668076a
Merge pull request #3989 from dwijnand/cleanup-lsp
Cleanup some parts of the LSP impl
2018-03-15 13:57:44 +00:00
Dale Wijnand 63c9857aec
Merge pull request #223 from dwijnand/shush-repl
Silence noisy compile warnings in all REPLs
2018-03-15 12:59:59 +00:00
Dale Wijnand 5f56fa9f14
Extract serializeResponse 2018-03-15 12:55:21 +00: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 e48438fecc
Merge pull request #225 from dwijnand/travis
CI enforce publish artifacts package without failure
2018-03-15 12:53:27 +00:00
Dale Wijnand 862b0a773d
CI enforce publish artifacts package without failure 2018-03-15 12:33:32 +00:00
Dale Wijnand e6cffafdba
Wrap Travis CI build script 2018-03-15 12:32:25 +00:00
Dale Wijnand 3ed3099017
Sync Scala versions between Travis CI & sbt 2018-03-15 12:31:53 +00:00
Dale Wijnand 087f21741d
Merge pull request #3975 from eed3si9n/wip/serverext
make sbt server extensible
2018-03-15 01:58:07 +00:00
Dale Wijnand a1999a9b90
Cleanup VersionNumberSpec 2018-03-15 01:47:30 +00:00
eugene yokota 077f66e4a4
Merge pull request #220 from cunei/fix-219
Renaming MakePomConfiguration.scala
2018-03-15 10:34:24 +09:00
Antonio Cunei e55362e4c2 Renaming MakePomConfiguration.scala
The regular file has a name collision with the contraband-generated
name. Fixes #219.
2018-03-15 02:26:55 +01:00
Dale Wijnand 140eed1a18
Silence noisy compile warnings in all REPLs 2018-03-14 16:59:09 +00:00
Dale Wijnand 98332c0891
Reply to sbt/exec w/ a Response/Error w/ error code 2018-03-14 13:56:29 +00:00
Alexandre Archambault 06796458b5 Go back to 1.0.1 launcher
Current one still broken because of proguarding
2018-03-14 13:49:38 +01:00
Alexandre Archambault 85071d1203 Setting version to 1.1.0-SNAPSHOT 2018-03-14 13:48:16 +01:00
Dale Wijnand bde6365013
Add an optional exitCode to ExecStatusEvent so clients can use it 2018-03-14 11:56:51 +00:00
Dale Wijnand 7baf97d2a6
Introduce ErrorCodes.UnknownError
Defined in the application defined errors range.
2018-03-14 11:56:51 +00:00
Dale Wijnand 3530349e9a
Rename ErrorCodes' UnknownErrorCode to UnknownServerError
Allows for a non-server-specific unknown error code to be defined.
2018-03-14 11:56:50 +00:00
Dale Wijnand 8972287892
Cleanup ErrorCodes 2018-03-14 11:56:29 +00:00
Alexandre Archambault 44b4ffee84
Updates for 1.1.0-M1 2018-03-14 12:29:36 +01:00
Alexandre Archambault 141170e637 Setting version to 1.1.0-M1 2018-03-14 11:48:14 +01:00
Alexandre Archambault 3381727832
Simplify bootstrap artifacts handling a bit (#810)
If using bootstrap with "isolated" classloaders, optional artifacts weren't added to the "isolated" loaders before that…

I'm not sure anyone except me uses that, so commiting that straightaway for now… (I'm using it in the context of jupyter-scala, to isolate classloaders from there)
2018-03-13 16:48:09 +01:00
Eugene Yokota 0433440c59 move ServerHandler to internal per review 2018-03-13 23:42:40 +09:00
Eugene Yokota f13465246c include the full body in debug message 2018-03-13 23:02:45 +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
Alexandre Archambault 8cf4d7a16d
Merge pull request #807 from coursier/topic/less-scalaz
Remove scalaz dependency from core and cache
2018-03-13 12:36:58 +01:00
Dale Wijnand 512684f3e0
Merge pull request #217 from ryandbair/jsch
Bump to latest jsch to support stronger key exchange algorithms
2018-03-13 10:40:38 +00:00
Eugene Yokota d4cdb11b53 typo fix 2018-03-13 17:47:11 +09:00
Alexandre Archambault 189bc7799a Clean-up 2018-03-12 21:50:36 +01:00