Commit graph

700 commits

Author SHA1 Message Date
Enno
a181c758c1 Paradox: latest 0.5.3, latest theme 0.16, more https (#26522) 2019-03-14 08:26:15 +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
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
Johan Andrén
a8291f323f Typed only on Scala 2.12
* Typed modules not compiled on 2.11
* Dependent modules also not on 2.11:
  * docs
  * akka-bench-jmh split into a separate one for typed

Still doesn't work because something with sbt
2019-02-21 15:47:09 +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
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
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
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
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
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
Johan Andrén
ca08ca36e2
Turns out "-release 8" isn't enough with Scala 2.11.6 #25330 2018-07-30 13:44:11 +02:00
Arnout Engelen
97490eb30c Fix publishing akka-stream_2.12 with jdk8 and jdk9 classes (#25341)
* Fix publishing akka-stream_2.12 with jdk8 and jdk9 classes

* Only build jdk9 classes on jdk9+

* Avoid -release on jdk8
2018-07-11 15:37:47 +02:00
Arnout Engelen
8ba48c0adc
Compile with jdk9, targeting jdk8 (#24711) 2018-07-02 16:38:07 +02:00
Martynas Mickevičius
8f40eb15a5 #24752 Fix timestamped versions (#24845)
* #24752 Fix timestamped versions

* Add a comment
2018-04-05 20:50:24 +09:00
Christopher Batey
009214ae07
Update copyright to 2018 (#24241) 2018-01-04 17:26:29 +00:00
Arnout Engelen
ca3fa778d6
Check all dependencies, except NoPublish ones, fail on error (#24021) 2017-11-20 13:25:17 +01:00
Martynas Mickevičius
82ca8a2cc7 Port build to SBT 1.x (#23850)
* Port build to SBT 1.x

* Fix multinode tests, always enable genjavadoc bootstrap
2017-10-30 10:13:13 +09:00
Johan Andrén
3ad2db52c4 Remove the JUnit test runner (#23784) 2017-10-15 18:01:54 +02:00
Arnout Engelen
b1df13d4d4 Update scalariform (#23778) (#23783) 2017-10-06 10:30:28 +02:00
Johan Andrén
9e68d6e88f Fork tests #22979 2017-10-04 14:22:25 +02:00
Arnout Engelen
2623820450 Update configuration to exclude akka-bench-jmh from whitesource (#23542)
* Update configuration to exclude akka-bench-jmh from whitesource

Because we don't distribute that project

* Whitesource 'product' is always 'Lightbend Reactive Platform' again

* Ignore all unpublished subprojects from whitesource
2017-08-18 13:49:40 +02:00
Johan Andrén
698223ae48 Copied as little as possible of the deprecated stuff from sbt (#23147) 2017-06-14 14:19:43 +02:00
Arnout Engelen
de3a48f2c3 Simplify whitesource configuration (#23141) 2017-06-12 03:22:41 -07:00
Arnout Engelen
cd6b6ffe67 Add sbt-whitesource plugin (#23122) 2017-06-09 13:34:21 +02:00
Johan Andrén
5006c223d9 No more sbt.Build, all projects in build.sbt (one issue outstanding though) 2017-05-26 14:00:05 +02:00
Johan Andrén
5400f92050 A few small warnings fixed 2017-05-26 13:53:56 +02:00
Konrad `ktoso` Malawski
17baf49fc7 Merge branch 'master' into wip-typed-to-master 2017-05-22 13:32:59 +02:00
Arnout Engelen
2933c449b6 Replace sphinx config with paradox config
paradox docs are now semi-functional, though rather empty (because
no converted docs yet)
2017-05-10 16:04:43 +02:00
Arnout Engelen
5507147073 Move content from akka-docs-new into akka-docs
Now the paradox documentation is no longer functional until we update akka-docs
to generate from paradox instead of sphinx
2017-05-10 15:21:23 +02:00
Martynas Mickevičius
0af4b63b78 #21524 Add typed tests dependency to docs 2017-04-10 13:31:09 +03:00
Martynas Mickevičius
d4b7b63424 #21524 Split out typed testkit 2017-04-10 13:31:09 +03:00
Endre Sándor Varga
435d95bcdc Towards getting-started docs 2017-03-24 09:10:06 +01:00
Heiko Seeberger
78022732b9 Fix configuration for persistence-query test deps (fix #22342) 2017-02-21 12:24:26 +01:00
Johan Andrén
64b35cf1f1 Replace "experimental" with "may change" (#22326)
* Replacing "experimental" with "may change" #22305

* Right syntax for links

* Correct annotation name

* Final small changes
2017-02-20 12:05:21 +01:00
Martynas Mickevičius
958de6a916 Remove samples (#22288)
Add code, that was used for documentation to the appropriate projects
or akka-docs.
2017-02-14 12:10:23 +01:00
Johan Andrén
52a20f2ba9 Micro kernel module removed #22205 2017-01-26 15:40:54 +01:00
Patrik Nordwall
5ffb08cd78 Merge pull request #22227 from akka/wip-sharding-dependency-patriknw
fix sharding dependency to persistence
2017-01-25 21:46:52 +01:00
Patrik Nordwall
a8f340508b fix sharding dependency to persistence
* can't make the dependency provided or test and still be able
  to compile/run tests
* might not be a big deal to include the persistence dependency instead
2017-01-25 21:45:08 +01:00
Johan Andrén
0ab494e5dd Do not build and publish dist and activator zips (#22223)
* Release script updates
2017-01-25 18:04:24 +01:00
Patrik Nordwall
9616e997fc Use ddata mode as the default for Cluster Sharding, #17963 2017-01-24 18:49:01 +01:00
Patrik Nordwall
f409c06c78 Promote Distributed Data, #22201 2017-01-24 12:49:27 +01:00
Patrik Nordwall
4bd6b7aab1 improve AbstractActor, #21717
* Receive class that wraps PartialFunction, to avoid
  scary scala types
* move AbstractActorContext to AbstractActor.ActorContext
* converting docs, many, many UntypedActor
* removing UntypedActor docs
* add unit test for ReceiveBuilder
* MiMa filters
* consistent use of getContext(), self(), sender()
* rename cross references
* migration guide
* skip samples for now
* improve match type safetyi, add matchUnchecked
  * the `? extends P` caused code like this to compile:
    `match(String.class, (Integer i) -> {})`
  * added matchUnchecked, since it can still be useful (um, convenient)
    to be able to do:
    `matchUnchecked(List.class, (List<String> list) -> {})`
* eleminate some scala.Option
  * preRestart
  * findChild
  * ActorIdentity.getActorRef
2017-01-23 18:30:52 +01:00
Philippus Baalman
6c7085252a extended copyright into 2017 2017-01-04 17:37:15 +01:00
Konrad Malawski
926e97e930 =peq mark persistence query as stable 2016-12-14 14:09:11 +01:00
Patrik Nordwall
9cd5046e1f bump version to 2.5-SNAPSHOT (#21946)
* project/scripts/find-replace 2.4-SNAPSHOT 2.5-SNAPSHOT
2016-12-05 10:43:29 +01:00
Martynas Mickevičius
72925ba392 Publish dining hakkers deps to local maven repo (#21793) 2016-11-07 13:28:34 -08:00
Björn Antonsson
3e55aa5555 Merge pull request #21737 from bantonsson/make-akka-scala-nightly-great-again
Make the akka-scala-nightly project work as expected
2016-10-27 17:21:47 +02:00