Commit Graph

254 Commits

Author SHA1 Message Date
Michael Thomsen 78dcb0f4f1
Create MAINTAINERS.md (#232) 2019-08-20 15:57:49 +02:00
Sigurd Meldgaard 992e2dcc29
Improve connection handling (#231)
* Improve connection handling

* Address review. Add round-trip-test
2019-08-19 15:31:16 +02:00
Sigurd Meldgaard 5ac5d6a1e4 Update .travis.yml (#230) 2019-08-16 09:06:09 +01:00
Sigurd Meldgaard 1213bc546b
Relax dependency on package:meta (#227) 2019-08-08 13:34:51 +02:00
Sigurd Meldgaard 3aeafa77cb
Improve error handling (#204)
* Improve error handling

1) Let GrpcError implement exception

As the user is (usually) expected to catch these they should implement
Exception.
There is a bigger clean-up in splitting off the GrpcError.internal as
that seems to be for invariant violations

2) Convert some thrown strings into exceptions.
2019-07-03 09:26:45 +02:00
Florian Pirmin Groetzner c305f0d685 Update README.md (#210)
Fix double word
2019-07-02 10:30:26 +02:00
Sigurd Meldgaard 9d2a469655
Provide scheme as part of audience (#211) 2019-06-28 15:24:59 +02:00
Sigurd Meldgaard 6d485375ba
Unimplement unimplementedMethod in interop (#208) 2019-06-27 15:36:43 +02:00
Sigurd Meldgaard dcac905a13
Fix interop (#207)
* Fix computation of authority
2019-06-27 14:43:15 +02:00
Sigurd Meldgaard 054ac9de3c
Fix imports (#199) 2019-06-25 13:00:58 +02:00
Sigurd Meldgaard 91564ff7aa
grpc-web support (#191)
* grpc-web support

This commits merges the grpc-web branch into master.

It is based on work by https://github.com/fuzzybinary .
2019-06-17 13:31:07 +02:00
Sigurd Meldgaard e65c52070b
Wait longer for timeout in timeout_test (#192) 2019-06-14 10:34:45 +02:00
Brett Morgan 6c0f61aaf6 Updating for Protobuf 0.13 (#190) 2019-06-14 09:24:05 +02:00
Nic Hite c9c4e40088
Remove unnecessary 'new' and 'const' keywords. (#186) 2019-06-04 11:31:01 -07:00
Sigurd Meldgaard c415d0f4e2
update changelog (#183) 2019-06-03 15:04:10 +02:00
Michael Thomsen 0c8f5ae057
Update README.md (#184) 2019-05-28 15:08:42 +02:00
Ivan c65afe9ec0 Add userAgent for ChannelOptions (#155)
Add userAgent for ChannelOptions
2019-05-28 12:31:35 +02:00
Sigurd Meldgaard f3e1e32973
Allow authority for insecure connections (#179) 2019-05-23 15:48:46 +02:00
Michael Thomsen 0cbc5401c8 Add Windows to the test config (#129) 2019-04-09 11:11:41 +02:00
Sigurd Meldgaard 56c77f84ae
bump_version (#165) 2019-04-03 15:15:01 +02:00
Sigurd Meldgaard 92731e1a71
Cancel `ServerHandler` when `ServerTransportConnection.incomingStreams` is closed (#164)
* Cancel ServerHandler when connection closes
2019-04-03 14:57:55 +02:00
Sigurd Meldgaard d7ae930e7f
Revert "Support grpc-web" (#159)
This reverts commit d58659507c.

Development of grpc-web will continue on the branch
https://github.com/grpc/grpc-dart/tree/grpc-web until it is ready.
2019-03-18 13:46:50 +01:00
Jeff Ward d58659507c Support grpc-web 2019-03-15 12:51:06 +01:00
Sigurd Meldgaard 76159960e2
Add service_api.dart with platform independent exports (#152) 2019-01-24 13:44:59 +01:00
Sigurd Meldgaard f48144271c
Update CHANGELOG.md (#151) 2019-01-22 13:26:58 +01:00
Ivan d62009e9fb Update dependencies(http2,mockito) (#145) 2019-01-22 13:08:25 +01:00
Nic Hite eafca2ab28 Replace Future<Null> with Future<void>. (#146) 2019-01-03 08:13:25 +01:00
Michael Thomsen ae9a7c7142
Graduate package to 1.0 stable (#143)
* Update README.md

* Update pubspec.yaml

* Update CHANGELOG.md

* Extend the package description
2018-12-17 15:49:14 +01:00
Michael Thomsen 6428b4e2f7
Create README.md (#144) 2018-12-17 15:33:48 +01:00
Sigurd Meldgaard e0d0516c9c
Version bump to publish without stray files (#142) 2018-12-13 12:21:59 +01:00
Alexandre Ardhuin 921f4df0b9 don't throw on closing channel not open (#128)
Don't throw on closing channel not open
2018-11-12 14:54:11 +01:00
Sigurd Meldgaard c252ada1a5
Don't rely on package:test internals (#136) 2018-11-05 15:39:51 +01:00
Sigurd Meldgaard 175910c58a
Update dependencies (#127) 2018-10-24 12:49:33 +02:00
Sigurd Meldgaard c02c5c46de Update .travis.yml (#119) 2018-10-17 13:31:57 +02:00
Alexandre Ardhuin 3e3ba6682f allows async interceptors (#120)
* allows async interceptors

* prevent chunks to come before starting streaming request
2018-09-18 08:17:39 +02:00
Sigurd Meldgaard 97e47bd3e7
Version bump (#118) 2018-09-07 10:27:05 +02:00
Alexandre Ardhuin 1051232d17 bump versions for dart 2 (#117) 2018-09-07 10:09:52 +02:00
Sigurd Meldgaard 561f8fe716
Make Status codes `static const` instead of `static final`. (#104)
Make Status codes `static const` instead of `static final`.
This enables using the codes in switch statements and default values.
2018-08-06 13:47:45 +02:00
Sigurd Meldgaard 17ce11f7fc
Allow for non ascii headers (#103) 2018-07-19 15:46:23 +02:00
Bob Nystrom 238fd7ec67 Finish migrating to the Dart 2 core library constants. (#101) 2018-07-19 15:16:58 +02:00
Michael Thomsen c32a9e97be
Use new Dart 2 APIs (#99)
* Upgrade to Dart 2 APIs

* Run dartfmt

* Update CHANGELOG.md

* Update pubspec.yaml
2018-07-13 12:57:18 +02:00
Michael Thomsen 72aac2adbe
Declare Dart 2.0 compatability (#98)
* Widen Dart SDK constraint to support Dart 2.0 stable

* Update CHANGELOG.md
2018-07-12 11:28:46 +02:00
Michael Thomsen 9e1f296a3f
Add Pub badge to readme (#96) 2018-07-10 16:59:30 +02:00
Michael Thomsen ee1b0f9141
Prepare 0.5.0 release (#94)
* Prepare 0.5.0 release
2018-07-10 14:45:22 +02:00
German Saprykin 847a3625e1 Added interceptors. (#86)
* Add draft implementation of interceptors.

* Fix review comment.

* Revert example files.

* Revert interop files.

* Revert interop files.

* Format.

* Fix typos.
2018-07-09 16:57:07 +02:00
Sigurd Meldgaard 694332921a Update test dependencies (#92)
* Update test dependencies

* Revert "Update test dependencies"

This reverts commit 86a6ae2dad.

* Update test dependencies

* Fix use of mockito when

* NOP

* Revert "NOP"

This reverts commit dec6a5a57a.

* Upgrade mockito

* Increase SDK dependency

* Increase deleay to trigger timeout

* Reintroduce include

* Relax sdk version constraint
2018-07-09 16:44:12 +02:00
Jon Kirkman 7428ab3b51 removed version from example pubspecs (#90) 2018-07-04 08:35:56 +02:00
Jakob Andersen b8e5c5c2c5
Fix tests in Dart 2 mode. (#85)
Also updated generated code using latest protoc_plugin, for Dart 2 updates.

Fixes #84.
2018-05-02 12:39:58 +02:00
Michael Thomsen 696413339f
Update README.md (#83) 2018-04-24 22:53:39 +02:00
Jakob Andersen 88485bad11
Tweaks. (#82)
Using address: 'localhost' didn't work as expected in the Docker
environment, so reverting to old behavior.

Fixed a typo.
2018-04-06 11:35:11 +02:00