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
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