Commit graph

32 commits

Author SHA1 Message Date
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
ed832ea7a9 =str #16652 Convert 'Working with Graphs' to java
* fixed missing or wrong javadsl
2015-01-26 13:31:49 +01:00
Konrad Malawski
b23d459eeb =str #16658 tickSource in JavaDSL must expose keyed source / cancellable 2015-01-22 11:44:52 +01:00
Patrik Nordwall
fdbd19e302 =str #16549 doc: Integration with External Services 2014-12-19 13:05:01 +01:00
Patrik Nordwall
5bf2ab43bd !str #16557 Rename Source.singleton to Source.single 2014-12-16 17:02:27 +01:00
Björn Antonsson
91d29cbb3a =str #16259 Added more red-face testing of the stream Java DSL 2014-12-03 10:33:21 +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
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
Konrad 'ktoso' Malawski
e75c2305e7 -str #16393 removes timerTransform mentions from scaladocs 2014-11-27 11:36:09 +01:00
Konrad 'ktoso' Malawski
c2242ce84e -str #16393 removes timerTransform from public API 2014-11-26 12:28:43 +01:00
Patrik Nordwall
a82f266367 !str #15236 Replace Transformer with Stage
* replace all existing Transformer with Stage (PushPullStage)
* use Flow[ByteString, ByteString] as encoder/decoder transformer in http
* use the IteratorInterpreter for strict if possible
* emit then become
* emit then finish
* termination emits
* FlowTransformerSpec
* rework types to work with Java API
* rename and move things
* add scaladoc
2014-11-21 11:41:34 +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
fd21e61f6a +str - Changes the signature of Source.expand to be curried, to guide type inference. 2014-11-08 00:09:26 +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
Viktor Klang
82095da708 +str - improves type inference on by separating the seed from the op (currying) 2014-11-03 22:06:01 +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
Konrad 'ktoso' Malawski
92810e39bc +str #16114 better consistency specs and missing methods added - javadsl 2014-10-27 11:44:42 +01:00
Konrad 'ktoso' Malawski
9dd3685a2a =str #16103 Flattened javadsl class structure - no adapters, no ops 2014-10-22 01:09:43 +02:00
Björn Antonsson
0f61909ea7 !str #16102 Fold Tap/Drain into Source/Sink
* Fold Tap/Drain into Source/Sink
* Create Source/Sink helpers to create all Sources/Sinks
* Make concrete Source/Sink implementations private[scaladsl2]
2014-10-17 14:05:50 +02:00
Konrad 'ktoso' Malawski
3a4c7404c7 +str #15736 Initial version of JavaDSL for akka-streams (NOT complete)
Missing features are:
+ be able to use all junctions from Java
* re-think akka.stream.javadsl.japi (because variance)
+ better docs
+ enable all tests
+ Partial flow graph as well as GraphFlow tests
+ enabled more FlowTest tests
+ fixed naming of internal classes (no Java in class names)
+ added converters for UndefinedSink/Source
2014-10-10 17:04:18 +02:00