Commit graph

12466 commits

Author SHA1 Message Date
Oliver Schulz
76010d5b56 Changed ByteIterator.span to return operand iterator first in tuple
Makes things more consistent, since ByteIterator.duplicate also returns
the operand iterator first.
2012-05-30 00:02:49 +02:00
Oliver Schulz
85b92b9547 Improved ByteStringSpec tests for iterator.{span, takeWhile, dropWhile} 2012-05-30 00:02:49 +02:00
Oliver Schulz
ff57958688 Workaround in ByteStringSpec for Scala-2.9 iterator.span bug 2012-05-30 00:02:49 +02:00
Oliver Schulz
7a854a9a83 Changed MultiByteArrayIterator to operate on a LinearSeq
ByteString.ByteStrings new creates it's iterator on a Stream instead of
a List, making ByteStings.iterator an O(1) operation.
2012-05-30 00:02:49 +02:00
Oliver Schulz
93d5e440ea Removed object ByteStringBuilder
* ByteStringBuilder.apply was unusual for Scala Builders
* Moved OutputStreamWrapper implementation into ByteStringBuilder
2012-05-30 00:02:49 +02:00
Oliver Schulz
b54e9ba78e Improved documentation of ByteString methods compact and isCompact 2012-05-30 00:02:49 +02:00
Oliver Schulz
151b74262e Improved MultiByteArrayIterator.toByteString
MultiByteArrayIterator.toByteString now returns the optimal ByteString
representation for the data.
2012-05-30 00:02:49 +02:00
Oliver Schulz
0aff0ff101 Added lots of missing tests to ByteStringSpec 2012-05-30 00:02:42 +02:00
Oliver Schulz
c185f72c37 Fixed ByteIterator InputStream wrapping
Result of ByteIterator.asInputStream did not work correctly in all cases
2012-05-29 23:59:43 +02:00
Oliver Schulz
696cd5a192 Fixed implementations of ByteIterator.getBytes, getShorts, etc.
Implementations were broken.
2012-05-29 23:59:08 +02:00
Oliver Schulz
d3e878effb Fixed ByteIterator.{take,drop,slice} for extreme argument values 2012-05-29 23:59:08 +02:00
Björn Antonsson
35aaa220aa Quoting strings differently for multi-node 2012-05-29 17:16:28 +02:00
Viktor Klang
a413a9394b Switching approaches for EmptyLocalActorRef and DeadLetterActorRef 2012-05-29 16:36:24 +02:00
Björn Antonsson
4b6f00f424 Quoted strings confuses ScalaTest (space seoarated argument strings suck) 2012-05-29 15:31:57 +02:00
Viktor Klang
e86910c1da Merge branch 'master' into wip-2134-deathwatch2.0-√ 2012-05-29 15:30:04 +02:00
Viktor Klang
8903abb230 Making sure Watch messages are handled by DeadLetterActorRef + EmptyLocalActorRef 2012-05-29 15:20:26 +02:00
Viktor Klang
b38ce0274d Making sure that Terminated messages don't go to the same guy 2012-05-29 15:04:04 +02:00
Viktor Klang
f0cac7c180 Removing some boiler 2012-05-29 14:46:34 +02:00
Björn Antonsson
d2b2f88345 Merge pull request #495 from akka/wip-2150-make-multi-jvm-tests-run-on-multiple-nodes
Enable running tests on multiple nodes with -Dakka.test.multi-node=true
2012-05-29 05:36:31 -07:00
Viktor Klang
46098562ab Making sure that you cannot watch or unwatch yourself 2012-05-29 14:34:25 +02:00
Björn Antonsson
63becd1996 Merge branch 'master' into wip-2150-make-multi-jvm-tests-run-on-multiple-nodes
Conflicts:
	project/AkkaBuild.scala
