Commit Graph

2097 Commits

Author SHA1 Message Date
Jan Tattermusch 47aa3c23ac
add tests for #25682, at least for server streaming and bidi streaming calls (#29072) 2022-04-13 18:09:34 +02:00
Jan Tattermusch 519ae7d795
unbreak proto regenerate scripts for C#, ruby, php by allowing protobuf well known types (#29330)
* unbreak proto regenerate scripts for C#, ruby, php by allowing protobuf well known types

* regenerate C# and ruby protos
2022-04-07 09:14:05 +02:00
Jan Tattermusch 2223877d41
C# add RetryTest with service config to reproduce #23618 (#24413)
* C# add RetryTest with service config to reproduce #23618

* fixup tests
2022-04-04 18:47:33 +02:00
Jan Tattermusch e9ece8f746
add a repro and fix for #19090 (#23003) 2022-03-30 17:17:11 +02:00
Mahdi K. Fard 44f2c004c5
Fix double-space in xmldoc generation. (#29224)
* Fix double-space in xmldoc generation.

* regenerate C# protos

Co-authored-by: Jan Tattermusch <jtattermusch@google.com>
2022-03-29 15:33:57 +02:00
Jan Tattermusch 409c732813
C# windows single-job distribtest (#29152)
* add windows grpc_distribtest_csharp

* add kokoro cfg files
2022-03-18 16:34:31 +01:00
Jan Tattermusch 83ccb0deed
add C# macos distribtest in a single job (#28614) 2022-03-18 06:26:38 +01:00
Jan Tattermusch bcaa3cb48e
Remove C# Legacy (a.k.a. "Classic") csproj example (#29102)
* remove C# legacy csproj example

* update BUILD-INTEGRATION.md
2022-03-16 17:40:00 +01:00
AJ Heller 99a30de9e7
Bump version to 1.46.0-dev (on master branch) (#29064)
* bump version to 1.46.0-dev

* regenerate projects
2022-03-09 16:44:12 -08:00
James Newton-King 5ba6beff18
[C#] Add cancellation token overloads to streaming interfaces (#27886)
* Add cancellation token overloads to streaming interfaces

* PR feedback
2022-03-03 10:47:53 -08:00
Jan Tattermusch f574f70c68
fix C# single-job distribtests jobs when version has no suffix (#28924) 2022-03-03 10:46:01 -08:00
Jan Tattermusch 9d73b3e85a
Use ninja for all grpc_csharp_ext builds on windows (#28841)
* cleanup C# win artifact build

* build C# basictests on win with ninja

* specify default parallelism for C# win artifact

* honor GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS in build_artifact_python.bat

* set --inner_jobs for windows grpc_build_artifact job

* fixup C# build picking env variables from C core build

* get rid of no longer needed NativeDependenciesConfiguration C# setting
2022-02-11 18:58:04 +01:00
AJ Heller fc6f0277a4
Update third_party/protobuf to v3.19.4 (#28842)
* Update third_party/protobuf

* run tools/distrib/python/make_grpcio_tools.py

* update build_handwritten.yaml

* regenerate projects
2022-02-11 08:47:36 -08:00
yihuaz b458db9246
Eliminate gRPC insecure build (#25586)
* force submit

* fix test error

* remove is_client from local tsi and its callsites

* fix too_many_pings_test

* add missing dep
2022-02-10 11:17:18 -08:00
James Newton-King 257183f5ec
Grpc.Core.Api nullable fixes (#28616) 2022-01-20 12:30:29 +01:00
Jan Tattermusch 402981be8e
Bump version to 1.45.0-dev (#28553)
* bump version to 1.45.0-dev

* regenerate projects
2022-01-20 09:23:06 +01:00
Jan Tattermusch bf3ceddaac
allow running instances of DepFileUtilTest in parallel (#28612) 2022-01-19 18:24:01 +01:00
Jan Tattermusch 42c08b9b56
Update third_party/protobuf to v3.19.2 (#28511)
* Update third_party/protobuf

* run tools/distrib/python/make_grpcio_tools.py

* regenerate protos for csharp, ruby, php

* update build_handwritten.yaml

* regenerate projects
2022-01-12 18:35:07 +01:00
Jan Tattermusch f23e1d9e85
task_runner.py improvements (foundations for future speedup) (#28480)
* add --dry_run support for task_runner.py

* dont sort task_runner targets before running

* fixup dry run

* support task_runner.py --inner_jobs

* pass inner_jobs to build_jobspec for task_runner.py

* support inner_jobs for C# artifacts

* support inner_jobs for protoc artifacts

* inner jobs support for src/csharp/experimental/build_native_ext_for_android.sh

* address review feedback
2022-01-11 10:26:32 +01:00
Jan Tattermusch 858eff5ab9
Introduce C# single-platform nuget build (and distribtests) (#27180)
* C# linux distribtests

* add distribtests C# linux job cfg

* support running a subset of C# artifact/distribtests on jobs
2021-12-07 12:58:31 +01:00
Esun Kim ba06eeb07c
Bump to v1.44.0 dev (#28248)
* Bump version to v1.44.0-dev

* Regenerate projects
2021-12-06 09:50:51 -08:00
James Newton-King 65efed181d
[C#] Add ConfigureAwait to AsyncUnaryCall and AsyncClientStreamingCall (#28235)
* Add ConfigureAwait to AsyncUnaryCall and AsyncClientStreamingCall

* Update comment
2021-12-03 18:53:44 +01:00
James Newton-King a0f30a4c79
Add nullable type attributes to Grpc.Core.Api (#27887) 2021-11-30 17:58:00 +01:00
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
2021-11-19 09:27:13 -08:00
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#
2021-11-17 10:41:02 +01:00
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
2021-11-05 19:04:05 -07:00
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
2021-11-04 16:19:56 -07:00
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>
2021-10-21 14:52:28 -07:00
Mayuki Sawatari ee5a685111
Fix link error when building with Xamarin.iOS (#27345) 2021-10-11 12:51:53 +02:00
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