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
2 years ago
Cheng-Yu Chung
cb3d7a9e9e
Revert "Revert "Remove `include/grpcpp/impl/codegen/async_unary_call.h`"" ( #30955 )
...
* Revert "Revert "Remove `include/grpcpp/impl/codegen/async_unary_call.h` (#30945 )" (#30950 )"
This reverts commit 0c454fa875
.
* Fix
2 years ago
Craig Tiller
0c454fa875
Revert "Remove `include/grpcpp/impl/codegen/async_unary_call.h` ( #30945 )" ( #30950 )
...
This reverts commit 7dbc73d4f3
.
2 years ago
Cheng-Yu Chung
7dbc73d4f3
Remove `include/grpcpp/impl/codegen/async_unary_call.h` ( #30945 )
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
AJ Heller
5dfeec7a7e
Update docs for ServerAsyncResponseWriter::Finish object lifetimes ( #28290 )
...
Fixes #28239
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
eec81014d8
Revert "async_unary_call: add a Destroy method, called by std::default_delete. ( #26389 )" ( #26449 )
...
This reverts commit b3b036ca17
.
4 years ago
Aaron Jacobs
b3b036ca17
async_unary_call: add a Destroy method, called by std::default_delete. ( #26389 )
...
This implements gRFC L80:
https://github.com/grpc/proposal/blob/a3a0e23b/L80-cpp-async-response-reader-destruction.md
4 years ago
AJ Heller
ec9451e856
Fix typo in documentation
4 years ago
Vijay Pai
afe4d1d086
Reduce templating for async client unary call codegen
4 years ago
Karthik Ravi Shankar
67667eb7b6
Revert ...
4 years ago
Moiz Haidry
d8c0182360
Expose some of the internal codegen interfaces
6 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
Moiz Haidry
fbd5957ee8
Sanity and build fixes
6 years ago
Moiz Haidry
3ce20819cf
Modify codegen to use grpc_impl namespace and other cleanups
6 years ago
Karthik Ravi Shankar
03b079499c
Move CompletionQueue and Channel
6 years ago
Karthik Ravi Shankar
6be0b06c69
Revert "Fold CompletionQueue and ServerCompletionQueue into grpc_impl"
6 years ago
Karthik Ravi Shankar
62fb156122
Fold CompletionQueue and ServerCompletionQueue into grpc_impl
6 years ago
Karthik Ravi Shankar
891b6cf7ae
Revert "Folding CompletionQueue and ServerCompletionQueue."
6 years ago
Nicolas "Pixel" Noble
12b0db3e57
Folding CompletionQueue and ServerCompletionQueue.
6 years ago
Vijay Pai
932abf48a3
Address reviewer comments.
6 years ago
Yash Tibrewal
cc8c27950c
Change types to use C++ types rather than core types
6 years ago
Yash Tibrewal
6fb7bd23bf
s/GPR_ASSERT/GPR_CODEGEN_ASSERT and few more bugs
6 years ago
Yash Tibrewal
63bdf4e236
More changes for client interception
6 years ago
Vijay Pai
cdddc8ce42
Desneak client unary call, avoid Hyrum's Law (used for 1-thread simplicity)
7 years ago
Muxi Yan
0e00c43082
Move headers from grpc++ to grpcpp
7 years ago
yang-g
9c5d8267cd
resolve comments
7 years ago
yang-g
69aec17562
Add dummy operator delete to make VS2015 not complain.
7 years ago
Muxi Yan
38fcd0c6c3
clang-format
7 years ago
Craig Tiller
baa14a975e
Update clang-format to 5.0
7 years ago
Vijay Pai
7a648854e9
Adopt the static factory pattern ( #10 )
...
* Switch sync streams from "struct internal" to static factory in namespace internal
* Reduce diff size
* fix friends
* Use static factory pattern for async unary calls
* Use static factories for async streams
* clang-format
7 years ago
Vijay Pai
06e174a088
Separate public and internal C++ interfaces
7 years ago
Vijay Pai
4b047a3bff
Construction of streams shouldn't require triggering async ops
7 years ago
Vijay Pai
b18ab3f7c8
Delete deprecated constructor and CallOpSetCollectionInterface
7 years ago
jiangtaoli2016
3aaa5ea028
minor fix
7 years ago
yang-g
e8a61d63b5
Add a default delete override for the interface
7 years ago
Vijay Pai
6abd20020b
Revert "Separate internal-only and public parts of C++ API"
7 years ago
Vijay Pai
c0baec60a1
Internalize structs and methods meant for being exposed through codegen
...
or that interface with core and are only for internal use
8 years ago
yang-g
a3d929169f
Use pointer to avoid assignment and race.
8 years ago
Vijay Pai
d35730d185
Fix use of terminal underscores in field names.
8 years ago
Vijay Pai
fc539eb193
Re-enable public constructor for ClientAsyncResponseReader to avoid busting client that bypassed code generator. This code is deprecated-on-arrival as it is a performance pessimization. This code path should not be used.
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Garret Kelly
0cd689202d
Remove extraneous semicolons.
...
Fixes compilation if building with -Wextra-semi.
8 years ago
Alexander Polcyn
bb2c338924
format changes, address comments
8 years ago
Alexander Polcyn
d6ba5ecc34
fix bad line breaks and lengths
8 years ago
Alexander Polcyn
41ff2e1ee6
address comments, format changes
8 years ago