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
Mark D. Roth
1050eedb87
enable clang-tidy readability-static-definition-in-anonymous-namespace check ( #28033 )
3 years ago
Craig Tiller
f1f3ac7f02
Revert "Revert "allow connectivity state watching to work on lame channels ( #27747 )" ( #27766 )" ( #27774 )
...
This reverts commit 790ce5c97f
.
3 years ago
Craig Tiller
790ce5c97f
Revert "allow connectivity state watching to work on lame channels ( #27747 )" ( #27766 )
...
This reverts commit a2bd7b8440
.
3 years ago
Mark D. Roth
a2bd7b8440
allow connectivity state watching to work on lame channels ( #27747 )
...
* allow connectivity state watching to work on lame channels
* fix build
* fix lame_client_test
3 years ago
Esun Kim
ec4c61a3ae
Various fixes on absl::Status migration ( #27557 )
3 years ago
Esun Kim
47586fb36e
Revert "Revert "Added absl::Status support to error_utils ( #27358 )" ( #27418 )" ( #27429 )
...
This reverts commit 933676c56c
.
3 years ago
Craig Tiller
933676c56c
Revert "Added absl::Status support to error_utils ( #27358 )" ( #27418 )
...
This reverts commit 9b3f75d322
.
3 years ago
Esun Kim
9b3f75d322
Added absl::Status support to error_utils ( #27358 )
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
4f9828fe0b
Remove unnecessary include ( #26761 )
3 years ago
Vijay Pai
0f80378a21
Resolve race between OnReadDone(ok=false) and IsCancelled ( #26245 )
...
* Resolve and test race between OnReadDone(ok=false) and IsCancelled
* Fix retry case
* Fix health check case
* Address reviewer comments.
* ADD TODO requested by markdroth
4 years ago
Esun Kim
377fe6095a
Upgrade clang-tidy and clang-format to 11 ( #25590 )
...
* Upgrade clang-tidy and clang-format to 11
* Reformat code
* Fix abseil-string-find-str-contains
* Fix modernize-make-unique
4 years ago
Vijay Pai
dba8bb59a0
Implement callback CQ at C++ layer using shared thread pool if non-background iomgr
4 years ago
Yash Tibrewal
f4e55b85bc
Replace disrespectful term
4 years ago
Esun Kim
53ab235fb8
Fix google-explicit-constructor
4 years ago
Esun Kim
2ff84ed8c2
C++ cast for void*
4 years ago
yang-g
8456e2138a
Check localhost is resolved to ipv4 or ipv6 and update test accordingly.
4 years ago
Esun Kim
e7434d385e
Fix by tidy-modernize-use-override
4 years ago
Esun Kim
6ae8463500
Fix by modernize-make-unique
4 years ago
Vijay Pai
9c5a39c6db
Revert "Merge pull request #23361 from vjpai/em_agnostic_core_callback_cq"
...
This reverts commit a46cb5e86a
, reversing
changes made to b5d42e75fb
.
4 years ago
Vijay Pai
bcb6530717
Revert "Merge pull request #23430 from vjpai/remove_do_not_test"
...
This reverts commit 08d737abf8
, reversing
changes made to 6dc44b33c7
.
4 years ago
Vijay Pai
e1a45fb237
Remove references to skipping callback API tests
4 years ago
Vijay Pai
7ee2bc6db5
EM-agnostic callback completion queue
4 years ago
Esun Kim
165ee5007a
Replaced grpc::string with std::string
4 years ago
Vijay Pai
fa1c66852b
Increase reconnect sleep time to 5x poller interval
5 years ago
Vijay Pai
fe72304e54
Switch registered calls to a map and check the map before inserting
5 years ago
Moiz Haidry
4c5ee108da
Addressed Yang's comments, I have removed usage of const throughout for consistency
5 years ago
Moiz Haidry
67565b767d
CallCredentials debug string API
5 years ago
Vijay Pai
24483d2afd
Address reviewer comments
5 years ago
Vijay Pai
9be35f74c0
Make CancelDelayedRpc test not use sleeps for client-server sync
5 years ago
Prashant Jaikumar
2526dfade5
WIP: Make core and C++ tests work with bazel on Mac OS
5 years ago
Vijay Pai
be6979202b
Revamp server-side C++ callback API, message allocator, and mocking
5 years ago
Esun Kim
e45b60d1fe
Fix unique_ptr<char> memory allocation mismatch
5 years ago
Esun Kim
b2b7fc9af8
Replaced grpc_core::UniquePtr with std::unique_ptr
5 years ago
Vijay Pai
176dfc2289
Remove unused parameter warning (15 of 20)
5 years ago
Vijay Pai
5d7e4bb301
Stop using deprecated gtest macros
5 years ago
Yash Tibrewal
a4cf948b2f
Experimental method to get a debugging only view into credentials
5 years ago
Yash Tibrewal
aa84ceb38e
Add another test for when the credentials were previously set
5 years ago
Yash Tibrewal
361a902262
Reviewer comments
5 years ago
Yash Tibrewal
97f1f57dab
Allow call credentials to be set even after the call is created but before initial metadata is sent
5 years ago
Prashant Jaikumar
9f02fc7f91
Enable end2end C++ tests on iOS.
...
Some e2e tests were disabled on iOS because they hit the Apple CFStream bug.
This commit enables e2e tests and works around the Apple bug by disabling CFStream.
5 years ago
yang-g
91eb1141a9
Ask server to skip cancel check
6 years ago
yang-g
9d3288e408
Fix test bugs
6 years ago
yang-g
47dbf1dd26
Second approach
6 years ago
yang-g
384f15ab6e
Delay calling plugin_creds callback
6 years ago
Esun Kim
90fbdc92f5
Roll-forward "Config migration"
...
This reverts commit 236ae12bb1
.
6 years ago
Vijay Pai
41191323ec
Make sure event_engine is alive before checking for MAYBE_SKIP_TEST
6 years ago