Nicolas Noble
3086203834
Few VS2010 fixes.
...
-) = delete isn't supported. Moving destructor out of scope.
-) variadic templates aren't supported. Replacing emplace_back's construction.
-) C++11's {} inline construction isn't supported. Adding temporary variables.
-) std::list<> can't work on a non-declared class. Changing to a raw pointer.
10 years ago
Craig Tiller
1fb99552b7
Fix early shutdown: await client context deletion before channel deletion
10 years ago
Yang Gao
c4b6ffb1b6
Add a GrpcLibrary class to wrap grpc_init and grpc_shutdown and convert all the tests to init/shutdown free.
10 years ago
Nicolas "Pixel" Noble
76e49fd805
Forgot to rename header guard.
10 years ago
Nicolas "Pixel" Noble
e24dde5736
Adressing comments.
10 years ago
Abhishek Kumar
d774c5cadb
Test client stream cancellation and fix bug exposed by the test.
10 years ago
Craig Tiller
277d3cff7e
clang-format
10 years ago
Craig Tiller
3beef68d39
Populate channel tags for methods
10 years ago
Craig Tiller
62d2896665
Add facility to register methods in C++
10 years ago
Craig Tiller
53a38d4699
Make RpcMethod constructor take all args
10 years ago
Nicolas "Pixel" Noble
b7bbffe9f6
Addressing github comments.
10 years ago
Nicolas Noble
89219162dd
Refactoring std::chrono out.
10 years ago
Nicolas "Pixel" Noble
b092916a2a
Addressing concerns.
10 years ago
Nicolas "Pixel" Noble
ff2828be3d
Rewriting mutex, condition_variable, and thread.
10 years ago
Nicolas "Pixel" Noble
ae96ae2bad
Starting off by removing all offending headers.
10 years ago
Yang Gao
e9866e977e
resolve comment
10 years ago
Yang Gao
b53af532af
Bug fix. User can destroy status after calling Finish and we should keep a copy of it instead of a pointer
10 years ago
vjpai
f731d68fef
Avoid a problem when clang pretends to be GNUC
10 years ago
vjpai
3ff350cf96
Make a fake version of nullptr to work with old compilers
10 years ago
vjpai
11f64fb349
Make a fake version of nullptr to satisfy old compilers
10 years ago
Vijay Pai
8dafd52cea
Revert "Remove dead members of server context"
...
This reverts commit 8c8588c7dc
.
10 years ago
Vijay Pai
652b7e983b
Revert "Remove dead members of server context"
...
This reverts commit 8c8588c7dc
.
10 years ago
Vijay Pai
fa6ea8536d
Revert "Remove dead members of server context"
...
This reverts commit 8c8588c7dc
.
10 years ago
Vijay Pai
8c8588c7dc
Remove dead members of server context
10 years ago
Yang Gao
b7b965c842
Make Next free of time_point to timespec conversion
10 years ago
Yang Gao
050e37aab8
resolve merge error
10 years ago
Yang Gao
75e2f6d839
Implementation of generic stub
10 years ago
Nicolas "Pixel" Noble
eab96f51fb
Dodging VisualStudio's #define of max().
10 years ago
Nicolas Noble
cfd6073a66
Various Windows fixes.
...
-) using dupenv_s instead of getenv_s and calling strdup ourselves.
-) few impossible-to-obtain if checks.
-) various signed/unsigned casting.
-) using time_t instead of time32_t
-) checking output of FormatMessage for failures.
-) don't redefine _WIN32_WINNT without undefining it first.
-) fixed msvc's interlocked casting.
-) renamed AddPort to AddListeningPort.
-) added protobuf's third_party includes to search path.
-) added a missing definition for inet_ntop in mingw32.
-) removed useless declarations.
10 years ago
Yang Gao
5ebd6c76a2
wrap refresh token credentials in c++
10 years ago
Yang Gao
757afaeb30
clang-format new changes
10 years ago
Yang Gao
6baa9b67ad
clang-format c++ code
10 years ago
vjpai
7aadf46fdb
Change to std::chrono and add a test.
10 years ago
Yang Gao
1ad253d137
expose the server's cq through the generic service object
10 years ago
Yang Gao
dca15a6d1e
add a comment
10 years ago
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.
10 years ago
Nicolas "Pixel" Noble
613d6fe997
Moving ZeroCopyOutputStream to grpc++/config.h.
10 years ago
Yang Gao
4999649653
Rename to AsyncGeneric*
10 years ago
Yang Gao
179f8684dc
add missing GRPC_FINAL
10 years ago
Vijay Pai
c41bf3cb5a
More sane ordering of methods
10 years ago
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.
10 years ago
Yang Gao
005eb88c45
Rename anonymous to generic globally
10 years ago
Vijay Pai
ee705f6d66
Add support for deadline on CompletionQueue::Next
...
If the deadline elapses, return true but have a null tag.
10 years ago
Yang Gao
d778651c01
formatting
10 years ago
Yang Gao
0535da3068
The Jwt code was dropped somewhere in a merge. Put it back
10 years ago
Yang Gao
0fd94409a0
Expose server cq for polling incoming anonymous rpcs
10 years ago
Yang Gao
f82a30d90a
Use ssl name override if it's in the channel argument
10 years ago
Yang Gao
61c413182d
initial imple of byte buffer and slice
10 years ago
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.
10 years ago
Yang Gao
5f4539f4e8
Service side should be done, it builds and existing tests pass
10 years ago