Commit graph

1708 commits

Author SHA1 Message Date
Julian Tescher
00f6a58e7c Changes all occurances of Typesafe copyright to extend to 2015 2015-03-10 14:12:19 -07:00
Jacob Gulotta
c1d3c6476f =pro #16791 Calculate OSGi scala.* version import range correctly 2015-02-11 12:23:57 -08:00
Roland Kuhn
a029a90502 fix warnings in contrib, docs, osgi, persistence and slf4j 2015-02-06 18:45:58 +01:00
Roland Kuhn
15ebe8f082 fix warnings in akka-actor-tests 2015-01-30 19:02:12 +01:00
Roland Kuhn
613f63b526 fix warnings in actor and testkit 2015-01-30 11:33:33 +01:00
Roland Kuhn
d9efd041f7 add akka-typed project with generic ActorRef
This is the first step towards more type-safety in Actor interactions,
comprising:

* generic ActorRef[T] that only accepts T messages
* generic ActorSystem[T] extends ActorRef[T] (sending to the guardian,
  whose Props[T] are provided for ActorSystem construction)
* removed the Actor trait: everything in there has been made into
  messages and signals
* new Behavior[T] abstraction that consumes messages (of type T) or
  Signals (lifecycle hooks, Terminated, ReceiveTimeout, Failed),
  producing the next Behavior[T] as the result each time
* the ask pattern is provided and yields properly typed Futures
* variants of ActorContext are provided for synchronous testing of
  Behaviors

All of this is implemented without touching code outside akka-typed
(apart from making guardianProps configurable), creating wrapper objects
around ActorRef, ActorContext, ActorSystem, Props and providing an Actor
implementation that just runs a Behavior.
2015-01-29 11:42:28 +01:00
Konrad Malawski
385373f23e Merge pull request #16705 from 2m/wip-samples-pr-validation
=pro #16704 add validatePullRequest task to samples
2015-01-26 14:28:08 +01:00
Patrik Nordwall
4437f775e5 Merge pull request #16679 from akka/wip-dry_run-patriknw
=pro unset dry_run flag
2015-01-23 12:12:47 +01:00
Martynas Mickevičius
d29c978871 =pro #16704 add validatePullRequest task to samples
* move validatePullRequest to separate autoplugin
* move MiMa settings to separate autoplugin
2015-01-22 20:26:34 +02:00
Patrik Nordwall
83e7e716ba =sam #16703 temp remove osgiDiningHakkersSampleMavenTest from samples aggregate 2015-01-22 14:23:35 +01:00
Andrei Pozolotin
7b9f77a073 + akka-cluster-metrics: new akka module
* new akka module split from akka-cluster
* provide sigar provisioning
* fix ewma usage
* resolve #16121
* see #16354
2015-01-19 10:23:54 -06:00
Patrik Nordwall
31939046ed =pro unset dry_run flag
* dry_run=false doesn't work for me
2015-01-19 14:03:15 +01:00
Patrik Nordwall
a1d7199a42 =rem #16623: Fix concurrent reliable delivery actors
(cherry picked from commit 4f7c90660226b05edc3581454d18fd53a4762802)

Conflicts:
	project/AkkaBuild.scala
