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
mkruskal-google
2bf75aa68a
Add optional suffix to client-side stub objects ( #25996 )
...
* Adding suffix for stats handling to gRPC
* Fixing typo
* Fixing codegen, adding tests
* Fixing test failures
* Adding nullptr default in StubOptions
* Updating golden test file
* Replacing std::make_unique with absl::make_unique for pre-C++14 compatibility
* Fixing clang format errors
* Reuse stub options for generic stubs
* Cleaning up compiler warnings in GenericStub
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
3c2f4b40e3
Fold Channel and CompletionQueue from grpc_impl to grpc
...
Reverts: https://github.com/grpc/grpc/pull/19067
4 years ago
Vijay Pai
9274674906
Revert one change back to an iterated loop rather than range-based
5 years ago
Vijay Pai
d8d157effa
Use range-based fors in include/grpcpp
5 years ago
Karthik Ravi Shankar
7e18e6cf3f
Fix clang errors.
6 years ago
Karthik Ravi Shankar
522ddfe273
Move ClientContext to grpc_impl
...
ClientContext is another file which needs to be moved from grpc to
grpc_impl for referencing it.
6 years ago
Karthik Ravi Shankar
40210d3b8a
Move Channel to grpc_impl
6 years ago
Karthik Ravi Shankar
772a74aced
Revert changes to Channel
6 years ago
Karthik Ravi Shankar
973fa6950e
Fold Channel into grpc_impl from grpc namespace
6 years ago
Karthik Ravi Shankar
dad3f34207
Revert "Revert "Revert "Folding the Channel class into the grpc_impl namespace."""
6 years ago
Nicolas Noble
91ad888497
Revert "Revert "Folding the Channel class into the grpc_impl namespace.""
6 years ago
Yuwei Huang
3cbf4f50ea
Remove extra semicolons after function definitions
...
We are planning to enable -Wextra-semi flag in our project but some
header files in gRPC have extra semicolons that violates the check and
blocks us from enabling the flag.
This change removes unnecessary semicolons in the code. Note that having
semicolon after the GRPC_ABSTRACT macro technically also violates the
check, but it's fine for us since they are not used in public headers,
and it will be confusing to have lines ending only with GRPC_ABSTRACT,
so I keep them as-is.
6 years ago
Nicolas Noble
2ad245cb0c
Revert "Folding the Channel class into the grpc_impl namespace."
6 years ago
Yash Tibrewal
50497c2317
Reviewer comments
6 years ago
Yash Tibrewal
c71b2f4fb7
Global Interceptor Registration allowed only once
6 years ago
Nicolas "Pixel" Noble
cabbd35014
Reformat.
6 years ago
Nicolas "Pixel" Noble
2fd079ff7c
Channel folding.
6 years ago
Vijay Pai
cfe08f35f3
Add comments explaining purpose and validity of interception API
6 years ago
Yash Tibrewal
d590583456
Allow interceptor creators to return nullptr
6 years ago
Vijay Pai
97de30d7b3
Allow the interceptor to know the method type
6 years ago
Yash Tibrewal
857e79ce00
Improve documentation
6 years ago
Yash Tibrewal
0390b29e15
Register global interceptors functionality
6 years ago
Yash Tibrewal
85ddf5c713
Get ClientContext included with ChannelInterface, and slight more cleanup
6 years ago
Yash Tibrewal
395edbfa24
Replace size_t initialization from false to 0
6 years ago
Yash Tibrewal
005eb29298
Missed reviewer comments
6 years ago
Yash Tibrewal
1ea195b6f3
Reviewer comments except for void * fixed
6 years ago
Yash Tibrewal
9b83b7d19e
Adding intercepted channel
6 years ago
Yash Tibrewal
3a17f5b05e
Working on tests
6 years ago
Yash Tibrewal
52765e9cb1
Don't expose internal functions.. Add a layer of indirection namely InternalInterceptorBatchMethods
6 years ago
Yash Tibrewal
b232bacf27
Starting on server interceptors
6 years ago
Yash Tibrewal
f9fe345553
Add more tests for client interceptors
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
Yash Tibrewal
5d831da9d1
Adding hook points for interception. Code compiles and tests still run
6 years ago
Yash Tibrewal
b741edf37e
Error fixes
6 years ago
Yash Tibrewal
a1598c5abf
Create interfaces and initial plumbing for interception API
6 years ago
Juanli Shen
be40b0d3a8
Add server load reporting service
6 years ago
Juanli Shen
291bbc7014
Add load reporter
7 years ago
Yihua Zhang
04fb58efbd
Add ALTS code to grpc/core
7 years ago
Alexander Polcyn
db3e898a98
Add a sanity check for inclusion of port_platform.h
7 years ago
Muxi Yan
38fcd0c6c3
clang-format
7 years ago
Craig Tiller
baa14a975e
Update clang-format to 5.0
7 years ago
Yash Tibrewal
83062842c3
Changes for C to C++. Adding extern C to header files for compatibility.
...
Also converting to .cc
7 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
murgatroid99
7871f736ce
Remove sockaddr type structs and socklen_t from internal core APIs, update POSIX tests
8 years ago
murgatroid99
9030c81f20
Add a libuv endpoint to the C core, for use in the Node library
8 years ago