Commit graph

9314 commits

Author SHA1 Message Date
Viktor Klang
fa1cd02eb1 Switching to Scala 2.9.1-1 2012-03-04 20:47:26 +01:00
Viktor Klang
65629f3314 Fix to support initial slash in resource path, regression from RC3 2012-03-02 16:20:12 +01:00
Viktor Klang
f3938f719d Scalariform 2012-03-02 16:19:40 +01:00
Roland
000098016a add some scaladoc for ActorCell.ChildrenContainers 2012-03-01 19:54:37 +01:00
Roland
51c0e3be2d disallow actor creation while shutting down 2012-03-01 19:42:22 +01:00
viktorklang
e78b4e6203 Merge pull request #360 from jboner/wip-1873-make-stop-asynchronous-∂π
Wip 1873 make stop asynchronous ∂π
2012-03-01 08:40:04 -08:00
viktorklang
5c3dcb7fdf Merge pull request #361 from jboner/wip-1878-hocon-classloader-√
#1878 - whippin' up some badass ClassLoader magicks
2012-03-01 08:39:50 -08:00
Roland
37284bab4f remove ActorContext.suspendForChildTermination, handle exceptions, add docs 2012-03-01 17:36:05 +01:00
Viktor Klang
3630850dde Adding decent ScalaDoc to the apply and create methods of ActorSystem 2012-03-01 17:33:00 +01:00
Viktor Klang
cc5e675f22 Fixing a couple of places where the classloader wasn't specified to load the config 2012-03-01 17:24:29 +01:00
Viktor Klang
2c6d4ec960 Reinstating the magic number 2 into the stack-hack by Roland 2012-03-01 16:59:33 +01:00
Viktor Klang
8b02a20d75 #1878 - whippin' up some badass ClassLoader magicks 2012-03-01 16:09:46 +01:00
Viktor Klang
4876eb037f Removing legacy section of documentation 2012-03-01 11:31:50 +01:00
Viktor Klang
2bc78e1026 Fixing broken link in docs 2012-03-01 10:14:39 +01:00
viktorklang
b6d23ae564 Merge pull request #359 from havocp/config-classloader
Cherry-pick ConfigFactory class loader fixes to com.typesafe.config
2012-03-01 00:47:14 -08:00
Viktor Klang
4cea8ee83e Sprinkling stardust 2012-03-01 01:16:43 +01:00
Viktor Klang
bad77feac9 Artistic reinterpretation 2012-03-01 00:55:50 +01:00
Roland
150b6b0110 little polish for TerminatingChildrenContainer 2012-02-29 21:31:50 +01:00
Roland
64b523638e rework childrenRefs to make context.stop(child) fully asynchronous
- replace TreeMap with custom ChildrenContainer, which has three
  implementations: empty, normal and “terminating” (i.e. waiting for
  some child to terminate)
- split recreate() in the same way as terminate(), so that there is a
  phase during which the suspended actor waits for termination of all
  children which were stopped in preRestart
- do not null out “actor” in ActorCell during restart, because we do
  need the supervisionStrategy and nulling it out does not buy us much
  in this case anyway
- provide new ActorContext.suspendForChildTermination(), which enters
  limbo for as long there are outstanding termination requests; this
  enables code which is very similar to previously (half-working) setups
  with “synchronous” context.stop(child)

docs are still missing, plus a little polishing here and there; oh, and
before I forget: ActorCell NOW is 64 bytes again ;-)
2012-02-29 21:10:31 +01:00
Havoc Pennington
9df6080196 Cherry-pick ConfigFactory class loader fixes to com.typesafe.config
This is commit 9733578ebbce6fc00b9e611540c3f24b76289911 and
commit 30bdac884b4ef256242db7e4fcee44df9f9921de from
typesafehub/config. Default and reference configs are no
longer cached, and use the thread's context class loader
instead of ConfigImpl.class.getClassLoader().
2012-02-29 13:50:08 -05:00
Viktor Klang
f654d5d808 Re-adding the twitter repo since it is needed, sigh 2012-02-29 13:55:53 +01:00
Viktor Klang
fc78ebcf34 Removing wasteful repos 2012-02-29 11:49:30 +01:00
viktorklang
4c8048588f Merge pull request #358 from jboner/wip-1872-Locker-∂π
fix shutdown of remote routers, see #1872
2012-02-28 06:57:09 -08:00
Roland
8a5db512f3 fix shutdown of remote routers, see #1872
- ActorCell.stop(actor) removed the actor from childrenRefs before
  handleChildTerminated, leading to removing from Locker immediately
  after adding it in
