Commit Graph

368 Commits

Author SHA1 Message Date
Karthik Ravi Shankar 939830aa15
Merge pull request #20030 from karthikravis/move-method-handler
Make MethodHandler and related interfaces generic
2019-09-10 21:45:08 -07:00
Arjun Roy a979ad4b0b
Merge pull request #20210 from arjunroy/arena_squish_unary_callback
Coalesced arena allocs in callback unary C++ code.
2019-09-10 21:20:08 -07:00
Arjun Roy db861a2546 Coalesced arena allocs in callback unary C++ code. 2019-09-10 15:19:04 -07:00
Karthik Ravi Shankar 7ec1a9663d Merge branch 'master' into move-method-handler 2019-09-06 12:21:29 -07:00
Yash Tibrewal 97f1f57dab Allow call credentials to be set even after the call is created but before initial metadata is sent 2019-09-05 18:13:59 -07:00
Vijay Pai 1a2129980c
Merge pull request #19647 from pszemus/master
Fixed "implicitly-declared operator= is deprecated" error from gcc 9
2019-09-05 10:08:18 -07:00
Karthik Ravi Shankar db7365753e Fix the compile error due to ByteBuffer in method_handler_impl.h 2019-09-03 16:08:48 -07:00
Karthik Ravi Shankar a1c0d3442f Merge branch 'master' into move-method-handler 2019-09-03 14:47:45 -07:00
hcaseyal 311bf04ec9
Merge pull request #19788 from chrisse74/master
remove all unused-parameter warnings in C++
2019-09-03 13:58:13 -07:00
Karthik Ravi Shankar 29bb3ef973 Remove redundant MethodHandler friend declarations 2019-08-28 14:01:48 -07:00
Karthik Ravi Shankar 28b0671235 Make MethodHandler and related interfaces generic 2019-08-21 16:12:48 -07:00
yang-g fd106bf1ac Add accessor declaration for ClientContext 2019-08-14 12:38:59 -07:00
Soheil Hassas Yeganeh eadd5ea110 Directly use the ZeroCopyInputStream for grpc::GenericDeserialize.
There is no need to use CodedInputStream, wrapping a
ZeroCopyInputStream.

Suggested by: Gerben Stavenga
2019-08-12 22:44:56 -04:00
Yash Tibrewal 01ec829945 Mark private methods of DelegatingChannel final (other than WaitForStateChangeImpl and NotifyOnStateChangeImpl) 2019-08-01 16:25:11 -07:00
Yash Tibrewal 3653439ba6 Merge master and move to experimental 2019-08-01 16:15:31 -07:00
Christian Maurer 46dddacdf3 remove all unused-parameter warnings 2019-07-30 13:10:53 +02:00
Arjun Roy b47d22f7f2 Mark assert failure path as unlikely in codegen.
Also, change an assert to debug assert in callback cpp.
2019-07-18 12:52:18 -07:00
Przemysław Sobala 9e65a88762 Fixed "implicitly-declared operator=" error from gcc 9 2019-07-15 16:11:35 +02:00
Moiz Haidry d8c0182360 Expose some of the internal codegen interfaces 2019-07-02 12:32:14 -07:00
Moiz Haidry bf994e48d9 Move grpc async, callback and sync implementation to grpc_impl namespace 2019-07-01 14:05:54 -07:00
Karthik Ravi Shankar d33c02748f Merge branch 'master' into continue-migration-to-impl 2019-06-26 09:29:36 -07:00
Karthik Ravi Shankar 8b91dc5fd2 Move more of usage to grpc_impl
1) Create server_context_impl and completion_queue_impl headers.
2) Move more of usage of ClientContext, ServerContext to grpc_impl
2019-06-22 17:17:29 -07:00
Moiz Haidry fbd5957ee8 Sanity and build fixes 2019-06-21 12:28:55 -07:00
Moiz Haidry 3ce20819cf Modify codegen to use grpc_impl namespace and other cleanups 2019-06-21 10:51:57 -07:00
Yang Gao ea63190498
Merge pull request #19371 from yang-g/virtual_me
Add comments and rename internal methods
2019-06-19 12:25:05 -07:00
yang-g 7b0ee41fd5 Resolve comment 2019-06-19 10:28:35 -07:00
yang-g 7db36fe0a0 Add comments and rename internal methods 2019-06-17 11:18:03 -07:00
Soheil Hassas Yeganeh 85f08100d4 Avoid using seq_cst atomic operations in grpcpp when unnecessary.
These cases are almost all in the callback API.

