Jan Tattermusch
1979d43341
Fix C# nuget package build. ( #28152 )
...
* fix nuget build by removing deprecated packageIconUrl field
* react to dotnet pack output fix in .NET
3 years ago
Jan Tattermusch
79b58431ed
Update csharp SDK to LTS versions ( #27966 )
...
* update C# SDK
* regenerate dockerfiles
* install .NET6 and .NET Core 3.1
* regenerate dockerfiles
* change netcoreapp2.1 targets to netcoreapp3.1
* update installed SDKs in aarch64 C# job
* update run_tests scripts to use netcoreapp3.1 for C#
3 years ago
AJ Heller
83868b695e
Assert Android API >= v21 ( #27943 )
...
* Assert Android API >= v21
This precedes a change that would otherwise break on older Android APIs,
but in a more obvious way.
* error if __ANDROID_API__ is not defined
* update all Andriod minSdkVersions to 21
* csharp experimental: android-19 to 21
3 years ago
Mark D. Roth
13d98176b5
bump version on master to 1.43-dev ( #27930 )
...
* bump version on master to 1.43-dev
* bump core version
* update g_stands_for.md
3 years ago
Jan Tattermusch
eceffa09cb
upgrade protobuf to 3.18.1 (automatically generated) ( #27722 )
...
* Update third_party/protobuf
* run tools/distrib/python/make_grpcio_tools.py
* regenerate protos for csharp, ruby, php
* update build_handwritten.yaml
* update Protobuf-C++.podspec
* regenerate projects
* [objc] Patch protobuf podspec for 3.18.1 update
- excluding reflection_tester with gtest dependency
Co-authored-by: dennycd <dennycd@google.com>
4 years ago
Mayuki Sawatari
ee5a685111
Fix link error when building with Xamarin.iOS ( #27345 )
4 years ago
Jan Tattermusch
d64f75d029
C#: metadata.Get and GetAll should accept uppercase keys ( #27383 )
4 years ago
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