2015-01-19 10:03:40 +01:00
Roland Kuhn
93ef92bcfb =per #16659 fix deserialization of SnapshotHeader
This needs to be done differently for Scala 2.10 and 2.11 since
scala.Option’s serialVersionUID changed between these series.
2015-01-16 14:34:59 +01:00
Roland Kuhn
a4a985035e Merge pull request #16575 from akka/wip-15864-remove-ømq-∂π
-zer #15864 remove zeromq module
2015-01-16 10:19:45 +01:00
Roland Kuhn
239619e68f -zer #15864 remove zeromq module 2015-01-15 20:19:35 +01:00
Konrad Malawski
1c38b8191a =pro update genjavadoc version to enable crosspublishing 2015-01-12 16:19:39 +01:00
Martynas Mickevičius
86a5b3d9d7 Merge pull request #16451 from 2m/wip-optional-samples
=pro make samples optional
2014-12-09 19:39:59 +01:00
Martynas Mickevicius
91d129b01e =pro #16418 add settings from AutoPlugins to transformed samples 2014-12-03 16:53:43 +01:00
Martynas Mickevicius
74934c0b5c =pro make samples optional 2014-12-03 16:40:59 +01:00
Martynas Mickevičius
4346a03f96 Merge pull request #16371 from 2m/wip-16371-enable-cross-builds
=pro #16371 enable cross builds (forward-port)
2014-12-01 19:53:43 +02:00
Roland Kuhn
ecffca8f6b Merge pull request #16096 from 2m/wip-sbt-first-autoplugins
=pro upgrade to latest sbt and add first auto plugins
2014-12-01 12:45:52 +01:00
Martynas Mickevičius
932f8a9bd7 =pro #16371 enable cross builds
* changed zeromq-scala-binding library
* modified build-release task to include distributions from cross builds
* removed tar-zip step from release script, because tgz package is not used from the website
* release script now releases for all crossScalaVersions
* dry run is the default now
2014-11-30 15:53:41 +02:00
Martynas Mickevičius
22334da2a1 =pro upgrade to latest sbt and add first auto plugins
* RootSettings plugin contains settings for root project
* other auto plugins that are meant only for root project depend on RootSettings
* other auto plugins that are meant for every project are enabled by default reducing boilerplate
2014-11-30 15:34:59 +02:00
Konrad 'ktoso' Malawski
d39427b3d9 +pro #16372 bring akka-bench-jmh benchmarks to master 2014-11-23 22:39:45 +01:00
Martynas Mickevičius
2f321d12b3 =pro load sample builds with project dependencies
* load sample builds from their definitions and replace library dependencies with project ones
* remove redefined sample build definitions
* test osgi sample by running a maven command
2014-11-13 18:56:02 +02:00
Max Cai
3ecdf40806 =doc Describe how to use microKernel with sbt-native-packager
(cherry picked from commit 6a79ad1287fb776eac1cac07a8a45dc0b597cede)

Conflicts:
	project/plugins.sbt
2014-10-31 11:30:05 +01:00
Martynas Mickevičius
9311e9474e =pro Grab binary version for MIMA combatibility testing from a setting.
Thanks to @jsuereth
2014-10-28 15:13:13 +02:00
Björn Antonsson
b78096b560 Merge pull request #15893 from akka/wip-cleaner-scala-specific-version-dependencies-ban
=pro Cleaner way to declare Scala Version dependent dependencies
2014-09-16 13:14:08 +02:00
Martynas Mickevicius
7bc438195f =pro do not push releasing* branch
Tag is more than plenty.
2014-09-16 11:01:39 +02:00
Björn Antonsson
bb75040f88 =pro Cleaner way to declare Scala Version dependent dependencies
Port of PR #15887 to master
2014-09-16 10:53:04 +02:00
Konrad Malawski
1135a53c65 Merge pull request #15890 from ktoso/fix-15843-renamepackage-ktoso
=rem #15843 rename package of QuietReporter
2014-09-15 16:14:17 +02:00
Konrad 'ktoso' Malawski
aefa38d129 =rem #15843 rename package of QuietReporter
Resolves #15843
2014-09-15 14:47:41 +02:00
Patrik Nordwall
e8bb4f1d5b =pro #13928 Run multi-jvm tests in samples in normal test target
* fix scalariform formatting in MutiNode
2014-09-05 12:16:49 +02:00
Roland Kuhn
07df1efa5e remove old scalaBinaryVersion workaround 2014-09-05 11:13:49 +02:00
Viktor Klang
cd8e97c060 +act - 15757 - Reworks implementation of ActorSystem shutdown
* deprecates awaitTermination, shutdown and isTerminated
  * introduces a terminate-method that returns a Future[Unit]
  * introduces a whenTerminated-method that returns a Future[Unit]
  * simplifies the implementation by removing blocking constructs
  * adds tests for terminate() and whenTerminated
