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
Alisha Nanda
0a502d8f2e
Fix race between Read and ServerContext::IsCancelled in Sync API ( #27056 )
...
* Fix OOM issues in qps tests
* Add more verbose logging.
* Fix clang error
* Fix race between IsCancelled and Read
* Fix build errors from using bool in C code
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
Karthik Ravi Shankar
67667eb7b6
Revert ...
4 years ago
Moiz Haidry
d8c0182360
Expose some of the internal codegen interfaces
6 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
Moiz Haidry
fbd5957ee8
Sanity and build fixes
6 years ago
Moiz Haidry
3ce20819cf
Modify codegen to use grpc_impl namespace and other cleanups
6 years ago
SataQiu
c4a2069d9c
fix spelling errors of include/*
6 years ago
SataQiu
b416019f72
fix spelling errors of include/*
6 years ago
Yash Tibrewal
c6261f4b91
Rename new SendMessage types to SendMessagePtr
6 years ago
Yash Tibrewal
4aeba42528
Provide GetOriginalSendMessage for some APIs
6 years ago
Yash Tibrewal
cc8c27950c
Change types to use C++ types rather than core types
6 years ago
Vijay Pai
e84096bbe5
Experimental infrastructure for callback-based CQ
6 years ago
Muxi Yan
0e00c43082
Move headers from grpc++ to grpcpp
7 years ago
Vijay Pai
7a648854e9
Adopt the static factory pattern ( #10 )
...
* Switch sync streams from "struct internal" to static factory in namespace internal
* Reduce diff size
* fix friends
* Use static factory pattern for async unary calls
* Use static factories for async streams
* clang-format
7 years ago
Vijay Pai
06e174a088
Separate public and internal C++ interfaces
7 years ago
Blair Kutzman
c64be96372
Correct spelling of 'client'.
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
8 years ago
ncteisen
36bb8a0006
s/hanging/pending/g
8 years ago
ncteisen
43f2b55a07
Add repro and fix to bidi case
8 years ago
ncteisen
95f7a51746
Fix writelast bug
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Alexander Polcyn
bb2c338924
format changes, address comments
8 years ago
Alexander Polcyn
d6ba5ecc34
fix bad line breaks and lengths
8 years ago
Alexander Polcyn
41ff2e1ee6
address comments, format changes
8 years ago
Alexander Polcyn
0f02908e67
address comments
8 years ago
Alexander Polcyn
d809a15ec4
cpp doc nits
8 years ago
Alexander Polcyn
f5521c33f9
Revert "Merge branch 'master' into v1.3.x"
...
This reverts commit 79759fea1a
, reversing
changes made to dc36f4df6a
.
8 years ago
Craig Tiller
75bfb97548
Finish hybrid server stuff, ensure it gets tested
8 years ago
Sree Kuchibhotla
2c614a7a7b
clang
8 years ago
Sree Kuchibhotla
5bec133ba0
clang format
8 years ago
Sree Kuchibhotla
f2c32150ef
Update C++ code
8 years ago
Yuxuan Li
bdc76ab37b
bug fix
8 years ago
Yuxuan Li
34894e4b1c
Implemented stream coalescing design
...
(RFC:https://github.com/grpc/proposal/pull/3 ). Add necessary
microbenchmarks to show reduced writes/iter for short streams. Add
necessary end2end test to test out newly added apis. Filter those tests
using *WithCoalescingApi*.
8 years ago
Sree Kuchibhotla
1dbd981cf8
Prefix grpc_cq_polling_type enums with GRPC_CQ_
8 years ago
Sree Kuchibhotla
982a6f2b1c
C++ code changes in response to grpc_completion_queue_create() API change
8 years ago
yang-g
f07ed45439
Restore the NextMessageSize for streamed calls
8 years ago
Craig Tiller
1d77059e4b
Fix integer overflow
8 years ago
Craig Tiller
62f28bfcf0
Remove double-checking of max-message-size in C++ layers
8 years ago
Vijay Pai
c0b2acb1a0
Use C++11 final and override
8 years ago
Vijay Pai
075b18e77f
Bug fix on failure condition
8 years ago
Vijay Pai
db5b1cbc94
Add all plumbing and typedef's for controlled server-side streaming
8 years ago
Mark D. Roth
3ad6188920
Fix a few lingering references to max_message_size.
8 years ago
Vijay Pai
77073ce99f
clang-format
8 years ago
Yuchen Zeng
59e835d431
Add comments
8 years ago
Yuchen Zeng
e0705e2dc2
Add ServerReaderWriterInterface
8 years ago