Cheng-Yu Chung
3236174176
Remove `include/grpcpp/impl/codegen/byte_buffer.h` ( #30948 )
...
* Remove `include/grpcpp/impl/codegen/byte_buffer.h`
* Update
2 years ago
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.
3 years ago
AJ Heller
e72a5fe5dd
Revert "Avoid fully qualifying namespaces (and add check) ( #28901 )" ( #28916 )
...
This reverts commit fc7314c701
.
3 years ago
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.
3 years ago
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
3 years ago
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>
3 years ago
Esun Kim
a99ead4bf4
Added new method to ByteBuffer & Slice ( #26014 )
4 years ago
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>
4 years ago
Esun Kim
20509e823d
Fix google-explicit-constructor
4 years ago
Vijay Pai
6f7a98916b
Reduce template use in server
4 years ago
Karthik Ravi Shankar
67667eb7b6
Revert ...
4 years ago
Esun Kim
169e775958
Revert "Generic API: assert when sending uninitialized byte buffer"
5 years ago
Hope Casey-Allen
89e5c2f45a
Add assert for API misuse
5 years ago
Karthik Ravi Shankar
29bb3ef973
Remove redundant MethodHandler friend declarations
5 years ago
Karthik Ravi Shankar
28b0671235
Make MethodHandler and related interfaces generic
5 years ago
Moiz Haidry
bf994e48d9
Move grpc async, callback and sync implementation to grpc_impl namespace
6 years ago
Moiz Haidry
1c354e7c1f
Move grpc async, callback and sync implementation to grpc_impl namespace
6 years ago
yang-g
898fc0da1e
More fixes
6 years ago
yang-g
ac3a91edf8
Support accepting external connections.
6 years ago
Vijay Pai
2eb25c871e
Avoid build errors
6 years ago
Vijay Pai
b0b4c0d9c3
Add API comments indicating that byte buffer copy is size-independent
6 years ago
Vijay Pai
2a0c0d7ad6
Streaming API for callback servers
6 years ago
Vijay Pai
84e763f10a
Experimental C++ server callback unary API
6 years ago
Yash Tibrewal
d042a5acf1
some tests fail
6 years ago
Vijay Pai
14ad82a76d
Create a new method handler for resource exhaustion and tie into thread mgr
6 years ago
ncteisen
92c4e0fee0
Rename ProtoBuffer helpers
7 years ago
ncteisen
cf5b2666e1
Make GrpcProtoBufferReaderWriter public
7 years ago
Ara Ayvazyan
4df7438960
Fix ServerInterface::PayloadAsyncRequest to work with ByteBuffer
7 years ago
Muxi Yan
0e00c43082
Move headers from grpc++ to grpcpp
7 years ago
Jan Tattermusch
c9ec2c0888
Revert "Stop using std::thread in C++ library since it can trigger exceptions"
7 years ago
Vijay Pai
b4b0ac7049
Resolve leak by freeing request payload if resources exhausted
7 years ago
Vijay Pai
06e174a088
Separate public and internal C++ interfaces
7 years ago
Vijay Pai
a44cffa11f
Base the new SerializationTraits API on implicit type conversion rather than SFINAE
7 years ago
Vijay Pai
efce6e1e50
Revert "Revert "Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer""
7 years ago
Jan Tattermusch
5432dd8874
Revert "Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer"
7 years ago
Vijay Pai
4433973242
Address review comments
7 years ago
Vijay Pai
677395558d
Allow SerializationTraits to use grpc::ByteBuffer, not just grpc_byte_buffer
7 years ago