From 954e8141ddb5ccbb047118b8e34cbe1d83884fa8 Mon Sep 17 00:00:00 2001 From: Tobe O Date: Fri, 8 Jun 2018 03:06:26 -0400 Subject: [PATCH] 1.1.4 --- .idea/libraries/Dart_Packages.xml | 1 + .idea/libraries/Dart_SDK.xml | 1 + ...with_query_params_in_routing_test_dart.xml | 8 + .../can_fetch_data_in_services_test_dart.xml | 9 + .idea/workspace.xml | 1265 ++++++++--------- CHANGELOG.md | 5 + analysis_options.yaml | 5 +- example/json.dart | 3 +- lib/hooks.dart | 52 +- lib/src/core/angel_base.dart | 10 +- lib/src/core/hooked_service.dart | 443 ++---- lib/src/core/injection.dart | 9 +- lib/src/core/map_service.dart | 91 +- lib/src/core/request_context.dart | 14 +- lib/src/core/response_context.dart | 31 +- lib/src/core/routable.dart | 31 +- lib/src/core/server.dart | 118 +- lib/src/core/service.dart | 81 +- lib/src/http/angel_http.dart | 298 ++-- lib/src/http/controller.dart | 9 +- lib/src/http/http.dart | 4 +- lib/src/http/http_request_context.dart | 18 +- lib/src/http/http_response_context.dart | 7 +- lib/src/stats/metric_server.dart | 6 +- performance/hello/main.dart | 13 +- performance/hello/raw.dart | 2 +- pubspec.yaml | 4 +- test/encoders_buffer_test.dart | 31 +- test/exception_test.dart | 13 +- test/general_test.dart | 4 +- test/parameter_meta_test.dart | 3 +- test/precontained_test.dart | 6 +- test/primitives_test.dart | 16 +- test/repeat_request_test.dart | 8 +- test/routing_test.dart | 34 +- test/server_test.dart | 20 +- test/services_test.dart | 15 +- test/streaming_test.dart | 15 +- 38 files changed, 1315 insertions(+), 1388 deletions(-) create mode 100644 .idea/runConfigurations/Match_routes__even_with_query_params_in_routing_test_dart.xml create mode 100644 .idea/runConfigurations/can_fetch_data_in_services_test_dart.xml diff --git a/.idea/libraries/Dart_Packages.xml b/.idea/libraries/Dart_Packages.xml index ad9897bb..fbbbfdf7 100644 --- a/.idea/libraries/Dart_Packages.xml +++ b/.idea/libraries/Dart_Packages.xml @@ -519,6 +519,7 @@ + \ No newline at end of file diff --git a/.idea/libraries/Dart_SDK.xml b/.idea/libraries/Dart_SDK.xml index 2255dbd8..ed937c05 100644 --- a/.idea/libraries/Dart_SDK.xml +++ b/.idea/libraries/Dart_SDK.xml @@ -21,6 +21,7 @@ + \ No newline at end of file diff --git a/.idea/runConfigurations/Match_routes__even_with_query_params_in_routing_test_dart.xml b/.idea/runConfigurations/Match_routes__even_with_query_params_in_routing_test_dart.xml new file mode 100644 index 00000000..3df4dee3 --- /dev/null +++ b/.idea/runConfigurations/Match_routes__even_with_query_params_in_routing_test_dart.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/can_fetch_data_in_services_test_dart.xml b/.idea/runConfigurations/can_fetch_data_in_services_test_dart.xml new file mode 100644 index 00000000..5dbab496 --- /dev/null +++ b/.idea/runConfigurations/can_fetch_data_in_services_test_dart.xml @@ -0,0 +1,9 @@ + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 73da9b1a..df55ab7d 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,9 +2,44 @@ - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -27,36 +62,29 @@ - - + + - - - - - + + - - + + - - - - - + + - - + + - - - + + @@ -64,8 +92,8 @@ - - + + @@ -73,52 +101,68 @@ - - + + - - - + + + + + - - + + - - - + + - - + + - - - + + + + + - - + + - - - + + + + + - + - - - + + + + + + + + + + + + + + @@ -135,28 +179,6 @@ - _isOpen - _isClosed - end - isOpen - _useStream - isClosed - HttpHeaders. - = false - = true - Future - toId - createZ - default - catch - error - trace - zonesp - runGuar - unca - async - hey - match getV zone zone.run @@ -165,11 +187,30 @@ statusCode .run var body = await rs.fold<List<int>>([], (out, list) => []..addAll(list)); + async = + async { + await + e read( + for (var ha + geth + pip + close + sendFile + getHan + gethandle + BANG + execute + lazyBod + lazyBody() + addRout + lazyBody + _body = nu + _body + MID + beforeIndex + read( - _isClosed - // _printDebug - create modify update remove @@ -195,6 +236,11 @@ 'server' FutureOr var body = await getBody(rs); + + = + = + { + C:\Users\thosa\Source\Angel\framework\lib @@ -202,6 +248,7 @@ C:\Users\thosa\Source\Angel\framework\test $PROJECT_DIR$/lib/src $PROJECT_DIR$/test + $PROJECT_DIR$/lib/src/core $PROJECT_DIR$/lib @@ -213,65 +260,60 @@ - - - @@ -281,9 +323,12 @@ true DEFINITION_ORDER + + + - @@ -292,23 +337,9 @@ - - - - - - - - - - - - - - @@ -319,32 +350,36 @@ - +