Commit Graph

543 Commits

Author SHA1 Message Date
Esun Kim ded9f46c06 Refactored BUILD file to isolate cronet rules 2019-07-24 14:55:35 -07: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
Julien Boeuf 109edca971 Adding C++ API and implementation for STS credentials:
- marked as experimental.
- also changed the name of a field in the options struct.
2019-07-09 22:28:44 -07:00
Soheil Hassas Yeganeh 5e35a367d9
Revert "Clearly callout the behavior for listening ports." 2019-07-03 18:52:29 -04:00
Moiz Haidry 5ae9afdc55
Merge pull request #19517 from mhaidrygoog/grpc_to_grpc_impl_async_callback
Move grpc async, callback and sync implementation to grpc_impl namespace
2019-07-03 13:56:36 -07:00
Moiz Haidry d8c0182360 Expose some of the internal codegen interfaces 2019-07-02 12:32:14 -07:00
Soheil Hassas Yeganeh def083b2c8 Clearly callout the behavior for listening ports.
This is to clarify that the port number is a required part
of the listening address.
2019-07-02 14:37:54 -04: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 bddcb6c906 Don't move ServerContext to impl 2019-06-26 14:28:34 -07:00
Karthik Ravi Shankar 748b932d02 Fix header guards 2019-06-26 12:32:31 -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 63083d4472 Code cleanup 2019-06-21 11:19:34 -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
Moiz Haidry 186875337c Sync with master 2019-06-11 16:16:27 -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
yang-g c156653997 Add listner fd as part of the external connection parameters 2019-06-03 10:38:37 -07:00
Yash Tibrewal 32a37e235a
Merge pull request #19142 from yashykt/interceptionfix
Fix a bug where POST_RECV_MESSAGE was not being triggered
2019-05-30 16:27:32 -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 3893a6379b Clean up 2019-05-28 11:57:57 -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
Yash Tibrewal 4746a8734d Merge branch 'master' into validatesvccfg 2019-05-24 15:27:16 -07:00
Yash Tibrewal 886dc10daa Move validate_service_config to a new file 2019-05-24 14:29:16 -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
jiangtaoli2016 3693fe84cf Update comment on ssl hotname override 2019-05-22 22:37:15 -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
kwasimensah 12ffbb8a83
Add MessageLite type to grpc's config 2019-05-21 01:27:59 -04:00
Yash Tibrewal f63dde8e8e Make validation function a global function 2019-05-20 11:45:07 -07:00
Yang Gao c4cb6e1787
Merge pull request #19016 from yang-g/message_allocator
Update the message allocator API
2019-05-20 08:49:14 -07:00
yang-g 6215ccb587 resolve comments 2019-05-17 16:22:43 -07:00
Karthik Ravi Shankar 03b079499c Move CompletionQueue and Channel 2019-05-17 09:16:32 -07:00