Commit Graph

134 Commits

Author SHA1 Message Date
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.
2015-04-28 00:27:30 +02:00
Yang Gao c4b6ffb1b6 Add a GrpcLibrary class to wrap grpc_init and grpc_shutdown and convert all the tests to init/shutdown free. 2015-04-24 13:09:40 -07:00
Nicolas "Pixel" Noble ff2828be3d Rewriting mutex, condition_variable, and thread. 2015-04-04 02:06:13 +02:00
Nicolas "Pixel" Noble ae96ae2bad Starting off by removing all offending headers. 2015-04-03 00:29:15 +02: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
Yang Gao 1ad253d137 expose the server's cq through the generic service object 2015-03-16 13:11:29 -07:00
Yang Gao 4999649653 Rename to AsyncGeneric* 2015-03-12 16:40:19 -07:00
Yang Gao 005eb88c45 Rename anonymous to generic globally 2015-03-11 22:17:13 -07:00
Yang Gao 0fd94409a0 Expose server cq for polling incoming anonymous rpcs 2015-03-11 00:10:10 -07:00
Yang Gao fccea1f70e merge with upstream and resolve conflict 2015-03-10 13:17:39 -07: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 1c40233814 first sets of changes, it builds 2015-03-05 16:39:25 -08:00
Craig Tiller e7460e87d3 Merge github.com:grpc/grpc into credit 2015-03-03 13:48:40 -08:00
Yang Gao 7694c35d5f Global replace google::protobuf::Message with grpc::protobuf::Message, all tests passed 2015-03-03 09:48:06 -08:00
Craig Tiller 61691f92c3 Merge github.com:grpc/grpc into credit 2015-03-02 08:51:52 -08:00
Nicolas "Pixel" Noble 1ff52d5278 Guard headers tool. 2015-03-01 06:18:14 +01:00
Craig Tiller cf133f41f8 Make it possible to compile with gcc4.6 2015-02-26 14:27:05 -08:00
Craig Tiller 7c0f33dea9 Merge github.com:grpc/grpc into credit 2015-02-24 17:02:07 -08:00
Craig Tiller 6e57b9edb1 Add Server.Wait 2015-02-24 15:46:22 -08:00
Craig Tiller 42bc87c097 Update C++ server with new core API
And reflects the C++ API in ServerBuilder.
2015-02-23 09:58:23 -08:00
Craig Tiller 190d360def Add missing new-lines at end of file 2015-02-18 09:23:38 -08:00
Craig Tiller 0605995e55 Update copyright to 2015 2015-02-18 08:34:56 -08:00
Craig Tiller 573523f127 clang-format 2015-02-17 07:38:26 -08:00
Craig Tiller 1c9a2a91ca Async API progress 2015-02-12 14:10:25 -08:00
Craig Tiller 8c8d0aa1d8 Async API progress 2015-02-12 11:38:36 -08:00
Craig Tiller bb5227fc39 Allow server to hook calls also, fix crash 2015-02-11 13:34:48 -08:00
Craig Tiller 3b29b566a2 Just use one completion queue per server for delivering completions
This simplifies (drastically) the polling story, although will slightly
complicate mixing sync & async servers - but we're not there yet.
2015-02-11 12:58:46 -08:00
Craig Tiller c416577636 Server progress 2015-02-11 10:51:04 -08:00
Craig Tiller cbd0485088 Simplify server ready for async path 2015-02-10 17:39:54 -08:00
Craig Tiller 1d2e21962e Server progress 2015-02-09 15:25:21 -08:00
Craig Tiller 0db1befae1 Progress 2015-02-09 13:47:39 -08:00
Craig Tiller c4965751a0 Starting to scratch out the API 2015-02-09 09:51:00 -08:00
yangg 9e21f7281f Add server side credentials support.
Make interop test use ssl by default.
	Change on 2014/12/08 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81619141
2014-12-08 18:50:13 -08:00
Nicolas Noble b7ebd3b8c6 Initial import. 2014-11-26 16:33:03 -08:00