2012-05-29 14:31:59 +02:00
Patrik Nordwall
f918ae6c32 Tag all multi node tests as long-running, since slow jenkins sometimes has problems running them. 2012-05-29 14:30:15 +02:00
Viktor Klang
2dfa560bbf Switched back to the old debug messages 2012-05-29 14:27:36 +02:00
patriknw
eee96292e7 Merge pull request #496 from akka/wip-2143-MultiNodeSpec-init-race-patriknw
Workaround for Initialization race in MultiNodeSpec, see #2143
2012-05-29 05:17:22 -07:00
Viktor Klang
e3e391e5aa Removing DaemonMsgWatch, oh yeah baby. However, still no cigar 2012-05-29 14:14:06 +02:00
patriknw
a1754a65e6 Merge pull request #494 from akka/wip-1935-port-multi-jvm-patriknw
Port all MultiJvm tests to MultiNode, see #1935
2012-05-29 04:26:39 -07:00
Patrik Nordwall
06f86e1091 Boy scouting based on feedback, see #1935 2012-05-29 13:18:46 +02:00
Viktor Klang
4bb1a40581 Resolve conflict 2012-05-29 13:03:16 +02:00
Patrik Nordwall
7456bf595a Add doc note about using testconductor from constructor, see #2143 2012-05-29 12:50:50 +02:00
Gert Vanthienen
07dd654849 Adding a convenience BundleActivator implementation to bootstrap Akka from an OSGi bundle 2012-05-29 12:41:09 +02:00
Viktor Klang
c5e6a3204c Adding a FIXME for handleSupervisorFailing in ActorCell 2012-05-29 12:30:17 +02:00
Viktor Klang
dabe0a87e5 Switching to logging warnings instead of throwing exceptions in untrustedMode 2012-05-29 12:21:58 +02:00
Patrik Nordwall
66efe504da Workaround for Initialization race in MultiNodeSpec, see #2143 2012-05-29 11:42:29 +02:00
Björn Antonsson
2b5b9c6b07 Merge branch 'master' into wip-2150-make-multi-jvm-tests-run-on-multiple-nodes 2012-05-29 10:52:37 +02:00
Björn Antonsson
88b611ebcb Enable running tests on multiple nodes with -Dakka.test.multi-node=true 2012-05-29 10:40:52 +02:00
Viktor Klang
276b3f8ea3 Merge branch 'master' of github.com:akka/akka 2012-05-29 10:34:52 +02:00
Viktor Klang
9936fab620 Added Typesafe Config's license in AkkaBuild 2012-05-29 10:34:41 +02:00
Patrik Nordwall
b9a6ccaf41 Port all MultiJvm tests to MultiNode, see #1935
* Moved akka-remote/multi-jvm test to akka-remote-tests/multi-jvm
* Removed old test utilities that are replaced by testconductor
* Removed multi-jvm from akka-remote build, these tests are now in
  akka-remote-tests
* Removed test dependencies in build that are not needed any longer
* DirectRoutedRemoteActorMultiJvmSpec replaced with
  NewRemoteActorMultiJvmSpec, same thing
2012-05-29 10:06:44 +02:00
patriknw
b777483193 Merge pull request #489 from akka/wip-2110-GossipingAccrualFailureDetectorSpec-patriknw
Port GossipingAccrualFailureDetectorSpec to MultiNodeSpec, see #2110
2012-05-29 00:32:46 -07:00
patriknw
71da96b0de Merge pull request #491 from akka/wip-2145-test-tags-patriknw
Test tags not working as expected, see #2145
2012-05-29 00:30:27 -07:00
Viktor Klang
d1e8fb0b9a Update docs to reflect that there isn't 0 deps for akka-actor 2012-05-29 09:06:03 +02:00
Patrik Nordwall
80fabe240e tags.exclude should add to default excludes, not override, see #2145 2012-05-29 09:05:46 +02:00
Patrik Nordwall
44b6764a40 Reduce sleep and use awaitCond for the failure case, see #2110 2012-05-29 08:46:00 +02:00
Viktor Klang
949072a097 Merge branch 'master' of github.com:akka/akka 2012-05-29 02:14:38 +02:00
Viktor Klang
5c863ad409 #2051 - Removing the embedded config library and switch to using the published OSGi-enabled 0.4.1 version 2012-05-29 02:13:25 +02:00
viktorklang
8f09182148 Merge pull request #453 from akka/issue-2076
closes #2076: Streamline usage of parens on arity-0 methods with the Style Guide (once more)
2012-05-28 16:49:43 -07:00
Viktor Klang
673ee4977b Merge branch 'master' of github.com:akka/akka 2012-05-29 01:49:19 +02:00
Viktor Klang
260e281449 #2102 - porting over the fix for Netty/356 2012-05-29 01:43:39 +02:00
viktorklang
125acb4a54 Merge pull request #490 from akka/issue-2146
closes #2146: Publish OSGi bundle for akka-actor
2012-05-28 14:56:20 -07:00
Patrik Nordwall
c7d7bbb93e Test tags not working as expected, see #2145
* Tests tagged with timing or long-running are excluded by default,
  as before
* Use -Dakka.test.tags.include=long-running,timing to run all
  untagged and also tests tagged with long-running or timing
* Use -Dakka.test.tags.only=timing,long-running to only run
  tests tagged with long-running or timing, i.e. untagged tests,
  or tests tagged with something else are not run
* I think the above two parameters covers our needs, but there is
  also -Dakka.test.tags.exclude=some-other to be able to exclude
  tests that are included by default
2012-05-28 18:46:36 +02:00