Commit Graph

298 Commits

Author SHA1 Message Date
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 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 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
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
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 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 1523601696 Build from fresh modules 2020-11-14 14:23:48 -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 8ac96af3fb Zinc 1.4.0, LM 1.4.0 2020-10-04 13:47:49 -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
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
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