Commit graph

70 commits

Author SHA1 Message Date
kerr
fafc59b19d update headers to regular comment (#25807) 2018-10-29 05:19:37 -04:00
kenji yoshida
5b3b191bac Remove procedure syntax (#25362) 2018-07-25 13:38:27 +02:00
Jimin Hsieh
2c2b8ba001 Remove some of Unused import warning (#24650) 2018-03-16 12:08:29 +01:00
Konrad `ktoso` Malawski
563c7fbcf0 Issue 24594: Integration with sbt-headers and initial header population 2018-03-13 15:45:55 +01:00
kerr
97ca714d17 = all remove semicolons "bye-bye semicolon" (#24659) 2018-03-06 09:53:28 +09:00
Patrik Nordwall
23fa8b0810 change spelling of behaviour to behavior, #24457 2018-02-01 15:10:46 +01:00
Christopher Batey
009214ae07
Update copyright to 2018 (#24241) 2018-01-04 17:26:29 +00:00
Arnout Engelen
b1df13d4d4 Update scalariform (#23778) (#23783) 2017-10-06 10:30:28 +02:00
Björn Antonsson
f8b4fb55ca Remove use of deprecated Scala features #22581 2017-03-27 19:05:54 +03:00
Patrik Nordwall
4bd6b7aab1 improve AbstractActor, #21717
* Receive class that wraps PartialFunction, to avoid
  scary scala types
* move AbstractActorContext to AbstractActor.ActorContext
* converting docs, many, many UntypedActor
* removing UntypedActor docs
* add unit test for ReceiveBuilder
* MiMa filters
* consistent use of getContext(), self(), sender()
* rename cross references
* migration guide
* skip samples for now
* improve match type safetyi, add matchUnchecked
  * the `? extends P` caused code like this to compile:
    `match(String.class, (Integer i) -> {})`
  * added matchUnchecked, since it can still be useful (um, convenient)
    to be able to do:
    `matchUnchecked(List.class, (List<String> list) -> {})`
* eleminate some scala.Option
  * preRestart
  * findChild
  * ActorIdentity.getActorRef
2017-01-23 18:30:52 +01:00
Philippus Baalman
6c7085252a extended copyright into 2017 2017-01-04 17:37:15 +01:00
Roland Kuhn
777a400b12 use union/diff operator on Sets (optimization) 2016-03-24 12:51:18 +01:00
Johannes Rudolph
b6cbc7f13a =all remove unused imports 2016-02-23 20:29:22 +01:00
Johan Andrén
62e30b3c08 Update copyrights and links to the new company name #19851 2016-02-23 12:58:39 +01:00
Prayag Verma
b7783968a0 =pro #19068 All copyrights ranges and single years updated to a range ending in 2016 2016-01-25 10:20:30 +01:00
Andrey Myatlyuk
bc791eb86c =doc #17329 Fixed and normalized spellings in ScalaDoc and comments 2015-06-02 21:06:25 -07:00
Roland Kuhn
18688fc84b = #17380 fix doc comments for java8 doclint
* actor and cluster-metrics comments
* agent/camel/cluster/osgi/persistence/remote comments
* comments in contrib/persistence-tck/multi-node/typed
2015-05-18 12:51:36 +02:00
Julian Tescher
00f6a58e7c Changes all occurances of Typesafe copyright to extend to 2015 2015-03-10 14:12:19 -07:00
Roland Kuhn
a029a90502 fix warnings in contrib, docs, osgi, persistence and slf4j 2015-02-06 18:45:58 +01: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
Adam Voss
cce29dfa51 Changes all occurances of Typesafe copyright to extend to 2014. 2014-02-04 21:20:09 -06:00
Björn Antonsson
e98dd13cd6 !osg, pro Updated OSGi dependencies and using a BundleDelegatingClassLoader
* Numerous version upgrades to dependencies
* Publish integration test maven dependencies automatically
* Use slf4j logging, with standard OPS4j Pax Logging
* Maven and sbt use different target directories
* Add a custom serializer to the integration test
* Add akka-persistence to the integration test
* Removing reference copying and using a BundleDelegatingClassLoader
* Make akka-actor a proper bundle, and remove duplicate classes and
  reference.conf files from akka-osgi
* Remove akka-osgi-aries

This is a hackathon team effort by:
* Björn Antonsson
* Endre Sándor Varga
* Roland Kuhn
* Patrik Nordwall
2014-02-02 16:21:44 +01:00
Björn Antonsson
179faba453 =all #3837 Make akkaScalaNightly compile on scala 2.11.0-M8 2014-01-31 14:13:02 +01:00
Patrik Nordwall
a11fb1dafc =act #3572 Add parens to sender
* because it is not referentially transparent; normally we reserved parens for
  side-effecting code but given how people thoughtlessly close over it we revised
  that that decision for sender
* caller can still omit parens
2014-01-17 18:21:14 +01:00
Björn Antonsson
003609c9c5 =pro #3759 Changed to using non-deprecated ScalaTest Matchers 2013-12-18 11:32:51 +01:00
Roland Kuhn
927a00ee5a Merge pull request #1382 from drexin/wip-drexin-remove-deprecations
Removed lots of deprecation warnings caused by usages of deprecated Props creators
2013-04-30 05:41:11 -07:00
Viktor Klang
7f84dbf448 #3080 - Including a timestamp in LogEvent and in the MDC 2013-04-29 15:29:40 -07:00
Dario Rexin
4bdfb07653 removed one deprecation warning in akka-osgi 2013-04-26 20:50:08 +02:00
Christophe Pache
39cd23977b akka-sample-osgi : fix on sript running maven integration test 2013-03-01 21:07:18 +01:00
Patrik Nordwall
2476831705 Rename event-handlers to loggers, see #2979
* Rename config akka.event-handlers to akka.loggers
* Rename config akka.event-handler-startup-timeout to
  akka.logger-startup-timeout
* Rename JulEventHandler to JavaLogger
* Rename Slf4jEventHandler to Slf4jLogger
* Change all places in tests and docs
* Deprecation, old still works, but with warnings
* Migration guide
* Test for the deprecated event-handler config
2013-02-05 11:19:02 +01:00
Roland
33c588d3fc ignore automatically assembled files in akka-osgi resources dir 2013-01-29 12:34:33 +01:00
Viktor Klang (√)
664ab76bf5 Merge pull request #1085 from akka/wip-2974-escalate-uncaught-exceptions-√
Making sure that the current Threads' UEH is called when using Akka FJP ...
2013-01-29 03:21:22 -08:00
Viktor Klang
1c104c382a Merge branch 'master' into wip-2974-escalate-uncaught-exceptions-√ 2013-01-29 11:42:42 +01:00
Christophe Pache
240981d4d5 user configuration for OSGi application bundle 2013-01-29 10:17:06 +01:00
Christophe Pache
a88eb0d850 OSGi EventHandler dynamically listen to LogService
More information in logging

Conflicts:

	project/AkkaBuild.scala
2013-01-28 16:06:56 +01:00
Christophe Pache
49e73f2fb7 EventHandler using the OSGi LogService
NB1: the EventHandler needs to be specified in the configuration
NB2: there are some logs that appear in the OSGi prompt at starting and stopping of the Bundle

messages are stored in Buffer
 become used in DefaultOSGiLogger
 cleanings
thanks to patriknw

Conflicts:

	project/AkkaBuild.scala
2013-01-28 16:02:47 +01:00
Viktor Klang
c38be1bc4a Preserving Envelopes in UnstartedActorCell as requested by Mr Pink 2013-01-18 12:17:32 +01:00
Viktor Klang (√)
6b638db65e Merge pull request #1006 from akka/wip-2879-copyright2013-√
#2879 - updating copyright info
2013-01-14 04:59:29 -08:00
Viktor Klang
adfeb2c1f0 #2879 - updating copyright info 2013-01-09 11:38:00 +01:00
Crossing-Tech
abb8366eb4 rkuhn comments applied: no more extension 2013-01-04 10:48:38 +01:00
Crossing-Tech
94b145fc95 patriknw comments commited
* .conf, .properties, .json configuration files
        * string interpolation
        * take place of the legacy actorSystemConfig
2013-01-03 11:46:09 +01:00
Christophe Pache
76f22ea42a Let the ActorSystem find its configuration outside of the bundle, in the OSGi etc directory, following this order:
etc/bundle-BUNDLE_SYMBOLIC_NAME.conf
    etc/bundle-BUNDLE_ID.conf
    etc/akka.conf
    akka-actor classpath config (using the original  OsgiActorSystemFactory.actorSystemConfig method.)

Configurations fallback from the most to the less specific one.

For the moment, as I haven't found test on ActorSystem Configuration in OSGi, I did not add test for this feature.
    	modified:   akka-osgi/src/main/scala/akka/osgi/OsgiActorSystemFactory.scala
2012-12-28 16:01:35 +01:00
Viktor Klang (√)
3c946cc8f0 Merge pull request #878 from akka/wip-2717-√
#2717 - Fixing the backoff strategy in PojoSRTestSupport
2012-11-26 06:23:58 -08:00
Viktor Klang
a08e5e7c24 #2717 - Changing names of the PojoSR constants to be more Scala-like and switching to FiniteDuration instead of Long 2012-11-20 15:03:00 +01:00
Michael Pilquist
608d04c050 Fix build breakage in akka-osgi-aries due to last commit
(cherry picked from commit 68b60745f2d7b30d9ccd57536cd9427b04303b84)
2012-11-20 14:38:44 +01:00
Michael Pilquist
44c317832a Allow fallback classloader to be explicitly specified
(cherry picked from commit f51a2894150e0f5cc6923b8e3aa42d7ebdd6663d)
2012-11-20 14:38:28 +01:00
Michael Pilquist
739583e384 Fix bug where ActorSystems created via OsgiActorSystemFactory(ctx).createActorSystem fail to load akka.event classes unless bundle imports akka.event package
(cherry picked from commit 3070343a5de78cd7b363e93a09d56565b1e6df9b)
2012-11-20 14:38:13 +01:00
Viktor Klang
975bd1dbe9 #2717 - Fixing the backoff strategy in PojoSRTestSupport 2012-11-17 14:26:06 +01:00
Viktor Klang
b00c47854b Switching over to immutable.Iterable where possible 2012-11-14 16:24:25 +01:00
Viktor Klang
8f131c680f Switching to immutable.Seq instead of Seq 2012-11-12 14:17:47 +01:00