Alexandre Archambault
1af1c6b11d
Replace some uses of java.io with NIO
2018-03-19 10:48:50 +01:00
Alexandre Archambault
817d6b6d44
Remove now unnecessary helper functions
...
They were useful on Java 6, and aren't anymore now that we require Java >= 8
2018-03-19 10:48:50 +01:00
Alexandre Archambault
e1800e74a9
Remove milestone from MIMA checks
...
And ensure the ones to come aren't added either
2018-03-19 10:48:49 +01:00
Eugene Yokota
862ae293ba
include only scala-library into the boot classpath during run
...
Fixes https://github.com/sbt/sbt/issues/3405
Ref https://github.com/scala/scala-xml/issues/195
sbt's `run` is emulated using a classloader trick that includes ScalaInstance as the parent classloader under the classpath. The problem is the ScalaInstance classloader currently contains both compiler, library, and their transitive JARs:
```scala
res0: Array[java.io.File] = Array(scala-library.jar, scala-compiler.jar, jline.jar, scala-reflect.jar, scala-xml_2.12.jar)
```
This could have been causing various issues, but most recently it showed up as wrong version of scala-xml getting prioritized over what's passed by the user.
1. new field loaderLibraryOnly is added to xsbti.ScalaInstance.
2. it is initialized to the library loader if the launcher creates it, otherwise create layered loader here.
This aims to isolate the library loader, and retain the perf.
2018-03-19 18:45:42 +09:00
Shani Elharrar
db2a871391
Print: use roots when rendering reverse graph ( #808 )
...
* Print: use roots when rendering reverse graph
* Print: Refactored to be able to return Tree data structure
* SBT: Refactored code and added coursierWhatDependsOn Task (?)
* SBT: Added tests to the new coursierWhatDependsOn task
* Tasks: Another try to fix the build
* Tree: Restored Apply[A] for binary compatibility
* Print.scala: Fix the build
* sbt-coursier: Refined what depends on check to check correctness
* PrintTests: Added test for reverseTree
* CR Fixes...
1. changed gotVersion to reconciledVersion
2. Moved AppliedTree to tests project
3. Changed message (wanted version, got version) to X -> Y
2018-03-18 23:45:11 +01:00
Dale Wijnand
c6df309073
Merge pull request #4025 from tiqwab/fix-parsing-id
...
Fix handling id in jsonrpc model
2018-03-18 16:35:44 +00:00
eugene yokota
73bce6fa5a
Merge pull request #228 from eed3si9n/wip/managed-checksums2
...
Adds null check for 'sbt.managedChecksums' in ivySettings file
2018-03-18 17:45:29 +09:00
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