Viktor Klang
d0717aaec6
#2776 - deprecating and introducing alternatives for methods and parameters ending with '_?'
2012-12-14 14:55:21 +01:00
Rich Dougherty
9a1e7d0519
Rename FSM and TestFSMRef's timerActive_? to isTimerActive. Fixes #2766
2012-12-06 17:28:49 +01:00
Rich Dougherty
075dbe1ec6
Cancel all timers when FSM terminated. Fixes #2689
2012-12-04 15:33:37 +01:00
Patrik Nordwall
b06b0fa087
DOC: Formatting issues, see #2723
...
(cherry picked from commit 15abee84875cdb534056986b9172a38b57d24d92)
2012-11-22 17:23:18 +01:00
Viktor Klang
b00c47854b
Switching over to immutable.Iterable where possible
2012-11-14 16:24:25 +01:00
Viktor Klang
8f131c680f
Switching to immutable.Seq instead of Seq
2012-11-12 14:17:47 +01:00
Viktor Klang
d01ea366ce
#2661 - Changing ignoreMsg of TestProbe to take a PF from Any instead of AnyRef, to support primitives
2012-10-29 23:07:06 +01:00
Roland
6e34797a69
Merge branch 'wip-2.10.0-RC1-∂π'
2012-10-15 22:05:22 +02:00
Björn Antonsson
1d578a9aa2
Change RemoteActorRef to not start before it's been published. #2575
2012-10-15 13:33:39 +02:00
Roland
0f04239f67
move Duration classes according to scala 2.10 nightly and remove casts to FiniteDuration, see #2504
2012-10-11 15:18:10 -07:00
Björn Antonsson
6b6eeb22ba
Start actor after it can be resolved with actorFor. #2575
2012-10-10 22:22:41 +02:00
Patrik Nordwall
89c1f66b1f
Merge pull request #774 from akka/wip-2502-cluster-java-patriknw
...
Java version of Cluster usage documentation, see #2502
2012-10-05 00:35:48 -07:00
Patrik Nordwall
1e0a29d939
Wipe @author tags
...
* we have collective code ownership and
authorship is maintained by the git log
2012-10-05 08:23:11 +02:00
Roland
3efa0c96e9
implement untrusted mode, see #2573
2012-10-04 16:50:49 -07:00
Viktor Klang
542b927bdb
Merge branch 'master' into wip-doc-fixes-∂π
2012-09-20 16:48:35 +02:00
Viktor Klang
d2c24f3034
Merge with master
2012-09-19 00:07:45 +02:00
Roland
947cea3a8c
more conversion to FiniteDuration, plus fix the build, see #2521
...
- also remove resetReceiveTimeout and change receiveTimeout() to return
a Duration (which may be Undefined)
- also move akka.actor.{cell -> dungeon}, because that is
+ an adequate name
+ and does not coincide with the lowercase version of a class name
2012-09-18 18:17:44 +02:00
Roland
35b7a9e338
second round of FiniteDuration business, including cluster fixes
...
- make Scheduler only accept FiniteDuration, which has quite some
knock-on effects
2012-09-18 09:58:30 +02:00
Roland
379164cba5
fix two relative imports in Agent.scala
2012-09-17 21:32:29 +02:00
Roland
cd4927dd04
make TestKitBase.testActor strict, see #2514
2012-09-17 21:24:28 +02:00
Roland
251a62293a
unb0rk akka-actor-nightly build
...
This means tightening types from Duration to FiniteDuration in several
places; a good thing, since we replace runtime complaints by compile
time errors.
2012-09-14 16:44:38 +02:00
Björn Antonsson
afe30e9038
Removed all dependencies to ScalaTest in the published artifacts. See #1802
2012-09-12 15:12:13 +02:00
Björn Antonsson
6c25954a2d
Merge branch 'master' into wip-1802-multijvm-test-harnesses-needs-to-be-published-ban
2012-09-12 11:09:26 +02:00
Patrik Nordwall
911ef6b97e
Merge pull request #668 from akka/wip-1588-cluster-death-watch-patriknw
...
Death watch hooked up with cluster failure detector, see #1588
2012-09-11 06:13:44 -07:00
Björn Antonsson
182510234c
Move test of AkkaSpec to test again.
2012-09-10 13:14:49 +02:00
Björn Antonsson
7299450121
Make akka-testkit and akka-remote-tests contain enough for MultiNodeSpec. See #1802
2012-09-10 13:14:48 +02:00
Roland
79c9cdd98e
unbreak the akka-actor-nightly build
2012-09-07 16:56:42 +02:00
Viktor Klang
4eee04cb60
#2469 - Switching to scala.util.Try instead of Either[Throwable, T] in the codebase
2012-09-06 03:17:51 +02:00
Roland
0e8a6d3b30
(oh snap, had increased thread count in AkkaSpec)
2012-09-04 10:58:39 +02:00
Roland
7ece60d998
add even more logging
2012-09-04 10:57:13 +02:00
Patrik Nordwall
dad04cf9e5
DeathWatch must only notify when watching, see #1588
...
* Discard Terminated when not watching the subject
* This will filter eventual duplicates
* Note about the fw case in Scaladoc of Terminated
* Added description of changed behaviour in migration guide
2012-09-03 18:36:11 +02:00
Björn Antonsson
70ec85b084
Clear out interrupted flag before we recurse. See #2454
2012-08-30 15:21:51 +02:00
Viktor Klang (√)
8de174723b
Merge pull request #659 from akka/wip-2450-√
...
#2450 - Fixing expectMsgAllConformingOf and expectMsgAllClassOf + adding...
2012-08-30 05:38:19 -07:00
Viktor Klang
e462784c09
#2450 - Fixing expectMsgAllConformingOf and expectMsgAllClassOf + adding more tests
2012-08-30 11:59:56 +02:00
Viktor Klang
20881c777d
#2396 - Removing the Props.apply(ActorContext => Actor.Receive) method as it is superceded by the ActorDSL
2012-08-29 18:00:14 +02:00
Roland
8211fd6e8f
change settings to FiniteDuration where applicable
2012-08-21 09:22:09 +02:00
Roland
48b68c650d
Merge branch 'wip-2376-guardianStrategy-∂π'
2012-08-17 14:35:39 +02:00
Björn Antonsson
57ac1da6d1
Fixes from review. See #2385
2012-08-16 22:49:46 +02:00
Roland
c1c05ef95e
fix CTD vs. RepointableRef by swallowing exceptions during send
...
- it was always intended that tell() (and sendSystemMessage()) shall not
throw any exceptions
- this is implemented by swallowing in ActorCell
(suspend/resume/restart/stop/!/sendSystemMessage) and in
RemoteActorRef (!/sendSystemMessage)
- current implementation uses a normal method, which adds overhead but
keeps the code in one place (ActorCell.catchingSend); this is a great
opportunity for making use of macros
2012-08-15 21:46:05 +02:00
Roland
f7ea9bf3dd
add tests for guardian strategies, see #2376
...
- this discovered some pretty nice race conditions when creating actors
synchronously (i.e. system.actorOf) vs. the recent fault-handling fix
which discards Failed from old incarnations of a certain child
- as a consequence, all actor creation MUST be registered with the
parent before dispatching the Supervise message
2012-08-15 15:25:43 +02:00
Roland
e3ac633649
add throws clauses to Java APIs
2012-08-09 18:15:38 +02:00
Roland
bf49b75d5e
switch to AbstractPartialFunction, see #2357
2012-08-09 17:10:43 +02:00
Roland
0f923c0978
(re)move akka.japi.*PartialFunction and optimize TestKit, see #2357
2012-08-08 16:05:48 +02:00
Roland
6145d4313b
some cleanup after Viktor’s comments
...
- remove useless `cause` argument from some akka exceptions
- improve names of some method arguments
- eliminate some closure allocation
2012-08-08 14:13:52 +02:00
Roland
810d65068e
test exceptions from actor constructor in hierarchy, see #2336
...
This has brought to light some interesting effects (aka bugs) both in
the general implementation as well as in previous fixes.
SupervisorHierarchySpec is without TODOs now and GREEN.
2012-08-08 07:48:23 +02:00
Roland
a19df590a7
make actor-related exceptions be case classes for matching
2012-08-02 14:30:38 +02:00
Roland
faae09ab4e
add docs for ExtractRoute, see #2337
2012-07-25 20:48:32 +02:00
Viktor Klang
d3542f8582
#2341 - enabling -deprecation in AkkaBuild and subsequently fixing tons of deprecation warnings
2012-07-24 12:12:06 +02:00
Viktor Klang (√)
29b8035e2b
Merge pull request #579 from akka/wip-2337-route-extractor-∂π
...
add akka.testkit.ExtractRoute, see #2337
2012-07-23 14:31:40 -07:00
Roland
5e6b6f21ff
add akka.testkit.ExtractRoute, see #2337
2012-07-23 17:27:05 +02:00