Commit Graph

1026 Commits

Author SHA1 Message Date
Eugene Yokota 0598c9fdc1 ipcsocket 1.5.0
This bumps to ipcsocket 1.5.0, which fixes the temp directory cleanup
bug.
Fixes https://github.com/sbt/sbt/issues/6931
Fixes https://github.com/sbt/sbt/issues/6173
2022-06-26 14:37:12 -04:00
Eugene Yokota 21e5838cfd Build Graal native image using sbt-native-image 2022-06-26 13:25:58 -04:00
Eugene Yokota d5889d3ce3 Bump to Scala 2.12.16 2022-06-13 01:27:24 -04:00
Eugene Yokota c04b2a4f73 lm 1.7.0-M1
This removes OkHttp dependency.
This also removes an experimental feature to customize HTTP for Ivy called
CustomHttp we added in sbt 1.3.0.
Since LM got switched to Coursier in 1.3.0, I don't think we advertized
CustomHttp.
2022-06-13 00:52:32 -04:00
Eugene Yokota 053834aea0 Zinc 1.7.0-M2 2022-04-17 23:26:40 -04:00
Adrien Piquerez 1396e1605d Try fix CI: Build and test (6) 2022-03-08 18:19:20 +01:00
Eugene Yokota 761ad14267 Make License object available
Fixes #1937
Ref https://github.com/sbt/librarymanagement/pull/395
2022-01-31 22:00:54 -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 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 57e1044f5b log4j 2.17.0 2021-12-18 15:05:31 -05:00
Eugene Yokota e56b199300 lm-coursier-shaded 2.0.10 2021-12-17 23:21:26 -05:00
Michal Augustýn 7a2d9981f7 chore(deps): log4j 2.16.0 2021-12-15 02:36:59 -05:00
Eugene Yokota 4a75007862 Update log4j 2021-12-09 23:49:00 -05:00
Eugene Yokota bdccb6cbd5 Zinc 1.6.0-M2 2021-11-29 05:18:00 -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
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
xuwei-k aa8b1141f8 Update scalatest 2021-11-14 22:03:59 +09:00
Amina Adewusi 3c81e08fa2 Migrates Treeview.scala to use Contraband
Migrates TreeView.scala to use Contraband from scala.util.parsing.json,
because this is now deprecated.
The TreeView logic is used in the dependencyBrowseTree task.
2021-11-12 16:52:12 +00:00
Eugene Yokota f6b993f91b Zinc 1.6.0-M1 2021-09-19 17:34:40 -04:00
Amina Adewusi c013d1180c Bump scala version to 2.12.15 2021-09-17 17:46:07 +01:00
Amina Adewusi 696a19f5d7 Virtualize Sync.sync so it can be cached remotely for resources dir syncing
An alternative to https://github.com/sbt/sbt/pull/6554.
2021-07-31 18:23:30 +01:00
Eugene Yokota 181052fddb launcher 1.3.3
Fixes https://github.com/sbt/sbt/issues/6587
2021-07-11 02:04:48 -04:00
Eugene Yokota eec3c32cc8 sbt 1.5.4 2021-06-13 23:34:18 -04:00
Eugene Yokota 69d0023c45 Zinc 1.5.5 2021-06-13 21:49:21 -04:00
Eugene Yokota 367816ccc1 ipcsocket 1.3.1
Fixes https://github.com/sbt/sbt/issues/6531
2021-06-05 15:34:41 -04:00
Eugene Yokota 2ed0574f95 Use sbt 1.5.3 2021-06-01 00:26:20 -04:00
Eugene Yokota e30bd67275 Update modules 2021-05-31 22:06:59 -04:00
Matthias Kurz 3f7193f91a
Update kind-projector 2021-05-28 18:13:28 +02:00
Matthias Kurz fbfc272171
Scala 2.12.14 / 2.13.6 2021-05-28 18:13:28 +02:00
Adrien Piquerez baf6678f83 Remove forking in Test 2021-05-10 11:52:51 +02:00
Eugene Yokota 3d72b6c660 Zinc 1.5.3 2021-05-09 02:00:01 -04:00
Eugene Yokota 8f80367e3c Use sbt 1.5.1 2021-05-02 23:41:55 -04:00
Eugene Yokota 9cc61015d7 Zinc 1.5.2 2021-05-02 21:56:25 -04:00
Eugene Yokota 19bce2874c Downgrade to sbt 1.4.9 until mima issue is addressed 2021-04-25 22:59:57 -04:00
Eugene Yokota 43b2f1eb30 sbt 1.5.1 2021-04-25 22:16:01 -04:00
Eugene Yokota 0c61f7560a Launcher 1.3.1 2021-04-25 18:55:27 -04:00
Eugene Yokota b78d111333 Launcher 1.3.0 2021-04-04 02:20:52 -04:00
Eugene Yokota c1c02853b4 Zinc 1.5.0 2021-04-04 01:29:52 -04:00
Eugene Yokota 2709a1e8a3 Scala 2.13.5 2021-04-03 16:02:58 -04:00
Eugene Yokota ba3a808044 IO 1.5.0 2021-04-03 16:01:45 -04:00
Eugene Yokota f5cba5209a Zinc 1.5.0-M5 and lm 1.5.0-M9 2021-03-22 03:47:51 -04:00
Eugene Yokota 79d7832a35 lm-coursier-shaded 2.0.8
Fixes https://github.com/sbt/sbt/issues/6243
This updates the underlying Coursier from 2.0.12 to 2.0.15

