Commit Graph

1151 Commits

Author SHA1 Message Date
Eugene Yokota 5ea9ee159c 1.3.0 2018-09-28 02:28:12 -04:00
Eugene Yokota ab674321dc Scala 2.12.7 2018-09-28 02:27:45 -04:00
eugene yokota dbd17e63e2
Merge pull request #181 from eed3si9n/wip/jdk11
openjdk11
2018-09-22 01:13:48 -04:00
Eugene Yokota e121d969c4 openjdk11 2018-09-22 00:55:00 -04:00
eugene yokota 69d6b3aeb8
Merge pull request #180 from eed3si9n/wip/fatal-warnings
Fix 2.10 build
2018-09-22 00:47:22 -04:00
Eugene Yokota 9f876009c8 Fix 2.10 build
Fixes #179
2018-09-22 00:35:20 -04:00
eugene yokota a4555f9aaa
Merge pull request #177 from eed3si9n/wip/sip-18
SIP-18 import
2018-09-20 01:42:49 -04:00
eugene yokota 7f9ffb7e62
Merge pull request #178 from eed3si9n/wip/fatal-warnings
-Xfatal-warnings
2018-09-20 01:42:32 -04:00
Eugene Yokota dee4ccaa68 only for 2.12 2018-09-20 00:36:32 -04:00
Eugene Yokota cf0467609d -Xfatal-warnings 2018-09-19 22:46:38 -04:00
Eugene Yokota 9beff33152 SIP-18 import
Adds SIP-18 import for unidoc purpose.
2018-09-19 22:03:32 -04:00
Eugene Yokota 7254a258d5 SIP-18 import
Adds SIP-18 import for unidoc purpose.
2018-09-19 22:01:18 -04: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
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
Eugene Yokota 494f384c49 Formatting 2018-08-16 16:36:41 -04:00
eugene yokota 05cecc378c
Merge pull request #173 from smarter/position-range
xsbti.Position: add startOffset and endOffset
2018-08-16 16:25:11 -04:00
Guillaume Martres 5e3a102606 xsbti.Position: Also add {start,end}{Line,Column}
Positions in the Language Server Protocol and Build Server Protocol are
line/column-based instead of offset-based, so this is more convenient.
Computing the line/column from the offset is possible but requires
reading the source file.
2018-08-14 02:04:55 +09:00
Guillaume Martres 78834527df xsbti.Position: add startOffset and endOffset
A position now has a start, an end, and a point (the existing `offset`),
just like it does in the Scala compiler. This information is especially
useful for displaying squiggly lines in an IDE.

