- add Logging trait for nicer interface
- add EventHandlerLogging class for offering the nice interface from
app.log
- add eventHandler instance to app and use that for all internal logging
(this means that some places (dispatchers, remoting) were infiltrated
by app just to do logging, but I think we'll need app in there soon
enough for other reasons)
- remove global Config
- pull everything which depended on it into new AkkaApplication
- leave EventHandler alone for the moment: that evil sucker gets his
very own AkkaApplication("akka-reference.conf") until we have settled
on an acceptable logging API without globals
- make akka-actor and akka-testkit compile
- TestKit uses implicit AkkaApplication passing for maximum convenience
- Actor object nearly completely removed, actor creation possible via
ActorRefFactory interface which is implemented by AkkaApplication and
ActorContext
- serialization of ActorRef is probably broken, and so is the reflective
RemoteSupport (now needs AkkaApplication constructor arg)
- everything else is still broken, including akka-actor-tests, so this
is of course all not runtime-tested
- removed SelfActorRef
- added an ActorContext interface that provides a view into ActorInstance
- the ActorInstance (as ActorContext) gets injected into the Actor
- moved self methods like sender and reply directly to the Actor
background: PartialFunction literals don't work if they encounter
overload resolution, because scalac then complains about not fully
defined argument types.
- move akka.testing from akka-actor-tests to akka-testkit/akka.testkit
- move timeFactor from Testing to Duration and add .dilated method
- add Duration.{min, max}
- add TestKit.awaitCond
- use Duration.dilated on all max Durations in TestKit
- fix up loose ends
Conflicts:
akka-actor-tests/src/main/scala/akka/testing/Testing.scala
akka-actor-tests/src/test/scala/akka/actor/actor/ActorRefSpec.scala
akka-actor-tests/src/test/scala/akka/actor/supervisor/SupervisorSpec.scala
akka-actor-tests/src/test/scala/akka/routing/RoutingSpec.scala
akka-actor/src/main/scala/akka/util/Duration.scala
akka-remote/src/test/scala/remote/RemoteTypedActorSpec.scala
akka-testkit/src/main/scala/akka/testkit/TestBarrier.scala
akka-testkit/src/main/scala/akka/testkit/TestKit.scala
akka-typed-actor/src/test/scala/actor/typed-actor/TypedActorLifecycleSpec.scala