Commit graph

89 commits

Author SHA1 Message Date
Philippus Baalman
6c7085252a extended copyright into 2017 2017-01-04 17:37:15 +01:00
Patrik Nordwall
c05bd51b68 format the code 2016-12-09 14:08:13 +01:00
Konrad `ktoso` Malawski
2ea8cd7410 =str deprecate ActorPublisher/Subscriber, use GraphStage (#21952)
* =str deprecate ActorPublisher/Subscriber, use GraphStage

* =str deprecate Source.actorPublisher / Sink.actorSubscriber

* =str added deprecation note of ActorPublisher,Subscriber
2016-12-08 17:22:01 +01:00
Ortigali
f970412af7 Rewrite Sink.ignore as a GraphStage #21527 2016-10-26 12:38:49 +02:00
Patrik Nordwall
359a087674 Merge pull request #21166 from naferx/sink-graphstage
=str rewrite Sink internal impl as GraphStage
2016-08-30 10:37:30 +02:00
Cédric Chantepie
efc87af58a FoldAsync op for Flow #18603 2016-08-24 21:02:32 +02:00
Nafer Sanabria
2f85cf0fb8 =str fix up Scaladocs for Source & Sink 2016-08-11 14:37:54 +02:00
Nafer Sanabria
bed69d1002 =str rewrite Sink internal impl as GraphStage 2016-08-09 21:08:31 -05:00
Patrik Nordwall
b4cd30cf94 Merge pull request #20757 from kkasravi/issue_20543_kkasravi
Fixes #20543 GraphStage subtypes should not be private to akka
2016-07-08 10:06:27 +02:00
Alexander Golubev
e0562abba9 +str 20129 add lazySink (#20579) 2016-07-07 13:01:28 +02:00
Kam Kasravi
1d692daaad Fixes #20543 GraphStage subtypes should not be private to akka 2016-07-05 17:12:35 -07:00
Endre Sándor Varga
093d82ce00 +str #19443 add support or Java Stream 2016-04-29 23:31:56 -04:00
Konrad Malawski
b9ab232cac str #20262 reduce should fail explicitly on empty stream (#20267)
* str #20262 reduce should fail explicitly on empty stream

* str #20262 document reduce behaviour on empty stream
2016-04-11 15:36:10 +02:00
Tal Pressman
26c25c89ed +str #19390 Add 'monitor' flow combinator and stage 2016-04-01 08:06:37 +02:00
Roland Kuhn
b255a19374 simplify materialized value computation tree, fixes #20015
- also fixes materialized value sources for graphs that import zero or
  one graphs, with and without Fusing
2016-03-16 17:05:46 +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
Bojan Petrovic
b4f507cdd6 =str #19781 Use overriden InputBuffer attribute
* Sink.{queue, actorRefWithAck} and StreamConverters.{asInputStream,
  asOutputStream} now use overriden/inherited `InputBuffer` attribute
* They now use their default attributes as initial attributes.
2016-02-15 21:31:13 +01:00
drewhk
ebb915ae4d Merge pull request #19750 from lolski/lolski-issue-19293-rebased
=str #19293 fix issues in Sink.seq + minor doc fixes + use Sink.seq
2016-02-12 11:36:56 +01:00
Roland Kuhn
7b7647435b ensure that graph attributes are not lost
- this entails making Module.isSealed==true if attributes are set
- also removed Module.nest(), which implied fixing replaceShape to form
  a CompositeModule where CopiedModule was used before (GraphModule and
  TlsModule)
2016-02-12 10:07:55 +01:00
lolski
21381d5710 =str #19293 fix issues in Sink.seq + minor doc fixes + use Sink.seq and limit in tests where appropriate
* Sink.seq (Scala DSL) now returns immutable.Seq rather than Seq
* Sink.seq will not silently truncate when incoming elements is > Int.MAX_VALUE
* minor doc fixes
* replacing various grouped(n) / Sink.head with limit(n) / Sink.seq in various tests
* fix inconsistent indentation in RequestParserSpec
2016-02-12 01:36:21 +08:00
Johan Andrén
4e49d75ad8 !str #19732 Concise and consistent way to mark async boundaries 2016-02-11 18:20:23 +01:00
Alois Cochard
6c69fba61e 19452: Contramap and fromFunction 2016-02-11 15:32:48 +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
Roland Kuhn
4c72495581 #19440 replace Scala Future usage with CompletionStage in javadsl
This entails:

  * adding akka.pattern.PatternCS.* to enable ask etc. with
    CompletionStage
  * changing RequestContext to offer an ExecutionContextExecutor for the
    CompletionStage.*Async combinators
  * splitting up akka.stream.Queue for JavaDSL consistency
2016-01-23 18:00:11 +01:00
Alexander Golubev
a2ab7f29e1 +str #19020 reduce combinator 2016-01-21 22:16:37 -05:00
Roland Kuhn
d4b1f07ec0 #19269 doc: Sink.seq is limited to Int.MaxValue 2016-01-20 11:50:43 +01:00
Endre Sándor Varga
60497f6561 also fix FlowInterleaveSpec
Also-by: Johan Andrén <johan@markatta.com>
Also-by: Roland Kuhn <rk@rkuhn.info>
Also-by: Martynas Mickevičius <mmartynas@gmail.com>
2016-01-20 10:01:58 +02:00
Konrad Malawski
984740198e Merge pull request #19268 from akka/wip-2.0-fixes-RK
Wip 2.0 fixes rk
2015-12-22 23:43:04 +01:00
Roland Kuhn
8a5a420108 #19261 override and test addAttributes compilation 2015-12-22 20:56:02 +01:00
Konrad Malawski
3975ac3281 =str fix typo in scaladoc 2015-12-22 19:49:09 +01:00
lolski
aadaf15b89 #18021 Sink.seq and FlowOps.limit and .limitWeighted 2015-12-20 11:00:06 +01:00
Roland Kuhn
dcfa56e547 Merge remote-tracking branch 'pr/19097' into release-2.3-dev 2015-12-18 12:22:02 +01:00
Johan Andrén
09a79f45e4 !str #19129 New homes for file and java.io stream factories 2015-12-17 14:41:02 +01:00
Martynas Mickevičius
e6e476d82a =str #19128 #19127 rename Source/Sink factory apply overloads 2015-12-17 11:48:30 +02:00
Alexander Golubev
64387583ad =str #18821 fix Sink.queue termination 2015-12-16 17:53:36 -05:00
Alexander Golubev
87b94202a3 +str #17967 add Sink.actorRefWithAck 2015-12-11 23:09:14 -05:00
Roland Kuhn
f00da4daac !str #19037 rename FlowGraph to GraphDSL 2015-12-01 18:30:07 +01:00
Viktor Klang (√)
fa683e1842 Merge pull request #18951 from akka/wip-add-sink-last-√
+str - Adds Sink.last and Sink.lastOption to mirror Sink.head and Sin…
2015-11-18 22:27:50 +01:00
Viktor Klang
94fe1fb26d +str - Adds Sink.last and Sink.lastOption to mirror Sink.head and Sink.headOption
* Renames BlackholeSubscriber to SinkholeSunbscriber
* Makes SinkholeSubscriber request Long.MaxValue
* SinkholeSink seems like the best name ever
2015-11-18 21:48:00 +01:00
Viktor Klang
8780ba28a4 !str - Moving the InputStream and OutputStream utilities into Source and Sink 2015-11-18 09:13:57 +01:00
Konrad Malawski
cb8d3c4609 Merge pull request #18934 from akka/wip-18916-file-io-√
!str - 18916 - Source.file and Sink.file
2015-11-17 10:33:50 +01:00
Viktor Klang
20c996fe41 !str - 18916 - Source.file and Sink.file
* Removes `Synchronous` from the names and descriptions of File I/O as it leaks impl details
* Removes the factries for FileSource and FileSink and puts them in Source and Sink respectively
2015-11-17 09:50:10 +01:00
Konrad Malawski
8650d0c473 +str #18906 add Sink.headOption 2015-11-14 16:36:09 +01:00
Viktor Klang
6cfa4df800 !str - Switches Sink.publisher to use a boolean to indicate fanout rather than a number of allowed subscribers 2015-11-04 12:29:23 +01:00
Viktor Klang
f839a1f85d !str - 18808 - Removes Sink.fanoutPublisher and makes Sink.publisher specify number of subscribers
Sink.publisher now takes a max number of Subscribers and
the elasticity between concurrent Subscribers.
2015-11-04 12:29:07 +01:00
Viktor Klang
f29d7affbd !str #18692 javadsl.FlowGraph.Builder.add()
* also make factories more consistent by only offering
  FlowGraph.create()
* also remove secondary (edge-based) FlowGraph.Builder DSL
* also improve naming for conversions from Graph to
  Source/Flow/BidiFlow/Sink
2015-10-22 19:10:00 +02:00
Roland Kuhn
684f3e3175 Merge pull request #18697 from agolubev/agolubev-#18133-Sink.actorSubscriber()-verify-props
=str #18133 Sink.actorSubscriber() should verify the props
2015-10-21 18:56:28 +02:00
Alexander Golubev
53d0627675 =str #18133 Sink.actorSubscriber() should verify the props 2015-10-09 15:11:01 -04:00
Viktor Klang
08d702faf8 =str - #17827 - Introduces operator for Sources and Flows, to attach a Sink in an inline broadcast fashion. 2015-10-09 21:05:50 +02:00