Commit graph

2397 commits

Author SHA1 Message Date
Patrik Nordwall
84bab0fbca
Merge pull request #26304 from johanandren/wip-post-2.5.20-changes
Updated the latest patch for mima
2019-01-31 15:51:58 +01:00
Johan Andrén
d52ceddb25 Review feedback addressed 2019-01-30 05:12:07 +01:00
Johan Andrén
d7e107090d Updated the latest patch for mima 2019-01-29 16:31:54 +01:00
Johan Andrén
6123b7548d Stab 2019-01-29 15:39:54 +01:00
Arnout Engelen
a7e0a5a645 Update to sbt 1.2.8 (adding --ignore-source-errors for javadoc) (#26233)
* Update to 1.2.8 and add --ignore-source-errors for javadoc

`--ignore-source-errors` makes 'sbt -Dakka.genjavadoc.enabled=true clean unidoc'
at least output something to target/javaunidoc, though AFAICS it is not
complete (missing index, CSS etc)

* Skip javadoc for scaladsl/GraphDSL.java

As problematic javadoc seems to be generated for
akka.stream.scaladsl.GraphDSL.Implicits.ReversePortsOps

* Enable frames again
2019-01-28 08:04:09 +01:00
Johannes Rudolph
f44b777e76
build: make sure ignore files are searched for in base directory
Previously, the paths were just relative paths and depended on the working
directory of the sbt process. However, that's unreliable when the akka
sources are included in another build as in the akka-http nightlies.
2019-01-16 11:44:07 +01:00
kerr
75cb436ce7 Update headers for jdk9 related code. (#26236) 2019-01-15 13:35:53 +01:00
kerr
36ade9685c Silence the sbt-scalafix and sbt-java-formatter's file ignoring #26243 2019-01-15 13:05:11 +01:00
James Roper
ab82924a84 Switched to new sbt pr validator plugin (#25264)
* Switched to new sbt PR validator plugin
* Moved root setting of additionalTasks to global scope
* Upgraded to version 1.0 of pull request validator
2019-01-14 17:23:27 -08:00
hepin1989
27500001ea Add sbt-java-formatter for java code formatting. 2019-01-12 01:41:54 +08:00
Arnout Engelen
d274e039f9
Various scala-2.13.0-M5 fixes
fix akka-actor-tests compile errors

some tests still fail though

Fix test failures in akka-actor-test

Manually work arround missing implicit Factory[Nothing, Seq[Nothing]]

see https://github.com/scala/scala-collection-compat/issues/137

akka-remote scalafix changes

Fix shutdownAll compile error

test:akka-remote scalafix changes

akka-multi-node-testkit scalafix

Fix akka-remote-tests multi-jvm compile errors

akka-stream-tests/test:scalafix

Fix test:akka-stream-tests

Crude implementation of ByteString.map

scalafix akka-actor-typed, akka-actor-typed-tests

akka-actor-typed-tests compile and succeed

scalafix akka-camel

scalafix akka-cluster

akka-cluster compile & test

scalafix akka-cluster-metrics

Fix akka-cluster-metrics

scalafix akka-cluster-tools

akka-cluster-tools compile and test

scalafix akka-distributed-data

akka-distributed-data fixes

scalafix akka-persistence

scalafix akka-cluster-sharding

fix akka-cluster-sharding

scalafix akka-contrib

Fix akka-cluster-sharding-typed test

scalafix akka-docs

Use scala-stm 0.9 (released for M5)

akka-docs

Remove dependency on collections-compat

Cherry-pick the relevant constructs to our own
private utils

Shorten 'scala.collections.immutable' by importing it

Duplicate 'immutable' imports

Use 'foreach' on futures

Replace MapLike with regular Map

Internal API markers

Simplify ccompat by moving PackageShared into object

Since we don't currently need to differentiate between 2.11 and

Avoid relying on 'union' (and ++) being left-biased

Fix akka-actor/doc by removing -Ywarn-unused

Make more things more private

Copyright headers

Use 'unsorted' to go from SortedSet to Set

Duplicate import

Use onComplete rather than failed.foreach

Clarify why we partly duplicate scala-collection-compat
2019-01-11 12:27:18 +01:00
Arnout Engelen
0cc8e20a2e
Various scala-2.13.0-M5 fixes
Clearer imports in TcpDnsClient

Accept SVG's when checking if diagrams were generated

Fix akka-actor MiMa issues

akka-testkit scalafix changes

Update scalatest to 2.13-released snapshot

akka-stream scalafix changes

Update ssl-config

To version that's released with -M5

Take elements directly out of buffer

Manually fix immutable.Seq / Doc link

Make sure the right Concat, Sink is imported

akka-stream binary compat

akka-stream-testkit scalafix

akka-actor-tests scalafix

Eta-expensions
2019-01-11 11:44:35 +01:00
Guillaume Massé
fcde44f424
Split ByteString for 2.13 and 2.12
see https://github.com/scala/bug/issues/10973 for indexWhere/indexOf
2019-01-11 11:43:29 +01:00
Arnout Engelen
4c7440c952
akka-actor scalafix changes 2019-01-11 11:43:26 +01:00
Arnout Engelen
6cca1a0ee3
Don't be too clever with the copyright year (#26169) 2019-01-02 16:21:01 +01:00
kerr
bdc90052aa Update headers from 2018 to 2019 once for all. (#26165)
* Add CopyrightHeader support for sbt-boilerplate plugin.
* Add CopyrightHeader support for `*.proto` files.
* Add regex match for both `–` and `-` for CopyrightHeader.
* Add CopyrightHeader support for sbt build files.
* Update copyright from 2018 to 2019.
2019-01-02 11:55:26 +01:00
Patrik Nordwall
5621899bb6 unidoc genjavadoc doesn't work with sbt 1.2.7 yet (#26150) 2018-12-21 12:01:44 +01:00
Marcos Pereira
03e4ffb3d1
Cross run MiMa when releasing
This ensures the binary compatibility will run for all Scala 
versions that are used to do the release.
2018-12-20 17:41:53 -05:00
Renato Cavalcanti
5bcfbc556c removes warning about shadowed java.io.File (#26134) 2018-12-19 11:39:09 +01:00
Arnout Engelen
bf3bc4d6e1
Remove CallerSensitive (#26112)
Having this file at all was a workaround for a problem with building on jdk9
for jdk8, but I can no longer reproduce this problem.

See also https://github.com/akka/akka/pull/25326
2018-12-18 15:56:09 +01:00
hepin1989
41f70ea849 Add reload to fixall and fix command alias. 2018-12-17 21:10:11 +08:00
hepin1989
746d0adb45 Setup different fix alias on different sub projects and add support to ignore dedicated packages when do scalafix.
Because some sub projects does not enable the MultiNode plugin.

Add ignore packages support for scalafix.
2018-12-17 21:10:11 +08:00
Christopher Batey
58df72330d update mima latet version for 2.5.19 2018-12-07 16:13:11 +00:00
Patrik Nordwall
918843d54e
Merge pull request #26050 from akka/wip-25985-unidoc-patriknw
only unidoc for Scala 2.12, #25985
2018-12-06 15:38:11 +01:00
Patrik Nordwall
7bce22f2ea revert to sbt 1.2.6, because unidoc issue
* the update to sbt 1.2.7 in commit 6ba4c341f5
  broke unidoc (javadoc)
2018-12-06 12:48:08 +01:00
Patrik Nordwall
4742a23e9e only unidoc for Scala 2.12, #25985
* otherwise the docs built with 2.11 will be published for release,
  since the 2.11 build is last
2018-12-06 12:48:01 +01:00
Christopher Batey
c5c2f951db Dns discovery custom resolver (#25937)
* Import service discovery from akka-management

* Rename extension to Discovery to go with akka-discovery name
* Rename interafce to ServiceDisovery
* Import config, aggregate and dns
* Discovery documentation
* Load isolated async-dns if not configured as default
* OSGi for discovery
* Remove warning for not using in production
* Fail if old akka management on classpath
* Only allow async dns to be loaded as an additional resolver
* Use method in all of service discovery, not mechanism
* Mima filter
* Add discovery to aggregate
* Set discovery mima versions
* DnsDiscoverySpec: Only run docker test if docker available
2018-12-05 14:01:24 +01:00
kerr
e9fb3a020a Make use of scalafix to remove unused import. (#26019)
* =build Add scalafix to remote unused import.

* +build Add file ignore plugin for scalafix which support ignore files.
2018-12-05 08:30:21 +00:00
kerr
895cd70b86 Upgrade Scala version to 2.12.8. (#26039) 2018-12-04 15:50:38 +00:00
Johannes Rudolph
c462ecb60f Simple JDK 11 fixes (#26038)
* TLSSpec fix for Java 11 #25739

* =act silence logging in AsyncDns specs

* +act Add internal akka.util.JavaVersion for determining runtime Java version

* =act #25733 run TcpIntegrationSpec peers on different ActorSystems

* pro: add explicit dependency to activation when using dockerClient for JDK 11+

Otherwise, the log is spammed with lots of ClassNotFound exceptions when
running AsyncDnsResolverIntegrationSpec
2018-12-04 15:26:47 +01:00
kerr
6ba4c341f5 update sbt and sbt plugins (#26017)
* =build update sbt to 1.2.7.

* =build update sbt plugins.
2018-12-03 15:14:27 +00:00
Christopher Batey
f6200cc07f
Upgrade to Aeron 1.12 (#25984) 2018-11-29 17:16:43 +00:00
Arnout Engelen
baa9d19895 Specify 'jvm8' target when building on jvm8
Refining #25962, fixing the 2.11 build
2018-11-26 13:53:58 +01:00
Arnout Engelen
2ae71dfc32 Don't set bootclasspath when already on jdk8 2018-11-22 13:01:33 +01:00
Andreas Gies
42fb18936f Adding OSGi settings for akka-actor-typed and persistence-typed. 2018-11-12 20:10:20 +01:00
Patrik Nordwall
f6dbb91175 update latestPatchOf25 (#25892) 2018-11-09 09:16:33 +01:00
Arnout Engelen
14d9b845c4
Clarify CrossJava will be on-par in sbt 1.3.0 (#25876) 2018-11-07 09:48:30 +01:00
Martynas Mickevičius
6cbba51f94 Update to the latest Akka Paradox that adds icons to goto source links (#25881) 2018-11-07 09:19:02 +01:00
Johan Andrén
6329a7b77e
Ignore vendor when selecting JVMs #25835 2018-10-30 10:51:30 +01:00
kerr
fafc59b19d update headers to regular comment (#25807) 2018-10-29 05:19:37 -04:00
Patrik Nordwall
49f66221f5 remove verbose from classgraph (#25806)
* this also fixes the performance regression of akka-docs/paradox
2018-10-17 16:24:39 +02:00
Patrik Nordwall
570896f22a
Merge pull request #25783 from ignasi35/bumps-ssl-config-036
Bumps ssl-config 0.3.6
2018-10-17 13:40:14 +02:00
Patrik Nordwall
f907941c8a update to sbt 1.2.6
* due to https://github.com/sbt/zinc/pull/606
2018-10-17 12:01:02 +02:00
kerr
1b6d185f83 =plugin migrate FastClasspathScanner to ClassGraph (#25797) 2018-10-16 18:02:46 +01:00
Arnout Engelen
23b7f86a06
Async DNS over TCP (#25690) 2018-10-16 15:35:55 +02:00
Arnout Engelen
4b012cc306 Document 'withBackoff' srouce/flow/sink (#25770) 2018-10-15 17:11:33 +01:00
Stephen Kitt
f4dd0ac79d Avoid incorrect OSGi dep on sslconfig.akka (#25580)
Importing com.typesafe.sslconfig.* with the sslconfig version results
in OSGi bundle imports which also include com.typesafe.sslconfig.akka,
which can’t be satisfied with the given version range. Splitting up
the imported packages (com.typesafe.sslconfig,
com.typesafe.sslconfig.ssl.*, com.typesafe.sslconfig.util.*) results
in tighter-scoped imports which can be satisfied.

This fixes #25579.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2018-10-15 15:41:00 +02:00
Ignasi Marimon-Clos
c4d975b015 Bumps ssl-config 0.3.6 2018-10-11 14:40:33 +02:00
Patrik Nordwall
7b264e03d6
Merge pull request #25764 from dwijnand/ssl-config
Upgrade to ssl-config 0.3.5, from 0.3.4
2018-10-11 12:35:52 +02:00
kerr
138db54f6d update to sbt 1.2.4 (#25759) 2018-10-10 14:32:46 +02:00