Commit graph

53 commits

Author SHA1 Message Date
Arnout Engelen
04dccf42c0 Don't set -Yrangepos by default #26900
It is not required for all scalafix rules anyway, and breaks genjavadoc
2020-03-13 11:20:58 +00:00
Scala Steward
613174979a
Update silencer-lib, silencer-plugin to 1.6.0 (#28635) 2020-02-25 14:13:54 -08:00
Scala Steward
d0c70f638e
Update silencer-lib, silencer-plugin to 1.5.0 (#28619) 2020-02-18 05:59:38 -08:00
Johan Andrén
cacc20bd8a
Allow opt out of code discipline (#28588) 2020-02-14 15:19:10 +01:00
Arnout Engelen
ef08d9fe5c Don't warn about discarded return values (#28403)
* Since we have and use many API's where the return value can be safely
ignored.
* akka-cluster-sharding also does implicit widening
2020-01-21 20:47:18 -08:00
Johan Andrén
b5d2bcdbb0 Fix problems with byte string copy to array 2.13 (#28468)
* copyToArray unbroken on 2.13 #28465
* Skip discipline flags in console (driving me crazy!)
2020-01-14 10:51:37 +01:00
Helena Edelson
6bf20f4117 Update all copyright headers to 2020 after new year's #27881 (#28434) 2020-01-02 13:24:59 +01:00
Arnout Engelen
ffe769b4df
Enable 'adapted args' warnings globally (#28391)
* Enable 'adapted args' warnings globally

* Nicer tuple notation
2019-12-17 13:31:34 +01:00
Dale Wijnand
bcfa1b8586 Use CrossVersion.patch for Silencer plugin
For details on how these differ see:
https://www.scala-sbt.org/1.x/docs/Cross-Build.html#More+about+using+cross-built+libraries

The motivaton for this is so this part of the build doesn't need to be
(ironically) patched when running with a binary-compatible build of the
next patch release of Scala (e.g. Scala 2.13.2-bin-SHA).

Ideally this could be backported to the release-2.5 branch so it would
be immediately of use, otherwise it'll only be available in the
community builds that track Akka 2.6.
2019-11-28 08:35:05 +00:00
Johan Andrén
b35dbb9912 Remove scoverage since we don't really use it (#28220) 2019-11-21 06:41:41 -08:00
Arnout Engelen
96a78a2d43
Update silencer to 1.4.4, to support scala 2.13.1 (#28190) 2019-11-19 15:30:04 +01:00
Helena Edelson
fb910a2b64 Upgraded silencer plugin. (#27470) 2019-08-09 15:27:42 +02:00
Helena Edelson
473d4f71d7
Fixed warnings in akka-bench-jmh-typed (#27435) 2019-08-02 14:02:51 -07:00
Helena Edelson
d12bc13fcb Fix akka-bench-jmh warnings. (#27438) 2019-08-02 10:44:27 +02:00
Helena Edelson
914466c8c2
Fixed akka-stream-tests-tck warnings (#27436) 2019-07-30 08:33:48 -07:00
Arnout Engelen
80a920da52 Fix warnings in akka-actor-typed-tests (#27424) 2019-07-29 13:52:07 -07:00
Christopher Batey
88e6933ba0 Remove warnings in persistence-tck (#27286) 2019-07-09 14:54:31 +02:00
Christopher Batey
231f0d6bb1 Remove warnings from akka-stream-tests (#27114) 2019-06-13 13:06:02 +02:00
Christopher Batey
a568afd895
Trying this out as the other PR isn't running in travis (#27129)
* Update to Scala 2.13.0

* Update scalatest
2019-06-12 15:02:17 +01:00
Christopher Batey
49d7d2fa9b Remove removed modules from AkkaDiscipline plugin (#27099) 2019-06-07 09:57:23 +02:00
Arnout Engelen
814cfa286c Scala 2.13.0 rc2 (#26967) 2019-05-24 08:11:50 +02:00
Christopher Batey
0ab7a96ae2
Remove Scala 2.11 for Akka 2.6 (#26760)
* Remove Scala 2.11 for Akka 2.6

* Remove unused import

* Update akka-actor/src/main/scala-2.13/akka/compat/Future.scala

Co-Authored-By: chbatey <christopher.batey@gmail.com>

* Update akka-actor/src/main/scala-2.13/akka/compat/Future.scala

Co-Authored-By: chbatey <christopher.batey@gmail.com>

* Remove last few bits of 2.11
2019-04-19 07:53:27 +01:00
Arnout Engelen
306187046f
Fix multi-node-testkit warnings (#26754) 2019-04-16 20:26:38 +02:00
Arnout Engelen
e390f1397b
Fix warnings in akka-remote (#26735) 2019-04-16 20:26:09 +02:00
Christopher Batey
8dd6f790bd Remove warnings in akka-cluster (#26739)
Also undeprecate isTerminated but mark it internal
2019-04-16 19:10:31 +02:00
Arnout Engelen
7372d2b735
Fix remaining akka-testkit warnings (#26752)
* Fix remaining akka-testkit warnings

Mostly in tests and 2.13

* Add issue link

* MiMa exclude for multi-node-testkit

We don't promise bincompat there anyway, but perhaps good to keep mima there
so at least we don't break things accidentally
2019-04-16 18:33:38 +02:00
Christopher Batey
d17d303110
Remove warnings in persistence typed module (#26748) 2019-04-16 16:12:28 +01:00
Christopher Batey
3abc3583b6
Remove warnings in akka-cluster-sharding-typed (#26747)
* Remove warnings in akka-cluster-sharding-typed

* Revert entity create in java dsl and actor benchmark changes
2019-04-16 15:09:41 +01:00
Arnout Engelen
e500dda6b7 Fix warnings in akka-actor-typed (#26738) 2019-04-16 15:55:36 +02:00
Christopher Batey
1820b982bf Remove warnings in akka stream testkit module (#26751) 2019-04-16 15:13:21 +02:00
Christopher Batey
b26655705a Remove warnings in persistence query module (#26749) 2019-04-16 13:37:04 +02:00
Helena Edelson
5576c233d0 Clean up Java version related build properties #26662 2019-04-16 09:10:42 +02:00
Christopher Batey
3811da6509 Remove future from discipline settings (#26725)
It isn't related to discipline
2019-04-16 09:09:46 +02:00
Arnout Engelen
e3932e5dfa Fix warnings in akka-osgi #26088 2019-04-16 09:09:00 +02:00
Arnout Engelen
549ccb78a6 Fix akka-actor-testkit-typed warnings (#26741)
* Fix akka-actor-testkit-typed warnings
* 2.13 deprecation
2019-04-15 13:11:07 -07:00
Arnout Engelen
ee67c113e5
Enable fatal warnings by default (with excludes) #26088 (#26726) 2019-04-15 11:39:38 +00:00
Christopher Batey
10e525062a Compiler warnings for actor-tests and remote-tests (#26685) 2019-04-15 08:54:16 +00:00
Christopher Batey
f798481de5 Enable fatal warnings for cluster metrics and slf4j (#26678) 2019-04-05 17:06:02 +02:00
Johan Andrén
4bb60bbcc8
akka-cluster-sharding compiler warnings as fatal errors (#26648) 2019-04-05 14:56:33 +02:00
Johan Andrén
38e63a0e41 akka-persistence compiler warnings as fatal errors (#26654) 2019-04-05 14:43:23 +02:00
Johan Andrén
7e7901ad49
akka-stream compiler warnings as fatal errors (#26673) 2019-04-05 13:06:33 +02:00
Johan Andrén
d699332b53 akka-cluster-tools compiler warnings as fatal errors (#26647) 2019-04-04 15:35:18 +02:00
Christopher Batey
5a81e973b4 Make compilation options for akka typed modules strict (#26565) 2019-04-04 10:58:21 +02:00
Arnout Engelen
76479b8770
[not for merge] Warnings as errors in akka-actor (#26634)
Warnings as errors in akka-actor
2019-04-03 13:13:44 +02:00
Arnout Engelen
2a9fa71a3a
Add "-no-link-warnings" for 2.11 scaladoc (#26639) 2019-03-29 16:54:27 +01:00
Christopher Batey
65ccada280 Lease API + use in cluster singleton and sharding, #26480 (#26629)
* lease api
* Cluster singleton manager with lease
* Refactor OldestData to use option for actor reference
* Sharding with lease
* Docs for singleton and sharding lease + config for sharding lease
* Have ddata shard wait until lease is acquired before getting state
2019-03-28 13:31:56 +01:00
Arnout Engelen
9c52e57204
Enable strict scalac options for akka-protobuf
Unfortunately it still produces a Java warning, but I see no safe way around
that (so we can't just add `-Werror` to javacOptions)
2019-03-26 16:19:26 +01:00
Arnout Engelen
d390fcf183 Introduce warning silencer plugin (#26588)
So now we can compile akka-distributed-data with
-Xfatal-warnings - though I'm not yet sure about
enabling the (other) undisciplineScalacOptions

* Fix multi-node silencing
* Fix scaladoc warnings
* Introduce annotation to declare ccompat use
* Add explicit toString
* Fix deprecation on 2.13
* Move 'immutable' ccompat helpers to shared ccompat package
* Add MiMa for internal scala 2.13 compatibility class
* Internal API markers
* Fix scaladoc generation
Got bitten by https://github.com/scala/bug/issues/11021
2019-03-26 14:41:29 +01:00
Christopher Batey
886088f03b Strict compiler settings for discovery (#26552) 2019-03-20 09:12:40 +01:00
Arnout Engelen
d7f12d3568 akka-distributed-data compiler warnings #26088 2019-03-19 08:12:51 +01:00