eugene yokota
67dc4ca44b
Merge pull request #197 from eed3si9n/wip/scalafmt
...
sbt-scalafmt 2.0.0
2019-04-20 23:38:35 -04:00
Eugene Yokota
98ec0075f4
apply formatting
2019-04-20 23:23:13 -04:00
Eugene Yokota
2ac7501c7c
sbt-scalafmt 2.0.0
2019-04-20 23:21:31 -04:00
eugene yokota
473d42ac78
Merge pull request #195 from eed3si9n/wip/cache
...
throw error on deserialization error
2019-04-04 22:53:38 -04:00
Eugene Yokota
7431dbdf1a
throw error on deserialization error
2019-04-04 00:53:44 -04:00
eugene yokota
48574c2041
Merge pull request #194 from eed3si9n/wip/plugins
...
switch to official sbt-scalafmt
2019-03-07 19:19:11 -05:00
Eugene Yokota
e4612c858c
switch to official sbt-scalafmt
2019-03-07 18:19:12 -05:00
eugene yokota
3572868cac
Merge pull request #193 from eed3si9n/wip/terminal
...
Account for log line longer than the terminal width
2019-03-07 17:35:53 -05:00
Eugene Yokota
d496a5dff5
Make showProgress configurable
2019-03-07 16:49:54 -05:00
Eugene Yokota
8215026bc3
Account for log line longer than the terminal width
...
widthHolder will hold on to the terminal width if supplied by sbt.
This avoids adding dependencies to JLine.
2019-03-07 16:42:10 -05:00
Eugene Yokota
8c85744d67
Use IO.Newline for stack trace
2019-03-07 16:39:47 -05:00
eugene yokota
15ea0109b8
Merge pull request #192 from eed3si9n/wip/bump
...
log4j 2.11.2
2019-02-23 14:36:46 -05:00
Eugene Yokota
3a6aa57747
log4j 2.11.2
2019-02-23 14:21:07 -05:00
eugene yokota
62471c6215
Merge pull request #191 from eatkins/avoid-io
...
Add file FileInfo factory applys without io
2019-02-06 14:52:39 -05:00
Ethan Atkins
5b198b20be
Add file FileInfo factory applys without io
...
It may be the case that the file property is already known and we can
avoid performing additional io by just passing in the value directly.
2019-02-05 10:00:27 -08:00
eugene yokota
2e0d2d920a
Merge pull request #189 from eed3si9n/wip/log4j
...
bump JLine and log4j 2
2018-11-26 00:25:07 -05:00
Eugene Yokota
fac92b66cb
bump JLine and log4j 2
2018-11-25 23:22:22 -05:00
eugene yokota
962b891aa1
Merge pull request #188 from eed3si9n/wip/prompt-fix
...
expose ANSI control sequences
2018-11-17 22:09:19 -08:00
Eugene Yokota
9f202397e4
expose ANSI control sequences
2018-11-16 23:03:25 -08:00
eugene yokota
cd679591d0
Merge pull request #187 from eed3si9n/fport/avoid-temp-string
...
Avoid temporary string in JSON reading
2018-10-09 18:50:20 -04:00
Jason Zaugg
65e2980e9d
Avoid temporary string in JSON reading
2018-10-09 18:31:13 -04:00
eugene yokota
f16997d3a9
Merge pull request #184 from eed3si9n/wip/progress
...
Adds sbt.color flag and sbt.progress flag
2018-10-02 08:58:38 -04:00
Eugene Yokota
efe04c1cde
Cleaning up code
2018-10-02 08:51:17 -04:00
Eugene Yokota
458675239c
Add mima exclusion for JsonProtocol.LogOptionFormat
...
According to Travis CI only Scala 2.11 seems to be affected.
2018-10-02 08:17:08 -04:00
Eugene Yokota
9bb244314d
implement sbt.progress
...
This implements a logger that grows upward, instead towards bottom.
2018-10-01 05:50:35 -04:00
Eugene Yokota
53c9b84858
add sbt.color flag
...
This implements a new sbt.color flag that takes always/auto/never/true/false value as a replacement of current sbt.log.format=true/false flag.
When neither flags are set, the default behavior is to enable color when the terminal supports ANSI and it detects an stdout console (as opposed to redirects).
Fixes https://github.com/sbt/sbt/issues/4284
2018-09-30 21:00:09 -04:00
eugene yokota
256e9a7c65
Merge pull request #182 from eed3si9n/wip/2127
...
Scala 2.12.7
2018-09-28 02:37:21 -04:00
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