Nicolas "Pixel" Noble
b092916a2a
Addressing concerns.
2015-04-07 02:13:22 +02:00
Nicolas "Pixel" Noble
d81684f191
Merge branch 'master' of github.com:google/grpc into the-purge
2015-04-06 20:27:00 +02:00
Nicolas "Pixel" Noble
ff2828be3d
Rewriting mutex, condition_variable, and thread.
2015-04-04 02:06:13 +02:00
Nicolas Noble
91647cc815
Adding joinable threads, and gpr_thd_join.
2015-04-03 23:02:47 +02:00
Nicolas "Pixel" Noble
ae96ae2bad
Starting off by removing all offending headers.
2015-04-03 00:29:15 +02:00
Vijay Pai
63adffe3f4
Merge pull request #1177 from yang-g/bugfix
...
Bug fix. User can destroy status after calling Finish and we should keep...
2015-04-02 11:56:32 -07:00
Yang Gao
e9866e977e
resolve comment
2015-04-02 10:27:50 -07:00
Yang Gao
b53af532af
Bug fix. User can destroy status after calling Finish and we should keep a copy of it instead of a pointer
2015-04-02 09:24:39 -07:00
Yang Gao
5a5032dd4c
Add a macro to enable replacing the default with a custom port picker
2015-04-01 13:54:44 -07:00
Yang Gao
48bbd000eb
merge upstream and resolve conflict
2015-03-26 23:12:14 -07:00
vjpai
f731d68fef
Avoid a problem when clang pretends to be GNUC
2015-03-25 14:55:25 -07:00
vjpai
3ff350cf96
Make a fake version of nullptr to work with old compilers
2015-03-25 14:28:41 -07:00
Vijay Pai
8dafd52cea
Revert "Remove dead members of server context"
...
This reverts commit 8c8588c7dc .
2015-03-24 11:36:17 -07:00
Vijay Pai
046d92dcb0
Merge remote-tracking branch 'upstream/master'
2015-03-23 10:26:50 -07:00
Vijay Pai
8c8588c7dc
Remove dead members of server context
2015-03-22 12:39:10 -07:00
Yang Gao
b7b965c842
Make Next free of time_point to timespec conversion
2015-03-20 15:27:51 -07:00
Abhishek Kumar
2cff008a2b
Merge pull request #1074 from jcanizales/makes-cpu-posix-portable
...
Creates cpu_iphone.c and has it selected for iOS instead of cpu_posix.c
2015-03-19 10:32:59 -07:00
Jan Tattermusch
5e36d0d474
Merge pull request #1093 from nicolasnoble/windows
...
Various Windows fixes.
2015-03-19 10:29:47 -07:00
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 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.
2015-03-19 04:21:22 +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
Jorge Canizales
6b64c811b3
Fixes iPhone platform detection
2015-03-16 17:49:24 -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
Jorge Canizales
f5a5943a59
Adds GPR_CPU_IPHONE to the checks in port_platform.h
2015-03-15 15:37:27 -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
Jorge Canizales
30e666cae7
Creates cpu_iphone.c
...
So that cpu_posix.c can be left untouched for the other platforms.
2015-03-13 14:45:40 -07: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