Yijie Ma
f99b8b5bc4
Convert c-style comments to C++-style comments ( #31923 )
...
* baseline
* fix clang-tidy
* manually revert these files
* manually fixup at eof
* revert 2 more files
* change check_deprecated_grpc++.py
* change end2end_defs.include template
* fix check_include_guards.py
* untrack tools/distrib/python/convert_cstyle_comments_to_cpp.py
not yet ready to be submitted
* fix
yapf check_include_guards.py
remove a space...
* fix version.cc.template
* fix version_info.h.template
2022-12-22 23:01:53 -08:00
Cheng-Yu Chung
bc312c7a43
Remove `include/grpcpp/impl/codegen/call.h` ( #31004 )
...
* Remove `include/grpcpp/impl/codegen/call.h`
* Update comment
2022-09-16 17:22:04 -04:00
AJ Heller
85189b24bb
Reintroduce: Avoid fully qualifying namespaces (and add check) ( #28917 )
...
Based on a handful of https://abseil.io/tips , it's generally advised to
only fully-qualify namespaces when in a `using` statement, or when it's
otherwise required for compilation. In all other cases, the general
recommendation is to not fully-qualify.
This change fixes most `grpc.*` namespace uses. There are potential
challenges in trying to make blanket changes to non-gRPC namespace uses,
such as `::testing`, since there is also a `grpc::testing` namespace.
2022-02-18 16:18:54 -08:00
AJ Heller
e72a5fe5dd
Revert "Avoid fully qualifying namespaces (and add check) ( #28901 )" ( #28916 )
...
This reverts commit fc7314c701 .
2022-02-17 17:56:19 -08:00
AJ Heller
fc7314c701
Avoid fully qualifying namespaces (and add check) ( #28901 )
...
Based on a handful of https://abseil.io/tips , it's generally advised to
only fully-qualify namespaces when in a `using` statement, or when it's
otherwise required for compilation. In all other cases, the general
recommendation is to not fully-qualify.
This change fixes most `grpc.*` namespace uses. There are potential
challenges in trying to make blanket changes to non-gRPC namespace uses,
such as `::testing`, since there is also a `grpc::testing` namespace.
2022-02-17 16:23:25 -08:00
Craig Tiller
28316341bf
Annotate impl/codegen with IWYU pragmas ( #27252 )
...
* Add a tool to annotate impl/codegen with IWYU pragmas
* xx
* oops
* fmt
* x
* fix wrong direction bug
* use defaultdict
* better annotations
* better annotations
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-09-08 09:13:03 -07:00
Karthik Ravi Shankar
15cce00f52
Revert "Revert "Fold Channel and CompletionQueue from grpc_impl to grpc""
2020-08-06 20:42:54 -07:00
Karthik Ravi Shankar
f3f9e8941a
Revert "Fold Channel and CompletionQueue from grpc_impl to grpc"
2020-08-06 15:56:09 -07:00
Karthik Ravi Shankar
3c2f4b40e3
Fold Channel and CompletionQueue from grpc_impl to grpc
...
Reverts: https://github.com/grpc/grpc/pull/19067
2020-07-30 16:45:28 -07:00
Karthik Ravi Shankar
03b079499c
Move CompletionQueue and Channel
2019-05-17 09:16:32 -07:00
Karthik Ravi Shankar
6be0b06c69
Revert "Fold CompletionQueue and ServerCompletionQueue into grpc_impl"
2019-05-15 13:38:34 -07:00
Karthik Ravi Shankar
62fb156122
Fold CompletionQueue and ServerCompletionQueue into grpc_impl
2019-04-11 13:16:32 -07:00
Karthik Ravi Shankar
891b6cf7ae
Revert "Folding CompletionQueue and ServerCompletionQueue."
2019-04-10 10:22:59 -07:00
Nicolas "Pixel" Noble
12b0db3e57
Folding CompletionQueue and ServerCompletionQueue.
2019-02-14 20:01:14 +01:00
Yash Tibrewal
c2e3fde9b5
Rename call.h to call_op_set.h and call_wrapper.h to call.h
2018-10-26 15:15:48 -07:00
Yash Tibrewal
cc21d32c77
Some cleanup
2018-10-26 00:13:55 -07:00
Yash Tibrewal
3896dabb85
Merge branch 'master' into interceptors
2018-10-25 19:50:10 -07:00
Yash Tibrewal
a094b7b312
Added server async tests
2018-10-25 19:24:30 -07:00
Yash Tibrewal
62280b42c7
Add client streaming, server streaming and bidi streaming tests
2018-10-23 21:08:39 -07:00
Yash Tibrewal
4da91c1156
First test for server interception
2018-10-23 13:56:36 -07:00
Yash Tibrewal
d8cfd96fb2
Adding tests using the callback API
2018-10-22 16:43:43 -07:00
Yash Tibrewal
b358ef85dc
Merge branch 'master' into interceptors
2018-10-22 10:39:27 -07:00
Yash Tibrewal
9b83b7d19e
Adding intercepted channel
2018-10-22 02:42:03 -07:00
Vijay Pai
ce4bd108ea
Fix CallOpSet copy/assignment to reset cq_tag
2018-10-19 17:17:34 -07:00
Yash Tibrewal
52765e9cb1
Don't expose internal functions.. Add a layer of indirection namely InternalInterceptorBatchMethods
2018-10-19 17:07:05 -07:00
Yash Tibrewal
456231b26d
Server side interception for CompletionOp and AsyncRequest
2018-10-18 22:43:49 -07:00
Yash Tibrewal
adca91f6cf
Server interception for SyncRequest
2018-10-18 16:07:00 -07:00
Yash Tibrewal
d042a5acf1
some tests fail
2018-10-17 22:05:48 -07:00
Yash Tibrewal
0b785ae8cf
Remove unneeded file
2018-10-17 14:37:35 -07:00
Yash Tibrewal
af621c7705
Add method to register server creators
2018-10-17 12:32:53 -07:00
Yash Tibrewal
b232bacf27
Starting on server interceptors
2018-10-16 14:11:07 -07:00
Yash Tibrewal
f9fe345553
Add more tests for client interceptors
2018-10-16 14:11:07 -07:00
Yash Tibrewal
cc8c27950c
Change types to use C++ types rather than core types
2018-10-16 14:10:48 -07:00
Yash Tibrewal
6fb7bd23bf
s/GPR_ASSERT/GPR_CODEGEN_ASSERT and few more bugs
2018-10-16 14:10:30 -07:00
Yash Tibrewal
6f05a711e6
Adding a test
2018-10-16 14:10:17 -07:00
Yash Tibrewal
63bdf4e236
More changes for client interception
2018-10-16 14:10:02 -07:00
Yash Tibrewal
5d831da9d1
Adding hook points for interception. Code compiles and tests still run
2018-10-16 14:09:34 -07:00
Vijay Pai
3bc10c0f44
Merge pull request #16492 from vjpai/client_callback
...
EXPERIMENTAL: C++ generic client-side unary callback API
2018-09-12 09:03:49 -07:00
Vijay Pai
20778b0c46
Address reviewer comments
2018-09-11 09:14:57 -07:00
Vijay Pai
8bf52535d1
Provide a generic client-side unary callback API
2018-08-30 15:46:27 -07:00
ncteisen
743d40d635
Lazily fill metadata map
2018-08-28 17:00:20 -07:00
Yash Tibrewal
73a124fcfb
Wire to socket doc change
2018-06-20 13:34:33 -07:00
yang-g
801e566622
handle empty slice explicitly
2018-06-08 10:29:07 -07:00
Vijay Pai
a4da2d2a54
Eliminate existence of SneakyCallOpSet, some server cleanup
2018-03-22 19:09:01 -07:00
Muxi Yan
0e00c43082
Move headers from grpc++ to grpcpp
2018-02-15 14:49:34 -08:00