Commit Graph

11485 Commits

Author SHA1 Message Date
Eugene Yokota f5fb537c6d sbt 1.6.1 2022-01-31 16:23:00 -05:00
eugene yokota 0518ede298
Merge pull request #6799 from Nirvikalpa108/remove-unimplemented-scalacoption
Remove scalacoption -S-X
2022-01-21 10:28:23 -05:00
Amina Adewusi a3610377d4 Remove scalacoption -S-X
Fixes https://github.com/sbt/sbt/issues/6785.
2022-01-21 14:51:11 +00:00
eugene yokota a523fa8662
Merge pull request #6766 from eed3si9n/wip/lazyval
Use lazy val
2021-12-28 23:46:25 -05:00
Eugene Yokota 515993498d Use lazy val 2021-12-28 23:45:04 -05:00
eugene yokota 06a09b03dd
Merge pull request #6765 from eed3si9n/wip/log4j
[1.6.x] log4j 2.17.1
2021-12-28 23:40:39 -05:00
Eugene Yokota d71a1fbdac log4j 2.17.1
Fixes CVE-2021-44832
https://logging.apache.org/log4j/2.x/security.html
2021-12-28 23:07:39 -05:00
Eugene Yokota 43088834d2 sbt 1.6.0 2021-12-26 13:44:22 -05:00
eugene yokota d4e8d0e4de
Merge pull request #6762 from eed3si9n/wip/bump
[1.6.0] Zinc 1.6.0
2021-12-26 02:17:39 -05:00
Eugene Yokota 544a935534 Update banner 2021-12-26 01:48:14 -05:00
gontard 990fa9530f Ensure sbtConfig argv does not need sbt in PATH
Before, the BSP config .bsp/sbt.json generated by `sbt bspConfig`
contained a command line which required the sbt binary in the PATH.
This fix changes the nature of the -Dsbt.script option. It was
an argument of the main class xsbt.boot.Boot, it's now a system
property and thus it's used to launch the sbt server.

Fixes https://github.com/sbt/sbt/issues/6760
2021-12-26 01:47:21 -05:00
Eugene Yokota 0f8ac0f543 Zinc 1.6.0 2021-12-26 01:44:00 -05:00
Eugene Yokota 645cebccac IO 1.6.0 2021-12-26 00:28:09 -05:00
Eugene Yokota df46c08051 sbt 1.6.0-RC2 2021-12-18 18:11:10 -05:00
eugene yokota 4307352f87
Merge pull request #6756 from eed3si9n/wip/log4j2.17.0
[1.6.x] log4j 2.17.0
2021-12-18 15:53:19 -05:00
Eugene Yokota 57e1044f5b log4j 2.17.0 2021-12-18 15:05:31 -05:00
eugene yokota 67f86b9175
Merge pull request #6753 from eed3si9n/wip/coursier
[1.6.x] lm-coursier-shaded 2.0.10
2021-12-18 00:16:06 -05:00
Eugene Yokota e56b199300 lm-coursier-shaded 2.0.10 2021-12-17 23:21:26 -05:00
eugene yokota e944017d79
Merge pull request #6750 from eed3si9n/wip/log4j
[1.6.x] log4j 2.16.0
2021-12-15 16:38:25 -05:00
Michal Augustýn 7a2d9981f7 chore(deps): log4j 2.16.0 2021-12-15 02:36:59 -05:00
eugene yokota 851fc201c6
Merge pull request #6744 from eed3si9n/wip/log4j-zeroday-1.6.x
[1.6.x] Update log4j
2021-12-10 16:13:21 -05:00
Eugene Yokota 4a75007862 Update log4j 2021-12-09 23:49:00 -05:00
eugene yokota bed2e5bef9
Merge pull request #6740 from adpi2/backport-1.6
[1.6.x] register all forked processes
2021-12-06 11:52:42 -05:00
Adrien Piquerez 0fef804b18 Fix #6738: register all forked process 2021-12-06 09:12:38 +01:00
Eugene Yokota daa57c4e1c sbt 1.6.0-RC1 2021-11-29 12:49:43 -05:00
eugene yokota 87c618ab4c
Merge pull request #6732 from eed3si9n/wip/bump 2021-11-29 07:01:13 -05:00
Eugene Yokota 2f2ceeb9c9 Update banner 2021-11-29 05:32:33 -05:00
Eugene Yokota bdccb6cbd5 Zinc 1.6.0-M2 2021-11-29 05:18:00 -05:00
eugene yokota cf3d286499
Merge pull request #6730 from eed3si9n/wip/build-server-reporter
[1.6.x] Fixes fake position handling, take 2
2021-11-28 02:54:29 -05:00
eugene yokota 0b98648454
Merge pull request #6728 from eed3si9n/wip/noserver
--no-server mode
2021-11-27 23:46:39 -05:00
Eugene Yokota 5b179395ec Fixes fake position handling, take 2
Fixes #6720
Ref #5994

