AJ Heller
b8e01f73a0
Revert "Revert "Revert "File watcher authorization policy provider implementation"" ( #27605 )" ( #27644 )
...
This reverts commit 5912aedb2b
.
4 years ago
Esun Kim
ec4c61a3ae
Various fixes on absl::Status migration ( #27557 )
4 years ago
Ashitha Santhosh
5912aedb2b
Revert "Revert "File watcher authorization policy provider implementation"" ( #27605 )
...
* Revert "Revert "File watcher authorization policy provider implementation (#26779 )" (#27591 )"
This reverts commit a1ad74f7af
.
* Remove license comment
4 years ago
Craig Tiller
a1ad74f7af
Revert "File watcher authorization policy provider implementation ( #26779 )" ( #27591 )
...
This reverts commit 310accd077
.
4 years ago
AJ Heller
f5b3a49af6
Describe support-levels for undocumented supported platforms ( #27363 )
...
Quite a few platforms were missing from this list. No new support is
being added, this PR just documents the current state of affairs.
4 years ago
Ashitha Santhosh
310accd077
File watcher authorization policy provider implementation ( #26779 )
...
* File watcher authorization policy provider implementation
4 years ago
Yash Tibrewal
36b0e06e20
OpenCensusCallTracer: Move context generation to StartTransportStreamOpBatch ( #27523 )
...
* OpenCensusCallTracer: Move context generation to StartTransportStreamOpBatch
* Reviewer comments
4 years ago
Craig Tiller
9b41852a5e
channel_init --> core configuration system ( #27347 )
...
* channel_init --> core configuration system
* Automated change: Fix sanity tests
* fixes
* Automated change: Fix sanity tests
* fixes
* fixes
* eliminate grpc_base_c
* fixes
* fix merge
* fix
* update visibility
* fixes
* feedback
* fix comment
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
4 years ago
Esun Kim
5690ea0106
Added gcc11 and clang12 tests ( #27190 )
4 years ago
Austin Schuh
d30404868f
ARM and -Wextra fixups ( #19141 )
...
* Make generated code compile with -Wunused-parameters
-Wunused-parameters is turned on by -Werror -Wextra. gRPC code
generation creates header files with unused parameters. So let's modify
the generator to not generate code which will make -Wunused-parameters
unhappy.
* Fix unsigned vs signed comparisons and 32 bit string formats
Fix unsigned vs signed comparison warnings.
For 64 bit numbers printed in gRPC, the string formats assume that you
are running on a 64 bit machine. Use inttypes.h to make it portable.
Also, use size_t format strings for the same reason.
* Fix unaligned memory access
cost_entry_ptr has no alignment guarentees that ubsan can find. So it
fails the test with an alignment problem. Use memcopy to read the data
from the pointer to fix this.
* Fix undefined behavior with memcpy and memcmp
Passing in a 0 length piece of data and a null pointer is undefined
behavior. If the length is 0, don't pass it in. This fixes ubsan
failures.
* Clang-format
* Automated change: Fix sanity tests
4 years ago
Craig Tiller
06ef5893f8
Metadata: replace usage of grpc_metadata_batch_remove with Remove method ( #27420 )
4 years ago
Craig Tiller
ffb2c5e599
Metadata: replace usage of grpc_metadata_batch_link_{head,tail} with Link{Head,Tail} method ( #27419 )
...
* Metadata: replace usage of grpc_metadata_batch_link_{head,tail} with Link{Head,Tail} method
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
4 years ago
Craig Tiller
b669a3c521
Revert "Revert "a useful change ( #27381 )" ( #27411 )" ( #27412 )
...
This reverts commit 5db17f7350
.
4 years ago
Craig Tiller
9872da79a1
Eliminate grpc_metadata_batch_{init,destroy,move} ( #27349 )
...
* Eliminate grpc_metadata_batch_{init,destroy,move}
* fixes
* fixes
* fixes
* fixes
* portability fixes
* fixes
* fix
* fix
* fix
* be explicit about being explicit
4 years ago
Craig Tiller
5db17f7350
Revert "a useful change ( #27381 )" ( #27411 )
...
This reverts commit 11eb70bbed
.
4 years ago
Craig Tiller
11eb70bbed
a useful change ( #27381 )
...
* a useful change
* Automated change: Fix sanity tests
* fix
* fix
* QsortCompare it is!
* Automated change: Fix sanity tests
* add missing header
* clang-tidy fixes, tweak clamp to only use <
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
4 years ago
donnadionne
b9a997be11
Bump version to v1.41.0 ( #27370 )
...
* Bump version to v1.41.x
* Regenerate projects
4 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
4 years ago
Craig Tiller
fd233193ec
Encapsulate metadata aggregates ( #27262 )
...
* Encapsulate metadata aggregates
* Automated change: Fix sanity tests
* add const
* Automated change: Fix sanity tests
* add a comment about an awful api
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
4 years ago
Yash Tibrewal
72171a3326
De-experimentalize XdsCredentials and XdsServerCredentials API ( #26544 )
...
* De-experimentalize XdsCredentials and XdsServerCredentials API
* Use GRPC_DEPRECATED
4 years ago
Craig Tiller
5765d320d2
Remove unused APIs ( #27270 )
4 years ago
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
4 years ago
donnadionne
f9a2a7401a
Upgrade third_party/protobuf to v3.17.3 ( #27227 )
...
* update protobuf dependency
* version changes and generated files
* updating upb to use the latest proto and regen files
4 years ago
Craig Tiller
b062fcd5c6
Ensure consistency of include style for <grpc.* headers ( #27233 )
...
* Add a tool to ensure consistency in how grpc public headers are included
* Apply tool
* add to test suite
* isort
4 years ago
Yash Tibrewal
9e4c657fa3
C++ opencensus filter: Fix point of creating context for overall call ( #27221 )
4 years ago
AJ Heller
f84f3a7522
Fix potential nullptr names in resource_user/slice_allocator creation ( #27154 )
...
absl::string_view permits construction with nullptr, which yields UB.
This PR fixes all call sites that could have created these objects with
nullptr names.
4 years ago
Nicolas 'Pixel' Noble
69661fb82e
Regenerate projects
4 years ago
Yash Tibrewal
1040c1b90a
Add note on officially supported platforms ( #22344 )
...
* Add initial section on support
* Update src/cpp/README.md
Co-Authored-By: Nicolas Noble <nicolasnoble@users.noreply.github.com>
* Reviewer comments
* Reviewer comments
Co-authored-by: Nicolas Noble <nicolasnoble@users.noreply.github.com>
4 years ago
Yash Tibrewal
1b3e1541fa
Open census call attempt span name and attribute changes ( #26889 )
...
* C++ OpenCensus filter: Add attributes to per-attempt span
* Reviewer comments
* Reviewer comment
* Remove extraneous assert
4 years ago
Tamir Duberstein
013e67a029
Deprecate grpc{_core,::internal}::WaitUntil ( #26866 )
...
It is not possible for such a function to be implemented in a way that
is understood by annotalysis. Mark it deprecated and replace instances
of its use with direct mutex/condvar usage.
Add a bunch of missing thread safety annotations while I'm here.
4 years ago
Yash Tibrewal
a3d264e8fd
Open census filter stats api ( #26739 )
...
* Use new stats API in open census filter
* Fix time and latency calculation
* Fix parent census context
* Add tests
* Reviewer comments
* Reviewer comments
* Reviewer comments
* Reviewer comments
* Fix error unref
* Add a context object for the overall call
* Remove TODO
* Reviewer comments
4 years ago
Nicolas Noble
a325d7f77a
Pointing the protobuf submodule to the new URL ( #26811 )
...
* Pointing the protobuf submodule to the new URL
* Also changing WORKSPACE dependencies
* More references to the old URL...
4 years ago
Mark D. Roth
ae3e2c9214
Second attempt: use CallTracer API in client channel code ( #26790 )
...
* Revert "Revert "use CallTracer API in client channel code (#26714 )" (#26772 )"
This reverts commit 98f57af91c
.
* Revert "make on_call_destruction_complete always invoked via LoadBalancedCall"
This reverts commit a9657b560d
.
* restore some missing code needed without a9657b5
4 years ago
Mark D. Roth
98f57af91c
Revert "use CallTracer API in client channel code ( #26714 )" ( #26772 )
...
This reverts commit 011fdefe36
.
4 years ago
Yash Tibrewal
1265cfd29a
Add OpenCensus measures and views for retries ( #26751 )
...
* Add OpenCensus measures and views for retries
* Fix views
* Fix measures
4 years ago
Mark D. Roth
011fdefe36
use CallTracer API in client channel code ( #26714 )
...
* Add internal API to help trace retries and collect metrics
* Add headers
* Reviewer comments
* Revert changes for grpc_metadata_batch
* Regenerate projects
* support call tracer in client channel code
* Reviewer comments
* Reviewer comments
* Reviewer comments
* reviewer comments
* add RecordOnDoneSendInitialMetadata() hook
* Fix sanity
* make on_call_destruction_complete always invoked via LoadBalancedCall
* fix handling of status, stats, latency, and peer name
* fix build & clang-format
Co-authored-by: Yash Tibrewal <yashkt@google.com>
4 years ago
Yash Tibrewal
dc250d1c68
Add internal API to help trace retries and collect metrics ( #26673 )
...
* Add internal API to help trace retries and collect metrics
* Add headers
* Reviewer comments
* Revert changes for grpc_metadata_batch
* Regenerate projects
* Reviewer comments
* Reviewer comments
* Reviewer comments
* reviewer comments
* Fix sanity
4 years ago
Esun Kim
a4b43ccdf2
Added CentOS 7 note for pkg-config ( #26554 )
4 years ago
yihuaz
b9a69481c2
Revert "Support user provided "scope" in JWT and GDC ( #26577 )" ( #26645 )
...
This reverts commit 6df967966b
.
4 years ago
apolcyn
0e6c888574
Bump version to 1.40.0-dev ( #26600 )
...
* Bump version to 1.40.0
* Regenerate projects
* Tweak version.cc.template to satisfy formatter
* Regenerate projects
4 years ago
yihuaz
6df967966b
Support user provided "scope" in JWT and GDC ( #26577 )
...
* support scope overriding in jwt and gdc
* fix formatting
* fix bazel build issue
* fix clang tidy
4 years ago
itsemmanuelfrancis
471df71003
removing grpc_metadata::flags, improving GRPC_INITIAL_METADATA_* comments ( #26562 )
4 years ago
Vijay Pai
ea4b68e7a1
Drop experimental tags from core callback API ( #26535 )
4 years ago
yihuaz
932dbed49d
Revert "Allow to specify user provided audience in google default credentials and JWT credentials ( #26456 )" ( #26531 )
...
This reverts commit 5a91a513fd
.
4 years ago
Vijay Pai
cf1ebf7387
Remove experimental tag from uses of the C++ callback API ( #26495 )
4 years ago
ZhenLian
5a91a513fd
Allow to specify user provided audience in google default credentials and JWT credentials ( #26456 )
...
* support user provided audience in gdc and jwt
4 years ago
Yan Reznikov
39d007e83b
Updated instructions for vcpkg install on Windows ( #26373 )
...
* Updated instructions for vcpkg install on Windows
bootstrap-vcpkg.sh script doesn't work out of the box on Windows
Rest of the commands are OS-neutral
* Update README.md
4 years ago
Lidi Zheng
a3ae8e00a2
Revert "Allow to specify user provided audience in google default credentials and JWT credentials ( #26392 )" ( #26440 )
...
This reverts commit 304262e135
.
4 years ago
Ashitha Santhosh
b9a643a817
Static policy provider implementation. ( #26134 )
4 years ago
yihuaz
304262e135
Allow to specify user provided audience in google default credentials and JWT credentials ( #26392 )
...
* support user provided audience in gdc and jwt
* fix 1st round of comments
* fix ruby and php to use new GDC API
* fix python clang issue
* address 2nd round of comments
* fix string_view issue
* remove length param in string_view constructor
4 years ago