platform/upstream/dotnet/runtime.git
21 months ago[Tizen] Add support for gbs build for i586, x86_64, armv7l, armv7hl, aarch64 (includi...
Gleb Balykov [Mon, 12 Apr 2021 20:13:24 +0000 (23:13 +0300)]
[Tizen] Add support for gbs build for i586, x86_64, armv7l, armv7hl, aarch64 (including tests)

22 months agoFix linux x86 build error (partial cherry-pick of https://github.com/dotnet/runtime...
Gleb Balykov [Tue, 7 Dec 2021 13:28:24 +0000 (16:28 +0300)]
Fix linux x86 build error (partial cherry-pick of https://github.com/dotnet/runtime/pull/60817)

22 months ago[Tizen] Hardcode LD_GNU for tizen
Gleb Balykov [Tue, 7 Dec 2021 09:12:31 +0000 (12:12 +0300)]
[Tizen] Hardcode LD_GNU for tizen

22 months ago[Tizen] Add coreclr tests build dependencies v6.0.9
Gleb Balykov [Thu, 15 Sep 2022 14:01:36 +0000 (17:01 +0300)]
[Tizen] Add coreclr tests build dependencies v6.0.9

To add these files do next steps:
1. Remove .gitignore
2. Remove all previous build artifacts and non-used files (make output of "git status" clear)
3. export NUGET_PACKAGES=`pwd`/.packages
4. Cross build coreclr tests for arm/armel/arm64/x86 and x64
5. Commit .packages

Notes:
- If some of these nuget packages are not commited or missed for other reasons, gbs build will fail.
- Cross build armv7hl support from https://github.com/dotnet/arcade/pull/8293/ is needed.

22 months ago[Tizen] Add prebuilt libicu-57.1 libraries for x64
Gleb Balykov [Mon, 12 Apr 2021 14:20:02 +0000 (17:20 +0300)]
[Tizen] Add prebuilt libicu-57.1 libraries for x64

These are required for x64 BuildTools in order to run under gbs.

22 months ago[Tizen] Add nuget packages for corefx-managed-ref for clr <= 3.1
Gleb Balykov [Mon, 12 Apr 2021 14:43:01 +0000 (17:43 +0300)]
[Tizen] Add nuget packages for corefx-managed-ref for clr <= 3.1

These are nuget packages, which are used during application build.
To generate these, build TizenFX and put downloaded nuget packages in nuget/ dir.

22 months ago[Tizen] Add x64 BuildTools v6.0.9
Gleb Balykov [Thu, 15 Sep 2022 11:21:00 +0000 (14:21 +0300)]
[Tizen] Add x64 BuildTools v6.0.9

To add these files do next steps:
1. Remove .gitignore
2. Remove all previous build artifacts and non-used files (make output of "git status" clear)
3. export NUGET_PACKAGES=`pwd`/.packages
4. Cross build runtime for required arches (arm, armel, arm64, x86) and build for x64
5. Commit .dotnet, .packages

Notes:
- If some dir names change in future, this will be seen in "git status" after step 4. Add those dirs too.
- If some of these dirs are not commited or missed for other reasons, gbs build will fail.
- These build tools are for x64, thus, gbs build without clang-accel is not supported.
- Cross build armv7hl support from https://github.com/dotnet/arcade/pull/8293/ is needed.

23 months agoMerge in 'release/6.0' changes
dotnet-bot [Fri, 19 Aug 2022 16:58:11 +0000 (16:58 +0000)]
Merge in 'release/6.0' changes

23 months ago[release/6.0] Bump arcade to 6.0.0-beta.22418.3 (#74193)
Juan Hoyos [Fri, 19 Aug 2022 16:45:05 +0000 (09:45 -0700)]
[release/6.0] Bump arcade to 6.0.0-beta.22418.3 (#74193)

23 months agoMerge in 'release/6.0' changes
dotnet-bot [Fri, 19 Aug 2022 14:35:59 +0000 (14:35 +0000)]
Merge in 'release/6.0' changes

23 months agoUpdate dependencies from https://github.com/dotnet/emsdk build 20220818.5 (#74204)
dotnet-maestro[bot] [Fri, 19 Aug 2022 14:22:05 +0000 (07:22 -0700)]
Update dependencies from https://github.com/dotnet/emsdk build 20220818.5 (#74204)

Microsoft.NET.Workload.Emscripten.Manifest-6.0.100 , Microsoft.NET.Workload.Emscripten.Manifest-6.0.200 , Microsoft.NET.Workload.Emscripten.Manifest-6.0.300 , Microsoft.NET.Workload.Emscripten.Manifest-6.0.400
 From Version 6.0.9 -> To Version 6.0.9

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
23 months agoMerge in 'release/6.0' changes
dotnet-bot [Thu, 18 Aug 2022 21:13:45 +0000 (21:13 +0000)]
Merge in 'release/6.0' changes

23 months agoDon't lookup the pack without an alias from the workload (#74155)
Larry Ewing [Thu, 18 Aug 2022 20:58:46 +0000 (15:58 -0500)]
Don't lookup the pack without an alias from the workload (#74155)

23 months agoMerge in 'release/6.0' changes
dotnet-bot [Tue, 16 Aug 2022 22:22:34 +0000 (22:22 +0000)]
Merge in 'release/6.0' changes

23 months ago[release/6.0] Reset OOB package authoring for System.Security.Cryptography.Xml (...
Carlos Sanchez [Tue, 16 Aug 2022 22:08:30 +0000 (15:08 -0700)]
[release/6.0] Reset OOB package authoring for System.Security.Cryptography.Xml (#74032)

23 months agoMerge in 'release/6.0' changes
dotnet-bot [Mon, 15 Aug 2022 23:53:12 +0000 (23:53 +0000)]
Merge in 'release/6.0' changes

23 months agoPort the incremental source generator polyfill code to the 6.0 servicing branch....
CyrusNajmabadi [Mon, 15 Aug 2022 23:37:02 +0000 (19:37 -0400)]
Port the incremental source generator polyfill code to the 6.0 servicing branch. (#72219)

* Port the incremental source generator polyfill code to the 6.0 servicing branch.

* Use common code

* Add logging extensions

* Fix typo on project Compile item and enable producing packages for both packages that need to be serviced.

* Allow ValueListBuilder to work with empty scratch spans (#70917)

Co-authored-by: Jose Perez Rodriguez <joperezr@microsoft.com>
Co-authored-by: Stephen Toub <stoub@microsoft.com>
23 months agoMerge in 'release/6.0' changes
dotnet-bot [Mon, 15 Aug 2022 20:06:19 +0000 (20:06 +0000)]
Merge in 'release/6.0' changes

23 months agoMerge in 'release/6.0' changes
dotnet-bot [Mon, 15 Aug 2022 19:53:41 +0000 (19:53 +0000)]
Merge in 'release/6.0' changes

23 months ago[release/6.0] Update dependencies from dotnet/emsdk dotnet/arcade (#73879)
dotnet-maestro[bot] [Mon, 15 Aug 2022 19:51:33 +0000 (14:51 -0500)]
[release/6.0] Update dependencies from dotnet/emsdk dotnet/arcade (#73879)

* Update dependencies from https://github.com/dotnet/emsdk build 20220812.2

Microsoft.NET.Workload.Emscripten.Manifest-6.0.100 , Microsoft.NET.Workload.Emscripten.Manifest-6.0.200 , Microsoft.NET.Workload.Emscripten.Manifest-6.0.300 , Microsoft.NET.Workload.Emscripten.Manifest-6.0.400
 From Version 6.0.8 -> To Version 6.0.9

* Update dependencies from https://github.com/dotnet/arcade build 20220812.2

Microsoft.DotNet.ApiCompat , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions
 From Version 6.0.0-beta.22411.3 -> To Version 6.0.0-beta.22412.2

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
23 months agoReset current_no_gc_region_info after leaving no gc region implicitly (#73602) (...
Andrew Au [Mon, 15 Aug 2022 19:38:35 +0000 (12:38 -0700)]
Reset current_no_gc_region_info after leaving no gc region implicitly (#73602) (#73806)

23 months agoMerge in 'release/6.0' changes
dotnet-bot [Mon, 15 Aug 2022 17:38:25 +0000 (17:38 +0000)]
Merge in 'release/6.0' changes

23 months agoRework pack version update logic (#72147)
Larry Ewing [Mon, 15 Aug 2022 17:24:34 +0000 (12:24 -0500)]
Rework pack version update logic (#72147)

23 months agoMerge in 'release/6.0' changes
dotnet-bot [Sun, 14 Aug 2022 01:12:08 +0000 (01:12 +0000)]
Merge in 'release/6.0' changes

23 months agoFix runtime pack aliasing (#73885)
Marc Paine [Sun, 14 Aug 2022 00:59:20 +0000 (17:59 -0700)]
Fix runtime pack aliasing (#73885)

23 months agoMerge in 'release/6.0' changes
dotnet-bot [Sat, 13 Aug 2022 00:09:33 +0000 (00:09 +0000)]
Merge in 'release/6.0' changes

23 months agoAdd ManifestMsiVersion to CreateVisualStudioWorkload call (#73877)
Juan Hoyos [Fri, 12 Aug 2022 23:56:07 +0000 (16:56 -0700)]
Add ManifestMsiVersion to CreateVisualStudioWorkload call (#73877)

23 months agoMerge in 'release/6.0' changes
dotnet-bot [Fri, 12 Aug 2022 22:03:56 +0000 (22:03 +0000)]
Merge in 'release/6.0' changes

23 months agoUpdate internal tool service connection (#73869)
Juan Hoyos [Fri, 12 Aug 2022 21:50:37 +0000 (14:50 -0700)]
Update internal tool service connection (#73869)

23 months agoMerge in 'release/6.0' changes
dotnet-bot [Fri, 12 Aug 2022 20:26:46 +0000 (20:26 +0000)]
Merge in 'release/6.0' changes

23 months agoUpdate all of the net 6 packs to be labeled .net6 (#73733)
Marc Paine [Fri, 12 Aug 2022 20:14:02 +0000 (13:14 -0700)]
Update all of the net 6 packs to be labeled .net6 (#73733)

* Update all of the net 6 packs to be labeled .net6

* Mono.Toolchain.Manifest: Add missing aliases for browser-wasm

* Add missing aliases for other platforms

Co-authored-by: Ankit Jain <radical@gmail.com>
23 months agoMerge in 'release/6.0' changes
dotnet-bot [Fri, 12 Aug 2022 19:49:59 +0000 (19:49 +0000)]
Merge in 'release/6.0' changes

23 months ago[release/6.0] Respect the Keep-Alive response header on HTTP/1.0 (#73245)
Miha Zupan [Fri, 12 Aug 2022 19:37:18 +0000 (21:37 +0200)]
[release/6.0] Respect the Keep-Alive response header on HTTP/1.0 (#73245)

* Respect the Keep-Alive response header on HTTP/1.0 (#73020)

* Respect the Keep-Alive response header on HTTP/1.0

* Remove TimeoutOffset

* Update Trace message

* Update tests

* Adjust test timeouts

* Respect the Keep-Alive response header on HTTP/1.1 as well

* Add some more comments

* Account for HeaderDescriptor changes in 7.0

23 months agoMerge in 'release/6.0' changes
dotnet-bot [Fri, 12 Aug 2022 19:12:58 +0000 (19:12 +0000)]
Merge in 'release/6.0' changes

23 months agoFix hang caused by calling Environment.FailFast on multiple threads (#72567)
github-actions[bot] [Fri, 12 Aug 2022 18:58:50 +0000 (11:58 -0700)]
Fix hang caused by calling Environment.FailFast on multiple threads (#72567)

Fixes #72565

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
23 months agoMerge in 'release/6.0' changes
dotnet-bot [Fri, 12 Aug 2022 17:09:41 +0000 (17:09 +0000)]
Merge in 'release/6.0' changes

23 months agoUpdate to arcade SDK '6.0.0-beta.22411.3' BAR 144406 (#73841)
Juan Hoyos [Fri, 12 Aug 2022 16:55:38 +0000 (09:55 -0700)]
Update to arcade SDK '6.0.0-beta.22411.3' BAR 144406 (#73841)

23 months agoMerge in 'release/6.0' changes
dotnet-bot [Fri, 12 Aug 2022 06:37:52 +0000 (06:37 +0000)]
Merge in 'release/6.0' changes

23 months agoWorkload promotion (#73798)
Jacques Eloff [Fri, 12 Aug 2022 06:22:31 +0000 (23:22 -0700)]
Workload promotion (#73798)

* Fix duplicate artifacts for workloads
* Consolidate publishing for VS

23 months agoMerge in 'release/6.0' changes
dotnet-bot [Fri, 12 Aug 2022 01:47:17 +0000 (01:47 +0000)]
Merge in 'release/6.0' changes

23 months agoRemove 1024 character limit on ODBC connection strings (#73155)
Shay Rojansky [Fri, 12 Aug 2022 01:32:32 +0000 (04:32 +0300)]
Remove 1024 character limit on ODBC connection strings (#73155)

Fixes #63630

(cherry picked from commit 8eb5dea6763da89fb9a4fdd4df0942f195716b59)

23 months agoMerge in 'release/6.0' changes
dotnet-bot [Thu, 11 Aug 2022 21:02:27 +0000 (21:02 +0000)]
Merge in 'release/6.0' changes

23 months agoMerge in 'release/6.0' changes
dotnet-bot [Thu, 11 Aug 2022 20:48:02 +0000 (20:48 +0000)]
Merge in 'release/6.0' changes

23 months ago[release/6.0] Fix #70391 (#73654)
Bruce Forstall [Thu, 11 Aug 2022 20:45:37 +0000 (13:45 -0700)]
[release/6.0] Fix #70391 (#73654)

Fix issue with multiple LEA addresses used for Vector code. Value
Numbering treated multiple LEA identically, ignoring offset and
scale. Fix by creating a new, unique Value Number for all LEA, by
marking LEA nodes as "illegal" as a VNFunc.

Fixed in .NET 7 with #69992. This is a conservative, smaller
fix for .NET 6.

No SPMI asm diffs.

Verified with this repro (fail before, pass afterwards) from #64375:
```
using System;
using System.Numerics;
using System.Runtime.CompilerServices;

internal class Program
{
    [MethodImpl(MethodImplOptions.AggressiveOptimization)]
    public static void Main()
    {
        Matrix4x4 id = Matrix4x4.Identity;

        Action a = () => { var _ = id; };

        Console.WriteLine(
            Vector3.Cross(
                new Vector3(id.M11, id.M12, id.M13),
                new Vector3(id.M21, id.M22, id.M23)).Z);
    }
}
```
(pass means prints `1`)

Fixes #70391

23 months ago[release/6.0] Backport edge case fixes to XxHash32/XxHash64 (#73203)
github-actions[bot] [Thu, 11 Aug 2022 20:44:04 +0000 (13:44 -0700)]
[release/6.0] Backport edge case fixes to XxHash32/XxHash64 (#73203)

* Fix incremental XxHash32/XxHash64 (#69185)

* Fix xxHash64 handling of large (> 4GB) inputs (#73093)

* Bump package servicing version

Co-authored-by: froce <fwesen2@gmail.com>
Co-authored-by: Levi Broderick <GrabYourPitchforks@users.noreply.github.com>
Co-authored-by: Levi Broderick <levib@microsoft.com>
23 months agoMerge in 'release/6.0' changes
dotnet-bot [Thu, 11 Aug 2022 20:38:23 +0000 (20:38 +0000)]
Merge in 'release/6.0' changes

23 months agofixed distroRid having the last version digit for alpine (#62942) (#70903)
Omair Majid [Thu, 11 Aug 2022 20:33:36 +0000 (16:33 -0400)]
fixed distroRid having the last version digit for alpine (#62942) (#70903)

Co-authored-by: Antoine Martin <dev@ayakael.net>
23 months agoMerge in 'release/6.0' changes
dotnet-bot [Thu, 11 Aug 2022 20:30:43 +0000 (20:30 +0000)]
Merge in 'release/6.0' changes

23 months ago[release/6.0] JIT: Avoid removing multi-use boxes (#73014)
github-actions[bot] [Thu, 11 Aug 2022 20:28:08 +0000 (13:28 -0700)]
[release/6.0] JIT: Avoid removing multi-use boxes (#73014)

* JIT: Avoid removing multi-use boxes

There was an assumption that the local operand to a GT_BOX node is
single-use which was being violated when GDV clones these as arguments.
We now allow multi-uses of these locals by setting a flag when cloning
and then handle it in gtTryRemoveBoxUpstreamEffects.

There is also GTF_VAR_CLONED that would be set on the local itself, but
given that transformations can affect the operand local node arbitrarily
I went with another of these type of flags on GT_BOX instead.

Fix #72775

* Add a test

* Test nit

Co-authored-by: Jakob Botsch Nielsen <jakob.botsch.nielsen@gmail.com>
23 months agoBackport 58806 (#73010)
Thays Grazia [Thu, 11 Aug 2022 20:26:43 +0000 (17:26 -0300)]
Backport 58806 (#73010)

23 months agoMerge in 'release/6.0' changes
dotnet-bot [Thu, 11 Aug 2022 20:24:54 +0000 (20:24 +0000)]
Merge in 'release/6.0' changes

23 months agoCreateSymbolicLink PInvoke retval must be marshalled as U1 (#69150) (#73004)
David Cantú [Thu, 11 Aug 2022 20:24:54 +0000 (15:24 -0500)]
CreateSymbolicLink PInvoke retval must be marshalled as U1 (#69150) (#73004)

* CreateSymbolicLink PInvoke retval must be marshalled as U1

* Fix redundant invocations of Environment.OSVersion.Version

23 months agoMerge in 'release/6.0' changes
dotnet-bot [Thu, 11 Aug 2022 20:19:33 +0000 (20:19 +0000)]
Merge in 'release/6.0' changes

23 months agoInclude EventLog.Messages in WindowsDesktop pack (#72809)
Viktor Hofer [Thu, 11 Aug 2022 20:17:46 +0000 (22:17 +0200)]
Include EventLog.Messages in WindowsDesktop pack (#72809)

Backport of https://github.com/dotnet/runtime/pull/72280

The System.Diagnostics.EventLog.Messages assembly is missing from the WindowsDesktop transport package. Adding it to the package and also making sure that it gets the right assembly version in servicing by adding it to the NetCoreAppLibrary.props file.

I verified that the assembly is now part of the package.

23 months agoMerge in 'release/6.0' changes
dotnet-bot [Thu, 11 Aug 2022 20:11:36 +0000 (20:11 +0000)]
Merge in 'release/6.0' changes

23 months ago[release/6.0] Support zero-byte reads on raw response streams in SocketsHttpHandler...
Miha Zupan [Thu, 11 Aug 2022 20:10:25 +0000 (22:10 +0200)]
[release/6.0] Support zero-byte reads on raw response streams in SocketsHttpHandler (#72804)

* Allow zero byte reads on raw HTTP/1.1 response streams

* Add test

23 months agoMerge in 'release/6.0' changes
dotnet-bot [Thu, 11 Aug 2022 20:03:51 +0000 (20:03 +0000)]
Merge in 'release/6.0' changes

23 months ago[release/6.0] [mono][jit] Fix an infinite loop in the abcrem pass. (#72504)
github-actions[bot] [Thu, 11 Aug 2022 20:00:55 +0000 (13:00 -0700)]
[release/6.0] [mono][jit] Fix an infinite loop in the abcrem pass. (#72504)

* [mono][jit] Fix an infinite loop in the abcrem pass.

Fixes https://github.com/dotnet/runtime/issues/71592.

* Add a test.

* Fix pri1 test build

* Fix the test.

* Update src/tests/JIT/Regression/JitBlue/Runtime_71592/test71592.csproj

Co-authored-by: Aleksey Kliger (λgeek) <aleksey@lambdageek.org>
Co-authored-by: Zoltan Varga <vargaz@gmail.com>
Co-authored-by: Jakob Botsch Nielsen <jakob.botsch.nielsen@gmail.com>
Co-authored-by: Aleksey Kliger (λgeek) <aleksey@lambdageek.org>
23 months agoAzure ML Watson bucketing for Linux coredumps is broken because the ELF unwind isn...
Mike McLaughlin [Thu, 11 Aug 2022 19:55:48 +0000 (12:55 -0700)]
Azure ML Watson bucketing for Linux coredumps is broken because the ELF unwind isn't fully present. Everything evens up in one big bucket. (#72417)

Properly calculate the ELF unwind info section size

Uses the same method that windbg does to calculate the eh_frame section size by partial decoding the FDE/CIE's enough to figure out the total size. We can't use the .eh_frame section because ELF module sections are not in-memory.

Change the ReadMemoryAdapter passed to the new PAL_GetUnwindInfoSize function to read memory directly and not add it to the memory region list

Local testing. More TBD.

Low risk. Affects only createdump.

23 months ago[release/6.0] [Android] Port getifaddrs implementation from Xamarin.Android (#72097)
github-actions[bot] [Thu, 11 Aug 2022 19:48:52 +0000 (12:48 -0700)]
[release/6.0] [Android] Port getifaddrs implementation from Xamarin.Android (#72097)

* Port getifaddrs implementation from monodroid

* Fix usage of TARGET_ANDROID

* Disable debug logs by default

* Fix checking for debug

* Fix build error related to __VA_ARGS__

* Fix automatic backport

Co-authored-by: Simon Rozsival <simon@rozsival.com>
23 months agoMerge in 'release/6.0' changes
dotnet-bot [Thu, 11 Aug 2022 17:59:05 +0000 (17:59 +0000)]
Merge in 'release/6.0' changes

23 months agoRe-create profile data on profile-use-only mode (#71754)
ws77.cho [Thu, 11 Aug 2022 17:53:57 +0000 (02:53 +0900)]
Re-create profile data on profile-use-only mode (#71754)

Activate multicorejit recorder to re-create the profile data
when the multicorejit player cannot be executed due to BADIMAGEFORMAT error on profile-use-only mode

23 months ago[mono] Ensure exception_message points to a string (#72002)
github-actions[bot] [Thu, 11 Aug 2022 17:52:06 +0000 (10:52 -0700)]
[mono] Ensure exception_message points to a string (#72002)

Co-authored-by: Stefan Schulze Frielinghaus <stefansf@linux.ibm.com>
23 months ago[release/6.0] Work around for UriFormatException caused by \\?\ prefix in the path...
github-actions[bot] [Thu, 11 Aug 2022 17:49:33 +0000 (10:49 -0700)]
[release/6.0] Work around for UriFormatException caused by \\?\ prefix in the path (#71452)

* Work around for UriFormatException caused by \?\ prefix in the path

* Apply feedback

* Move try catch

* Fix ConfigurationManager when BaseDirectory starts with \\?" (#58627)

* Add servicing version to the project

Co-authored-by: Buyaa Namnan <bunamnan@microsoft.com>
Co-authored-by: Krzysztof Wicher <kwicher@microsoft.com>
23 months agoConsole.Unix: fix missing terminal configuration on SIGINT/SIGQUIT/SIGCONT. (#64985)
github-actions[bot] [Thu, 11 Aug 2022 17:45:50 +0000 (10:45 -0700)]
Console.Unix: fix missing terminal configuration on SIGINT/SIGQUIT/SIGCONT. (#64985)

The introduction of the managed API for signal handling (PosixSignal)
inadvertently caused terminal configuration to no longer be performed
when no managed handlers are registered.

This adds back the unconditional registration for SIGINT/SIGQUIT/SIGCONT.

The missing registrations can cause the terminal to stop echoing when an
application terminates on Ctrl-C.

Co-authored-by: Tom Deseyn <tom.deseyn@gmail.com>
23 months agoMerge in 'release/6.0' changes
dotnet-bot [Tue, 9 Aug 2022 22:37:09 +0000 (22:37 +0000)]
Merge in 'release/6.0' changes

23 months agoMerge pull request #73640 from vseanreesermsft/internal-merge-6.0-2022-08-09-1111
Carlos Sanchez [Tue, 9 Aug 2022 22:23:03 +0000 (15:23 -0700)]
Merge pull request #73640 from vseanreesermsft/internal-merge-6.0-2022-08-09-1111

Merging internal commits for release/6.0

23 months agoMerge commit '55fb7ef977e7d120dc12f0960edcff0739d7ee0e' into internal-merge-6.0-2022...
Sean Reeser [Tue, 9 Aug 2022 18:11:43 +0000 (11:11 -0700)]
Merge commit '55fb7ef977e7d120dc12f0960edcff0739d7ee0e' into internal-merge-6.0-2022-08-09-1111

23 months agoMerge in 'release/6.0' changes
dotnet-bot [Mon, 8 Aug 2022 15:55:09 +0000 (15:55 +0000)]
Merge in 'release/6.0' changes

23 months agoFix aka.ms links in build promotion for VSDROP (#73483)
Jacques Eloff [Mon, 8 Aug 2022 15:42:49 +0000 (08:42 -0700)]
Fix aka.ms links in build promotion for VSDROP (#73483)

23 months agoMerge in 'release/6.0' changes
dotnet-bot [Fri, 5 Aug 2022 12:40:58 +0000 (12:40 +0000)]
Merge in 'release/6.0' changes

23 months ago[release/6.0][mono] add 400 band workloads (#72379)
Larry Ewing [Fri, 5 Aug 2022 12:27:08 +0000 (07:27 -0500)]
[release/6.0][mono] add 400 band workloads (#72379)

This is to work around the broken sdk workload band install logic that has since been fixed.

Co-authored-by: Ankit Jain <radical@gmail.com>
Co-authored-by: Steve Pfister <steve.pfister@microsoft.com>
23 months agoMerge in 'release/6.0' changes
dotnet-bot [Fri, 5 Aug 2022 01:15:12 +0000 (01:15 +0000)]
Merge in 'release/6.0' changes

23 months agoUpdate Arcade + Workloads (#72947)
Jacques Eloff [Fri, 5 Aug 2022 01:02:17 +0000 (18:02 -0700)]
Update Arcade + Workloads (#72947)

Update Arcade and the workloads project to leverage the new build tasks.

This also fixes the publishing issues we previously saw in the blob artifacts because of duplicate files. Instead, we'll create unique zip files per SDK featurebands for the workloads that will be used for creating the VSDROPs in dotnet-stage.

23 months agoMerge in 'release/6.0' changes
dotnet-bot [Wed, 3 Aug 2022 08:13:58 +0000 (08:13 +0000)]
Merge in 'release/6.0' changes

23 months agoUpdate branding to 6.0.9 (#73270)
vseanreesermsft [Wed, 3 Aug 2022 08:01:27 +0000 (01:01 -0700)]
Update branding to 6.0.9 (#73270)

23 months agoMerge in 'release/6.0' changes
dotnet-bot [Wed, 27 Jul 2022 21:15:53 +0000 (21:15 +0000)]
Merge in 'release/6.0' changes

23 months agoUpdate windows.10.amd64.server20h2 to windows.amd64.server2022 (#72868)
Matt Galbraith [Wed, 27 Jul 2022 20:58:35 +0000 (13:58 -0700)]
Update windows.10.amd64.server20h2 to windows.amd64.server2022 (#72868)

* Update windows.10.amd64.server20h2 to windows.amd64.server2022, as 20H2 is end-of-life this month

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Wed, 13 Jul 2022 16:56:12 +0000 (16:56 +0000)]
Merge in 'release/6.0' changes

2 years agoFix building with clang 14 (#69990)
Omair Majid [Wed, 13 Jul 2022 16:40:52 +0000 (11:40 -0500)]
Fix building with clang 14 (#69990)

Under clang 14, building runtime on Linux with a simple ./build.sh
fails with hundreds of errors that all look like this:

    runtime/src/libraries/Native/Unix/System.Native/pal_networking.c(2610,9):
    error GD58BE485: mixing declarations and code is incompatible with
    standards before C99 [-Wdeclaration-after-statement]
    [runtime/src/libraries/Native/build-native.proj]

This issue is not present in the main branch. It appears to have been
fixed by https://github.com/dotnet/runtime/pull/66410/ which turned off
that warning.

Tested with:

    $ clang --version
    clang version 14.0.0 (Fedora 14.0.0-1.fc36)
    Target: x86_64-redhat-linux-gnu
    Thread model: posix
    InstalledDir: /usr/bin

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Wed, 13 Jul 2022 01:06:28 +0000 (01:06 +0000)]
Merge in 'release/6.0' changes

2 years ago[release/6.0] Fixing the handling of Positive NaN in Math.Min for float/double (...
Tanner Gooding [Wed, 13 Jul 2022 00:53:11 +0000 (17:53 -0700)]
[release/6.0] Fixing the handling of Positive NaN in Math.Min for float/double (#70865)

* Fixing the handling of Positive NaN in Math.Min for float/double (#70795)

* Adding tests validating Positive NaN for Max, MaxMagnitude, Min, and MinMagnitude

* Fixing the handling of Positive NaN in Math.Min for float/double

* Fixing the Max/Min code comments to use greater and lesser

* Adding a code comment clarifying the sign toggling behavior

* Apply suggestions from code review

Co-authored-by: Jonathan Giannuzzi <jgiannuzzi@users.noreply.github.com>
* Apply suggestions from code review

Co-authored-by: Jonathan Giannuzzi <jgiannuzzi@users.noreply.github.com>
2 years agoFix RSA OAEP decryption in Android with non-power-of-two key lengths (#71696)
Kevin Jones [Wed, 13 Jul 2022 00:52:56 +0000 (20:52 -0400)]
Fix RSA OAEP decryption in Android with non-power-of-two key lengths (#71696)

2 years agocreatedump improvements for better VS4Mac Watson bucketing (#71863)
Mike McLaughlin [Wed, 13 Jul 2022 00:52:26 +0000 (17:52 -0700)]
createdump improvements for better VS4Mac Watson bucketing (#71863)

* Createdump changes for VS4Mac

Add target process terminated/alive message.

Smaller MacOS dumps. Don't add share_mode == SM_EMPTY regions.

Add crashreport success status message for VS4Mac.

Launch createdump from SIGTERM handler directly to reduce the time it takes to get the crash report/dump for VS4Mac.

* Add more instrumentation to diagnose SIGTERM problem

* Remove useless thread state logging

2 years agoForbid XML external entity resolution in crypto APIs
Jeremy Barton [Tue, 12 Jul 2022 21:44:03 +0000 (21:44 +0000)]
Forbid XML external entity resolution in crypto APIs

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Tue, 12 Jul 2022 19:44:06 +0000 (19:44 +0000)]
Merge in 'release/6.0' changes

2 years agoMerge pull request #72040 from wtgodbe/internal-merge-6.0-2022-07-12-1057
Carlos Sanchez [Tue, 12 Jul 2022 19:28:11 +0000 (12:28 -0700)]
Merge pull request #72040 from wtgodbe/internal-merge-6.0-2022-07-12-1057

Merging internal commits for release/6.0

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Tue, 12 Jul 2022 18:06:59 +0000 (18:06 +0000)]
Merge in 'release/6.0' changes

2 years ago[release/6.0] [iOS][Android] Fix crash in Exception.CaptureDispatchState (#71171)
github-actions[bot] [Tue, 12 Jul 2022 17:59:31 +0000 (12:59 -0500)]
[release/6.0] [iOS][Android] Fix crash in Exception.CaptureDispatchState (#71171)

* [iOS][Android] Fix crash in Exception.CaptureDispatchState

There is a crash in `Exception.CaptureDispatchState` when called from one thread at the same time another calls into `Exception.RestoreDispatchState`. The
reason for the crash is due to the way we do not update `foreignExceptionFrames` in a thread-safe way.  `foreignExceptionFrames` is used in both methods and can crash when the size changes before the array is copied.

The fix is to lock when reading from and writing to `foreignExceptionFrames`.

Fixes https://github.com/dotnet/runtime/issues/70081

* Lock all of CaptureDispatchState

* Marek's feedback

* Remove unnecessary field

Co-authored-by: Steve Pfister <steve.pfister@microsoft.com>
2 years agoMerge commit '0ec02c8c96e2eda06dc5b5edfdbdba0f36415082' into internal-merge-6.0-2022...
Will Godbe [Tue, 12 Jul 2022 17:57:41 +0000 (10:57 -0700)]
Merge commit '0ec02c8c96e2eda06dc5b5edfdbdba0f36415082' into internal-merge-6.0-2022-07-12-1057

2 years ago[mono] Avoid calling mono_metadata_type_hash () on the container class in mono_generi...
github-actions[bot] [Tue, 12 Jul 2022 17:55:23 +0000 (12:55 -0500)]
[mono] Avoid calling mono_metadata_type_hash () on the container class in mono_generic_class_hash (). (#71764)

If a class inherits from a generic instance instantiated with itself, then its possible
for mono_generic_class_hash () to be called while the container class is not fully
initialized yet, i.e. byval_arg.type is 0. This would cause the generic class to change
its hash.

Fixes https://github.com/dotnet/runtime/issues/71424.

Co-authored-by: Zoltan Varga <vargaz@gmail.com>
2 years agoBackport 71436 (#71731)
Thays Grazia [Tue, 12 Jul 2022 17:55:10 +0000 (14:55 -0300)]
Backport 71436 (#71731)

2 years agoformat correctly chuncked response with Content-Length header (#69016) (#70744)
Miha Zupan [Tue, 12 Jul 2022 17:52:18 +0000 (10:52 -0700)]
format correctly chuncked response with Content-Length header (#69016) (#70744)

Co-authored-by: Badre BSAILA <54767641+pedrobsaila@users.noreply.github.com>
2 years agoMerge in 'release/6.0' changes
dotnet-bot [Thu, 7 Jul 2022 18:42:33 +0000 (18:42 +0000)]
Merge in 'release/6.0' changes

2 years agoRemove GeneratePackageOnBuild missed on branding PR (#71743)
Carlos Sanchez [Thu, 7 Jul 2022 18:26:33 +0000 (11:26 -0700)]
Remove GeneratePackageOnBuild missed on branding PR (#71743)

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Wed, 6 Jul 2022 14:44:32 +0000 (14:44 +0000)]
Merge in 'release/6.0' changes

2 years agoUpdate branding to 6.0.8 (#71668)
Matt Mitchell [Wed, 6 Jul 2022 14:30:11 +0000 (07:30 -0700)]
Update branding to 6.0.8 (#71668)

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Wed, 22 Jun 2022 10:04:31 +0000 (10:04 +0000)]
Merge in 'release/6.0' changes

2 years agoRevert Arcade update & Workload Manifest change (#71110)
William Godbe [Wed, 22 Jun 2022 09:50:04 +0000 (02:50 -0700)]
Revert Arcade update & Workload Manifest change (#71110)

* Revert "[release/6.0] Update dependencies from dotnet/arcade dotnet/llvm-project (#68871)"

This reverts commit 3e0c89b69f70690579d2f1c0a04577a674ef1cf6.

* Revert "Update workloads with Arcade improvements (#71046)"

This reverts commit cd19e8bf35d18cef6f30d896313cbeb1be2a06dd.

* Update global.json

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Tue, 21 Jun 2022 18:11:12 +0000 (18:11 +0000)]
Merge in 'release/6.0' changes