- intercept ChildTerminated message in RemoteTransport.receive if
  destination is not found (i.e. isTerminate==true) and re-route to
  Locker, which was changed to support path-based lookup to find the
  parent and funnel the ChildTerminated to its intended destination
- add Locker.shutdown() to detach remaining actors from their
  dispatchers upon system termination.
2012-02-28 15:48:02 +01:00
Viktor Klang
decfe8b935 Merge branch 'master' of github.com:jboner/akka 2012-02-28 12:28:31 +01:00
Viktor Klang
51ea522580 Removing reduntant reduntancy. 2012-02-28 12:28:26 +01:00
Roland
73170d1f4b Merge remote-tracking branch 'origin/master' into testing-2.9.2 2012-02-28 10:52:27 +01:00
Viktor Klang
db6bad7fc0 spelling 2012-02-28 10:32:14 +01:00
viktorklang
4162443565 Merge pull request #307 from jboner/wip-stash
Add stash and deque-based mailbox
2012-02-28 01:23:14 -08:00
Viktor Klang
8ea949857b Merge branch 'master' into wip-stash 2012-02-28 10:22:23 +01:00
Viktor Klang
a768b53299 Removing catch-block and clearing up the ScalaDoc 2012-02-28 10:21:01 +01:00
Roland
750e7158c0 switch to 2.9.1-1-RC1, which fixes the outstanding problems 2012-02-28 10:14:40 +01:00
Viktor Klang
0837948753 Merge branch 'master' of github.com:jboner/akka 2012-02-28 09:00:11 +01:00
viktorklang
b329bf3718 Merge pull request #356 from jboner/wip-ticket-1869
Capture early exception within Future.flow, fixes #1869
2012-02-27 23:59:55 -08:00
Derek Williams
b730c0b427 Capture early exception within Future.flow, fixes #1869 2012-02-27 20:01:08 -07:00
Viktor Klang
778bab40ea Removing dataflow docs for Java, as there is no such thing 2012-02-28 00:23:47 +01:00
phaller
2d67675057 Update constructors of deque-based mailboxes 2012-02-27 23:26:15 +01:00
phaller
82ac03d882 Merge remote-tracking branch 'origin/master' into wip-stash 2012-02-27 23:00:20 +01:00
phaller
f4b799315b Make overridden preRestart more robust 2012-02-27 22:59:21 +01:00
phaller
00e5bf3bdf Add Java API class UntypedActorWithStash. Add tests for Stash Java API. 2012-02-27 22:38:26 +01:00
Viktor Klang
b9359a82a6 Adding docs about how to do remoting with TypedActors 2012-02-27 15:19:07 +01:00
Viktor Klang
572382b220 Removing playMini as to avoid the cyclic dependency, please look at the play-mini docs for examples 2012-02-27 14:02:27 +01:00
viktorklang
bf49681171 Merge pull request #355 from jboner/wip-1865-AddressExtractor-∂π
rename AddressExtractor to AddressFromURIString, see #1865
2012-02-27 02:17:12 -08:00
Viktor Klang
46b9b3cd43 Removing the Filter class, keeping Filter.filterOf 2012-02-27 11:08:02 +01:00
Roland
5fe27b523b rename AddressExtractor to AddressFromURIString, see #1865 2012-02-27 10:28:20 +01:00
viktorklang
762c60d486 Merge pull request #353 from jboner/wip-1836-durMB-settings-∂π
switch to dispatcher-scoped settings for durable mailboxes, see #1836
2012-02-26 14:59:16 -08:00
Roland
59104d03a1 clarify purpose of akka.dispatch.Filter in scaladoc 2012-02-26 21:53:17 +01:00
Roland
b4fcc3b2f2 Merge remote-tracking branch 'origin/master' into wip-1836-durMB-settings-∂π
... and fix up MailboxType docs with new constructor signature.
2012-02-26 21:38:56 +01:00
Roland
eaee16c7d3 include system.settings when constructing MailboxType, see #1864
- necessary to not have to construct one Settings object per
  MessageQueue
- added system.settings to DispatcherPrerequisites
2012-02-26 21:26:25 +01:00
Roland
abd7fb40ca take testMaibox setting from akka.testMailbox system property
also improve doc comment in reference.conf
2012-02-26 19:57:05 +01:00