Commit Graph

323 Commits

Author SHA1 Message Date
Yang Gao d1b9e64b2d Merge branch 'master' into genericstub 2015-03-19 09:38:28 -07:00
Yang Gao 050e37aab8 resolve merge error 2015-03-19 07:27:28 -07:00
Yang Gao 1fc046902c sync to head and run clang-format again 2015-03-19 07:23:08 -07:00
Yang Gao 75e2f6d839 Implementation of generic stub 2015-03-19 07:04:38 -07:00
Nicolas "Pixel" Noble eab96f51fb Dodging VisualStudio's #define of max(). 2015-03-19 06:41:10 +01:00
Nicolas "Pixel" Noble b050ce96e7 Fixes for Windows atomics.
-) gpr_atm_no_barrier_load should actually return something.
-) If compiling under mingw32, your compiler is gcc and gcc atomics become available.
2015-03-18 19:25:00 +01:00
jboeuf a8edeae6c0 Merge pull request #1072 from yang-g/refreshtoken
wrap refresh token credentials in c++
2015-03-18 09:53:09 -07:00
Yang Gao 5ebd6c76a2 wrap refresh token credentials in c++ 2015-03-17 16:22:32 -07:00
Yang Gao 757afaeb30 clang-format new changes 2015-03-17 15:49:26 -07:00
Yang Gao d672d8fbe2 resolve merge confict 2015-03-17 15:47:47 -07:00
Yang Gao 700bdeb6f5 Merge pull request #1023 from vjpai/async
Non-blocking Next method for C++ async completion queue
2015-03-17 15:45:33 -07:00
Yang Gao 6baa9b67ad clang-format c++ code 2015-03-17 10:49:39 -07:00
vjpai 7aadf46fdb Change to std::chrono and add a test. 2015-03-17 00:39:18 -07:00
Yang Gao 1ad253d137 expose the server's cq through the generic service object 2015-03-16 13:11:29 -07:00
Yang Gao 5333c5a261 Merge branch 'master' into untypedAPI 2015-03-16 11:39:14 -07:00
jboeuf c91a9f942e Merge pull request #1011 from yang-g/jwt
Put back C++ JWTCredentials code and add a test case in interop test.
2015-03-16 10:04:08 -07:00
Yang Gao dca15a6d1e add a comment 2015-03-13 15:54:38 -07:00
Nicolas "Pixel" Noble 764971354c Allowing us to import google::protobuf::int64.
If for any reason, our definition of gpr_int64 is different from the definition of google::protobuf::int64, the virtual override would fail, as this needs to be of the precisely exactly the same type.
That change allows us to use protobuf's int64 definition.
2015-03-13 23:26:08 +01:00
Yang Gao 0049c51c1a Merge pull request #1032 from nicolasnoble/protobuf-alternate
Adding support for alternative protobuf libraries.
2015-03-13 13:40:20 -07:00
Vijay Pai c97638b10b Merge pull request #1012 from dklempner/nobarrier
Add a no_barrier_load atomic operation.
2015-03-13 11:12:10 -07:00
Nicolas "Pixel" Noble 613d6fe997 Moving ZeroCopyOutputStream to grpc++/config.h. 2015-03-13 18:36:39 +01:00
Yang Gao 4999649653 Rename to AsyncGeneric* 2015-03-12 16:40:19 -07:00
Yang Gao c3be769409 Merge pull request #983 from jboeuf/refresh_token_parsing
Adding refresh token credentials.
2015-03-12 14:43:37 -07:00
Yang Gao 179f8684dc add missing GRPC_FINAL 2015-03-12 14:36:58 -07:00
Vijay Pai c41bf3cb5a More sane ordering of methods 2015-03-12 05:19:34 -07:00
Vijay Pai 3e0a46a1c4 Change behavior to properly account for possibility of NULL
tag. This can happen if the tag is actually an integer being
typecast to void*

To avoid breaking the API of existing Next calls, I've made
a new AsyncNext method with a tri-state return that indicates
whether there is a shutdown, an actual event, or a timeout.

Still needs proper testing for the AsyncNext method specifically.
2015-03-12 05:16:31 -07:00
Yang Gao 005eb88c45 Rename anonymous to generic globally 2015-03-11 22:17:13 -07:00
Vijay Pai ee705f6d66 Add support for deadline on CompletionQueue::Next
If the deadline elapses, return true but have a null tag.
2015-03-11 15:52:43 -07:00
David Klempner 466423b157 Add a no_barrier_load atomic operation.
Use this to relax the acq_loads in some fd_posix assertions. The primary
goal here is to avoid masking potential iomgr races from tsan.
2015-03-11 15:00:46 -07:00
Yang Gao d778651c01 formatting 2015-03-11 14:55:02 -07:00
Yang Gao 0535da3068 The Jwt code was dropped somewhere in a merge. Put it back 2015-03-11 14:51:03 -07:00
Yang Gao 2fe6ecebee Merge branch 'master' into untypedAPI 2015-03-11 14:30:35 -07:00
Tim Emiola 6063b9ff52 Merge pull request #990 from jtattermusch/csharp_tls_server
C# server-side TLS support
2015-03-11 13:39:39 -07:00
Vijay Pai ea8d8dedc6 Merge pull request #998 from yang-g/nameoverride
Use ssl name override if it's in the channel argument
2015-03-11 11:04:37 -07:00
Yang Gao 0fd94409a0 Expose server cq for polling incoming anonymous rpcs 2015-03-11 00:10:10 -07:00
Yang Gao bc5d466c97 Merge branch 'master' into untypedAPI 2015-03-10 22:58:00 -07:00
Yang Gao 42734b58ee Merge pull request #978 from Chilledheart/master
Avoid unnecessary copies during protobuf serialization and deserialization
2015-03-10 22:56:02 -07:00
Yang Gao f82a30d90a Use ssl name override if it's in the channel argument 2015-03-10 14:17:33 -07:00
Yang Gao fccea1f70e merge with upstream and resolve conflict 2015-03-10 13:17:39 -07:00
Yang Gao 61c413182d initial imple of byte buffer and slice 2015-03-10 12:42:18 -07:00
Julien Boeuf 9835cf0234 Adding refresh token credentials.
- The google default credentials now work with the cloud SDK.
- Verified end to end with print_default_credentials and fetch_oauth2
  tools.
2015-03-09 16:56:44 -07:00
Jan Tattermusch b0829ebaf1 C# server side TLS support 2015-03-09 16:05:05 -07:00
Chilledheart ca767c0d9e Add method grp_slice_buffer_pop to remove the last element for grp_slice_buffer 2015-03-10 01:20:55 +08:00
Chilledheart 4be94b9541 Add missing GRPC_OVERRIDE, NFC
Testing asan configuration with the latest clang compiler fails due to
the warning `-Winconsistent-missing-override`. This patch fixes it.
2015-03-10 00:46:10 +08:00
Yang Gao 5f4539f4e8 Service side should be done, it builds and existing tests pass 2015-03-06 16:11:16 -08:00
Yang Gao 1c40233814 first sets of changes, it builds 2015-03-05 16:39:25 -08:00
Craig Tiller 68de8e91cc Merge github.com:grpc/grpc into credit 2015-03-05 15:45:46 -08:00
Yang Gao c79a57c3a9 Merge branch 'master' into untypedAPI 2015-03-05 13:46:41 -08:00
Craig Tiller 346a08606a Merge github.com:grpc/grpc into credit 2015-03-04 14:10:56 -08:00
Craig Tiller ce78a19da2 Merge github.com:grpc/grpc into qps_driver 2015-03-04 13:44:16 -08:00