Commit Graph

9384 Commits

Author SHA1 Message Date
Roman Iakovlev 69ae4f3073 Add a check for a change in SBT version before reload
Fixes #1055
2017-10-27 20:38:23 +02:00
eugene yokota af11219637 Merge pull request #3675 from eed3si9n/wip/1.0.3-notes
notes for 1.0.3
2017-10-27 01:59:33 -04:00
Eugene Yokota db79226c22 notes for 1.0.3 2017-10-26 22:39:35 -04:00
eugene yokota 89702ffaa7 Merge pull request #3674 from eed3si9n/wip/1.0.3
Bump modules
2017-10-26 22:03:35 -04:00
Eugene Yokota 84f03b64be Bump modules
Fixes #3519
Fixes #3586
Fixes #3569
Fixes #3573
2017-10-26 21:13:48 -04:00
eugene yokota cb79a4ae08 Merge pull request #3669 from cunei/wip-interim-3583
Interim fix for #3583, for 1.0.3
2017-10-26 18:23:12 -04:00
Roman Iakovlev 5f143434a8 Add new setting to determine if running in CI env
Fixes #3653
2017-10-26 20:59:04 +02:00
Dale Wijnand 7e1a904b95 Merge pull request #3650 from dwijnand/kind-projector
Add and use kind-projector
2017-10-26 09:42:55 +01:00
Antonio Cunei c60a5a204e Release notes for the fix to #3583 2017-10-26 02:30:23 +02:00
Antonio Cunei 24a463cc6b Add scripted test for nested test classes/objects 2017-10-26 02:30:23 +02:00
Antonio Cunei b19bd33dc0 Missing import 2017-10-26 02:30:23 +02:00
Antonio Cunei 53ea3596ec Interim fix for #3583, for 1.0.3
In 0.13.x, zinc would discover only top-level objects and classes
containing tests to the test framework. In 1.x, however, zinc can
discover also nested objects and classes; that causes the "name"
of a ClassLike to no longer be usable for reflection.

This change filters out nested objects/classes from the list,
restoring compatibility with 0.13. A zinc extension of ClassLike
will probably be introduced in 1.1 or 1.2, in order to provide
the test framework with enough information to deal with nested
classes.

This patch unblocks https://github.com/sbt/sbt-standalone-build/issues/15
2017-10-26 02:30:23 +02:00
Dale Wijnand 9f1d60be60
Rewrite to polymorphic function syntax 2017-10-25 10:23:46 +01:00
Dale Wijnand f662fdda8e
Rewrite to function syntax 2017-10-25 10:22:48 +01:00
Dale Wijnand fb17cc393f
Rewrite to inline syntax 2017-10-25 10:22:48 +01:00
Dale Wijnand c39e9af68c
Add kind-projector 2017-10-25 10:22:48 +01:00
Dale Wijnand 35c3542492
Get rid of Fn1 2017-10-25 10:21:00 +01:00
Dale Wijnand c98449e272
Rename & use more Instance.Aux, introduce Instance.Aux2. 2017-10-25 10:15:30 +01:00
Dale Wijnand 34f9e56311
Introduce and use KList.Aux 2017-10-25 10:15:29 +01:00
Dale Wijnand 3cd8f4dadf
Simplify Initialize.joinAny 2017-10-25 10:15:29 +01:00
eugene yokota 8eb5879101 Merge pull request #3659 from eed3si9n/wip/reboot
Adds "reboot dev"
2017-10-25 04:06:59 -04:00
Eugene Yokota 6ac4571197 Adds "reboot dev"
This adds a new option `dev` to the `reboot` command, which deletes the only the current sbt artifacts from the boot directory. `reboot dev` reads actively from `build.properties` instead of using the current state since `reboot` can restart into another sbt version.

In general, `reboot dev` is intended for the local development of sbt.

