Commit Graph

9384 Commits

Author SHA1 Message Date
eugene yokota fbce3232a8
Merge pull request #4365 from eed3si9n/wip/warnings
-Xfatal-warnings in most subprojects
2018-09-18 19:00:23 -04:00
Eugene Yokota ef49a95b7d address more warnings 2018-09-18 17:45:24 -04:00
Eugene Yokota 4b23036c63 contraband 0.4.1 2018-09-18 16:56:19 -04:00
Eugene Yokota 3e1dac5161 -Xfatal-warnings in most subprojects 2018-09-18 11:47:55 -04:00
eugene yokota 10d471ad34
Merge pull request #4364 from eed3si9n/wip/format
cleaning up a few compiler warnings
2018-09-18 09:24:24 -04:00
Eugene Yokota f2bc786fd1 cleaning up a few compiler warnings 2018-09-17 22:30:14 -04:00
eugene yokota 04a4456dd0
Merge pull request #4313 from raboof/supportJdk11AndJavaHomeInCrossJava
Support discovering JDK 11 in JAVA_HOME for CrossJava
2018-09-17 12:34:31 -04:00
eugene yokota 20573e8631
Merge pull request #4341 from Falmarri/feature/show-output-4184
Add `print` command that mimics `show`, but to standard output, not the logger
2018-09-17 12:33:25 -04:00
eugene yokota d3b79ae2e1
Merge pull request #4356 from eed3si9n/wip/remove-global-dir-warning
Remove old warning about global dir
2018-09-17 12:33:06 -04:00
eugene yokota 3f1ae8bd55
Merge pull request #4355 from eed3si9n/wip/one-letter
Allow single-letter aliases
2018-09-16 02:58:45 -04:00
eugene yokota 6b6c52b2d8
Merge pull request #4306 from sirocchj/fix-4236
Fixes #4236
2018-09-16 02:57:09 -04:00
eugene yokota a943543291
Merge pull request #4334 from eatkins/state-ops
Add an implicit class for StateOps
2018-09-16 02:40:12 -04:00
Eugene Yokota f2f1d06329 Remove old warning about global dir
Fixes #1054
2018-09-16 01:55:18 -04:00
Eugene Yokota d1cdebfebf Add test for just z 2018-09-16 01:52:06 -04:00
Eugene Yokota a2ef775edc Add scaladoc for Cross 2018-09-16 01:51:53 -04:00
falmarri cc143db6f7 Make `show` output on stdout rather than to the logger
Fixes #4184
2018-09-15 18:35:04 -07:00
eugene yokota 4ac1cc3d6b
Merge pull request #4359 from eed3si9n/wip/disable-flaky-test
Disable eval-is-safe-and-sound test
2018-09-14 11:11:36 -04:00
eugene yokota 8af7a5acae
Merge pull request #4358 from eed3si9n/wip/license
Apache License 2.0
2018-09-14 11:11:17 -04:00
Eugene Yokota aa7c2cde32 Disable eval-is-safe-and-sound test
eval-is-safe-and-sound test is flaky on Windows.
2018-09-14 05:02:19 -04:00
eugene yokota 54f5a67c33
Merge pull request #4357 from eed3si9n/fport/rangepos
[fport] Follow up on Position extension
2018-09-14 04:58:02 -04:00
Eugene Yokota 4ff4f6e45e Update header 2018-09-14 04:53:36 -04:00
Eugene Yokota 96676e4c55 Apache License 2.0
https://discuss.lightbend.com/t/moving-sbt-and-zinc-to-the-apache-v2-license/1670
2018-09-14 03:38:58 -04:00
Eugene Yokota 0843cd6a3c sbt 1.2.3 2018-09-14 03:28:12 -04:00
Eugene Yokota 45c857d152 Bump modules 2018-09-14 03:16:17 -04:00
Eugene Yokota 426c31ae53 Follow up on Position extension
https://github.com/sbt/util/pull/173 added the ability to carry range position. This exposes it to the sbt server.
2018-09-14 00:59:21 -04:00
Eugene Yokota f3424e265c Formatting 2018-09-14 00:59:01 -04:00
eugene yokota 916724afd4
Merge pull request #4354 from eed3si9n/wip/rangepos
Follow up on Position extension
2018-09-14 00:56:58 -04:00
Eugene Yokota 9ffae4e31f Allow single-letter aliases
Fixes #1074
2018-09-14 00:38:24 -04:00
Eugene Yokota 48418408b3 Follow up on Position extension
https://github.com/sbt/util/pull/173 added the ability to carry range position. This exposes it to the sbt server.
2018-09-14 00:02:02 -04:00
eugene yokota e30a481585
Merge pull request #4353 from eed3si9n/fport/scalaCompilerBridgeBinaryJar
[fport] Add scalaCompilerBridgeBinaryJar task
2018-09-13 22:20:30 -04:00
Guillaume Martres 7eab02fff3 Add scalaCompilerBridgeBinaryJar task
The end goal is to rewrite Dotty's compiler-bridge in Java (this is easy
since the zinc-specific phases are in the compiler itself) to simplify
the bootstrapping process.
2018-09-13 16:13:45 -04:00
eugene yokota dce2ea1f8c
Merge pull request #4351 from eed3si9n/bport/fix-server-broadcast
[1.2.x] Fix second part of #4091: server responses should not be broadcasted
2018-09-13 16:11:21 -04:00
Eugene Yokota b472d5d2b6 Bump modules 2018-09-13 14:26:16 -04:00
Guillaume Martres a7b04329bd Fix second part of #4091: server responses should not be broadcasted
Change CommandExchange#publishEvent to not broadcast ExecStatusEvent and
instead check the channelName, this matches what was already done in
CommandExchange#publishEventMessage
2018-09-13 12:38:48 -04:00
eugene yokota 73b69022ab
Merge pull request #4346 from smarter/fix-server-broadcast
Fix second part of #4091: server responses should not be broadcasted
2018-09-13 09:56:09 -04:00
eugene yokota 65d592cf7e
Merge pull request #4332 from smarter/scalaCompilerBridgeBinaryJar
Add scalaCompilerBridgeBinaryJar task
2018-09-13 09:50:55 -04:00
eugene yokota 07f2b43fea
Merge pull request #4329 from gutefrage/sbt-1972
Allow same file to be packaged more than once
2018-09-12 11:52:27 -04:00
eugene yokota cfcb431dae
Merge pull request #4343 from ignasi35/3150-honour-junit-reports-file-name-conventions
Publish JUnit reports using a compliant filename
2018-09-10 23:34:23 -04:00
eugene yokota 034bfb45be
Merge pull request #4349 from kai-chi/patch-1
fix branch name in CONTRIBUTING
2018-09-10 23:32:56 -04:00
Kajetan Maliszewski 6fa6c1bf7b
fix branch name in CONTRIBUTING 2018-09-10 16:18:40 +02:00
Guillaume Martres 0dc3f39ab2 Fix second part of #4091: server responses should not be broadcasted
Change CommandExchange#publishEvent to not broadcast ExecStatusEvent and
instead check the channelName, this matches what was already done in
CommandExchange#publishEventMessage
2018-09-05 18:34:03 +02:00
eugene yokota c1a00959a5
Merge pull request #4345 from eed3si9n/wip/link
Fix CONTRIBUTING and link to it
2018-09-04 23:28:06 -04:00
Eugene Yokota d40d3fe299 Fix CONTRIBUTING and link to it
Fixes #4338
2018-09-04 23:25:42 -04:00
Ignasi Marimon-Clos 66b485f559 Duplicate reports for backwards-compat adding a name-compliant copy 2018-09-04 18:15:30 +02:00
eugene yokota 965de89c64
Merge pull request #176 from sbt/1.2.x
Merge 1.2.x
2018-08-29 03:27:16 -04:00
eugene yokota 94cb6bfbb7
Merge pull request #175 from smarter/followup-range
Follow-up to the fields added in #173, and add Problem#rendered
2018-08-29 01:43:09 -04:00
eugene yokota eb6cdf77d9
Merge pull request #174 from eed3si9n/wip/format
Formatting
2018-08-29 01:41:59 -04:00
Ethan Atkins 88aa60ea49 Add an implicit class for StateOps
The State file in intellij was littered with red squiggly lines wherever
the extension methods of State called a different extension method of
State.  These went away when I switched to an implicit class, which is
the preferred way of adding extension methods since scala 2.10. As a
bonus, I was able to switch the implicit class to be a value class, so
it should not actually make a new object in most use cases.

I had to re-implement the stateOps method to delegate to the implicit
class for binary compatibility.
2018-08-28 15:45:54 -07:00
Guillaume Martres 2c64c0c9b5 Add scalaCompilerBridgeBinaryJar task
The end goal is to rewrite Dotty's compiler-bridge in Java (this is easy
since the zinc-specific phases are in the compiler itself) to simplify
the bootstrapping process.
2018-08-28 17:44:58 +09:00
Guillaume Martres 15522a0cbe Add Problem#rendered to customize how problems are shown
Dotty has its own logic for displaying problems with the proper file
path, position, and caret, but if we store this information in
Problem#message we end up with duplicated information in the output
since Zinc will prepend/append similar things (see
sbt.internal.inc.ProblemStringFormats). So far, we worked around this in
Dotty by using an empty position in the sbt bridge reporter, but this
means that crucial semantic information that could be used by a Build
Server Protocol implementation and other tools is lost. This commit
allows us to avoid by adding an optional `rendered` field to `Problem`:
when this field is set, its value controls what the user sees, otherwise
we fallback to the default behavior (the logic to do this will be added to
Zinc after this PR is merged and a new release of sbt-util is made).
2018-08-28 03:58:15 +09:00