Commit graph

12466 commits

Author SHA1 Message Date
Viktor Klang
879ea7c2b4 Removing startsWatching and stopsWatching from docs and removing cruft 2011-12-02 01:04:33 +01:00
Viktor Klang
fcc6169ede Removing the final usages of startsWatching/stopsWatching 2011-12-02 01:00:55 +01:00
Viktor Klang
54e2e9a357 Switching more test code to use watch instead of startsWatching 2011-12-02 00:25:17 +01:00
Viktor Klang
571d856f54 Removing one use-site of startsWatching 2011-12-01 23:52:16 +01:00
Viktor Klang
bf7befc690 Sprinkling some final magic sauce 2011-12-01 23:43:56 +01:00
Viktor Klang
ef27f865d4 Adding support for ForkJoinPoolConfig so you can use ForkJoin 2011-12-01 17:03:30 +01:00
Viktor Klang
e3e694d1dc Tweaking the consistency spec for using more cores 2011-12-01 17:02:30 +01:00
Roland
6b9cdc5f65 fix ActorRef serialization
- represent it by SerializedActorRef(path), i.e. only a “tagged” string
- remove serialize/deserialize from ActorRefProvider interface
- adapt test since deadLetters is returned when nothing found instead of
  exception
- multi-jvm tests are still broken, but that is due to look-up of remote
  actors, which I have just not done yet
2011-12-01 14:31:02 +01:00
Viktor Klang
e590a4877a Making the ConsistencySpec a tad more awesomized 2011-12-01 10:27:28 +01:00
Roland
b65799c7f3 remove ActorRef.address & ActorRef.name
- address => path.toString
- name => path.name
- forward hashCode, equals and compareTo to path
- implement recursive efficient ActorPath.compareTo
- fix ActorPath.equals endless recursion
- remove wrong warning in ActorCell.systemInvoke.supervise()
2011-11-30 23:30:56 +01:00
Roland
7e4333a612 fix actor creation with duplicate name within same message invocation
- ActorCell will pre-fill the childrenRefs with the reserved name in
  order to detect duplicates
- also clean up some test outputs (some ActorSystems forgot to fall back
  to testConf so they did not get the TestEventListener anymore)
- fix race in start-up of LoggingReceiveSpec by ignoring messages from
  testActor start (never was slow enough on my machine to trigger =>
  thank you Jenkins, again!)
- represent actors in logging only by their path, i.e. remote Actor[...]
  decoration
- fix automatic naming of AkkaSpec ActorSystems after the true class
  name of the test spec
2011-11-30 22:19:48 +01:00
Viktor Klang
b42c6b6bd1 Adding the origin address to the SHUTDOWN CommandType when sent and also removed a wasteful FIXME 2011-11-30 18:23:58 +01:00
Viktor Klang
e3fe09f9bd Merge branch 'master' of github.com:jboner/akka 2011-11-30 18:10:46 +01:00
Viktor Klang
16dee0e481 #1409 - offsetting the raciness and also refrain from having a separate Timer for each Active connection handler 2011-11-30 18:05:11 +01:00
patriknw
67cf9b5b55 Merge pull request #127 from jboner/wip-1380-scheduler-dispatcher-patriknw
Execute scheduled tasks in system default dispatcher. See #1380
2011-11-30 06:25:38 -08:00
Patrik Nordwall
b3107aed73 Merge branch 'master' into wip-1380-scheduler-dispatcher-patriknw 2011-11-30 15:18:22 +01:00
Roland
97789dda80 fix one typo and one bad omission:
if you override a method and use a more specific return type, scalac
will emit a bridge method with the expected signature pointing to the
more specific one, but currently this does upset the Eclipse based
Java builders, so add one type ascription to ExtensionKey.
2011-11-30 15:03:33 +01:00
Henrik Engstrom
99e5d88ace Removed obsolete samples, see #1278 2011-11-30 11:37:42 +01:00
Henrik Engstrom
4e49ee6e30 Merge pull request #130 from jboner/samples-henrikengstrom
Samples henrikengstrom
2011-11-30 02:08:55 -08:00
Henrik Engstrom
e4ea7ac5d6 Merge branch 'master' into samples-henrikengstrom
Conflicts:
	akka-actor/src/main/scala/akka/routing/Routing.scala
	akka-samples/akka-sample-ants/README.md
	akka-samples/akka-sample-ants/src/main/scala/Ants.scala
	akka-samples/akka-sample-camel/src/main/scala/sample/camel/Actors.scala
	akka-samples/akka-sample-camel/src/main/scala/sample/camel/Boot.scala
	akka-samples/akka-sample-camel/src/main/scala/sample/camel/ClientApplication.scala
	akka-samples/akka-sample-camel/src/main/scala/sample/camel/ServerApplication.scala
	akka-samples/akka-sample-camel/src/main/scala/sample/camel/StandaloneApplication.scala
	akka-samples/akka-sample-chat/src/main/scala/ChatServer.scala
	akka-samples/akka-sample-osgi/src/main/scala/OsgiExample.scala
	akka-samples/akka-sample-remote/src/main/scala/ServerManagedRemoteActorSample.scala
	project/AkkaBuild.scala
