Commit Graph

6035 Commits

Author SHA1 Message Date
Dale Wijnand c8a4dc10e7 Add MavenCentral to RunFromSourceMain's repos 2018-05-15 11:07:31 +02:00
eugene yokota 5335eb3779
Merge pull request #4151 from eed3si9n/wip/bumpio
IO 1.1.8
2018-05-08 18:43:46 -04:00
Eugene Yokota b849894a36 IO 1.1.8 2018-05-08 17:52:30 -04:00
eugene yokota 685b8fe254
Merge pull request #4150 from eatkins/watch-fix
Revert back to non-blocking watch termination condition
2018-05-08 17:50:37 -04:00
Ethan Atkins d3ac5274b3 Revert back to non-blocking watch termination condition
A thread blocking on System.in.read() cannot be interrupted, so check
System.in.available before blocking. This is how it used to work. It
requires https://github.com/sbt/io/pull/149 or else a cpu will be
pegged by the EventMonitor user input thread spinning on
System.in.available.
2018-05-08 13:26:58 -07:00
eugene yokota 68c984a66d
Merge pull request #4146 from eed3si9n/wip/bumpzinc
Zinc 1.1.7
2018-05-08 13:09:34 -04:00
Eugene Yokota 24946189f0 Zinc 1.1.7 2018-05-07 16:18:46 -04:00
eugene yokota 20ca5c8f8a
Merge pull request #4145 from eed3si9n/wip/bumpzinc
IO 1.1.7, Zinc 1.1.6, dotty plugin, and watch
2018-05-05 23:58:59 -04:00
Eugene Yokota 2b099c86b5 Fix Dotty plugin test
Ref https://github.com/sbt/sbt/pull/4084
2018-05-05 15:19:47 -04:00
Eugene Yokota d8fe09f007 Adjust to upstream change 2018-05-05 05:02:53 -04:00
Eugene Yokota 90931857c3 Merge branch 'pr/4096' into wip/bumpzinc 2018-05-05 04:58:19 -04:00
Eugene Yokota 094c2c602d Formatting 2018-05-05 04:57:14 -04:00
Eugene Yokota a629dea053 Merge branch 'pr/4084' into wip/bumpzinc 2018-05-05 04:54:43 -04:00
Eugene Yokota 38d53a941a IO 1.1.7, Zinc 1.1.6 2018-05-05 04:53:34 -04:00
eugene yokota 03f49dd481
Merge pull request #4144 from eed3si9n/wip/move-fakeboot
Move fakeboot to home
2018-05-04 21:54:37 -04:00
Eugene Yokota 94a57dcf00 Move fakeboot to home
https://github.com/sbt/sbt/pull/4143 kept failing, and while I was debugging,
I noticed that the target that it was downloading scala-compiler was in
/tmp/... for the remote instance.
This moves the fakeboot to a full path, which should make the build
less susceptible to failure due to random network issues.
2018-05-04 19:37:42 -04:00
Liu Fengyun 1057dcd291 update deprecated message 2018-05-04 17:10:50 +02:00
Liu Fengyun 50f2ebce88 overload autoPlugins for binary compatibility 2018-05-04 17:00:25 +02:00
Liu Fengyun adf045d4f8 move notes to 1.1.5 2018-05-04 16:39:05 +02:00
Liu Fengyun ecbfdfef25 fix compilation error 2018-05-03 22:36:17 +02:00
liu fengyun 06cf5e5635 update sbt-dotty version 2018-05-03 22:29:34 +02:00
liu fengyun 83212785b0 add dotty plugin test 2018-05-03 22:29:34 +02:00
liu fengyun 9ad1b120c1 add notes 2018-05-03 22:29:34 +02:00
liu fengyun 5d63035a27 Fix #4073: support detect dotty plugins 2018-05-03 22:29:34 +02:00
Dale Wijnand d76a1384b2
Merge pull request #4129 from eed3si9n/wip/bump-scala-to-2.12.6
upgrade Scala 2.12.4 -> 2.12.6
2018-04-30 11:30:55 +01:00
eugene yokota d74afe0ca8
Merge pull request #4133 from som-snytt/issue/guidance
Minor grammar for contributing text.
2018-04-29 16:45:51 -04:00
Som Snytt c29b88ed5c Minor grammar for contributing text. 2018-04-29 13:14:54 -07:00
eugene yokota df0a3c2dc5
Merge pull request #4130 from eed3si9n/wip/vscode
start sbt in VS Code terminal window
2018-04-29 13:23:49 -04:00
Robert Walker 4086f6c85b start sbt in VS Code terminal window 2018-04-28 19:50:40 -04:00
Eugene Yokota ccd03eeba2 resolve Scala compiler using Ivy
When Scala compiler is not found in the boot directory, use Ivy to resolve it.
2018-04-28 03:45:24 -04:00
Seth Tisue 4477a42b5a upgrade Scala 2.12.4 -> 2.12.6
I have no specific user-visible benefit in mind other than fewer
JARs to download for people who are on current versions of things
2018-04-27 23:20:51 -04:00
Eugene Yokota e726964809 Bump npm modules for VS Code extension 2018-04-27 19:59:56 -04:00
Dale Wijnand bf8df381f5
Merge pull request #4123 from eed3si9n/wip/repl
Re-fix console and JLine bug
2018-04-26 07:00:21 +01:00
Eugene Yokota a798c4adff Re-fix console and JLine bug
Fixes #3482 take 3

