Commit graph

30 commits

Author SHA1 Message Date
Roland Kuhn
8f47b6dfcc Merge pull request #17105 from akka/wip-async-stage-∂π
add async stage
2015-04-10 10:52:01 +02:00
Roland Kuhn
4c623fade7 !str #17090 add AsyncStage 2015-04-10 09:00:36 +02:00
Patrik Nordwall
666bfade1e !str #16993 Separate scaladsl/javadsl for FlattenStategy
`abstract class FlattenStrategy` was used in both javadsl and scaladsl, but the concrete concat
for the javadsl was in javadsl.FlattenStrategy and the concrete concat for the scaladsl is in
stream.FlattenStrategy.

Now there are separate FlattenStategy in scaladsl and javadsl packages and conversion
as we have in other places.

* replace JavaConverters with explicit methods

* remove asJava/asScala for FlattenStrategy
2015-04-10 08:05:24 +02:00
Patrik Nordwall
3dc4e6d077 !str #16992 Rework Source and Sink name parameter
* Remove name parameter (no overloads), naming is performed using `.withAttributes` or the new
  convenience `.named`. Those adds the OperationAttribute.Name and also change the name of the
  shape Inlet and Outlet.

* Remove Source/Sink parameter list for 0 parameter methods,
  this allows usage of `Sink.head` instead of `Sink.head()`
2015-03-06 09:24:00 +01:00
Roland Kuhn
e870c7cbd2 many compile fixes and FlowMaterializer
The DSLs MUST NOT rely upon ActorFlowMaterializer, otherwise we cannot
add other materializers later.
2015-02-26 22:42:34 +01:00
Roland Kuhn
743cd98bf4 fix two wrong/flaky tests
- ordering is not preserved by shufflers in GraphOpsIntegrationSpec
- larger tolerance is needed in GraphBalanceSpec since balancing does
  not keep track of previous imbalances
- also add Source.repeat(elem)
2015-02-26 14:22:26 +01:00
Endre Sándor Varga
8d77fa8b29 !str #16902: Unify stream internal representation
also =str #16912: Fix StreamTcpSpec flakiness
2015-02-26 10:06:56 +01:00
Patrik Nordwall
01646d10ff !str #16448 Change error to failure
* one API change OverflowStrategy.error -> OverflowStrategy.fail
* error is still kept in the internals where we are at the reactive
  streams level
2015-01-30 10:30:56 +01:00
Konrad Malawski
85c286ac58 +str #16547 "lazyEmpty" source, which allows external triggering of completion 2015-01-29 14:28:08 +01:00
Konrad Malawski
9c9984aaf9 Merge pull request #16721 from ktoso/runOps-ktoso
!str #16563 terminal operations start with run*; runFold runForeach
2015-01-28 10:24:38 +01:00
Konrad Malawski
39038597b2 !str #16563 terminal operations start with run*; runFold runForeach 2015-01-26 15:39:36 +01:00
Patrik Nordwall
631b4ca5ac !str #16492 Remove closure in TickSource to make it shareable 2015-01-26 14:16:59 +01:00
Patrik Nordwall
5bf2ab43bd !str #16557 Rename Source.singleton to Source.single 2014-12-16 17:02:27 +01:00
Björn Antonsson
3e14cd05a9 =str #16380 Cleaned up Source/Sink/Key overlap 2014-12-02 16:38:14 +01:00
Martynas Mickevicius
64feb041be =str #15152 operation transformations 2014-12-01 20:07:55 +02:00
Endre Sándor Varga
7344063cfc =str: #15802: TickSource cancellable
also, fixing intermediate materialization for Source.concat
2014-12-01 15:56:25 +01:00
Björn Antonsson
672d4ed091 +str,htc #16071, #16072 New Stream Tcp and Http API
* StreamTcp and Http extensions now return Flows and Sources that can be materialized later
* Flow can now be completed with another flow to be turned into a runnable flow
2014-11-28 10:41:57 +01:00
Viktor Klang (√)
8f4e099bec Merge pull request #16328 from akka/wip-remove-async-iterable-publisher-√
+str - Removes AsynchronousIterablePublisher
2014-11-18 22:14:24 +01:00
Viktor Klang
14afce31ef +str - Renames SynchronousPublisherFromIterable to SynchronousIterablePublisher
Introduces an Actor-based IterablePublisher
       Gives names to most of the publishers
2014-11-18 19:48:26 +01:00
Viktor Klang
db4e5c4a29 =str - Various Flow and FlowMaterializer improvements
- Switches from using size-of-1/2 Vectors to using Lists
  - Fixes an issue where processorForNode wouldn't use the dispatcher form the settings
  - Adds a dedicated Collect fusion op
  - Adds various simplifications to ActorBasedFlowMaterializer
  - Adds FIXMEs where appropriate
  - Switches `grouped` to use a VectorBuilder
  - Adds support for `scan`
  - ActorBasedFlowMaterializer now uses Iterator instead of head+tail decomp on Seqs
  - Identity and Completed Transformers are now cached
  - Adds dedicated AstNodes for all combinators
  - Adds a hook-in point for fusion in `ActorBasedFlowMaterializer`
  - Adds support for `Operate` an AstNode with a function that create a fusing.Op
  - Adds experimental and slow optimizer as a PoC
  - Adds verification that Ast.Fused does not exist in optimizer input
2014-11-17 17:45:48 +01:00
Viktor Klang
18067cbf8f +str - Fixes #16065 by adding an IteratorPublisher and removing SimpleCallbackPublisher
Adds an IteratorPublisher and IteratorPublisherImpl
Removes the SimpleCallbackPublisher
Switches the callback-source () => Option[T] to use a new ThunkIterator and the IteratorPublisher
Removes the use of a ControlThrowable (Stop) for signalling end since we now use Iterator
Improves a couple of streams-related tests so when they fail we get better output
2014-11-10 12:56:41 +01:00
Patrik Nordwall
d1daec8590 Revert "+str #15802 Make TickSource cancellable"
This reverts commit 9e19ab095cd6ae37ea689d00031d58a54a90c912.
2014-11-07 10:54:30 +01:00
Patrik Nordwall
e0b159475e Merge pull request #16234 from akka/wip-scaladoc-warns-patriknw
=str Fix scaladoc warnings
2014-11-06 15:36:41 +01:00
Patrik Nordwall
fb5c4577b5 +str #15802 Make TickSource cancellable
* also found a type bug in javadsl Source.subscriber
2014-11-06 14:49:45 +01:00
Patrik Nordwall
d6ad67150a =str Fix scaladoc warnings 2014-11-06 14:27:19 +01:00
Björn Antonsson
159adb79b3 Merge pull request #16183 from spray/wip-15674-mathias
Refactor, improve Multipart model
2014-11-03 16:06:16 +01:00
Patrik Nordwall
5e240367f8 +str #16093 Add missing runWith variant 2014-11-03 10:43:07 +01:00
Mathias
57efc12fb1 !str switch to a stable Source.empty val 2014-10-31 16:29:53 +01:00
Martynas Mickevičius
412003c11e !str #16066 rename connect to via/to
* add missing implicit conversions for ~>
* tests for all combinations when using ~>
2014-10-31 10:43:42 +02:00
Patrik Nordwall
7c0c618791 !str #16039 Remove old scaladsl, rename scaladsl2
* and impl2, testkit2
* keeping io2 for now
2014-10-28 14:20:19 +01:00
Renamed from akka-stream/src/main/scala/akka/stream/scaladsl2/Source.scala (Browse further)