Commit Graph

2068 Commits

Author SHA1 Message Date
Jan Tattermusch d64f75d029
C#: metadata.Get and GetAll should accept uppercase keys (#27383) 2021-09-18 19:32:34 +02:00
Jan Tattermusch 2fc133b9be
fix use-after-free metadata corruption in C# when receiving response headers for streaming response calls (#27382) 2021-09-18 18:24:15 +02:00
donnadionne b9a997be11
Bump version to v1.41.0 (#27370)
* Bump version to v1.41.x

* Regenerate projects
2021-09-16 16:32:34 -07:00
Craig Tiller ea389c00c2
Adjust include order per style guide (#27175)
Introduce clang-format configuration to sort includes closer to our rules.
2021-09-08 12:14:44 -07:00
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
2021-09-05 22:21:37 -07:00
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>
2021-09-03 14:51:13 +02:00
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
2021-09-03 14:33:21 +02:00
Nicolas 'Pixel' Noble 69661fb82e Regenerate projects 2021-08-21 02:04:00 -07:00
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 ).
2021-08-19 14:17:19 +02:00
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...
2021-07-29 10:19:16 -07:00
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
2021-07-02 14:33:34 -07:00
James Newton-King 2537957c78
[C#] Add ChannelCredentials.SecureSsl property for better codecompletion with ChannelCredentials (#26472)
* Add ChannelCredentials.Secure

* Update

* Test

* PR feedback
2021-06-24 11:39:51 +02:00
Christophe Bougère 29eafd4604
improving documentation for unity (#26439) 2021-06-18 07:01:10 -07:00
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
2021-06-15 18:50:13 +02:00
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
2021-06-14 08:25:14 +02:00
Esun Kim 736d914cfd
Revert "Upgrade dotnet SDK 3 for C# build (#22964)" (#26462)
This reverts commit a44bafec08.
2021-06-10 16:46:44 -07:00
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
2021-06-09 09:25:48 +02:00
Jan Tattermusch b5606520bc
make sure C# developer build works even when on arm64 linux (#26335) 2021-05-22 16:38:11 +02:00
Jan Tattermusch c6fbf43390
Add "GeneratedCode" attribute to generated service stubs (#26164)
* mark generated members in *Grpc.cs as [GeneratedCode]

* regenerate protos
2021-05-12 12:26:29 +02:00
Yash Tibrewal a989179ace
Bump master to v1.39.0 (#26207)
* Bump version to v1.39.0

* Regenerate projects

* Buildifier format
2021-05-11 06:49:10 -07:00
Brad Barnich 9807b0363d
Use x64 protoc on macOS arm64 (#26080) 2021-05-06 13:45:40 +02:00
Jan Tattermusch cc4b5569c0
Update docs on gRPC C# (#26107)
* update nuget package descriptions with deprecation notice

* update C# readme
2021-05-03 19:12:27 +02:00
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
2021-04-30 11:03:23 -07:00
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
2021-04-20 17:10:17 +02:00
Richard Belleville 9964ae875b
Bump master version to 1.38 (#25838)
* Bump version to 1.38

* Regenerate projects
2021-03-30 13:57:13 -07:00
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
2021-03-18 13:19:56 +01:00
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
2021-03-17 09:33:48 +01:00
Jan Tattermusch c58128e028
Improve Grpc.Tools documentation (#25570)
* improve Grpc.Tools documentation

* Fix typo
2021-03-04 09:34:46 +01:00
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
2021-02-27 06:53:29 +01:00
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>
2021-02-26 13:32:25 -08:00
Paweł Wichary bc69f0aec1
Grpc.Tools readme update - duplicated .proto names (#22628)
* Solution for duplicated .proto names 


Revert

* Update for version 2.31
2021-02-26 15:44:18 +01:00
Jan Tattermusch 202b6ca5f1
fix typos in comments (#25546) 2021-02-25 19:14:20 +01:00
Jan Tattermusch 3944bfaf76
C#: Use explicit native extension loading whenever possible (#25490)
* add IsNet5OrHigher to PlatformApis

* use explicit native library loading whenever possible
2021-02-19 12:02:13 +01:00
Jan Tattermusch c796d3b97a
Merge pull request #25385 from dfederm/dfederm/build-transitive
[C#] Add buildTransitive directory to NuGet package
2021-02-12 18:58:06 +01:00
Jan Tattermusch 38cff28214
minor adjustments 2021-02-11 14:52:31 +01:00
Yash Tibrewal 7c8defd5c9
Merge pull request #25377 from yashykt/removedisrespecfulterm2
Replace disrespectful term
2021-02-10 15:20:27 -08:00
Lidi Zheng a72c72f6e3
Merge pull request #25388 from lidizheng/master
Bump version of HEAD to v1.37.0-dev
2021-02-09 15:11:35 -08:00
Lidi Zheng 51659eb06e Regenerate projects 2021-02-09 11:45:06 -08:00
David Federman 982fd67f3d [C#] Add buildTransitive directory to NuGet package 2021-02-09 07:34:11 -08:00
Yash Tibrewal f4e55b85bc Replace disrespectful term 2021-02-08 15:29:53 -08:00
Yash Tibrewal 7a5288d2a0 Replace disrespectful words 2021-02-08 14:29:18 -08:00
Esun Kim 9bd7c4917a Fix unused-parameter warning 2021-01-19 18:18:09 -08:00
Jan Tattermusch 60a7ce664a Merge remote-tracking branch 'upstream/v1.35.x' into HEAD 2021-01-18 09:35:36 +01:00
Jan Tattermusch 9bb2aefd02 upgrade ruby, C# python and ObC to protobuf 3.14 2021-01-11 10:04:27 +01:00
Jan Tattermusch 9c8818d2ee regenerate proto files for csharp, php, ruby 2021-01-11 09:58:05 +01:00
Stanley Cheung fe2e96f9f3 Regenerate projects 2021-01-06 19:52:32 -08:00
Stanley Cheung 5564ac0cce Regenerate projects 2021-01-06 19:40:00 -08:00
Jan Tattermusch 9c2f1523c2 remove unneeded case when assemblies are not signed 2020-12-14 17:58:30 +01:00
Jan Tattermusch 90efecbed5 do not use <PublicSign>true</PublicSign> on non-windows 2020-12-14 14:34:09 +01:00
Jan Tattermusch f46bd7f80d stop building protoc x86 artifacts on macos 2020-12-01 17:29:33 +01:00