Also use atomic<intptr_t> insteda of atomic_int for consistency with
gpr_atm and grpc_core::Atomic.
2019-06-16 16:09:24 -04:00
Yang Gao 0bee8c41f9
Merge pull request #19348 from yang-g/virtual_me
Mark some methods virtual
2019-06-14 10:15:11 -07:00
yang-g b216c34314 Mark some methods virtual 2019-06-13 22:15:53 -07:00
yang-g a0f5cb4528 Fix assignment operator 2019-06-13 22:08:09 -07:00
Yash Tibrewal 90f1c32b85 Sanity checks and return value 2019-06-13 12:29:48 -07:00
Moiz Haidry 186875337c Sync with master 2019-06-11 16:16:27 -07:00
Yash Tibrewal 94e7edad99 Add Delegating Channel 2019-06-11 15:07:12 -07:00
Karthik Ravi Shankar e4b992ee48 Merge branch 'master' into migrate-client-context 2019-06-10 14:01:28 -07:00
Karthik Ravi Shankar 52291e5832 Fix PropogationOptions 2019-06-10 13:58:34 -07:00
Yash Tibrewal cb2143406f
Merge pull request #19188 from yashykt/interceptiondocs
Doc Change - Add hijacking interception hook points as valid for the GetRecv* functions
2019-06-06 11:42:20 -07:00
Karthik Ravi Shankar 7e18e6cf3f Fix clang errors. 2019-06-05 16:47:29 -07:00
Karthik Ravi Shankar 522ddfe273 Move ClientContext to grpc_impl
ClientContext is another file which needs to be moved from grpc to
grpc_impl for referencing it.
2019-06-05 16:31:39 -07:00
Moiz Haidry 226e63dd0c Move server context implementation to grpc_impl namespace and typedef the ref to it 2019-06-05 10:41:30 -07:00
Yash Tibrewal f671b3d136 Add hijacking interception hook points as valid for the GetRecv* functions 2019-05-30 15:39:37 -07:00
Yash Tibrewal e260de873c Merge branch 'master' into interceptionfix 2019-05-24 17:03:11 -07:00
Yash Tibrewal c58b4a3964 Clang format 2019-05-24 17:00:54 -07:00
Yash Tibrewal 67bdbbdf6f Fix a bug where POST_RECV_MESSAGE is not being triggered 2019-05-24 16:58:56 -07:00
Karthik Ravi Shankar 088319bc40 IWYU in core_codegen_interface
core_codegen_interface requires ByteBuffer in generated code and needs
to include byte_buffer.h

NO_BUG=Cleanup
2019-05-23 22:10:53 -07:00
Juanli Shen 0cafd4110a Fix typo 2019-05-23 11:12:08 -07:00
Karthik Ravi Shankar dc9897dfe3
Merge pull request #19067 from karthikravis/channel-cq-scq-impl
Fold Channel and CompletionQueue into grpc_impl
2019-05-22 16:10:58 -07:00
kwasimensah cd0e02ae1c
Fixing formatting 2019-05-21 02:29:00 -04:00
kwasimensah 3ec0967c1e
Fix typo for using MessageLite 2019-05-21 01:52:36 -04:00
kwasimensah 51a2280029
Add MessageLite overloads to proto serialization 2019-05-21 01:29:47 -04:00