There are two bugs related REPL and JLine.
1. JLine getting disabled (up arrow not working) on the second run of `console` task.
2. Typed characters not showing up even on the `console` task.

The first issue was fixed by #4054 which added `t.init`. When I noticed the second problem, I fixed it in #4082 (adds `t.restore`) but undid the first fix. This attempts to fix both the issues.
2018-04-25 16:55:26 -04:00
Eugene Yokota 334789c919 1.1.5-SNAPSHOT 2018-04-25 16:15:19 -04:00
Dale Wijnand 5bf1be1202
Merge pull request #4115 from dwijnand/cleanup/drop-negate-params-in-scalac-opts
Drop -Ywarn-unused:-params
2018-04-24 13:53:07 +01:00
Dale Wijnand c0756e14d9
Merge pull request #4114 from OlegYch/fix-4112
Remove usage of DynamicVariable and fix memory leak, fixes #4112
2018-04-24 09:53:39 +01:00
Dale Wijnand 065b65a05e
Drop -Ywarn-unused:-params
Previously we'd get in the build logs:

    [error] params cannot be negated, it enables other arguments

and lots of wawrnings.

Now we just get lots of warnings without the non-fatal error message.
2018-04-24 07:29:49 +01:00
OlegYch eeeb4c9ff2 Remove usage of DynamicVariable and fix memory leak, fixes https://github.com/sbt/sbt/issues/4112 2018-04-23 20:46:08 +03:00
Ethan Atkins 754385125a Use new EventMonitor in executeContinuously
In https://github.com/sbt/io/pull/142, I add a new api for watching for
source file events. This commit updates sbt to use the new EventMonitor
based api. The EventMonitor has an anti-entropy parameter, so that
multiple events on the same file in a short window of time do not
trigger a build. I add a key to tune it.

The implementation of executeContinuously is pretty similar. The main
changes are that shouldTerminate now blocks (EventMonitor spins up a
thread to check the termination condition) and that the
EventMonitor.watch method only returns a Boolean. This is because
the event monitor contains mutable state. It does, however, have a
state() method that returns an immutable snapshot of the state.
2018-04-23 10:02:29 -07:00
Ethan Atkins 8c6f71a180 Bump io
My next commit replaces the implementation of
Watched.executeContinuously using apis that are available only in a
pending io pull request (https://github.com/sbt/io/pull/142).
2018-04-23 10:02:29 -07:00
Dale Wijnand a2af3bff15
Merge pull request #4098 from eatkins/filter
Exclude directories instead of including files
2018-04-23 08:15:11 +01:00
Dale Wijnand cd7eb95728
Merge pull request #4093 from laughedelic/unexpected-responses
WIP: Fix unexpected responses from the server
2018-04-23 08:02:30 +01:00
Dale Wijnand dfff1ed928
Merge pull request #4032 from eed3si9n/wip/servertest
improve server testing
2018-04-18 07:12:53 +02:00
Eugene Yokota 1ec07c1867 Recover sbtOn 2018-04-17 23:26:29 +02:00
Ethan Atkins 2bb717dbf9 Exclude directories instead of including files
The existing filter caused SourceModificationWatch.watch to ignore
deleted files because !file.exists implies !file.isFile. The intention
of the filter was to exclude directories that had a name ending in
".scala".
2018-04-13 11:36:40 -07:00
Alexey Alekhin a1e3146c08
Don't use initialize request id for the internal collectAnalyses call 2018-04-12 19:47:32 +02:00
Dale Wijnand a8c1239e32
Merge pull request #4058 from retronym/topic/quietly-cancel
Avoid printing RejectedExectionExeption stack trace after cancellation
2018-04-11 12:00:03 +01:00
Dale Wijnand 2e2c3f6e89
Merge pull request #4087 from hvesalai/patch-2
Update to Jline 2.14.6
2018-04-11 11:55:56 +01:00
Heikki Vesalainen e5a37cad42
Update to Jline 2.14.6
This version of Jline fixes three things for Emacs users:
- ANSI colors are now enabled for Emacs.
- Terminal echo is now disabled for Emacs.
- History is enabled for all dump terminals.
2018-04-11 00:10:56 +03:00