Dale Wijnand
bf5bc46d3c
Disallow SettingQuery relying on currentProject
...
Introduce a specialised scopedKeyParser on SettingQuery to redefine the
"projectRef" parser to never match "*" or omitted project refereneces.
2017-03-05 13:42:16 +00:00
Dale Wijnand
b282ea51d7
Extract Act.taskKeyExtra
2017-03-05 13:42:15 +00:00
Dale Wijnand
206c3e6d4d
Introduce Def displayBuildRelative/showBuildRelativeKey
2017-03-05 13:42:15 +00:00
Dale Wijnand
f09897ca29
Drop aggregation in querying settings
2017-03-05 13:42:14 +00:00
Dale Wijnand
2efacb8c46
Delete SettingQuery instances we don't need
...
.. now that there's a copy in the git history
2017-03-05 13:42:14 +00:00
Dale Wijnand
d9d741851a
Add and handle GetSetting
2017-03-05 13:42:11 +00:00
Dale Wijnand
164b0fe830
Pass State to NetworkChannel
2017-03-05 13:40:50 +00:00
Dale Wijnand
1ef59759cc
Extract onExecCommand
2017-03-05 13:40:49 +00:00
Dale Wijnand
4b88378c61
Delete stale contraband classes
...
This is due to sbt/contraband#75 .
2017-03-05 13:40:11 +00:00
valydia
047a061812
Add logging of the name(s) of build files
...
Fixes #1911
2017-03-04 14:13:39 +00:00
Dale Wijnand
ef56db9885
Merge pull request #2986 from dwijnand/compile-warnings
...
Fix a bunch but not all compile warnings
2017-03-04 01:36:30 +01:00
Dale Wijnand
7d27682fb2
Find another way to avoid unused warnings
2017-03-03 10:47:36 +01:00
eugene yokota
2c189d58e2
Merge pull request #2981 from dwijnand/build-warnings
...
Fix build warnings
2017-03-03 10:38:32 +01:00
Dale Wijnand
e67cd6948b
Fix a bunch but not all compile warnings
2017-03-03 01:33:44 +01:00
Dale Wijnand
b59258c50d
Fix build warnings
2017-03-02 14:44:01 +01:00
jvican
5cea7ae09f
Do a first pass on the Zinc internal implementation
...
This commit addresses several concers:
* Document better the Zinc internal implementation.
* Getting the implementation ready for moving things from internal to
public APIs. This will be done in a follow-up commit.
* Removing `inputs` and `setups` from the `IncrementalCompilerUtil` as
they exist mainly to interface between Scala code and Java code. The
reality is that both Java and Scala developers can easily call the
constructors by themselves and don't learn more API methods.
* Removes unused imports, that emit stupid warnings.
* Make code more readable, especifically in the analyzing compilers for
both Java and Scala, which was hardly understandable and documented.
* Make `AnalyzingJavaCompiler` to extend `JavaCompiler` as
`AnalyzingCompiler` does for `ScalaCompiler`. In an upcoming commit,
`AnalyzingCompiler` will be renamed into `AnalyzingScalaCompiler` for
consistency reasons.
* Replace use of `sbt.util.Logger` helpers by `sbt.util.InterfaceUtil`.
2017-02-26 14:32:05 +01:00
Dale Wijnand
d547b46ea6
Merge pull request #2973 from ashawley/contributing-1.0
...
CONTRIBUTING: Update for 1.0.x
2017-02-23 21:20:30 +00:00
Aaron S. Hawley
168f141616
CONTRIBUTING: Update for 1.0.x
...
Current development branch is 1.0.x, not 0.13. Mostly fixed by
replacing 0.13 references with 1.0 ones.
2017-02-23 15:50:47 -05:00
Eugene Yokota
ddb9cfd3f9
Switch over to using ManagedLogger
2017-02-17 12:40:56 -05:00
eugene yokota
105fcb5237
Merge pull request #2965 from cunei/wip-bridge
...
Update scalaCompilerBridgeSource
2017-02-15 14:42:07 -08:00
Antonio Cunei
b2bd1f745f
Update scalaCompilerBridgeSource
2017-02-15 14:42:24 +01:00
Eric K Richardson
3c0257d11c
Merge branch '1.0.x' into wip/fix-2551
2017-02-14 10:39:24 -05:00
ekrich
b97d68a214
Fix #2551 : scripted mode ignores quotation
2017-02-14 10:29:58 -05:00
Dale Wijnand
517cbf6d2d
Merge pull request #2957 from dluc/patch-1
...
Fix typo on sbtVersion description
2017-02-09 20:16:12 +00:00
Devis Lucato
9fd3218eff
Fix typo on sbtVersion description
2017-02-09 12:13:58 -08:00
Dale Wijnand
f04bc2911d
Merge pull request #2956 from eed3si9n/wip/allsyntax
...
[sbt 1.0] Remove sbt.syntax
2017-02-08 09:33:53 +00:00
Eugene Yokota
57b1b5baa9
Remove sbt.syntax
2017-02-08 02:26:50 -05:00
Eugene Yokota
b6fc9f9517
Put copyright notice
...
Fixes #222
2017-02-07 16:49:58 -05:00
eugene yokota
fc92bc50f0
Merge pull request #2942 from eed3si9n/topic/generators
...
[sbt 1.0] Support sourceGenerators += Def.task { ... }
2017-02-06 17:36:08 -05:00
eugene yokota
ba28c00a1a
Merge branch '1.0.x' into topic/generators
2017-02-06 16:17:21 -05:00
Eugene Yokota
818cee0156
Migrate ComponentManager from librarymanagement
...
This migrates the `ComponentManager` from librarymanagement, and refactors it to clarify the double caching of the compiler bridge.
The main purpose of this refactoring is to fix sbt/sbt#2539 . As it stands, becaue Ivy cache directory is being used as the secondary cache of the compiled compiler bridge, it's annoying to work with the compiler bridge. Instead of using "Ivy cache", the new `ZincComponentManager` accepts `secondaryCacheDir: Option[File]`, which during test defaults to `target/zinc-components`.
Fixes sbt/sbt#2539
2017-01-29 17:56:35 -05:00
eugene yokota
6b5f0980e8
Merge pull request #2940 from eed3si9n/wip/2706
...
[fport] Configurable explicit list of artifacts for Scala binary version check
2017-01-24 12:40:02 -05:00
Dale Wijnand
26a8b0816a
Merge pull request #2937 from eed3si9n/wip/notuples
...
Migrate tuple usage in Defaults.scala to 0.13 build.sbt DSL
2017-01-24 17:18:26 +00:00
Eugene Yokota
51f7d2e24a
Adds an Append instance that extracts taskValue
...
This adds a macro-level hack to support += op for sourceGenerators and resourceGenerators using RHS of Initialize[Task[Seq[File]]].
When the types match up, the macro now calls `.taskValue` automatically.
2017-01-22 22:53:27 -05:00
eugene yokota
b47a0e71a1
Merge pull request #2941 from eed3si9n/wip/2633
...
Rebase: Add new SBT global setting asciiGraphWidth
2017-01-22 18:49:14 -05:00
Eugene Yokota
e2c7f58a14
Uncomment JLine.usingTerminal
2017-01-22 13:13:40 -05:00
Roman Iakovlev
e8b951c0d1
Review comments for https://github.com/sbt/sbt/pull/2633
2017-01-22 13:10:34 -05:00
Roman Iakovlev
982a7c8724
Add new SBT global setting asciiGraphWidth
...
This setting controls the maximum width of the ASCII graphs printed
by commands like `inspect tree`. Default value corresponds to the
previously hardcoded value of 40 characters.
2017-01-22 13:06:20 -05:00
Eugene Yokota
6c4cf28202
Fix dependency-management/scala-organization-version-check
...
No implicit for Append.Value[Vector[String], String] found
2017-01-22 12:57:16 -05:00
Justin Kaeser
cfecf1f6b9
avoid IntelliJ marking valid code as erroneous
...
relative imports and "println _" cause error highlighting in IntelliJ
2017-01-22 12:01:41 -05:00
Miles Sabin
56e843960b
Configurable explicit list of artifacts for Scala binary version check
2017-01-22 11:53:45 -05:00
eugene yokota
e250cf51ca
Merge pull request #2938 from eed3si9n/wip/2210
...
[sbt 1.0] Rebased: Improve time measuring capabilities
2017-01-22 11:32:47 -05:00
David Perez
618487eb58
New option sbt.task.timings.omit.paths, to produce even cleaner reports.
2017-01-21 18:48:13 -05:00
David Perez
6ab0bc403a
Renamed:
...
sbt.task.timings.shutdown -> sbt.task.timings.on.shutdown
sbt.task.timings.divider -> sbt.task.timings.unit
2017-01-21 18:48:13 -05:00
David Perez
4f5c5c92a2
Alignment of reported time measuring data
2017-01-21 18:48:13 -05:00
David Perez
70fa960f56
Improved time logging capabilities
2017-01-21 18:48:13 -05:00
David Perez
b9c3a56454
Changed logging from error to debug, because it is quite annoying the error message when autocompleting
2017-01-21 18:48:13 -05:00
eugene yokota
e23fa31f08
Merge pull request #2810 from kzys/remove-process-extra
...
Remove ProcessExtra and the use of java.lang.ProcessBuilder
2017-01-21 17:06:41 -05:00
Eugene Yokota
b47f281c6a
Migrate tuple notation to 0.13 build.sbt DSL
2017-01-21 10:04:14 -05:00
eugene yokota
605e6047f1
Merge pull request #2936 from eed3si9n/wip/bgrun
...
Background run
2017-01-20 17:22:40 -05:00