Craig Tiller
dbb5164ac7
[clang-format] Remove custom clang-format rules for include ordering ( #37820 )
...
Closes #37820
PiperOrigin-RevId: 682352913
2 months ago
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
e9b287997a
Remove `include/grpcpp/impl/codegen/sync.h` ( #31545 )
...
* Remove `include/grpcpp/impl/codegen/sync.h`
* Fix sanity tests
2 years ago
Cheng-Yu Chung
47b9a57de9
Remove `g_glip` and `class GrpcLibraryInterface` ( #30414 )
...
* Remove `g_glip` and `class GrpcLibraryInterface`
* Update
* Update
* Update
* Automated change: Fix sanity tests (#20 )
* Update
* Update
* Update
* Test
* Fix
* Revert "Test"
This reverts commit 2f5c77e98d
.
* More fix
* More fix
* More fix
* Minor fix
* Revert "Minor fix"
This reverts commit 1ee3ae4da1
.
* Revert "More fix"
This reverts commit 1fc234896b
.
* Revert "More fix"
This reverts commit 851393c0e6
.
* Revert "More fix"
This reverts commit ed342a51d0
.
* Revert "Fix"
This reverts commit 286ad8e639
.
2 years ago
Cheng-Yu Chung
e60140676a
Remove `include/grpcpp/impl/codegen/channel_interface.h` ( #31312 )
...
* Remove `include/grpcpp/impl/codegen/channel_interface.h`
* Update
2 years ago
Cheng-Yu Chung
cc58369279
Remove `include/grpcpp/impl/codegen/completion_queue.h` ( #31059 )
...
* Remove `include/grpcpp/impl/codegen/completion_queue.h`
* Update
* Update
* Fix build error
* Update
2 years ago
Cheng-Yu Chung
a192f155b9
Remove `include/grpcpp/impl/codegen/config.h` ( #31061 )
...
* Remove `include/grpcpp/impl/codegen/config.h`
* Update
2 years ago
Cheng-Yu Chung
0cb5faf8e4
Remove `include/grpcpp/impl/codegen/client_interceptor.h` ( #31054 )
...
* Remove `include/grpcpp/impl/codegen/client_interceptor.h`
* Update comment
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
Vijay Pai
dc6948cf35
Use atomics to remove locks in Channel/Server::CallbackCQ() ( #26091 )
4 years ago
Esun Kim
decc199ca8
Fix by clang-tidy
4 years ago
Karthik Ravi Shankar
751b9c105f
Move ClientContext from ::grpc_impl to ::grpc
...
Reverts: https://github.com/grpc/grpc/pull/19261
4 years ago
Karthik Ravi Shankar
15cce00f52
Revert "Revert "Fold Channel and CompletionQueue from grpc_impl to grpc""
4 years ago
Karthik Ravi Shankar
f3f9e8941a
Revert "Fold Channel and CompletionQueue from grpc_impl to grpc"
4 years ago
Karthik Ravi Shankar
ab775de1a2
Build and formatting fixes
4 years ago
Karthik Ravi Shankar
3c2f4b40e3
Fold Channel and CompletionQueue from grpc_impl to grpc
...
Reverts: https://github.com/grpc/grpc/pull/19067
4 years ago
Karthik Ravi Shankar
40210d3b8a
Move Channel to grpc_impl
6 years ago
Karthik Ravi Shankar
e8bfcf829c
Fix erroneous header guards
6 years ago
Karthik Ravi Shankar
3996599392
Fix clang script errors
6 years ago
Karthik Ravi Shankar
772a74aced
Revert changes to Channel
6 years ago
Soheil Hassas Yeganeh
2b9448a71c
Revert "Revert "Introduce C++ wrappers for gpr_mu and gpr_cv.""
...
This reverts commit d09c9f8e20
.
6 years ago
Alexander Polcyn
d09c9f8e20
Revert "Introduce C++ wrappers for gpr_mu and gpr_cv."
...
This reverts commit a26c09dd25
.
6 years ago
Karthik Ravi Shankar
62fb156122
Fold CompletionQueue and ServerCompletionQueue into grpc_impl
6 years ago
Karthik Ravi Shankar
973fa6950e
Fold Channel into grpc_impl from grpc namespace
6 years ago
Soheil Hassas Yeganeh
e85dd2e644
Fix build errors
6 years ago
Karthik Ravi Shankar
f03b309787
Revert "Merge pull request #18458 from grpc/grpc_namespace_server"
...
This reverts commit dc1089a6d1
, reversing
changes made to 31843787cc
.
This change also includes - Revert "Merge pull request #17932 from soheilhy/gprpp-mutex"
This reverts commit df4b6a763d
, reversing
changes made to dc1089a6d1
.
6 years ago
Karthik Ravi Shankar
dad3f34207
Revert "Revert "Revert "Folding the Channel class into the grpc_impl namespace."""
6 years ago
Karthik Ravi Shankar
b84d3db762
Fix build after merge from master
6 years ago
Soheil Hassas Yeganeh
a26c09dd25
Introduce C++ wrappers for gpr_mu and gpr_cv.
...
Introduce RAII wrappers in the grpc::internal and grpc_core
namespaces, and use them in place of std::mutex and
std::condition_variable.
Note that, since std::mutex is also used by the public
C++ headers we cannot introduce these wrappers in grpc_core.
Also, note that in grpcpp we cannot use gRPC core and vice versa.
So we had to duplicate the code, once using core_codegen_interface
and once using direct calls.
6 years ago
Nicolas Noble
91ad888497
Revert "Revert "Folding the Channel class into the grpc_impl namespace.""
6 years ago
Nicolas Noble
2ad245cb0c
Revert "Folding the Channel class into the grpc_impl namespace."
6 years ago
Nicolas "Pixel" Noble
3e30c38f1c
Adressing comments.
6 years ago
Nicolas "Pixel" Noble
2fd079ff7c
Channel folding.
6 years ago
Yash Tibrewal
626f1c9d53
Remove the std::unique_ptr, instead use move semantics everywhere
6 years ago
Yash Tibrewal
0390b29e15
Register global interceptors functionality
6 years ago
Yash Tibrewal
c2e3fde9b5
Rename call.h to call_op_set.h and call_wrapper.h to call.h
6 years ago
Yash Tibrewal
9b83b7d19e
Adding intercepted channel
6 years ago
Yash Tibrewal
a1598c5abf
Create interfaces and initial plumbing for interception API
6 years ago
Vijay Pai
20778b0c46
Address reviewer comments
6 years ago
Vijay Pai
8bf52535d1
Provide a generic client-side unary callback API
6 years ago
Mark D. Roth
f7e72560b6
Add experimental API for resetting connection backoff.
6 years ago
Muxi Yan
0e00c43082
Move headers from grpc++ to grpcpp
7 years ago
Vijay Pai
06e174a088
Separate public and internal C++ interfaces
7 years ago
Yuchen Zeng
b4481a9a13
Share one monitoring thread between channels
7 years ago
Yuchen Zeng
2411bacd04
Address review comments
7 years ago
Yuchen Zeng
be9b814240
Add ChannelConnectivityWatcher
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
7 years ago