Fixes #3590
2017-10-25 03:19:10 -04:00
eugene yokota d5e1de08aa Merge pull request #3662 from dwijnand/scalafmt
Scalafmt 1.3, sbt-scalafmt 1.14
2017-10-25 00:19:47 -04:00
PanAeon 50a5c3cc85 Merge branch '1.x' into help-sbt-new 2017-10-24 21:35:36 +01:00
Dale Wijnand 81c5eaec33 Merge pull request #3633 from dwijnand/misc-2017-10-12
Misc 2017-10-12
2017-10-24 20:37:20 +01:00
Dale Wijnand 4c3cf6bfe7 Merge pull request #3634 from dwijnand/recompile247
[1.0.x] Track sources in base directory non-recursively
2017-10-24 20:35:59 +01:00
PanAeon 27a30a933a fix sbt help new does not explain how to use sbt new 2017-10-24 19:08:56 +01:00
Dale Wijnand e0d8079083
Scalafmt 1.3, sbt-scalafmt 1.14 2017-10-24 12:23:37 +01:00
Dale Wijnand 78c5ee92d3
Track sources in base directory non-recursively
Using a recursive Source meant that ~ looked into target. If you have
any source generators and use ~ with anything the invokes them, like
~compile, that means that the act of generating sources triggers ~ to
re-execute compile (perhaps only on macOS where the NIO WatchService
just polls, after an initial delay).

Requires sbt/io#78

Fixes #3501
2017-10-24 11:09:00 +01:00
Allan Timothy Leong bd1a38be54 Remove unused imports + variables 2017-10-22 16:31:03 +08:00
Eugene Yokota bcd21ba9b6 Merge branch 'wip/3648' into 1.x 2017-10-20 23:58:39 -05:00
eugene yokota 294a12fbf1 Merge pull request #3654 from scalacenter/json-locks
Add vscode-sbt-scala json locks
2017-10-20 17:19:45 -05:00
jvican 41a058c9b9
Add vscode-sbt-scala json locks
This is what gets generated after `compile`.
2017-10-20 20:05:16 +02:00
Dale Wijnand 9e85c08fb1 Merge pull request #3651 from eed3si9n/wip/scala2124
Bump to Scala 2.12.4
2017-10-20 06:44:09 -05:00
Eugene Yokota ae860d5a7d Bump to Scala 2.12.4
Uses Scala 2.12.4 for the build definition. This includes fix for runtime reflection of empty package members under Java 9.

Fixes sbt/sbt#3587
2017-10-20 00:23:29 -05:00
Simon Schäfer ebac491501 Disable patvars warnings
There are simply too many unused pattern vars and I don't want to fix
them right now. And watching all of the warnings everywhere is annoying.
2017-10-19 13:07:24 +02:00
Simon Schäfer 93e08b7ee7 Fix warnings about unused pattern vars in various projects 2017-10-19 13:07:24 +02:00
Simon Schäfer 187a861194 Fix unused pattern match vals in run project 2017-10-19 13:07:24 +02:00
Simon Schäfer ede94cb34c Fix unused pattern vals warnings in main-command project 2017-10-19 13:07:24 +02:00
Simon Schäfer 0454b873bf Fix warnings in protocol project
There were warnings about catch all exception handlers.
2017-10-19 13:07:24 +02:00
Simon Schäfer dc5411836a Fix warnings in util-copmlete project
There were warnings because of
- unused pattern match values
- deprecations
- unused methods (`def unary_-` and `def -`)
2017-10-19 13:07:24 +02:00
Simon Schäfer 38f550deef Fix warnings in util-collection project
There were warnings because of
- unused pattern match values
- deprecations
- a Xlint bug in scalac
2017-10-19 13:07:24 +02:00
Simon Schäfer 30d59d356d Disable warnings for unused params and implicits
There are many warnings because unused parameter are everywhere.
2017-10-19 13:07:24 +02:00
Dale Wijnand 4ce4fb72bd Merge pull request #3635 from PanAeon/escape-sbt-file-imports
Escape imports from sbt files
2017-10-13 16:17:21 +01:00
PanAeon 64241e0d3a Fixes #3464. Escape imports from sbt files, so if user creates a backquoted definition then task evalution will not fail. 2017-10-13 11:04:15 +01:00
Dale Wijnand 86be5359e7
Initial scaladoc Initialize/Keyed/KeyedInitialize 2017-10-12 20:31:25 +01:00
Dale Wijnand 10397926aa
Make sure of EvaluateTask in Extracted obvious 2017-10-12 15:36:05 +01:00
eugene yokota fa33b6e422 Merge pull request #3632 from dwijnand/trailing-println
Kill trailing println
2017-10-11 13:38:09 -04:00
Dale Wijnand d8e52bb5d4
Kill trailing println 2017-10-11 15:29:15 +01:00
eugene yokota fd20d3039a Merge pull request #3629 from sbt/1.0.x
Merge 1.0.x
2017-10-10 12:32:10 -04:00