Commit Graph

5814 Commits

Author SHA1 Message Date
Tim Cooper
edcd4cde27 grpc: require protobuf>=3 2016-05-08 16:45:52 +02:00
Tim Cooper
59bda9bec8 grpc: rename murmur.ini.grpc to murmur.grpc.ini 2016-05-08 16:45:52 +02:00
Mikkel Krautz
8d5236f3f2 grpc: add log message in GRPCStart, so users know that GRPC is enabled. 2016-05-08 16:45:52 +02:00
Mikkel Krautz
e93d566fa9 grpc: use single-line comments for docs in MurmurGRPCImpl.cpp. 2016-05-08 16:45:52 +02:00
Mikkel Krautz
88a665313e grpc: use single-line doxygen-style comments in RPCSingleStreamCall top-level comment. 2016-05-08 16:45:52 +02:00
Mikkel Krautz
cd6b532cfd grpc: fix implicit QString conversions in setChannelStateGRPC. 2016-05-08 16:45:52 +02:00
Mikkel Krautz
9128351b5c grpc: rename GRPC-specific Server::setChannelState method, and add docs. 2016-05-08 16:45:52 +02:00
Mikkel Krautz
c7cd28b469 grpc: indent pre-declaration of classes in MurmurRPC::Wrapper. 2016-05-08 16:45:52 +02:00
Mikkel Krautz
505df4f7d3 grpc: make mServer and qtCleanup members in MurmurRPCImpl conform to coding style. 2016-05-08 16:45:52 +02:00
Mikkel Krautz
a02ef1b102 grpc: fix Server::sendTextMessageGRPC and Server::setChannelState to build in non-C++11 mode.
Before C++11, <:: is expanded as a trigraph in this context.
2016-05-08 16:45:52 +02:00
Mikkel Krautz
9fafa9ae15 grpc: make member variables in RPCCall and RPCSingleStreamCall coding style conformant. 2016-05-08 16:45:52 +02:00
Mikkel Krautz
71f90de22c grpc: rename remaining MurmurRPCImpl member variables to be coding style conformant. 2016-05-08 16:45:52 +02:00
Mikkel Krautz
d8710c1019 grpc: rename aV1Service to m_V1Service. 2016-05-08 16:45:52 +02:00
Mikkel Krautz
32b8abd894 grpc: rename mCQ to m_completionQueue as per our coding style. 2016-05-08 16:45:52 +02:00
Mikkel Krautz
31928ca51f grpc: use single-line comments for MurmurGRPCImpl.cpp system overview. 2016-05-08 16:45:52 +02:00
Mikkel Krautz
83c0b095e0 grpc: rename RPCStart and RPCStop to GRPCStart and GRPCStop. 2016-05-08 16:45:52 +02:00
Mikkel Krautz
a107fb3d71 grpc: fix formatting of textMessageFilter result handling. 2016-05-08 16:45:52 +02:00
Mikkel Krautz
ee1988eb4b grpc: rename GRPC-specific Server::sendTextMessage to Server::sendTextMessageGRPC(), and add docs. 2016-05-08 16:45:52 +02:00
Mikkel Krautz
9c55e95673 grpc: mention that gRPC is experimental in the INSTALL file. 2016-05-08 16:45:52 +02:00
Mikkel Krautz
7666447df6 grpc: rename murmur_grpc_wrapper_gen to murmur_grpcwrapper_protoc_plugin.
Also, rename the binary to protoc-plugin-murmur-grpcwrapper.
2016-05-08 16:45:52 +02:00
Mikkel Krautz
4c54bb2785 grpc: update license headers to use the new-style header. 2016-05-08 16:45:52 +02:00
Mikkel Krautz
75d68fb473 grpc: sync murmur.ini.grpc with murmur.ini. 2016-05-08 16:45:52 +02:00
Mikkel Krautz
49f983301c grpc: shell out to 'which grpc_cpp_plugin' to find grpc_cpp_plugin path in murmur_grpc.pro. 2016-05-08 16:45:52 +02:00
Mikkel Krautz
41885a2fed grpc: ignore unused parameter warnings from MurmurRPC.grpc.pb.h. 2016-05-08 16:45:52 +02:00
Mikkel Krautz
772191fa8e grpc: use RegisterService instead of RegisterAsyncService.
grpc 0.14.0-dev does not have RegisterAsyncService anymore,
and the gRPC examples that use async now use RegisterService
instead of RegisterAsyncService.
2016-05-08 16:45:52 +02:00
Mikkel Krautz
46e954dc4f grpc: remove 'gpr' from PKGCONFIG.
There is no pkgconfig file for it anymore, in 0.14.0-dev,
so the build fails.