This commit and the next one are required for https://github.com/sbt/zinc/pull/571
2018-08-14 02:04:43 +09:00
Guillaume Martres f457696a99 Upgrade to sbt 1.2.1 2018-08-13 01:03:08 +09:00
Dale Wijnand 39070c18e2
Merge pull request #172 from dwijnand/lenient-StringTypeTag
Make checkTypeTag lenient on "scala." type prefix
2018-08-02 08:08:16 +01:00
Dale Wijnand b1d02bee30
Make checkTypeTag lenient on "scala." type prefix 2018-08-02 07:52:13 +01:00
eugene yokota 6a9c7c934e
Merge pull request #171 from eed3si9n/wip/next
1.2.1-SNAPSHOT
2018-08-01 00:29:23 -04:00
Eugene Yokota 81a1317e53 1.2.1-SNAPSHOT 2018-08-01 00:16:15 -04:00
eugene yokota 7e9e4879aa
Merge pull request #170 from eed3si9n/wip/bump
IO 1.2.0
2018-07-29 16:11:12 -04:00
Eugene Yokota 184c5bdaef IO 1.2.0 2018-07-29 15:36:27 -04:00
eugene yokota 404ea508e0
Merge pull request #169 from Dwolla/issue-168
Output Caching: invoke output value function again, after executing output effect
2018-07-27 13:53:10 -04:00
Brian P. Holt 6f2b78b6a8 clean up compiler warnings in util-tracking 2018-07-27 11:35:26 -05:00
Brian P. Holt 141d9357cc invoke output value function again, after executing output effect
fixes #168
2018-07-27 11:31:58 -05:00
eugene yokota 3811d2a82e
Merge pull request #167 from eed3si9n/wip/run-logging
Fixes the stacktrace trimming
2018-06-27 08:16:07 -04:00
Eugene Yokota 434e294f28 Fixes the stacktrace trimming
Ref https://github.com/sbt/sbt/issues/4121
Ref https://github.com/sbt/sbt/pull/4232
2018-06-27 06:37:36 -04:00
eugene yokota 7f52cc4bd7
Merge pull request #165 from eed3si9n/wip/houserules
sbt-houserules 0.3.7
2018-06-26 00:43:37 -04:00
Eugene Yokota 2b8d71ebe5 sbt-houserules 0.3.7 2018-06-14 02:01:40 -04:00
eugene yokota b643c98f29
Merge pull request #164 from eed3si9n/wip/merge-1.1.x
Merge 1.1.x
2018-06-14 01:57:02 -04:00
Eugene Yokota 2b52c7dea0 Merge branch '1.1.x' into wip/merge-1.1.x 2018-06-14 01:11:49 -04:00
eugene yokota 8dbe9204d3
Merge pull request #162 from xuwei-k/adapted-args
fix adapted argument warning
2018-06-13 11:53:44 -04:00
xuwei-k e97451d812 fix adapted argument warning
https://travis-ci.org/sbt/util/jobs/373445819#L517

```
[warn] /home/travis/build/sbt/util/util-cache/src/main/scala/sbt/util/Input.scala:19:23: No automatic adaptation here: use explicit parentheses.
[warn]         signature: Using.apply[R](src: Source)(f: T => R): R
[warn]   given arguments: input, IO.utf8
[warn]  after adaptation: Using((input, IO.utf8): (java.io.InputStream, java.nio.charset.Charset))
[warn]     Using.streamReader(input, IO.utf8) { reader =>
[warn]                       ^
```
2018-06-11 13:11:51 +09:00
Dale Wijnand b412c9c929
Merge pull request #161 from xuwei-k/foldLeft
use foldLeft instead of /:
2018-05-01 13:26:06 +01:00
xuwei-k 5ca377cd59 use foldLeft instead of /:
1c56f0af6d/src/library/scala/collection/IterableOnce.scala (L465)
2018-05-01 20:20:00 +09:00
Dale Wijnand d40517b828
Merge pull request #160 from eed3si9n/wip/bump
Scala 2.12.6 and other dependencies
2018-04-30 11:09:55 +01:00
Eugene Yokota d2e59fa165 Scala 2.12.6 and other dependencies
sbt 1.1.4
Scala 2.12.6
ScalaCheck 1.14.0
ScalaTest 3.0.5
Contraband 0.4.0
2018-04-28 03:52:33 -04:00
eugene yokota 435a1c47f5
Merge pull request #159 from retronym/bump/houserules
Upgrade to latest sbt-houserules
2018-04-08 14:32:02 -04:00
Jason Zaugg f2d3cfea3f Upgrade to latest sbt-houserules 2018-04-08 14:37:51 +10:00
eugene yokota a0ef0c02d9
Merge pull request #158 from dwijnand/StringTypeTag-opt-test-enforcement
Enforce invariant in StringTypeTag optimisation
2018-04-05 10:45:34 -04:00
Dale Wijnand 029952895b
Enforce invariant in StringTypeTag optimisation
Or, put differently, "Add a test for sbt/util#153".
2018-04-05 09:43:22 +01:00
Dale Wijnand 93d2b77922
Merge pull request #157 from eed3si9n/wip/merge-1.1.x
merge 1.1.x
2018-03-27 10:49:14 +01:00
Eugene Yokota 0c26b55882 Merge branch '1.1.x' into wip/merge-1.1.x 2018-03-26 22:46:04 -04:00