Commit graph

7999 commits

Author SHA1 Message Date
Jonas Bonér
d12a33235f Fixed wrong help text in exception. Fixes #1431.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-05 12:31:56 +01:00
Jonas Bonér
d6d9cedf0e Merge branch 'master' of github.com:jboner/akka 2011-12-05 11:14:13 +01:00
Jonas Bonér
ddf3a36673 Added JSON file for ls.implicit.ly 2011-12-05 11:14:05 +01:00
Patrik Nordwall
c8a1a96310 Updated config documentation 2011-12-05 10:41:36 +01:00
Viktor Klang
95791ce4c5 #1424 - RemoteSupport is now instantiated from the config, so now anyone can write their own Akka transport layer for remote actors 2011-12-02 18:08:38 +01:00
Viktor Klang
b2ecad1327 Merge branch 'master' of github.com:jboner/akka 2011-12-02 17:47:22 +01:00
Viktor Klang
93d093e87a Commenting out the ForkJoin stuff until I've cleared some bits with Doug Lea 2011-12-02 17:29:47 +01:00
Patrik Nordwall
1f665ab4c6 Changed signatures of Scheduler for better api of by-name blocks 2011-12-02 17:13:46 +01:00
Patrik Nordwall
af1ee4fb5a Utilized the optimized withFallback to simplify config checkValid stuff 2011-12-02 16:08:32 +01:00
Patrik Nordwall
db075d094a Updated to latest config lib 38fb8d6 2011-12-02 12:09:10 +01:00
Patrik Nordwall
eebe068aa5 Nice looking toString of config settings. See #1373 2011-12-02 12:09:09 +01:00
patriknw
d85f8d74b8 Merge pull request #134 from jboner/wip-1404-memory-leak-patriknw
Fixed several memory and thread leaks. See #1404
* Dispatchers need Scheduler to be able to shutdown themselves. Stop Scheduler after dispatchers.
* Changed CallingThreadDispatcher global object to Extension, since it holds map of references to mailboxes. Will be GC:ed when system is GC:ed.
* Made testActor lazy, since it is not used in all tests, and it creates CallingThreadDispatcher.
* Activated some java tests that were not running
* Many tests were not stopping created ActorSystems. VERY IMPORTANT TO STOP ActorSystem in tests. Use AkkaSpec as much as possible.
* Used profiler to verify (and find) dangling ActorSystemImpl and threads from dispatchers.
* FutureSpec creates ForkJoinPool threads that are not cleared, but number of threads don't grow so it's not a problem.
2011-12-02 01:34:52 -08:00
Patrik Nordwall
79866e5729 Made DefaultScheduler Closeable 2011-12-02 10:32:17 +01:00
Patrik Nordwall
639c5d6a54 Revert the removal of akka.remote.transport. Will be used in ticket 1424 2011-12-02 10:16:21 +01:00
Patrik Nordwall
b488d70f54 Fixed several memory and thread leaks. See #1404
* Dispatchers need Scheduler to be able to shutdown themselves. Stop Scheduler after dispatchers.
* Changed CallingThreadDispatcher global object to Extension, since it holds map of references to mailboxes. Will be GC:ed when system is GC:ed.
* Made testActor lazy, since it is not used in all tests, and it creates CallingThreadDispatcher.
* Activated some java tests that were not running
* Many tests were not stopping created ActorSystems. VERY IMPORTANT TO STOP ActorSystem in tests. Use AkkaSpec as much as possible.
* Used profiler to verify (and find) dangling ActorSystemImpl and threads from dispatchers.
* FutureSpec creates ForkJoinPool threads that are not cleared, but number of threads don't grow so it's not a problem.
2011-12-02 09:48:21 +01:00
patriknw
035f514843 Merge pull request #131 from jboner/wip-1378-fixme-patriknw
First walk through of FIXME. See #1378
2011-12-02 00:28:20 -08:00
Patrik Nordwall
fd82251501 Minor fixes from review comments. 2011-12-02 09:26:56 +01:00
Patrik Nordwall
82bbca43ab Merge branch 'master' into wip-1378-fixme-patriknw
Conflicts:
	akka-actor/src/main/scala/akka/actor/ActorRef.scala
	akka-remote/src/main/scala/akka/remote/RemoteActorRefProvider.scala
	akka-remote/src/main/scala/akka/remote/netty/NettyRemoteSupport.scala
2011-12-02 09:03:03 +01:00
patriknw
b70faa4e42 Merge pull request #129 from jboner/wip-config-patriknw
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-12-01 23:53:49 -08:00
Patrik Nordwall
66bf11681c Changed config.toValue -> config.root 2011-12-02 08:51:51 +01:00
Patrik Nordwall
c5a367ad54 Merge branch 'master' into wip-config-patriknw 2011-12-02 08:49:34 +01:00
Viktor Klang
d626cc2455 Removing suspend and resume from user-facing API 2011-12-02 01:27:42 +01:00
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
Viktor Klang
e590a4877a Making the ConsistencySpec a tad more awesomized 2011-12-01 10:27:28 +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
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
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
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