Commit graph

287 commits

Author SHA1 Message Date
Mathias
142929165c =htc prevent response entity rendering for status codes not allowing response entities 2014-11-27 10:31:54 +01:00
Mathias
b5a66eb458 =htc #15799 add server-side 100-continue support, fix request- and entity-stream error propagation 2014-11-27 10:31:50 +01:00
Mathias
5112d49c13 +htc minor additions to header model 2014-11-27 10:12:21 +01:00
Mathias
37a476ab46 =htc small simplification in message parsers 2014-11-27 10:12:19 +01:00
Mathias
2d9a49d010 =htc replace merge + zip in server pipeline with new FlexiMerge 2014-11-27 10:11:09 +01:00
Mathias
eaa9f52891 =htc fix broken per-connection header cache 2014-11-27 10:11:09 +01:00
Konrad 'ktoso' Malawski
c2242ce84e -str #16393 removes timerTransform from public API 2014-11-26 12:28:43 +01:00
Johannes Rudolph
dd27fdd485 =htc #16388 fix StackOverflowException during chunk parsing 2014-11-25 15:53:29 +01:00
Mathias
dbf76cb096 !htp #15923 port FormFieldDirectives from spray 2014-11-24 10:35:07 +01:00
Mathias
5b126b6d8b +htc apply smaller extensions and simplifications 2014-11-24 10:28:18 +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
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
Johannes Rudolph
f4daef75d9 =htc optimize rendering for Strict entities 2014-11-12 16:57:18 +01:00
Johannes Rudolph
306c4b8e52 !htc,par cleanup warnings
- about Rendering not being accessible for implementors
 - about DepFn1/2 being defined in package object
2014-11-12 11:44:13 +01:00
Johannes Rudolph
188cbabefe +htp #15922 import FileAndResourceDirectives from spray 2014-11-12 08:19:00 +01:00
Johannes Rudolph
840feb42ea =htp #16238 fix RangeDirectives not to assume reusable entity data stream 2014-11-12 08:18:59 +01:00
Johannes Rudolph
3f0731b788 +htc a safer Future.awaitResult that doesn't throw away the call stack of the awaiter 2014-11-12 08:18:59 +01:00
Patrik Nordwall
65269274b1 !str #16235 Rename Sink.future to Sink.head 2014-11-07 08:07:17 +01:00
Björn Antonsson
a7861a5301 Merge pull request #16207 from spray/w/16084-CustomHeader-model
+htc #16084 introduce CustomHeader superclass for user-defined headers
2014-11-05 11:24:20 +01:00
Björn Antonsson
04385f4d91 Merge pull request #16195 from spray/w/15930-RangeDirectives
+htp #15930 import RangeDirectives from spray
2014-11-05 10:54:33 +01:00
Konrad Malawski
77fee04976 Merge pull request #16206 from spray/w/16175-regard-raw-request-uri-header-setting
=htc #16175 regard `raw-request-uri-header` setting
2014-11-04 16:30:43 +01:00
Johannes Rudolph
11f293731f +htc #16084 introduce CustomHeader superclass for user-defined headers 2014-11-04 16:08:31 +01:00
Johannes Rudolph
a2bce26fd7 +htp #15930 import RangeDirectives from spray 2014-11-04 15:24:52 +01:00
Johannes Rudolph
cf27712266 =htc #16175 regard raw-request-uri-header setting 2014-11-03 15:58:53 +01:00
Mathias
f0f1397058 !htc #15674 refactor, improve Multipart model 2014-11-03 10:13:17 +01:00
Mathias
3400436cc5 =htc small fix and improvements to HttpEntity 2014-11-03 10:13:13 +01:00
Martynas Mickevičius
f91acb1534 Merge pull request #16177 from 2m/wip-16066-via-and-to
!str #16066 rename connect to via/to
2014-10-31 12:04:45 +02: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
Björn Antonsson
f04ed7f8a9 Merge pull request #16157 from spray/w/RequestContext-withChangedSettings
http: make RoutingSettings a property of the RequestContext
2014-10-30 17:30:38 +01: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
Johannes Rudolph
bca5626fbd =htc improve error messages 2014-10-28 12:03:01 +01:00
Martynas Mickevičius
a5ecb93d7a Merge pull request #16107 from ktoso/wip-cleanup-javadsl-ktoso
=str #16103 Flattening FlowOps into Flow (same for Sink / Source)
2014-10-22 12:12:06 +03:00
Konrad 'ktoso' Malawski
9dd3685a2a =str #16103 Flattened javadsl class structure - no adapters, no ops 2014-10-22 01:09:43 +02:00
Mathias
416bb16aad =htc smaller improvements in FastFuture 2014-10-21 14:12:00 +02:00
Konrad Malawski
7053295de9 Merge pull request #16100 from spray/wip-16099-mathias
=htc,htp #16099 remove all special treatment for ISO-8859-1, switch to U...
2014-10-17 15:38:30 +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
Mathias
ea7f3ff9fc =htc,htp #16099 remove all special treatment for ISO-8859-1, switch to UTF-8 as default charset everywhere 2014-10-16 14:14:23 +02:00
Johannes Rudolph
82a0fb381e +htc #16087 add FastFuture.transformWith and implement others in terms of that + recoverWith + lots of tests 2014-10-13 18:03:41 +02:00
Martynas Mickevičius
31642396a1 Merge pull request #16047 from ktoso/wip-java-streams-ktoso
+str #15736 EARLY WIP akka-streams JavaAPIs
2014-10-10 19:28:04 +03: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
Johannes Rudolph
6170655b19 =htp #15921 import CodingDirectives from spray 2014-10-10 16:52:15 +02:00
Johannes Rudolph
8906a2fba8 =htc #16067 fix Chunked.transformDataBytes' onError/cleanup behavior 2014-10-10 16:40:50 +02:00
Endre Sándor Varga
ed27f86791 !htc #15726: Akka HTTP with the new DSL 2014-10-10 13:51:36 +02:00
Björn Antonsson
c84c34d515 Merge pull request #16031 from spray/wip-ported-patches-from-spray-mathias
Forward-port of recent spray patches
2014-10-09 13:34:07 +02:00
Mathias
fe7db8e66a =htc small improvement to ContentLengthParser 2014-10-08 13:41:48 +02:00
Mathias
46d51e531f =htp reduce set of not-encoded characters in FormData marshalling
Port of https://github.com/spray/spray/pull/918
2014-10-07 12:02:13 +02:00
Patrik Nordwall
14d3501f92 !str #15950 Add runWith and remove toX
* runWith(drainWithKey) and runWith(tapWithKey) returning the
  materialized drain/tap
* remove toPublisher, toSubscriber, and friends, in favor of using
  runWith
* MaterializedMap is the return type for both flow and graph
* Source[T] return type for Source.apply methods
2014-10-06 12:12:05 +02:00
Mathias
1b1aa62072 =htc fix error message in response parser
Port of https://github.com/spray/spray/pull/930
2014-10-06 10:41:55 +02:00
Mathias
5785803eb7 =htc allow 0 as special value If-Modified-Since and similar headers
Port of https://github.com/spray/spray/issues/942
2014-10-06 10:41:55 +02:00