Problem
-------
Sometimes the compiler returns a fake position such as `<macro>`.
This causes this causes InvalidPathException on Windows if we try
to convert it into NIO path.

Solution
--------
Looks for less-than sign in the VirtualFileRef and skip those.
Since BSP requires the diagnostic info to be associated with
files, we probably can't do much.
2021-11-27 23:42:20 -05:00
eugene yokota 54f6a49a9d
Merge pull request #6729 from eed3si9n/wip/timeout
Extend supershell close timeout
2021-11-27 23:28:12 -05:00
Eugene Yokota e3afa845ec Extend supershell close timeout
Fixes #6592

Problem
-------
On Heroku there's timeout.

Solution
--------
This seems to be coming from supershell closing the executor.
Extend the timeout to 30s.
2021-11-27 21:26:52 -05:00
Eugene Yokota f11a25a9c9 Add test 2021-11-27 21:19:38 -05:00
Eugene Yokota 7d429c6724 --no-server mode
Fixes #6530
Ref #6101

Problem
-------
Although having sbt server up by default is beneficial to well-tested
platforms like macOS, on less tested setups various native and/or
native-adjacent techniques we use could end up causing instability.

Solution
--------
This adds `--no-server` as a quick way of telling sbt not to start up
the sbt server or create virtual terminal.
2021-11-27 20:20:42 -05:00
David Francoeur a448b1caab
Load credentials from SBT_CREDENTIALS (#6724)
Load credentials from SBT_CREDENTIALS
Prefer sys.env to System.getenv
2021-11-27 02:44:49 -05:00
eugene yokota 64e05bdf68
Merge pull request #6725 from eed3si9n/wip/coursier
lm-coursier 2.0.9
2021-11-26 00:39:51 -05:00
Eugene Yokota db17b5a462 lm-coursier 2.0.9
https://github.com/coursier/sbt-coursier/releases/tag/v2.0.9
https://github.com/coursier/coursier/releases/tag/v2.1.0-M1
2021-11-25 21:32:44 -05:00
eugene yokota b2f0b7dada
Merge pull request #6719 from eed3si9n/wip/line-endings
Fix line endings in msi
2021-11-20 13:33:43 -05:00
Eugene Yokota 307f46a3c0 Fix line endings in msi
Fixes #6717
2021-11-19 20:41:39 -05:00
eugene yokota aa22c02d84
Merge pull request #6716 from eed3si9n/wip/global-keys
Fixes tab completion of global keys
2021-11-16 19:51:58 -05:00
Eugene Yokota 6c68b843d5 Fixes tab completion of global keys
Fixes #1373
Fixes #6715

Following my own PR #2855 around `ThisBuild`, this attempts to fix the
tab completion of globally scoped keys from the shell.
2021-11-16 19:23:25 -05:00
eugene yokota 8f1c0f61a1
Merge pull request #6714 from xuwei-k/position-macro-scala-3
SourcePositionMacro for Scala 3. enable Scala 3 build for some `util` modules
2021-11-16 09:24:18 -05:00
xuwei-k 5c90a84c72 SourcePositionMacro for Scala 3 2021-11-16 16:32:31 +09:00
eugene yokota d01cdd53e1
Merge pull request #6713 from xuwei-k/scala-3-build-settings-1
Update build settings for Scala 3
2021-11-16 01:28:30 -05:00
xuwei-k 38f5449084 Update build settings for Scala 3 2021-11-16 10:19:26 +09:00
kenji yoshida 1f4517d5cc update hedgehog and scalacheck
prepare Scala 3
2021-11-15 13:13:33 +09:00
eugene yokota b3aae681bf
Merge pull request #6711 from xuwei-k/fix-scala-2-13-warn
fix Scala 2.13 warnings
2021-11-14 21:53:57 -05:00
eugene yokota ad6f07bfee
Merge pull request #6710 from xuwei-k/update-scalatest
Update scalatest
2021-11-14 21:34:29 -05:00
xuwei-k 535b15b83e fix Scala 2.13 warnings 2021-11-14 22:59:34 +09:00