Commit Graph

10242 Commits

Author SHA1 Message Date
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
Eugene Yokota f4ae038023 Fix single repo emulation script
Fixes #4330
Ref 5b179a2611 (diff-fdc3abdfd754eeb24090dbd90aeec2ce)
2018-08-24 06:25:40 -04:00
Johannes Rudolph e4943b2163
Merge pull request #161 from jrudolph/update-sbt
Update sbt to 1.2.1
2018-08-23 22:32:26 +02:00
Johannes Rudolph 41caf67757
Also run with latest sbt 1.2.1 2018-08-23 22:22:07 +02:00
Johannes Rudolph 1d8649ea6e
Merge pull request #159 from jrudolph/fix-95
Don't fail in parsing when whatDependsOn is called without running any other command first, fixes #95
2018-08-23 22:14:01 +02:00
Johannes Rudolph 9a5d51902b
Merge pull request #160 from jrudolph/add-travis-caching
Add travis caching
2018-08-23 22:13:49 +02:00
Johannes Rudolph 06c3503e1b
Build with latest sbt 1.2.1 2018-08-23 17:07:50 +02:00
Johannes Rudolph 59fe1b6b5e
add travis caching 2018-08-23 17:04:40 +02:00
Johannes Rudolph 6b176a9ca1
Don't fail in parsing when whatDependsOn is called without running any other command first, fixes #95
If no other command was run first, tab completion runs now in degraded mode
again, not showing any concrete suggestions but just the general syntax.

This probably regressed in #155 where I probably couldn't remember the reason
for the fallback...
2018-08-23 16:53:32 +02:00
Nepomuk Seiler 3a7d602b04 FIX #1972 add notes 2018-08-22 18:11:20 +02:00
Nepomuk Seiler 5989d07249 FIX #1972 fix lost package mappings with identical source file 2018-08-22 18:05:49 +02:00