2014-08-25 15:49:28 +02:00
Patrik Nordwall
c517de4f21 Merge pull request #15669 from akka/wip-15664-dist-filenames-patriknw
=pro #15664 Use scala version in dist files
2014-08-20 07:39:46 +02:00
Ben McCann
36943a5444 Security: use https to fetch repo artifacts. See http://blog.ontoillogical.com/blog/2014/07/28/how-to-take-over-any-java-developer/ 2014-08-19 07:21:14 -07:00
Patrik Nordwall
c4ee032ead =pro #15664 Use scala version in dist files 2014-08-15 11:44:59 +02:00
Viktor Klang
6a96c88430 =pro #15616 UTF-8 charset and exception with offending file (for Validation) 2014-08-05 12:04:42 +02:00
Konrad 'ktoso' Malawski
90bc347607 +per #13815 akka-persistence-tck based on @krasserm's work
Original here: https://github.com/krasserm/akka-persistence-testkit

New features:
* merged martin's tests
* usable from java (junit 4)
* simple bench test, which helps checking if ordering is perserved under
  bigger workloads and simple perf checking
* does NOT include tests for already deprecated features (deleteMessages)
* docs

Resolves #13815

Conflicts:
	project/AkkaBuild.scala
2014-07-14 19:39:30 +02:00
Heiko Seeberger
ea13e6d869 Upgrade to Mockito 1.9.5 (closes #15493) 2014-07-04 09:45:35 +02:00
xuwei-k
45ff77e4f9 =act #15395 update typesafe config API URL 2014-06-20 14:45:07 +02:00
Konrad 'ktoso' Malawski
d51b79c95a !per persistAsync
Breaks binary compatibility because adding new methods to Eventsourced
trait. Since akka-persistence is experimental this is ok, yet
source-level compatibility has been perserved thankfuly :-)

Deprecates:
* Rename of EventsourcedProcessor -> PersistentActor
* Processor -> suggest using PersistentActor
* Migration guide for akka-persistence is separate, as wel'll deprecate in minor versions (its experimental)
* Persistent as well as ConfirmablePersistent - since Processor, their
  main user will be removed soon.

Other changes:
* persistAsync works as expected when mixed with persist
* A counter must be kept for pending stashing invocations
* Uses only 1 shared list buffer for persit / persistAsync
* Includes small benchmark
* Docs also include info about not using Persistent() wrapper
* uses java LinkedList, for best performance of append / head on
  persistInvocations; the get(0) is safe, because these msgs only
  come in response to persistInvocations
* Renamed internal *MessagesSuccess/Failure messages because we kept
  small mistakes seeing the class "with s" and "without s" as the same
* Updated everything that refered to EventsourcedProcessor to
  PersistentActor, including samples

Refs #15227

Conflicts:
	akka-docs/rst/project/migration-guides.rst
	akka-persistence/src/main/scala/akka/persistence/JournalProtocol.scala
	akka-persistence/src/main/scala/akka/persistence/Persistent.scala
	akka-persistence/src/test/scala/akka/persistence/PersistentActorSpec.scala
	project/AkkaBuild.scala
2014-06-10 11:09:12 +02:00
Björn Antonsson
0c6d584adf Merge pull request #15335 from akka/wip-add-watchSources-for-rst-ban
=pro Add watchSources for *.rst to akka-docs (Forward Port)
2014-06-05 09:40:39 +02:00
Björn Antonsson
a917e2f816 =pro Add watchSources for *.rst to akka-docs 2014-06-03 10:29:43 +02:00
Martynas Mickevicius
e72945b544 =proj #15333 Update to sbt 0.13.5 2014-06-03 09:49:47 +02:00
Björn Antonsson
1e6ff06f8c =pro #15290 Make validatePullRequest run all tests 2014-05-27 08:11:29 +02:00
Björn Antonsson
cd7e456889 =pro #15116 Update Typesafe Config to 1.2.1 2014-05-21 10:16:24 +02:00
Konrad 'ktoso' Malawski
0ab8e2f37a =tes #15165 MetricsKit should not nullpointer on racy graphite usage
The report() call can come from multiple threads in our code,
yet it was opening/closing a shared graphite client instance in this
method, causing NPE when periodic reporting kicked in during a manual
report() call. We want to be able to do this - thus rewrite to safe impl

Removed metrics-graphite dependency, replaced by in house impl.
The previous was using discrete write() calls, which could be entangled
when called from multiple threads, and produce invalid metric lines.
Current impl is simpler and threadsafe, as the lock for write(String) to
aquired for the entire string lenght's write (unlike multiple write calls).

Resolves #15165
2014-05-20 01:22:01 +02:00