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
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
Vijay Pai
cf1ebf7387
Remove experimental tag from uses of the C++ callback API ( #26495 )
4 years ago
Vijay Pai
346a00eb31
Cleanup generic server contexts
4 years ago
Alisha Nanda
25c35b6db7
Revert "Revert "Merge pull request #24047 from grpc/revert-23916-server-context""
...
This reverts commit 84c4994dc7
.
4 years ago
Karthik Ravi Shankar
67667eb7b6
Revert ...
4 years ago
Alisha Nanda
84c4994dc7
Revert "Merge pull request #24047 from grpc/revert-23916-server-context"
...
This reverts commit 7c098321bd
, reversing
changes made to d109f4b406
.
4 years ago
Karthik Ravi Shankar
b657c8d79c
Revert "Revert "Move ServerContext from ::grpc_impl to ::grpc""
4 years ago
Karthik Ravi Shankar
f1abdd1725
Revert "Move ServerContext from ::grpc_impl to ::grpc"
4 years ago
Karthik Ravi Shankar
967c0a2a32
Move Server from ::grpc_impl to ::grpc
...
Reverts: https://github.com/grpc/grpc/pull/18458
4 years ago
Karthik Ravi Shankar
56d7d9e804
Move ServerContext from ::grpc_impl to ::grpc
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
Esun Kim
165ee5007a
Replaced grpc::string with std::string
5 years ago
Vijay Pai
1c5aa3c0ad
Remove namespace experimental here also
5 years ago
Vijay Pai
eac7b5ee49
port_platform should be included since that's where NONEXPERIMENTAL is specified
5 years ago
Vijay Pai
94a8c5888a
Remove namespace experimental from namespace grpc_impl
5 years ago
Vijay Pai
be6979202b
Revamp server-side C++ callback API, message allocator, and mocking
5 years ago
Christian Maurer
46dddacdf3
remove all unused-parameter warnings
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
Karthik Ravi Shankar
8b91dc5fd2
Move more of usage to grpc_impl
...
1) Create server_context_impl and completion_queue_impl headers.
2) Move more of usage of ClientContext, ServerContext to grpc_impl
6 years ago
Moiz Haidry
3ce20819cf
Modify codegen to use grpc_impl namespace and other cleanups
6 years ago
Karthik Ravi Shankar
2e88231fc0
Revert "Revert "Merge pull request #18458 from grpc/grpc_namespace_server""
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
Vijay Pai
9169159f30
Comments for all callback API methods
6 years ago
Karthik Ravi Shankar
04af168cf8
Move Server into grpc_impl from grpc
6 years ago
Vijay Pai
05d8ddfc6e
Support callback-based generic service
6 years ago
Mehrdad Afshari
e58d400ba2
Fix type reference in documentation
6 years ago
Mehrdad Afshari
b7b1e77943
Fix minor typo in documentation
6 years ago
ncteisen
93a90e6132
Support codegen generic on server side
7 years ago
Muxi Yan
0e00c43082
Move headers from grpc++ to grpcpp
7 years ago
yang-g
30ced5d09f
Add comments for AsyncGenericService
7 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Vijay Pai
c0b2acb1a0
Use C++11 final and override
8 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Craig Tiller
f40df23eeb
Auto-changes
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
David Garcia Quintas
44f3249018
Introduced ServerInterface
9 years ago
yang-g
4fac82b672
remove outdated api
9 years ago
yang-g
269b8be406
add generic test
9 years ago
David Garcia Quintas
2bf574f814
Added back trailing newlines
9 years ago
murgatroid99
eeb02ba77a
Update copyrights again
9 years ago
vjpai
de332dfcac
Refactor server side to support generic tests.
9 years ago
yang-g
9fb35a5332
split stream.h into sync_stream.h and async_stream.h
9 years ago
yang-g
9e2f90cd06
headers reorg
9 years ago
Craig Tiller
f9e6adf998
Completion queue binding for new requests API change
...
Move completion queue binding for new requests to the new request
request time, not server instantiation time.
10 years ago