Commit graph

41 commits

Author SHA1 Message Date
Johan "Party Cannon" Andrén
1861ec6756 WIP ActorSystemSettings programatic config #21894 2016-12-15 15:05:13 +01:00
Konrad `ktoso` Malawski
5bcffa2acc Remove cancellable setting, makes it hard kill sbt (#21987) 2016-12-12 17:27:05 +01:00
Johan "Party Cannon" Andrén
088aeb7c96 Disable ActorContextSpec for now #21653 2016-12-02 11:07:38 +01:00
Patrik Nordwall
cbcfbfbccd Handle early termination of system when starting logger, #21674
* The IntroSpec terminates the system immediately via the root actor
  and when that happens before the logger is started the ask
  can't be scheduled.
2016-11-08 19:37:08 +01:00
Konrad Malawski
92671e6d98 +act,rem,str add SECURITY marker to logs (#21749)
* +act,rem,str add SECURITY marker to logs

* Update TlsSpec.scala
2016-10-28 14:52:17 +02:00
Roland Kuhn
021c2cbfdd Scala 2.12 does not name mangle private fields (#21742)
When we can emit a private field, no need to mangle its name

https://github.com/scala/community-builds/pull/317\#issuecomment-254931492
2016-10-28 13:00:34 +02:00
Roland Kuhn
20b88363ea implement EventStream and Dispatchers 2016-09-30 07:47:51 +02:00
Roland Kuhn
bf928af092 remove Props in akka-typed
The deployment configuration is realized as an internally linked list,
which makes it allocation-free in the common case but retains full
extensibility.
2016-09-30 07:47:50 +02:00
Roland Kuhn
320271cc31 new implementation for Akka Typed #21131
This is the first step towards a completely new and optimized actor
implementation for Akka Typed. The full previously existing test suite
passes for both implementations. The following is an incomplete list of
things that remain to be done:

* document the semantic differences between untyped and typed, in
  particular around actor restarts and the delivery ordering guarantees
  for Terminated messages (also document the difference between
  ActorSystemImpl and ActorSystemAdapter)
* implement EventStream and logging—this currently just delegates to an
  extra untyped ActorSystem (of course To Be Fixed)
* implement dispatcher selection
* implement and test queue size limitation
* implement optimized message queue instead of CLQ (for zero-allocation
  messaging)
* clean up test log output (something does not work with TestEventListener
  and EventFilter for ActorSystemImpl tests)
* document the capabilities (or more appropriately: the limitations) of
  interoperability between ActorSystemImpl and ActorSystemAdapter
* fix ActorPath UID generation (i.e. make sure that everything gets a
  meaningful value instead of zero)
* re-evaluate throughput/rescheduling logic in ActorCell

Oh, and by the way: as per PerformanceSpec (doing simple ping-pong) the
new implementation is ca. 30% faster than the adapter over akka-actor
:-)
2016-09-08 10:10:35 +02:00
Endre Sándor Varga
5e830323f6 Updating to ScalaTest 3.0.0 and ScalaCheck 1.13.2 2016-08-22 11:13:49 +02:00
Björn Antonsson
c66ce62d63 Update to a working version of Scalariform 2016-06-02 22:12:36 +02:00
Patrik Nordwall
be448e9fbb fix memory leaks in tests, #20659 2016-05-31 08:51:00 +02:00
Robert Budźko
d2eb2b7949 Exception description modified to reflect exclusion of 0 (#19709) timeout. (#20321) 2016-04-22 15:42:53 +02:00
Patrik Nordwall
e71bbf2628 increase test timeouts in typed.ActorContextSpec, #18568 2016-03-22 12:02:19 +01:00
Wojciech Langiewicz
2cdf447f6e =doc fix scaladoc warnings #18500 2016-03-16 09:18:39 +01:00
Konrad Malawski
4d9ffd6387 Merge pull request #20000 from wlk/wlk-18500-fix-scaladoc-warnings-from-jenkins
[WIP] fixing scaladoc warnings reported by jenkins
2016-03-11 15:11:31 +01:00
Wojciech Langiewicz
afce1b7529 fixing scaladoc warnings reported by jenkins 2016-03-10 13:05:32 +01:00
Martynas Mickevičius
50f99328fe #18765 Update to latest MiMa which is now an AutoPlugin.
* check for binary inc. issues by default
* if check is not needed, disable MimaPlugin
* determine old artifact id from the current one
2016-03-10 10:45:35 +02:00
Roland Kuhn
45e97e8467 remove akka.stream.testkit.AkkaSpec, fixes #19879 2016-02-25 15:26:51 +01:00
Johannes Rudolph
b6cbc7f13a =all remove unused imports 2016-02-23 20:29:22 +01:00
Johan Andrén
62e30b3c08 Update copyrights and links to the new company name #19851 2016-02-23 12:58:39 +01:00
Prayag Verma
b7783968a0 =pro #19068 All copyrights ranges and single years updated to a range ending in 2016 2016-01-25 10:20:30 +01:00
Martynas Mickevičius
8c1350b0d4 Merge pull request #19505 from 2m/wip-stream-build-fix
Various streams build improvements
2016-01-19 11:17:11 +02:00
Roland Kuhn
f7444d698c #19014 make Akka Typed spawnAdapter more efficient 2016-01-19 08:32:45 +01:00
Martynas Mickevičius
7743aa9d0a Various streams build improvements
* remove settings duplication between AkkaBuild and project specific .sbt files
* do not publish test projects
* run akka-http-core tests
* fix lambda sample project versions
* remove obsolete projects (streamAndHttp, httpParent, docsDev)
* exclude parsing project from unidoc
* update to the latest sbt
2016-01-18 18:16:30 +02:00
Roland Kuhn
d71ca8597c =typ #18699 pass Unhandled message to unhandled() 2015-10-12 00:26:59 +02:00
Roland Kuhn
40a68fad70 move StepWise into tests and deprecate 2015-06-29 10:33:17 +02:00
Andrey Myatlyuk
bc791eb86c =doc #17329 Fixed and normalized spellings in ScalaDoc and comments 2015-06-02 21:06:25 -07:00
Martynas Mickevičius
7fc2790458 =pro run multi-jvm tests when validating pr
* addunidoc task via an AutoPlugin that depends on PrValidation and Unidoc autoplugins
* separate cli option logic to a case class
* remove autoplugin for root project
2015-05-28 13:57:50 +03:00
Roland Kuhn
5dc25fbb44 add crosscompilation for 2.12.0-M1 2015-05-21 21:09:30 +02:00
Patrik Nordwall
a6c5e6ee42 Merge pull request #17477 from akka/wip-17460-typed-ActorContextSpec-patriknw
=typ #17460 fix message order in typed.ActorContextSpec
2015-05-19 13:31:53 +02:00
Patrik Nordwall
8a8663d2ed Merge pull request #17476 from akka/wip-17445-typed-PerformanceSpec-patriknw
=typ #17445 Reduce number of iterations in typed.PerformanceSpec
2015-05-19 09:06:46 +02:00
Roland Kuhn
18688fc84b = #17380 fix doc comments for java8 doclint
* actor and cluster-metrics comments
* agent/camel/cluster/osgi/persistence/remote comments
* comments in contrib/persistence-tck/multi-node/typed
2015-05-18 12:51:36 +02:00
Patrik Nordwall
89b3bd52f7 =typ #17460 fix message order in typed.ActorContextSpec
* if the scheduled send happens before (in another thread) the send of
  Scheduled the expected order is violated
2015-05-13 14:07:02 +02:00
Patrik Nordwall
e6f1f69118 =typ #17445 Reduce number of iterations in typed.PerformanceSpec 2015-05-13 13:39:00 +02:00
Konrad Malawski
dd828fed1f =typ #17137 increase await timeout, allow using dilation 2015-04-03 15:50:41 +02:00
Roland Kuhn
48848ac241 add Akka Typed to build 2015-04-01 21:58:31 +02:00
Roland Kuhn
dca7c42ae4 Merge pull request #16793 from akka/wip-TypedMultiMap-∂π
add akka.util.TypedMultiMap
2015-03-14 21:12:10 +01:00
Julian Tescher
00f6a58e7c Changes all occurances of Typesafe copyright to extend to 2015 2015-03-10 14:12:19 -07:00
Roland Kuhn
90b05abc06 add akka.util.TypedMultiMap
This greatly simplifies the Receptionist by providing the ability to
express a polymorphic map that calculates the type of each value from
the type of its key. Another possible use of this map is to express the
Extensions map in a type-safe fashion (no casts needed).
2015-02-13 20:27:33 +01:00
Roland Kuhn
d9efd041f7 add akka-typed project with generic ActorRef
This is the first step towards more type-safety in Actor interactions,
comprising:

* generic ActorRef[T] that only accepts T messages
* generic ActorSystem[T] extends ActorRef[T] (sending to the guardian,
  whose Props[T] are provided for ActorSystem construction)
* removed the Actor trait: everything in there has been made into
  messages and signals
* new Behavior[T] abstraction that consumes messages (of type T) or
  Signals (lifecycle hooks, Terminated, ReceiveTimeout, Failed),
  producing the next Behavior[T] as the result each time
* the ask pattern is provided and yields properly typed Futures
* variants of ActorContext are provided for synchronous testing of
  Behaviors

All of this is implemented without touching code outside akka-typed
(apart from making guardianProps configurable), creating wrapper objects
around ActorRef, ActorContext, ActorSystem, Props and providing an Actor
implementation that just runs a Behavior.
2015-01-29 11:42:28 +01:00