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
Esun Kim
2ff84ed8c2
C++ cast for void*
4 years ago
Mark D. Roth
27e1c1c56d
clang-tidy: enable google-readability-braces-around-statements
4 years ago
Esun Kim
aae4f4cf18
Fix by misc-unused-using-decls
4 years ago
Esun Kim
3fef4e7435
Fix by readability-redundant-smartptr-get
4 years ago
Esun Kim
6ae8463500
Fix by modernize-make-unique
4 years ago
Yash Tibrewal
e310d4366c
Receive SETTINGS frame on clients before declaring subchannel READY
4 years ago
Esun Kim
165ee5007a
Replaced grpc::string with std::string
4 years ago
Moiz Haidry
da85cec0f2
Add condition to avoid duplicate shutdown
5 years ago
Moiz Haidry
f4b1182a10
Addressed review comments
5 years ago
Moiz Haidry
6d984166bd
Porting Aaron Jacob's unit test that detecting the race
5 years ago
Karthik Ravi Shankar
60bdeef9f4
Move Channel also to impl for now
6 years ago
Karthik Ravi Shankar
603d014f0e
Changes to fold credentials into grpc_impl from grpc
6 years ago
Vijay Pai
b20f158922
Deflake a shared CQ usage
6 years ago
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
6 years ago
Vijay Pai
b4109be584
Confirm that generic API method name is not needed after call creation
6 years ago
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
7 years ago
Vijay Pai
da69355f30
C++ize gpr_thread as grpc_core::Thread, make it 2-phase init (construct/Start)
7 years ago
Vijay Pai
c745690caf
Internalize gpr_thd except for id and currentid
7 years ago
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
7 years ago
Muxi Yan
6f0b195d20
Replace GRPC_COMPRESS_MESSAGE_* with GRPC_COMPRESS_*
7 years ago
Vijay Pai
dcd5ef3ad8
Deprecate GenericStub()::Call for multi-threaded use
7 years ago
Muxi Yan
38fcd0c6c3
clang-format
7 years ago
yang-g
0b9b7d2610
Use same cq for client and server
7 years ago
Craig Tiller
baa14a975e
Update clang-format to 5.0
7 years ago
Muxi Yan
8fa4d15513
Fix C++ builds
7 years ago
Vijay Pai
2046d0b3c5
Add unary call mode to GenericStub to allow generic RPC with 1 CQ trip
7 years ago
Craig Tiller
ff58b27696
Make generic_test tolerant of encoding
7 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
yang-g
a044f6d3f5
Propagate deadline to GenericServerContext
8 years ago
Nicolas "Pixel" Noble
3726e3d37b
Moving gtest include down.
...
In some cases, depending on the direction of the wind, and the phase of the moon, gtest can interfere with protobuf badly with macros cross-pollution between the two projects. Moving the gtest inclusion at the end makes the problem go away.
8 years ago
Vijay Pai
c0b2acb1a0
Use C++11 final and override
8 years ago
yang-g
17487f9a22
Make grpc++ independent of protobuf
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
yang-g
f64befd27f
Make a copy of ByteBuffer when writing
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
yang-g
4fac82b672
remove outdated api
9 years ago
yang-g
9f17314a35
move utilities to a separate file
9 years ago
Sree Kuchibhotla
5a05f51a1c
Rename TestService to EchoTestService to prevent name-conflict with
...
'TestService' in test.proto
9 years ago
murgatroid99
3466c4b55d
Updated copyrights
9 years ago
Craig Tiller
7536af02cf
Eliminate gpr_ int types - and insist on C99 variants instead
9 years ago
Craig Tiller
1b4e33029e
Consolidate C++ proto files under src/proto
...
- make the directory structure match the package structure
- sanitize the package structure (test --> testing)
- add auto-detection of proto file dependencies
9 years ago
vjpai
ba2b8ed553
Add a case to cover multiple adds of generic service
9 years ago
Julien Boeuf
e5adc0eb67
Fixing Cpp tests.
9 years ago
Julien Boeuf
0d47192afa
Fixing headers and paths after merge with upstream.
9 years ago
Julien Boeuf
5be92a316d
Shuffling headers around.
9 years ago
yang-g
730055d962
implementation fix
9 years ago
Craig Tiller
dc31ef38d2
Loosen test requirements to better fit spec
9 years ago