Commit graph

1297 commits

Author SHA1 Message Date
Sergey
ba213b7fee GroupedWithin cold emit fix (#22407)
* groupedWithin cold emit fix

* lowered numbers in tests; removed meaningless assertions
2017-03-14 13:45:45 +01:00
Patrik Nordwall
e77c3c3e8a Merge pull request #22551 from akka/wip-lazy-TraversalBuilder-patriknw
remove lazy from TraversalBuilder field
2017-03-14 13:29:49 +01:00
Patrik Nordwall
293c5c0b01 remove lazy from TraversalBuilder field 2017-03-14 07:35:06 +01:00
Martynas Mickevičius
11c513fda7 Merge pull request #22542 from 2m/wip-resize-mat-connections-2m
#22429 Resize connections array when needed
2017-03-13 19:43:50 +02:00
Martynas Mickevičius
9550e34394 #22429 Use Arrays.copy instead of scala builder 2017-03-13 14:52:56 +02:00
Johan Andrén
5ea2e0536c Remove superflous ownerId fields in interpreter Connection #22447 2017-03-13 12:42:49 +01:00
Konrad `ktoso` Malawski
205a538df3 =act,str Port be-scala-2.13-friendly (#22528)
* !str #22527 fix SubSource/SubFlow.zip Pair type

* =act don't use conforms, be scala 2.13 friendly

* Update SubFlow.scala
2017-03-13 12:39:57 +01:00
Johannes Rudolph
d5660acb64 Merge pull request #22513 from jrudolph/jr/w/remove-most-asInstanceOfs-in-TraversalBuilder
Small improvements to TraversalBuilder
2017-03-13 09:43:55 +01:00
Martynas Mickevičius
4bb283b458 #22429 Resize connections array when needed 2017-03-13 09:49:25 +02:00
Patrik Nordwall
3554ad7243 Merge branch 'master' into wip-traversal-oriented-layout-master-patriknw 2017-03-10 18:16:44 +01:00
Patrik Nordwall
8fad451610 Merge pull request #22504 from akka/wip-22436-migration-patriknw
add a note about dispatcher creating async boundary, #22436
2017-03-10 18:12:18 +01:00
Patrik Nordwall
c7a05862c4 workaround for nested attribute issue, #22523 2017-03-10 17:05:33 +01:00
Patrik Nordwall
e337b96ef6 URLEncode the name
* detected by failing FileSinkSpec,
  SubSource(LazySink)
2017-03-10 17:05:33 +01:00
Patrik Nordwall
9f84be6d3e optimize ins and outs of size <= 1
* avoid iterator allocation
2017-03-10 17:05:33 +01:00
Patrik Nordwall
cd41fd14e8 better List creation
* to avoid allocations from varargs and builders
2017-03-10 17:02:02 +01:00
Patrik Nordwall
305347d396 use new Array instead of Array.ofDim
* to avoid allocations of ClassTag and other overhead of ofDim
2017-03-10 17:02:02 +01:00
Patrik Nordwall
f542ce885c optimize actor names 2017-03-10 17:02:01 +01:00
Patrik Nordwall
8156a45818 optimize Attributes 2017-03-10 17:02:01 +01:00
Konrad `ktoso` Malawski
e2a15a2a58 =str use OptionVal in Traversal building 2017-03-10 11:45:26 +01:00
Konrad `ktoso` Malawski
99705d1ccc =str #22437 replace require() with if calls to avoid fn allocs 2017-03-10 10:44:58 +01:00
Konrad `ktoso` Malawski
67fd0cc0b6 =str #22438 make use of OptionVal in materializer internals 2017-03-10 10:44:43 +01:00
Johan Andrén
42fdf15d22 Restore interpreter debug output #22433 2017-03-09 17:04:46 +01:00
Johannes Rudolph
c6ab269b99 =str optimize Keep.none 2017-03-09 16:08:12 +01:00
Johannes Rudolph
c1dfee64ae =str simple signatures of methods having combineMat parameter + optimize ComposeReversed
Now all the `asInstanceOf` occurrences are bundled in a single place
(ComposeOp.apply and Transform.apply).
2017-03-09 15:43:21 +01:00
Patrik Nordwall
9394e07cf0 add a note about dispatcher creating async boundary, #22436 2017-03-08 16:53:38 +01:00
Johannes Rudolph
c8097e4876 Merge pull request #22483 from jrudolph/jr/w/fix-GraphDSLCompileSpec
Add GraphDSL validation, fix GraphDSLCompileSpec
2017-03-08 15:27:29 +01:00
Patrik Nordwall
1c6c33fd17 Merge pull request #22495 from drewhk/wip-fix-graphinterpreterspec-newmaterializer-drewhk
Explicitly handle SpecViolation exceptions in GraphStage callbacks in boundaries
2017-03-08 15:25:55 +01:00
Patrik Nordwall
6c8e24cefa fix SinkSpec, and async boundary attribute, #22463
* let's keep the AsyncBoundary attribute for now,
  makeIsland is done in setAttributes
* fixing SinkSpec and RunnableGraphSpec
2017-03-08 15:09:40 +01:00
Johannes Rudolph
34533bbc7f
=str #22463 introduce validation to GraphDSL, fix GraphDSLCompileSpec 2017-03-08 14:52:49 +01:00
Johannes Rudolph
7677cc3b38 =str refactor GraphApply.GraphImpl to be reused at more places 2017-03-08 14:24:29 +01:00
Martynas Mickevičius
45ccd4ffbe #22463 Check for wired ports before wiring in traversal builder (#22492) 2017-03-08 14:19:15 +01:00
Endre Sándor Varga
0906e4d532 Explicitly handle SpecViolation exceptions in GraphStage callbacks in boundaries
... otherwise they end up being handled by the interpreter, but no onError is signalled to downstream subscribers.
2017-03-08 13:51:25 +01:00
Patrik Nordwall
1a74b43cd6 include initialAttributes of GraphStage, #22463
* these must also be included via setAttributes because
  because it will create island for async (dispatcher attribute)
* better actor name of GraphStageIsland, we need it in tests for
  lookup of the actor
* this unlocks OutputStreamSourceSpec and InputStreamSinkSpec
2017-03-08 13:15:49 +01:00
Konrad `ktoso` Malawski
b8c7d116d5 +str #22425 re-implement sub-fusing with new materializer (#22478) 2017-03-08 13:10:36 +01:00
Endre Sándor Varga
15c57e9c93 Fixed all (known) remaining LinearTraversal issues. Added comments. 2017-03-08 12:20:45 +01:00
drewhk
c3c5065444 Wip 22430 make tlsspec pass again drewhk (#22482)
* #22430 Fix TLSSpec

* Remove unnecessary PushAttributes

* Almost fixing it...
2017-03-08 10:30:00 +01:00
Johan Andrén
c028b550f2 Low level interpreter tests working without GraphAssembly #22423 2017-03-07 17:06:41 +01:00
Konrad `ktoso` Malawski
e47dbda154 =str #22448 rewrite Source.empty to GraphStage 2017-03-07 15:13:49 +01:00
drewhk
87d5b8f627 Wip fix islands drewhk (#22475)
* Fixed island application

* Switched to explicit island boundaries and fixed misapplied island tags

* Added missing attributes for non-stage backed Sinks
2017-03-07 14:26:18 +01:00
Patrik Nordwall
9e7dead346 Merge pull request #22471 from akka/wip-islandNameCounter-patriknw
one more rename of stageName
2017-03-07 14:14:07 +01:00
Patrik Nordwall
18c72ccf62 one more rename of stageName 2017-03-07 14:13:44 +01:00
Patrik Nordwall
7eaa53e31b Merge pull request #22469 from akka/wip-22463-ReverseArrowSpec-patriknw
fix ReverseArrowSpec, #22463
2017-03-07 14:09:40 +01:00
Johannes Rudolph
3325ee23e2 =str #22430 add TlsModulePhase (#22466) 2017-03-07 12:39:15 +01:00
Patrik Nordwall
5848485f3c fix ReverseArrowSpec, #22463 2017-03-07 11:29:48 +01:00
drewhk
c7c109db4a Fix too early call to onIslandReady (#22468) 2017-03-07 10:55:46 +01:00
Patrik Nordwall
f6d45c1bc1 stream actor names, #22426 (#22465) 2017-03-07 10:43:18 +01:00
drewhk
b33339f13e Make flowspec great again drewhk (#22443)
* #22435: Make DirectProcessorModule work again

* #22435: Fix attributes propagation for FanoutProcessor

* #22435: Remove old "faulty-flow" spec
2017-03-03 10:49:34 +01:00
drewhk
46b869d041 Fix the case where an identity flow is appended to a Source with materialized value composition (#22442) 2017-03-02 13:44:35 +01:00
drewhk
a2203d7b13 #22424: Use InputBuffer attribute for asynchronous inputs (#22441) 2017-03-02 13:44:19 +01:00
Endre Sándor Varga
ba63c7af8d New materializer and layout 2017-03-01 16:18:55 +01:00