https://github.com/coursier/coursier/releases/tag/v2.0.13
- NumberFormatException fix

https://github.com/coursier/coursier/releases/tag/v2.0.15
- Updates directories-jvm to 24
2021-03-21 16:00:31 -04:00
Eugene Yokota 34eed6f24c Launcher 1.3.0-M3 2021-03-21 05:46:18 -04:00
Eugene Yokota 8c3f0970eb launcher 1.3.0-M2 2021-03-15 02:25:55 -04:00
Eugene Yokota 4a0ebac52a Bump Zinc, LM, and Launcher 2021-03-15 01:34:23 -04:00
eugene yokota 7b46f03b62
Merge pull request #6390 from eed3si9n/fport/bintray_less
[fport] Drop Bintray from release
2021-03-14 03:12:21 -04:00
Eugene Yokota c064cf1aff JAnsi 2.1.0
Fixes https://github.com/sbt/sbt/issues/6372
sbt 1.4.x includes both JLine 2 and JLine 3, and our fork of JLine 2 uses JAnsi matching with JLine 3.
I need to bump JLine 2 together, which uses the same JAnsi version as
JLine 3.
2021-03-09 01:48:09 -05:00
Eugene Yokota 2759a122cf Drop Bintray from release
Fixes https://github.com/sbt/sbt/issues/6370

compatibility note
Today we release the sbt-launcher JAR **twice** under
https://repo1.maven.org/maven2/org/scala-sbt/sbt-launch/1.4.7/:
- https://repo1.maven.org/maven2/org/scala-sbt/sbt-launch/1.4.7/sbt-launch-1.4.7.jar
- https://repo1.maven.org/maven2/org/scala-sbt/sbt-launch/1.4.7/sbt-launch.jar

I think this goes back to the early days when we used to tell people to download the `sbt-launch.jar` and write your own launcher script, which I remember doing. Some remnant seen in https://www.scala-sbt.org/0.12.4/docs/Getting-Started/Setup.html#unix.

I think we can drop this old practice.
2021-03-07 17:47:58 -05:00
Eugene Yokota ab95cc7dca JLine 3.19.0
Fixes https://github.com/sbt/sbt/issues/6348

Intentionally or unintentionally the JLine 3 leaks over from sbt to
Scala REPL currently.
I think this enables things like sbtn to transmit tab completion and
other console interaction over a socket to sbt server.
Scala 2.13.5 REPL now causes some issue of displaying warning
each time the user hits tab for tab completion.
This works around the issue by upgrading to the latest JLine 3.
2021-03-07 03:47:49 -05:00
Eugene Yokota 6c18a37d3f integrate assumedVersionScheme and assumedEvictionErrorLevel
Fixes https://github.com/sbt/sbt/issues/6301
Fixes https://github.com/sbt/sbt/issues/6302

```scala
ThisBuild / assumedVersionScheme := VersionScheme.PVP
ThisBuild / assumedVersionSchemeJava := VersionScheme.EarlySemVer
ThisBuild / assumedEvictionErrorLevel := Level.Warn
```
2021-02-21 19:17:34 -05:00
Eugene Yokota 65c57339f5 lm-coursier-shaded 2.0.7
This upgrades Coursier from 2.0.9 to 2.0.12

- https://github.com/coursier/coursier/releases/tag/v2.0.11 contains some optimization
- https://github.com/coursier/coursier/releases/tag/v2.0.12 contains
  HTTP 403 handling that I added for `updateClassifiers` (used by
  IntelliJ import)
