Commit Graph

2048 Commits

Author SHA1 Message Date
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
Jan Tattermusch 840590e4d8 simplify .NET framework loading logic 2020-11-30 11:54:04 +01:00
Jan Tattermusch 7324c5cae7 Load native extension on .NET core via differentiated DllImports 2020-11-30 10:55:55 +01:00
Jan Tattermusch 1f9f3c7eae fix native extension loading in .NET5 single-file deployments 2020-11-30 10:12:48 +01:00
yulin-liang 2ffa791ae6 Regenerate projects 2020-11-17 13:10:08 -08:00
Jan Tattermusch e257ef7585
Merge pull request #24768 from jtattermusch/macox_big_sur_detection
Unify OS detection logic between Grpc.Core.PlatformApis and Grpc.Tools
2020-11-17 14:49:41 +01:00
Jan Tattermusch 3e5e117c92 unify OS detection logic between Grpc.Core.PlatformApis and Grpc.Tools 2020-11-16 17:03:41 +01:00
Erwin de Haan 6dbdedd9a0 Make RIDs for the native dependencies in Grpc.Core arch specific 2020-11-16 13:45:46 +01:00
Jan Tattermusch cf8792c7de improve check for Unity runtime 2020-11-10 17:27:13 +01:00
Jan Tattermusch ae7783dbed also add Grpc.Core.NativeDebug to the solution 2020-10-28 11:46:13 +01:00
Jan Tattermusch e9a343f780 fix Grpc.csproj build, add Grpc.csproj to the solution 2020-10-28 11:35:10 +01:00
Jan Tattermusch 913760a6a9
Merge pull request #24530 from MoienTajik/moien/cleanup
C#: make Math service example use async
2020-10-28 10:38:11 +01:00
Jan Tattermusch 3df90b245a
Merge pull request #24567 from jtattermusch/refactor_common_props
C#: introduce common.props, set LangVersion to 7.2
2020-10-27 20:05:42 +01:00
Jan Tattermusch 7fccdd7385
Merge pull request #24485 from gitfool/gh24153
Fix to not require libc-dev on .NET 5 or later
2020-10-27 08:09:53 +01:00
Jan Tattermusch 94edf0e21f introduce common.props, set LangVersion to 7.2 2020-10-26 14:11:17 +01:00
Jan Tattermusch 0f10f5db91 move native libraries targeting mobile to a separate Grpc.Core.Xamarin package 2020-10-22 10:43:40 -04:00
Moien Tajik 45be6f2997 fixed typo in method name: dependend -> dependent 2020-10-22 15:03:32 +03:30
Moien Tajik 943c386ada remove unused namespaces from example classes 2020-10-22 15:02:26 +03:30
Moien Tajik 3054749cab make main methods async 2020-10-22 14:57:15 +03:30
Jan Tattermusch 27d10bffbf adjust unitypackage 2020-10-22 06:07:04 -04:00
Jan Tattermusch e7f5fe1605 dont include x86 grpc_csharp_ext for linux and mac 2020-10-22 05:48:44 -04:00