Commit graph

2655 commits

Author SHA1 Message Date
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
Arnout Engelen
cc1138523e Correctly parse stream signatures (#26659) (#26669)
That were spread over multiple lines since switching to scalafmt
2019-04-04 13:21:44 +02:00
Patrik Nordwall
9a19a73f9a
Merge pull request #26672 from akka/wip-latestPatchOf25-2.5.22-patriknw
update latestPatchOf25 to 2.5.22
2019-04-04 12:37:48 +02:00
Christopher Batey
5a81e973b4 Make compilation options for akka typed modules strict (#26565) 2019-04-04 10:58:21 +02:00
Patrik Nordwall
a8f8409bfa update latestPatchOf25 to 2.5.22 2019-04-03 16:37:39 +02:00
eugene yokota
1a2cf3d4c6 Allow build to run on JDK 8 (#26642)
Ref #26233

Currently Akka fails to build on sbt community build, which runs on JDK 8. Likely it will fail on Scala community build as well due to `--ignore-source-errors`.
This makes the flag conditional based on the running JDK.

It will be useful for Scala toolchain to be able to validate its latest using latest Akka if possible.
2019-04-03 15:28:55 +02:00
Arnout Engelen
abbbfb5b54
Use sbt-paradox-apidoc plugin (#26660)
Instead of using custom code here. Checked with 'meld' that the result
is the same, except for problems that were already there (filed #26659).
2019-04-03 13:14:27 +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
Patrik Nordwall
b5b592c8f9
Remove Scala 2.11 from crossScalaVersions (#26656)
* Remove Scala 2.11 from crossScalaVersions

* because +buildRelease doesn't work with mixed crossScalaVersions
* let's use akka.build.scalaVersion when building for 2.11
* aggregatedProjects adjusted depending on akka.build.scalaVersion is 2.11 or not,
  there excluding/including the -typed modules

* update travis to use akka.build.scalaVersion
2019-04-02 15:16:01 +02:00
Enno
24212d3334 Add title and version to Scaladoc pages (#26632) 2019-04-01 09:38:42 +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
Patrik Nordwall
7b763c815e
Merge pull request #26621 from akka/noGenJavadocForScaladoc
Disable genjavadoc during scaladoc compilation #26617
2019-03-27 16:34:44 +01:00
Arnout Engelen
e65f403a43
Disable genjavadoc during scaladoc compilation #26617 2019-03-27 13:48:40 +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
Patrik Nordwall
646e68416d
Merge pull request #26568 from akka/updateScalaTest
Update scalatest to 3.0.7
2019-03-26 15:09:23 +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
Enno Runne
c755177396 Docs: latest Akka Paradox template 2019-03-26 12:09:23 +01:00
Johan Andrén
1a90f22fb4 Fix of the new javadoc search functionality (#26604)
Search target for classes would contain a module path part which
was undefined. Disabled with --no-module-directories
2019-03-25 11:15:07 +01:00
Christopher Batey
886088f03b Strict compiler settings for discovery (#26552) 2019-03-20 09:12:40 +01:00
Arnout Engelen
0139058610
Update genjavadoc
This should produce Java code that is valid enough to be processed even in the
presence of -Yrangepos #23756
2019-03-19 15:16:59 +01:00
Arnout Engelen
b214115051
Update scalatest 2019-03-19 11:25:48 +01:00
Arnout Engelen
97d7eadb6f
Explicitly require jdk9+ for javadoc generation (#26515)
Refs #26502
2019-03-19 11:00:55 +01:00
Arnout Engelen
d7f12d3568 akka-distributed-data compiler warnings #26088 2019-03-19 08:12:51 +01:00
Arnout Engelen
6f66981542
Include 'reproducible builds' sbt plugin (#26546)
This does 2 things:
* publish a 'buildinfo' report along with the project artifacts to describe
the build context and parameters
* post-process the jars to remove 'arbitrary' differences, such as jar file
ordering and timestamps.

This makes it easier to detect and explain when 2 builds of the same source
don't produce a bit-per-bit identical result. This for example can improve
our confidence that our distribution pipeline has not been compromised.
2019-03-18 17:12:21 +01:00
Patrik Nordwall
38b8c08640
Merge pull request #26506 from akka/expectJdk11forRelease
Expect java11 for releasing
2019-03-15 10:05:20 +01:00
Enno
a181c758c1 Paradox: latest 0.5.3, latest theme 0.16, more https (#26522) 2019-03-14 08:26:15 +01:00
Arnout Engelen
9d63d353d5
Expect java11 for releasing
Refs #26278
2019-03-12 15:50:54 +01:00
Christopher Batey
2e247001f7 Validate compile in multi-jvm (#26400)
* New validateCompile task for multi jvm to run in travis
2019-03-12 12:43:02 +01:00
Patrik Nordwall
5c96a5f556 replace unicode arrows
* ⇒, →, ←
* because we don't want to show them in documentation snippets and
  then it's complicated to avoid that when snippets are
  located in src/test/scala in individual modules
* dont replace object `→` in FSM.scala and PersistentFSM.scala
2019-03-11 16:58:51 +01:00
Patrik Nordwall
e4d38f92a4 Switch to Scalafmt in build
* AvoidInfix in scalafmt.conf

* align.tokens in scalafmt.conf

* scalafmt in MultiJvm

* sbt-scalafmt 2.0.0-RC5

* scalafmt in all* command alias

* scalafmtAll in CONTRIBUTING.md
2019-03-11 16:56:39 +01:00
Christopher Batey
f2708c9dd3
Remove outdated comment from build.properties (#26475) 2019-03-06 15:15:46 +00:00
Johan Andrén
26b0869318
(Prefer) non symbolic typed ask 26306 2019-03-01 15:06:50 +01:00
Arnout Engelen
8853175111 Don't apply 'discipline' flags to compilation run for documentation #26119
* Avoid -Ywarn-unused:_ on Scala 2.13
* Exclude warn-unused:explicits when generating docs
* Don't apply discipline to the docs compilation run

This approach also means no explicit code is needed anymore to
prevent #26119 from being triggered.
2019-03-01 13:39:08 +01:00
Helena Edelson
3070a84d64
Add html reports for Scoverage (#26444) 2019-02-26 11:54:03 -08:00
Arnout Engelen
c3806c9135
Merge pull request #26380 from chbatey/fix-release-script
Fix excludes for docs publish in release script
2019-02-26 12:30:14 +01:00