Jan Tattermusch
2fc133b9be
fix use-after-free metadata corruption in C# when receiving response headers for streaming response calls ( #27382 )
4 years ago
donnadionne
b9a997be11
Bump version to v1.41.0 ( #27370 )
...
* Bump version to v1.41.x
* Regenerate projects
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
Alexey Mikheyev
4a267667b7
[csharp] Fix error loading library grpc_csharp_ext.*.dll on windows with non-ASCII encoding ( #26762 )
...
* [csharp net472] Fix error loading library grpc_csharp_ext.x64.dll on Windows with charset on non ANSI encoding. Example library path: C:\Program Files (x86)\тест\grpc_csharp_ext.x64.dll
* cleanup
* Change charset to Unicode
Co-authored-by: Jan Tattermusch <jtattermusch@google.com>
4 years ago
Daniel Cazzulino
6c095c957b
Annotate copied Content native lib items with package id to enable customization ( #26725 )
...
Add `%(NuGetPackageId)` as is standard procedure for nuget package-provided assets,
so that other MSBuild targets can act on items contributed by Grpc.Core as needed, for
example, in Pack scenarios.
Fixes #26724
4 years ago
Nicolas 'Pixel' Noble
69661fb82e
Regenerate projects
4 years ago
Julian Xhokaxhiu
ed1b20777c
Isolate BoringSSL for iOS builds ( #26109 )
...
Prefix BoringSSL APIs with _GRPC_ by default on iOS, by actually isolating it against other libraries with might include openssl themselves and therefore allowing to embed gRPC on iOS completely mind free.
This patch essentially does what has already been done for cocoapods ( see https://github.com/grpc/grpc/pull/21194 ).
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
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
James Newton-King
2537957c78
[C#] Add ChannelCredentials.SecureSsl property for better codecompletion with ChannelCredentials ( #26472 )
...
* Add ChannelCredentials.Secure
* Update
* Test
* PR feedback
4 years ago
Christophe Bougère
29eafd4604
improving documentation for unity ( #26439 )
4 years ago
Jan Tattermusch
288fe131b4
Reintroduce #22964 with extra fixes ( #26465 )
...
* Revert "Revert "Upgrade dotnet SDK 3 for C# build (#22964 )" (#26462 )"
This reverts commit 736d914cfd
.
* Revert "Exclude csharp from performance test continuous runs. (#26458 )"
This reverts commit 6744e8f84a
.
* switch remaining tests to C# buster image
* remove C#'s global.json (which requires dotnet SDK 3+)
* dotnet SDK3 currently breaks C# package build
* regenerate dockerfiles
4 years ago
Jan Tattermusch
156edd687e
set xds user agent name everywhere where grpc_csharp_ext is built ( #26337 )
...
* set xds user agent name everywhere where grpc_csharp_ext is built
* regenerate projects
4 years ago
Esun Kim
736d914cfd
Revert "Upgrade dotnet SDK 3 for C# build ( #22964 )" ( #26462 )
...
This reverts commit a44bafec08
.
4 years ago
Jan Tattermusch
a44bafec08
Upgrade dotnet SDK 3 for C# build ( #22964 )
...
* upgrade dotnet SDK 3 for C# build
* add C# global.json
* install dotnet SDK 3 on macos
* upgrade C# docker images to debian buster
* regenerate dockerfiles
4 years ago
Jan Tattermusch
b5606520bc
make sure C# developer build works even when on arm64 linux ( #26335 )
4 years ago
Jan Tattermusch
c6fbf43390
Add "GeneratedCode" attribute to generated service stubs ( #26164 )
...
* mark generated members in *Grpc.cs as [GeneratedCode]
* regenerate protos
4 years ago
Yash Tibrewal
a989179ace
Bump master to v1.39.0 ( #26207 )
...
* Bump version to v1.39.0
* Regenerate projects
* Buildifier format
4 years ago
Brad Barnich
9807b0363d
Use x64 protoc on macOS arm64 ( #26080 )
4 years ago
Jan Tattermusch
cc4b5569c0
Update docs on gRPC C# ( #26107 )
...
* update nuget package descriptions with deprecation notice
* update C# readme
4 years ago
Yash Tibrewal
81276fff2e
Update protobuf version to 3.15.8 ( #26105 )
...
* Update protobuf version to 3.15.8
* Run tools/distrib/python/make_grpcio_tools.py
4 years ago
Jan Tattermusch
492e72a318
Provide runtime/framework info in gRPC C# user agent string ( #25889 )
...
* remove dead code (followup for #25717 )
* add more details into grpc-csharp user agent string
* address review comments
4 years ago
Richard Belleville
9964ae875b
Bump master version to 1.38 ( #25838 )
...
* Bump version to 1.38
* Regenerate projects
4 years ago
Jan Tattermusch
a737ff8612
Reduce Grpc.Core nuget size by generating separate .so with/without debug symbols for grpc_csharp_ext ( #25729 )
...
* generate separate .so with/without debug symbols for grpc_csharp_ext
* add linux .dbginfo.so libraries to Grpc.Core.NativeDebug package
* fix aarch64 grpc_csharp_ext stripping
* lots of linux artifact build jobs are currently timing out
4 years ago
Jan Tattermusch
21c83cbb08
make Grpc C# work on aarch64 linux ( #25717 )
...
* build aarch64 version of protoc
* remove csharp artifact x86 build logic for unix systems
* build grpc_csharp_ext artifact for linux aarch64
* refactor platform detection
* add generated dllimports for arm64
* fix native library loading on arm64
* include arm64 artifacts in Grpc.Tools
* add Grpc.Tools codegen support for linux aarch64
* grpc.tools cleanup
4 years ago
Jan Tattermusch
c58128e028
Improve Grpc.Tools documentation ( #25570 )
...
* improve Grpc.Tools documentation
* Fix typo
4 years ago
Jeff Moser
e46445cb5d
Add support for additional protoc arguments in Grpc.Tools ( #25374 )
...
Using "optional" presence tracking in proto3 (before protobuf 3.15)
required the `--experimental_allow_proto3_optional` protoc option
but there was no existing Grpc.Tools feature that would allow specifying
these arguments.
This commit adds an optional `Protobuf.AdditionalProtocArguments` option
that allows you to specify arbitrary protoc arguments. For example:
```
<Protobuf Include="**\*.proto" CompileOutputs="true" AdditionalProtocArguments="--experimental_allow_proto3_optional" />
```
Fixes #22975
4 years ago
Karthik Ravi Shankar
2fd9f5ead9
Update third_party/protobuf to v3.15.2 ( #25565 )
...
* Update protobuf to v3.15.2
* revert boringssl podspec changes
Co-authored-by: Jan Tattermusch <jtattermusch@google.com>
4 years ago
Paweł Wichary
bc69f0aec1
Grpc.Tools readme update - duplicated .proto names ( #22628 )
...
* Solution for duplicated .proto names
Revert
* Update for version 2.31
4 years ago
Jan Tattermusch
202b6ca5f1
fix typos in comments ( #25546 )
4 years ago
Jan Tattermusch
3944bfaf76
C#: Use explicit native extension loading whenever possible ( #25490 )
...
* add IsNet5OrHigher to PlatformApis
* use explicit native library loading whenever possible
4 years ago
Jan Tattermusch
38cff28214
minor adjustments
4 years ago
Lidi Zheng
51659eb06e
Regenerate projects
4 years ago
David Federman
982fd67f3d
[C#] Add buildTransitive directory to NuGet package
4 years ago
Yash Tibrewal
f4e55b85bc
Replace disrespectful term
4 years ago
Yash Tibrewal
7a5288d2a0
Replace disrespectful words
4 years ago
Esun Kim
9bd7c4917a
Fix unused-parameter warning
4 years ago
Jan Tattermusch
9bb2aefd02
upgrade ruby, C# python and ObC to protobuf 3.14
4 years ago
Jan Tattermusch
9c8818d2ee
regenerate proto files for csharp, php, ruby
4 years ago
Stanley Cheung
fe2e96f9f3
Regenerate projects
4 years ago
Stanley Cheung
5564ac0cce
Regenerate projects
4 years ago
Jan Tattermusch
9c2f1523c2
remove unneeded case when assemblies are not signed
4 years ago
Jan Tattermusch
90efecbed5
do not use <PublicSign>true</PublicSign> on non-windows
4 years ago
Jan Tattermusch
f46bd7f80d
stop building protoc x86 artifacts on macos
4 years ago
yulin-liang
79ce42425d
Regenerate projects
4 years ago
Jan Tattermusch
bdc024b5b2
simplify .NET framework loading logic
4 years ago
Jan Tattermusch
37715e3422
Load native extension on .NET core via differentiated DllImports
4 years ago
Jan Tattermusch
6b9ca6ce59
fix native extension loading in .NET5 single-file deployments
4 years ago
Jan Tattermusch
840590e4d8
simplify .NET framework loading logic
4 years ago