Commit Graph

11353 Commits

Author SHA1 Message Date
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
Johannes Rudolph de4d508f4e
Merge pull request #166 from jrudolph/rename-our-own-update-task
Rename our own update task to something else so we don't conflict with other task scopes
2018-09-15 16:04:51 +02:00
Johannes Rudolph c117be2091
Rename our own update task to something else so we don't conflict with other task scopes 2018-09-15 15:04:12 +02:00
Johannes Rudolph 49ad75aaa5
Merge pull request #165 from jrudolph/jr/consistent-outputs
For common operations introduce `asString`, `printToConsole`, and `toFile` subtasks, fixes #164
2018-09-15 12:43:46 +02:00
Johannes Rudolph 8aa58cd8ff
For common operations introduce `asString`, `printToConsole`, and `toFile` subtasks, fixes #164 2018-09-14 17:56:49 +02: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
Johannes Rudolph 01ac4ddb84
Merge pull request #163 from jrudolph/jr/remove-updateTask-copies
Get rid of local updateTask copy by using `inTask` instead, fixes #148
2018-09-14 15:12:26 +02:00
Johannes Rudolph 7992dc91f8
Get rid of local updateTask copy by using `inTask` instead, fixes #148 2018-09-14 15:00:47 +02:00
Johannes Rudolph 2836f83286
Add changelog entry for dependencyBrowseTree and move it a bit down in documentation 2018-09-14 14:33:50 +02:00
Johannes Rudolph 83d3e3a5df
Merge pull request #136 from pcejrowski/master
Added dependencyBrowseTreeHTML and dependencyBrowseTree tasks
2018-09-14 14:28:59 +02: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
Pawel Cejrowski eac51150a7 Added dependencyBrowseTreeHTML and dependencyBrowseTree tasks 2018-09-12 20:48:21 +02: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
Guillaume Martres e905b44a33 Follow-up to the fields added in #173
It turns out that there is more boilerplate to fill that I missed.

Also add deprecation notices.
2018-08-28 02:04:10 +09:00
Guillaume Martres a90675635f 1.2.2-SNAPSHOT 2018-08-28 01:27:56 +09:00
Johannes Rudolph 5ef1db0a9d
Prepare 0.9.2 2018-08-26 19:18:59 +02:00
eugene yokota 4c3cd4e535
Merge pull request #4331 from eed3si9n/wip/allfix
Fix single repo emulation script
2018-08-24 11:43:14 -04:00