None of the other files seem to use libgpr.so either.
2016-05-08 16:45:52 +02:00
Tim Cooper
750f08d981 grpc: do not include generated proto wrapper 2016-05-08 16:45:52 +02:00
Tim Cooper
4a0f28724b grpc: fix grpc CONFIG flag 2016-05-08 16:45:52 +02:00
Tim Cooper
ff109d96f0 grpc: integrate murmur_grpc_wrapper_gen into qmake build 2016-05-08 16:45:52 +02:00
Tim Cooper
97741f645e grpc: move grpc-specific ini options to separate file 2016-05-08 16:45:52 +02:00
Tim Cooper
77e0bc2e55 grpc: fix compilation errors 2016-05-08 16:45:52 +02:00
Tim Cooper
49a6d35f2b grpc: rename grpcCert, grpcKey to grpccert, grpckey 2016-05-08 16:45:52 +02:00
Tim Cooper
7c7ccfb4cb grpc: change "no-grpc" build flag to "grpc" 2016-05-08 16:45:52 +02:00
Tim Cooper
9bd982c9c5 grpc: add TextMessageFilter method comment 2016-05-08 16:45:52 +02:00
Tim Cooper
805c0477c1 grpc: implement TextMessageFilter 2016-05-08 16:45:52 +02:00
Tim Cooper
19537ac218 grpc: allow connections to be secured using TLS 2016-05-08 16:45:52 +02:00
Tim Cooper
6c68dec477 grpc: only allow users to trigger explicitly added context actions 2016-05-08 16:45:52 +02:00
Tim Cooper
92320bffba grpc: add comment about incomplete embedded protobuf messages 2016-05-08 16:45:52 +02:00
Tim Cooper
af631631e4 grpc: fix crash when writing to a stream that hasn't completed its previous write 2016-05-08 16:45:52 +02:00
Tim Cooper
d4b799deb9 grpc: add RPCSingleStreamCall base for single-streaming wrappers 2016-05-08 16:45:52 +02:00
Tim Cooper
1253f77edf grpc: add helper method "end" to RPCSingleSingleCall 2016-05-08 16:45:52 +02:00
Tim Cooper
8401b5113e grpc: document more of the RPC protocol 2016-05-08 16:45:52 +02:00
Tim Cooper
28fc48083b grpc: add internal system overview 2016-05-08 16:45:52 +02:00
Tim Cooper
0cbd230d8f grpc: reduce amount of generated wrapper code 2016-05-08 16:45:52 +02:00
Tim Cooper
75142476a3 grpc: change RPCCall.mRefs to atomic 2016-05-08 16:45:52 +02:00
Tim Cooper
23c931dbc3 grpc: fix potential use after free issue 2016-05-08 16:45:52 +02:00
Tim Cooper
6dfbce2271 grpc: normalize RPC method names 2016-05-08 16:45:52 +02:00
Tim Cooper
b52d4dfb9e grpc: remove ContextAction.Context.None 2016-05-08 16:45:52 +02:00
Tim Cooper
ab09ba3c0b grpc: fix ACL.allow, ACL.deny, ContextAction.context bitmasks 2016-05-08 16:45:52 +02:00
Tim Cooper
b10811af23 grpc: update RPC service comments 2016-05-08 16:45:52 +02:00