2011-11-30 11:05:13 +01:00
Viktor Klang
070d446165 #1417 - Added a test to attempt to statistically verify memory consistency for actors 2011-11-30 10:52:51 +01:00
Patrik Nordwall
80ac1737cd First walk throught of FIXME. See #1378
* Fixed obvious
* Created tickets for several, #1408, #1409, #1410, #1412, #1415, 1416, #1418
* Moved LoggingReceive from akka.actor to akka.event
* Touched several of the FIXME to make them visible in code review
2011-11-30 10:48:26 +01:00
Henrik Engstrom
9e5c2f15fd Changed LinkedList to Iterable in constructor, see #1278 2011-11-30 08:35:40 +01:00
Roland
073c3c012b fix EventStreamSpec by adding Logging extension
- used only to keep the uniquifying logger counter per-ActorSystem
- add convenience-class for writing an extension with only two lines
  overhead (Java: three)!
2011-11-29 23:00:57 +01:00
Roland
afda539324 merge master into wip-ActorPath-rk 2011-11-29 21:52:18 +01:00
Henrik Engstrom
5cc36fa476 Added todos for 2.0 release, see #1278 2011-11-29 17:12:57 +01:00
Viktor Klang
af3a7101da Merge branch 'master' of github.com:jboner/akka 2011-11-29 16:52:04 +01:00
Viktor Klang
9afc9dc768 Making sure that all access to status and systemMessage is through Unsafe 2011-11-29 16:51:30 +01:00
Jonas Bonér
8f5ddff153 Added initial support for ls.implicit.ly to the build, still need more work though 2011-11-29 16:40:39 +01:00
Roland
3182fa3d73 second step: remove LocalActorRefProvider.actors
- duplicate name detection done within ActorCell/ActorSystem (i.e. at
  parent level)
- no caching needed for local look-ups, might re-introduce cache in
  remote layer
- implement suitable equals/hashCode on ActorPaths
- fix some (unintended => buggy) name reuses which previously silently
  returned a different actor
- serialization & EventStreamSpec still failing, need to commit to merge
  in other stuff on which the future fixes will depend
2011-11-29 16:32:50 +01:00
Henrik Engstrom
1b3ee08287 Updated after comments, see #1278 2011-11-29 15:19:58 +01:00
Henrik Engstrom
c1f9e764a9 Replaced removed visibility, see #1278 2011-11-29 12:41:52 +01:00
Henrik Engstrom
823a68ac0f Updated samples and tutorial to Akka 2.0. Added projects to SBT project file. Fixes #1278 2011-11-29 12:31:01 +01:00
Patrik Nordwall
b56201ab7f Updated to latest config lib and changed how reference config files are loaded.
* Config lib 4f3a91f
* All reference files named reference.conf, all will be loaded
* Usage of ConfigFactor.load as default way
* Extensions use same config as ActorSystem.settings.config
2011-11-29 11:56:41 +01:00
Jonas Bonér
bcaadb9a1d Merge branch 'master' of github.com:jboner/akka 2011-11-29 11:31:01 +01:00
viktorklang
8ab25a23ac Merge pull request #128 from jboner/wip-1371
Making TypedActors an Akka Extension and adding LifeCycle overrides to T...
2011-11-29 00:49:26 -08:00
Patrik Nordwall
fb468d79c8 Merge branch 'master' into wip-1380-scheduler-dispatcher-patriknw 2011-11-29 08:10:25 +01:00
Patrik Nordwall
4d920916bb Added dispatcher to constructor of DefaultDispatcher. See #1380
* There is circular initialization dependencies between DefaultScheduler and Dispatchers,
therefore I used (lazy) by-name parameter.
2011-11-29 08:07:41 +01:00
Viktor Klang
7706eea975 Merge branch 'master' of github.com:jboner/akka 2011-11-28 17:31:09 +01:00
Viktor Klang
16850388e0 Fixing #1379 - making the DLAR the default sender in tell 2011-11-28 17:24:41 +01:00
patriknw
6f18192e9b Merge pull request #126 from jboner/wip-1402-error-without-stacktrace-patriknw
Skip stack trace when log error without exception. See #1402
2011-11-28 08:09:57 -08:00
Patrik Nordwall
01e43c3edb Use scala.util.control.NoStackTrace 2011-11-28 17:08:10 +01:00
Jonas Bonér
b4c09c6f7b Merge branch 'master' of github.com:jboner/akka 2011-11-28 17:07:37 +01:00
Jonas Bonér
abf4b52f3e Added *.vim to .gitignore 2011-11-28 17:07:31 +01:00
Patrik Nordwall
f3cafa5fd3 Merge branch 'master' into wip-1402-error-without-stacktrace-patriknw
Conflicts:
	akka-slf4j/src/main/scala/akka/event/slf4j/SLF4J.scala
2011-11-28 17:00:12 +01:00
patriknw
1807851dc0 Merge pull request #125 from jboner/wip-1401-slf4j-patriknw
Slf4jEventHandler should not format log message. See #1401
2011-11-28 07:55:58 -08:00
Viktor Klang
539e12a7a4 Making TypedActors an Akka Extension and adding LifeCycle overrides to TypedActors, see #1371 and #1397 2011-11-28 16:15:08 +01:00
Patrik Nordwall
15748e5c42 Execute scheduled tasks in system default dispatcher. See #1380 2011-11-28 16:05:22 +01:00
Patrik Nordwall
87a22e4d28 stdout-loglevel = WARNING in AkkaSpec 2011-11-28 14:59:41 +01:00
Patrik Nordwall
a229140fac Fixed race in trading perf test. Fixes #1383 2011-11-28 14:44:19 +01:00