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
3236174176
Remove include/grpcpp/impl/codegen/byte_buffer.h ( #30948 )
...
* Remove `include/grpcpp/impl/codegen/byte_buffer.h`
* Update
2022-09-14 16:47:17 -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
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
2021-09-08 12:14:44 -07: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
Esun Kim
a99ead4bf4
Added new method to ByteBuffer & Slice ( #26014 )
2021-05-27 11:18:18 -07:00
WANG Lei
f99a08fe46
Remove unused parameter from UnaryDeserializeHelper ( #25332 )
...
* fix -Wunused-parameter warning
* clang-fmt
* clang-format
Co-authored-by: Vijay Pai <vpai@google.com >
2021-03-02 17:51:36 -08:00
Esun Kim
20509e823d
Fix google-explicit-constructor
2020-12-03 19:22:22 -08:00
Vijay Pai
6f7a98916b
Reduce template use in server
2020-10-21 13:33:16 -07:00
Karthik Ravi Shankar
67667eb7b6
Revert ...
2020-09-03 08:16:10 -07:00
Esun Kim
169e775958
Revert "Generic API: assert when sending uninitialized byte buffer"
2019-12-11 12:58:34 -08:00
Hope Casey-Allen
89e5c2f45a
Add assert for API misuse
2019-12-06 14:45:00 -08: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
Moiz Haidry
bf994e48d9
Move grpc async, callback and sync implementation to grpc_impl namespace
2019-07-01 14:05:54 -07:00
yang-g
898fc0da1e
More fixes
2019-05-07 22:45:39 -07:00
yang-g
ac3a91edf8
Support accepting external connections.
2019-04-30 12:31:34 -07:00
Vijay Pai
2eb25c871e
Avoid build errors
2019-02-26 03:08:06 -08:00
Vijay Pai
b0b4c0d9c3
Add API comments indicating that byte buffer copy is size-independent
2018-12-14 13:52:25 -08:00
Vijay Pai
2a0c0d7ad6
Streaming API for callback servers
2018-11-30 16:14:21 -08:00
Vijay Pai
84e763f10a
Experimental C++ server callback unary API
2018-10-29 13:41:25 -07:00
Yash Tibrewal
d042a5acf1
some tests fail
2018-10-17 22:05:48 -07:00
Vijay Pai
14ad82a76d
Create a new method handler for resource exhaustion and tie into thread mgr
2018-08-14 16:23:21 -07:00
ncteisen
92c4e0fee0
Rename ProtoBuffer helpers
2018-04-12 17:19:54 -07:00
ncteisen
cf5b2666e1
Make GrpcProtoBufferReaderWriter public
2018-04-06 07:05:27 -07:00
Ara Ayvazyan
4df7438960
Fix ServerInterface::PayloadAsyncRequest to work with ByteBuffer
2018-03-30 10:15:27 -07:00
Muxi Yan
0e00c43082
Move headers from grpc++ to grpcpp
2018-02-15 14:49:34 -08:00