Viktor Klang
af25479b6c
Migrating Agents to greener pastures
2013-01-23 17:51:33 +01:00
Roland Kuhn
93fc9f1d6f
Merge pull request #1030 from spray/wip-IO
...
New IO: first complete implementation
2013-01-23 08:34:11 -08:00
Mathias
5883c40ce8
Add TCP message protocol diagrams
2013-01-23 15:40:07 +01:00
Johannes Rudolph
3e78247cc8
when the connection is established optimistically try reading before registering ReadInterest
2013-01-23 15:28:14 +01:00
Mathias
f138dbd6b4
Add missing copyright header, smaller cleanups
2013-01-23 15:19:03 +01:00
Mathias
8282ac9896
Add support for 'unlimited' max-channels
2013-01-23 14:43:07 +01:00
Mathias
385fd322c9
Rename ErrorClose event to ErrorClosed
2013-01-23 11:47:12 +01:00
Roland Kuhn
9b180a9d87
Merge pull request #1049 from akka/wip-lower-pressure-on-lock-√
...
isProxy is internally using a single, fat, synchronized – yes, astonish...
2013-01-23 02:33:03 -08:00
Roland Kuhn
f2e9288a4f
Merge pull request #1048 from akka/wip-2782-removing-CIHM-√
...
#2782 - Removing ConcurrentIdentityHashMap and shake this all about
2013-01-23 02:31:02 -08:00
Mathias
7761b00122
"unseal" Tcp.Event trait
2013-01-23 11:25:19 +01:00
Roland Kuhn
50fb495e56
Merge pull request #1046 from tlockney/feature/epub-support
...
added basic support for Epub generation
2013-01-23 02:20:05 -08:00
Roland Kuhn
205089f7f6
Merge pull request #1041 from RickLatrine/wip-2923-terminated-cascade-ricklatrine
...
Prevents Terminated message cascade, see #2923
2013-01-23 02:01:29 -08:00
Roland
e862890ded
major facelift: -!-> and -?-> appear
...
- rename projects to akka-channels and akka-channels-tests
- move implementation into akka.channels.macros package
- remove picking up ActorRef as sender (or none at all)
- factor out logic to make different façades acting upon Future[] or Any
so that -!-> and -?-> can complement the traditional <-!- and <-?-
- the new operators are easily distinguishable from !/? and the
rightwards-pointing go with the flow and compose better, let’s try
them out
2013-01-22 23:03:43 +01:00
Viktor Klang
c16f226d1d
isProxy is internally using a single, fat, synchronized – yes, astonishing to say the least, with this we lower the pressure on that lock.
2013-01-22 17:58:37 +01:00
Johannes Rudolph
0a7c793316
fix: make sure buffer is released in any case, also after not acked writes and when killed
2013-01-22 17:32:46 +01:00
Mathias
c61414f28f
Fix TcpListener not distributing incoming connections across all selectors
2013-01-22 16:23:11 +01:00
Johannes Rudolph
64d832377b
prevent connection leak when temporaryServerAddress throws
2013-01-22 16:05:03 +01:00
Johannes Rudolph
fccf596649
Revert "Change socket options type from immutable.Traversable to Traversable"
...
This reverts commit ba922fa2d7 .
Conflicts:
akka-io/src/main/scala/akka/io/Tcp.scala
akka-io/src/main/scala/akka/io/TcpIncomingConnection.scala
akka-io/src/main/scala/akka/io/TcpListener.scala
akka-io/src/main/scala/akka/io/TcpOutgoingConnection.scala
2013-01-22 16:03:22 +01:00
Johannes Rudolph
c6265843b3
remove explicit selector field in TcpConnection + TcpListener
2013-01-22 15:57:44 +01:00
Viktor Klang
4474c34e7c
#2782 - Removing ConcurrentIdentityHashMap and shake this all about
2013-01-22 15:11:49 +01:00
Mathias
4e700b661a
Add missing case to CapacityLimitSpec
2013-01-22 14:15:59 +01:00
Mathias
570b02f569
Decrease visibility of internals to private[io], clean up imports
2013-01-22 14:15:51 +01:00
Mathias
79accb810e
Cleanup, small fixes and more and better tests
2013-01-22 13:57:49 +01:00
Mathias
ba922fa2d7
Change socket options type from immutable.Traversable to Traversable
...
The problem with `immutable.Traversable` is that it doesn't allow the use of `Seq.apply` for socket options, since `Seq` is aliased to `scala.collection.Seq` and not `scala.collection.immutable.Seq` in `package object scala`. Even though technically nicer `immutable.Traversable` therefore hinders usability of the API, for a benefit that we don't consider worth the cost.
Conflicts:
akka-io/src/main/scala/akka/io/TcpConnection.scala
2013-01-22 12:52:34 +01:00
Johannes Rudolph
a53848edfa
properly cleanup selector in tests
2013-01-22 11:41:40 +01:00
Johannes Rudolph
3687697aed
use proper selection strategy to try to improve test stability
2013-01-22 11:35:15 +01:00
Thomas Lockney
bcf81cc12c
added basic support for Epub generation
2013-01-21 12:14:46 -08:00
Johannes Rudolph
e853a1d2ae
fix race condition when trying to assert closed channel on the server side
2013-01-21 18:26:56 +01:00
Johannes Rudolph
54c3d77db2
add more integration tests
2013-01-21 17:41:51 +01:00
Johannes Rudolph
6d5458dfeb
further improve pullFromServerSide stability
2013-01-21 17:26:52 +01:00
Johannes Rudolph
3d34f57c5b
improve stability of tests, pullFromServerSide now uses real selector to check for conditions
2013-01-21 17:05:44 +01:00
Johannes Rudolph
b4baf66442
make asserting on received messages more resilient
2013-01-21 16:22:31 +01:00
RickLatrine
846e567355
Unwatch watched actors on termination. Fixes : #2923
...
unwatchWatchedActors must stay in finishTerminate as an emergency stop might occur at handleInvokeFailure
2013-01-21 16:02:57 +01:00
Johannes Rudolph
91548c7375
Revert "in DirectByteBufferPool keep buffers by soft reference"
2013-01-21 15:52:19 +01:00
Viktor Klang
13b1324509
#2775 - Adding migration guide for waiting on promises
2013-01-21 15:51:49 +01:00
Johannes Rudolph
7c1fe80279
remove commented code
2013-01-21 14:55:02 +01:00
Johannes Rudolph
9c9508d76f
improve DirectByteBufferPool and some smaller fixes
...
* dispatch Closed events to the sender of the close command as well
* DirectByteBufferPool changes:
* hide behind BufferPool interface
* only return buffers of the configured size
* reduce work to be done while locked
* use Array-based stack to store free buffers instead of linked lists
* keep buffers by soft reference
2013-01-21 14:45:19 +01:00
Roland
00a39232cc
add debug helper for CallingThreadDispatcherModelSpec, see #2821
...
- the problem is that the user guardian gets blocked for more than 3
seconds, and I have no clue who blocks it where
- therefore print all stack traces two seconds into the test if still
not finished
2013-01-20 22:21:02 +01:00
Roland Kuhn
c8779f4e9d
Merge pull request #1035 from derekmahar/patch-3
...
Update akka-docs/rst/general/actor-systems.rst
2013-01-20 07:16:30 -08:00
Derek Mahar
3d662f94a0
Update akka-docs/rst/general/actor-systems.rst
...
Replace "with respect fault-handling" with "with respect to fault-handling".
2013-01-18 12:11:05 -05:00
Viktor Klang (√)
6cc4dcb810
Merge pull request #1039 from akka/wip-2838-zeromq-test-shutdown-race-ban
...
Terminate zeromq context after actors have terminated
2013-01-18 07:42:14 -08:00
Björn Antonsson
8f29022ef5
Terminate zeromq context after actors have terminated. See #2838
2013-01-18 15:00:19 +01:00
Björn Antonsson
cd9fae81e5
Making test more DRY. See #2862
2013-01-18 13:58:46 +01:00
Roland Kuhn
fd4624099e
Merge pull request #1036 from derekmahar/patch-4
...
Update akka-docs/rst/general/actor-systems.rst
2013-01-18 04:32:18 -08:00
Patrik Nordwall
db5da848c0
Merge pull request #1033 from akka/wip-def-if-patriknw
...
Style change of def starting with if
2013-01-18 04:30:43 -08:00
Patrik Nordwall
5dc108567d
Style change of def starting with if
...
* When a def starts with if and is not a oneliner the if
should be on a new line.
* The reason is that it might be easy to miss the if when
reading the code.
2013-01-18 13:28:49 +01:00
Viktor Klang (√)
73a1b82869
Merge pull request #1034 from akka/wip-retain-envelope-√
...
Preserving Envelopes in UnstartedActorCell as requested by Mr Pink
2013-01-18 04:27:48 -08:00
Mathias
2f54a5b4d2
more tests, smaller improvements
2013-01-18 13:20:17 +01:00
Patrik Nordwall
1557f0c75b
Merge pull request #1032 from akka/wip-2905-StressSpec-exercise-supervision-patriknw
...
Unique barriers for each round in StressSpec.exerciseSupervision, see #2905
2013-01-18 04:14:18 -08:00
Patrik Nordwall
bdd69f7cdd
Unique barriers for each round in StressSpec.exerciseSupervision, see #2905
...
* Looks like the issue was caused by a mixup of barriers and/or name
of the result aggregator actor
2013-01-18 13:13:38 +01:00