2021-02-15 16:58:28 -05:00
Eugene Yokota e7341f5242 Follow up on scala3doc rename
Fixes https://github.com/sbt/sbt/issues/6307
Ref https://github.com/sbt/librarymanagement/pull/365
Ref https://github.com/lampepfl/dotty/pull/11289

This adds test using M4 nightly, which now uses artifact name
`scaladoc_3.0.0-M4` as oposed to `scala3doc_3.0.0-M3`.
The change in LM keeps the support for the old artifact name
for backward compatibility to build against 3.0.0-M1, -M2, and -M3.
2021-02-14 13:56:51 -05:00
Eugene Yokota 22d12f6618 Use nowarn annotation 2021-02-06 22:31:47 -05:00
Eugene Yokota 61a077e3a6 Scala 2.12.13 2021-01-31 12:59:31 -05:00
Cyrille Chepelov 2fdc6a6212 bump lm-coursier-shaded to 2.0.6 (includes coursier 2.0.9) 2021-01-22 17:13:42 +01:00
Eugene Yokota d177b54967 IO 1.5.0-M1, LM 1.5.0-M4, Zinc 1.5.0-M3 2021-01-18 00:00:45 -05:00
Eugene Yokota e86a705b4f hedgehog-sbt 0.6.1 2021-01-16 03:48:06 -05:00
Eugene Yokota 1c6a5d21bb Port mutable.Specification to verify.BasicTestSuite 2021-01-16 00:47:53 -05:00
Eugene Yokota 8f5759e48d Cross build to Scala 2.13 2021-01-10 20:24:05 -05:00
Eugene Yokota dacffb5095 sbt 1.4.6 and some Metals settings 2021-01-10 14:18:22 -05:00
Adrien Piquerez 6f07bec443 Bump zinc and librarymanagement 2021-01-04 10:01:34 +01:00
Eugene Yokota 45e05cc99f lm-coursier 2.0.5
Updates directories-jvm to 23
https://github.com/coursier/sbt-coursier/releases/tag/v2.0.5
https://github.com/coursier/coursier/releases/tag/v2.0.8
2020-12-24 00:15:59 -05:00
Eugene Yokota adb23cde89 Zinc 1.5.0-M1 2020-12-23 13:41:15 -05:00
João Ferreira 4595faebd8 bump contraband 2020-12-21 13:41:32 +00:00
Eugene Yokota f5d4a0779e lm 1.5.0-M2 2020-12-20 22:31:17 -05:00
Eugene Yokota 9a3d55b92e Zinc 1.4.4 2020-12-20 22:24:29 -05:00
Eugene Yokota 599ee61251 launcher 1.1.6 2020-12-20 22:23:35 -05:00
João Ferreira e1d8f0cafd
Updates to Coursier 2.0.7 (#6120)
* Updates to Coursier 2.0.7

https://github.com/coursier/sbt-coursier/releases/tag/v2.0.4 which includes https://github.com/coursier/coursier/releases/tag/v2.0.7

> Memo-ize classes that can be created at a high rate

coursier.core.{Dependency, Module, Publication} are now memo-ized (using weak references). This can lower the amount of duplicate instances of these objects, and lower GC pressure.
2020-11-26 19:25:37 -05:00
Ethan Atkins 3f3e219e0f Update ipcsocket
The new version provides an apple silicon arm64 jni implementation of
the ipcsocket api. It also adds a jni implementation for getting the max
socket length which is necessary because jna isn't supported on the
apple arm64 platform yet.
2020-11-25 07:34:11 -08:00
Ethan Atkins 4f0f5cec82 Update sbt version 2020-11-23 09:42:43 -08:00
Ethan Atkins c34678e9db Upgrade jline 3
We no longer need to use the forked version of jline because they have
merged in our required changes. The latest version of jline does upgrade
jansi, however, and some of the apis we were relying on for windows were
removed so they had to be manually implemented. I verified that console
input still worked on my windows vm after this change.
2020-11-18 12:18:08 -08:00
Eugene Yokota 0561517d46 Zinc 1.4.3 2020-11-15 18:30:03 -05:00
Eugene Yokota 4499149887 Use Bintray for nightly 2020-11-15 02:43:31 -05:00
Eugene Yokota 1523601696 Build from fresh modules 2020-11-14 14:23:48 -05:00
eugene yokota e5164cdf43
Merge pull request #6063 from eed3si9n/wip/sbt-bumps
Bump sbt versions
2020-11-05 00:40:29 -05:00
Ethan Atkins 2b55aa38ae Bump sbt versions 2020-11-04 23:45:59 -05:00
João Ferreira bc150efd55
Merge branch 'develop' into coursier_2.0.2 2020-11-03 07:52:16 +00:00
João Ferreira 997ee5b405
2.0.3 2020-11-02 22:47:32 +00:00
Eugene Yokota d2252cc89d Zinc 1.4.2 2020-11-01 21:24:35 -05:00
João Ferreira cf926115ed update coursier to 2.0.2 2020-10-30 20:49:20 +00:00
Eugene Yokota 6b70a9425f sjson-new 0.9.1 2020-10-19 12:35:58 -04:00
Eugene Yokota 8007d08158 Zinc 1.4.1 2020-10-19 01:47:11 -04:00
Eugene Yokota 7ba59dba9a bump JUnit
There's a security advisory on JUnit 4.
2020-10-17 04:11:33 -04:00
xuwei-k 244784c78e load .inputrc file
I think jline2 automatically load ".inputrc" file. But jline3 changed behavior.
2020-10-14 17:13:53 +09:00
Eugene Yokota 5f5463fe3b use sbt 1.4.0 2020-10-04 23:35:05 -04:00
Eugene Yokota 8ac96af3fb Zinc 1.4.0, LM 1.4.0 2020-10-04 13:47:49 -04:00
Eugene Yokota a9bda61ee5 Use Ivy for metabuild 2020-10-04 00:36:55 -04:00
Eugene Yokota b54f1fba0b IO 1.4.0 2020-10-04 00:06:54 -04:00
Eugene Yokota 6662b2cf99 lm-coursier-shaded 2.0.0
Uses Coursier 2.0.0
2020-10-02 23:07:27 -04:00
Ethan Atkins 987853329a Bump sbt version to 1.4.0-RC2 2020-09-24 11:42:52 -07:00
Eugene Yokota eb8498a026 launcher 1.1.5 2020-09-21 23:52:48 -04:00
Eugene Yokota e1b64f7e5b lm 1.4.0-M12, Zinc 1.4.0-M13 2020-09-21 23:47:34 -04:00
Ethan Atkins bb8b9a1c99 Fix switching between raw and canonical input
There were a number of issues with swithcing between raw and canonical
issues that affected both the server and the thin client. These were
reported in #5863 and #5856. In both cases, there were issues with
reading input or having the input be displayed. Debugging those issues
revealed a number of issues with how we were using the jline 3 system
terminal and the hybrid interaction with the jline 2 terminal. This
commit eliminates all of our internal jline 2 usage. The only remaining
jline 2 usage is that we create and override the global terminal for the
scala console for scala versions < 2.13. By moving away from jline 2, I
was also able to fix #5828, which reported that the home, end and delete
keys were not working.

One of the big issues that this commit addresses is that the
NetworkClient was always performing blocking reads on System.in. This
was problematic because it turns out that you can't switch between raw
and canonical modes when there is a read present. To fix this, the
server now sends a message to the client when it wants to read bytes and
only then does the client create a background thread to read a single
byte.

I also figured out how to set the terminal type properly for the thin
client on windows where we had been manually setting the capabilities to
ansi, which only worked for some keys. This fix required switching to
the WindowsInputStream that I introduced in a prior commit. Before we
were using the jline 2 wrapped input stream which was converting some
system events, like home and end, to the wrong escape sequence mappings.

The remainder of the commit is mostly just converting from jline 2 apis
to jline 3 apis.

I verified that tab completions, the scala console, the ammonite console
and a run task that read from System.in all work with both the server
and the thin client on mac, linux and windows after these changes.

Fixes #5828, #5863, #5856
2020-09-21 13:42:03 -07:00
Eugene Yokota 72acc5ce74 lm-coursier-shaded 2.0.0-RC6-9
https://github.com/coursier/sbt-coursier/releases/tag/v2.0.0-RC6-9
2020-09-14 22:44:16 -04:00
Ethan Atkins 2921dfa005 Bump sbt version 2020-09-07 09:49:43 -07:00
Eugene Yokota 47842f51f8 Zinc 1.4.0-M12 2020-09-06 16:04:47 -04:00
Eugene Yokota 1bd842856f IO 1.4.0-M8, Zinc 1.4.0-M11 2020-09-06 04:50:52 -04:00
Ethan Atkins c01be0395d Bump sbt build to 1.4.0-M2 2020-08-19 09:26:27 -07:00