Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-04-13Add a --aot-lazy-assembly-load command line option to load assemblies… ↵Aleksey Kliger (λgeek)
(#67024) (#67103) * Add a --aot-lazy-assembly-load command line option to load assemblies referenced by AOT images lazily. Note that this requires the assemblies used at AOT time to exactly match the assemblies loaded at runtime, otherwise the runtime will abort when it loads the mismatching reference. * Handle the options added by options.h in mono_jit_parse_options (). Co-authored-by: Zoltan Varga <vargaz@gmail.com>
2022-04-13Add additional trace to HttpConnectionPool (#66958)Natalia Kondratyeva
2022-04-13Fix unaligned UTF16 string read in collect tracing EventPipe command. (#66828)Johan Lorensson
Collect tracing 2 EventPipe command triggers an unaligned UTF16 string read that could cause a SIGBUS on platforms not supporting unalinged reads of UTF16 strings (so far only seen on 32-bit ARM Linux CI machine). On CoreCLR this could even cause a unalinged int read due to optimizations used in UTF8Encoding::GetByteCount.
2022-04-13Fix macOS ARM64 stack overflow detection (#66612)github-actions[bot]
We were incorrectly using exception_data_type_t instead of mach_exception_data_type_t in the PAL due to a missing change when we have added support for ARM64 macOS. The wrong type was 32 bit and it caused the address of a hardware exception to have the upper 32 bits cut off. That prevented us from detecting stack overflow correctly. Co-authored-by: Jan Vorlicek <janvorli@microsoft.com>
2022-04-13[release/6.0] Add dynamic shim for SSL_CTX_set_options and SSL_set_options ↵github-actions[bot]
(#67145) * Add dynamic shim for SSL_CTX_set_options This works around ABI breaking change made between OpenSSL 1.1 and 3.0 where argument type and return type was changed from unsigned long to uint64_t, which caused issues on arm32 architectures with OpenSSL 3.0 installed. * Fix typo * Update src/native/libs/System.Security.Cryptography.Native/pal_ssl.c Co-authored-by: Jeremy Barton <jbarton@microsoft.com> * Update src/native/libs/System.Security.Cryptography.Native/pal_ssl.c Co-authored-by: Tomas Weinfurt <tweinfurt@yahoo.com> * Code review feedback Co-authored-by: Radek Zikmund <r.zikmund.rz@gmail.com> Co-authored-by: Radek Zikmund <32671551+rzikm@users.noreply.github.com> Co-authored-by: Jeremy Barton <jbarton@microsoft.com> Co-authored-by: Tomas Weinfurt <tweinfurt@yahoo.com>
2022-04-13[release/6.0] Fix DNS cancellation deadlock (#67291)github-actions[bot]
* tests * remove lock * comments, outerloop * use Volatile.Write * test comments * SafeHandle to avoid use-after-free race condition * use NativeMemory APIs * Disable DnsGetHostEntry_PostCancelledToken_Throws on Win7 * Fix compilation Co-authored-by: Anton Firszov <antonfir@gmail.com> Co-authored-by: Radek Zikmund <radekzikmund@microsoft.com>
2022-04-13Avoid issuing connection attempts for already cancelled requests (#66992) ↵Miha Zupan
(#67226) * Avoid issuing connection attempts for already canceled requests * Cancelled => Canceled * Guard SocketsHttpHandler tests under SocketsHttpHandler.IsSupported
2022-04-13[release/6.0] Load R2R images on osx-arm64 according to Apple's guidelines ↵Jonathan Giannuzzi
(#67438) * Fix Compiler::impImportNewObjArray on osx-arm64 * Reject R2R images containing calls to CORINFO_HELP_NEW_MDARR * Load R2R images on osx-arm64 according to Apple's guidelines
2022-04-13[release/6.0] Ignore non-X509 certificates in SignedCms (#67462)Jeremy Barton
* Ignore non-X509 certificates in SignedCms This allows for AttributeCertificateV1/AttributeCertificateV2/OtherCertificate entries in the SignedCms without causing a decode error. That data is not presented to callers via the SignedCms object, but the behavior is consistent with SignedCms on .NET Framework and its underlying WinCryptMsg counterpart. * Add packaging changes for servicing
2022-04-13[release/6.0] Fix loop cloning of array of struct with array field (#67496)Bruce Forstall
Loop cloning needs to parse what morph creates from GT_INDEX nodes to determine if there are array accesses with bounds checks that could potentially be optimized. For jagged array access, this can be a "comma chain" of bounds checks and array element address expressions. For a case where an array of structs had a struct field, such as `ValueTuple<int[], int>[]`, cloning was confusing the expression `a[i].Item1[j]` for the jagged array access `a[i][j]`. The fix here is to keep track of the type of the `GT_INDEX` node that is being morphed, in the `GT_BOUNDS_CHECK` node that is created for it. (This is the only thing cloning parses, to avoid the need to parse the very complex trees morph can create.) This type is then checked when parsing the "comma chain" trees. If a non-`TYP_REF` is found (such as a `TYP_STRUCT` in the above example), no more levels of array indexing are considered. (`TYP_REF` is what an array object would have, for a jagged array.) Fixes #66254.
2022-04-13[release/6.0] [AOT] Don't set the 'CorrectedSynthesize' flag in the ↵github-actions[bot]
objc_imageinfo section. (#67534) * [AOT] Don't set the 'CorrectedSynthesize' flag in the objc_imageinfo section. According to Apple's headers, it's not used anymore, and ignored. However, with Xcode 13.3, it seems Apple has re-used this value for something else, and it's causing warnings in the linker: > ld: warning: '[...]/arm64/Xamarin.iOS.dll.o' was built with class_ro_t pointer signing enabled, but previous .o files were not Fixes https://github.com/mono/mono/issues/21450. Ref: https://opensource.apple.com/source/objc4/objc4-818.2/runtime/objc-abi.h.auto.html * Don't set the 'CorrectedSynthesize' flag when using LLVM either. Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-04-13Merge pull request #67602 from mikem8361/fixunwind60Carlos Sanchez
Fix remote unwinding on MacOS Monterey (12)
2022-04-13Merge pull request #67928 from ↵Carlos Sanchez
vseanreesermsft/internal-merge-6.0-2022-04-12-1157 Merging internal commits for release/6.0
2022-04-12Merge commit 'be98e88c760526452df94ef452fff4602fb5bded' into ↵Sean Reeser
internal-merge-6.0-2022-04-12-1157
2022-04-11Add libssl3 dependency (#67705)github-actions[bot]
Co-authored-by: Nikola Milosavljevic <nikolam@microsoft.com>
2022-04-06Code review feedback. Update licensingMike McLaughlin
2022-04-06improve SslStream tests on server 2022 (#67240)Natalia Kondratyeva
2022-04-06Move to Windows.10.Amd64.Server2022.ES.Open (#67054)Elinor Fung
2022-04-06Update branding to 6.0.5 (#67615)vseanreesermsft
* Update branding to 6.0.5 * Remove GeneratePackageOnBuild from all projects which added it in 6.0.4 Co-authored-by: Eric StJohn <ericstj@microsoft.com>
2022-04-06Code review feedbackMike McLaughlin
2022-04-05Fix remote unwinding on MacOS Monterey (12)Mike McLaughlin
VS4Mac crash reports on MacOS v12 (Monterey) are missing native stack frames. Can not properly triage VS4Mac failures. Issue: https://github.com/dotnet/diagnostics/issues/2924 The amd64 frameless compact encoding is being used now in MacOS version 12 and needed to be implemented. VS4Mac confirmed that this fixes the missing native frame issue on MacOS x64. Low. Only affects createdump and DAC.
2022-03-14Merged PR 21497: [release/6.0] MSRC 68590 - newlines in domain literalsv6.0.4Tomas Weinfurt
This add validation for embedded newlines in email addresses. Based on https://dev.azure.com/dnceng/internal/_git/dotnet-runtime/pullrequest/20738 There is opt-in System.Net.Mail.EnableFullDomainLiterals switch to allow previous behavior
2022-03-14Merge in 'release/6.0' changesdotnet-bot
2022-03-14[release/6.0] Update dependencies from dotnet/emsdk dotnet/arcade (#66144)dotnet-maestro[bot]
* Update dependencies from https://github.com/dotnet/arcade build 20220222.7 Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.GenAPI , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.GenFacades , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.Helix.Sdk From Version 2.5.1-beta.22107.2 -> To Version 2.5.1-beta.22122.7 * Update dependencies from https://github.com/dotnet/emsdk build 20220308.1 Microsoft.NET.Workload.Emscripten.Manifest-6.0.100 From Version 6.0.2 -> To Version 6.0.3 * Fix weird character problem * Update dependencies from https://github.com/dotnet/emsdk build 20220308.2 Microsoft.NET.Workload.Emscripten.Manifest-6.0.100 From Version 6.0.2 -> To Version 6.0.4 * Update dependencies from https://github.com/dotnet/arcade build 20220309.8 Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.GenAPI , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.GenFacades , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.Helix.Sdk From Version 2.5.1-beta.22107.2 -> To Version 2.5.1-beta.22159.8 * On run package validation for CSProj-built packages This fixes an issue where a non-CSProj built package would load MS.CA.dll , then a CSProj would try to load MS.CA.CS.dll of a different version and it's MS.CA types would not agree with those already bound to the task from previous load. Further details: https://github.com/dotnet/sdk/pull/22277 * Update dependencies from https://github.com/dotnet/emsdk build 20220311.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 From Version 6.0.4 -> To Version 6.0.4 * Update dependencies from https://github.com/dotnet/arcade build 20220311.1 Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.GenAPI , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.GenFacades , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.Helix.Sdk From Version 2.5.1-beta.22107.2 -> To Version 2.5.1-beta.22161.1 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: Steve Pfister <steve.pfister@microsoft.com> Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com> Co-authored-by: Eric StJohn <ericstj@microsoft.com>
2022-03-11Merge in 'release/6.0' changesdotnet-bot
2022-03-11[release/6.0] update expected exception for cases when all requested TLS ↵github-actions[bot]
versions are disabled (#65046) * update expected exception for cases when all requested TLS versions are disabled * port test fix Co-authored-by: wfurt <tweinfurt@yahoo.com> Co-authored-by: Dan Moseley <danmose@microsoft.com>
2022-03-11Improve SSL platform detection (#64923) (#65054)Tomas Weinfurt
* CI matrix change: add Windows Server 2022 * Add registry check for ssl3 - tls1.2 tests * Disable TLS1.3 on framework code * Fix typo * revert queue change Co-authored-by: Jan Jahoda <jajahoda@microsoft.com> Co-authored-by: Jan Jahoda <jajahoda@microsoft.com>
2022-03-11Merge in 'release/6.0' changesdotnet-bot
2022-03-11[release/6.0] improve SslStream tests on misconfigured systems (#65024)github-actions[bot]
* improve SslStream tests on misconfigured systems * feedback from review Co-authored-by: wfurt <tweinfurt@yahoo.com>
2022-03-11Merge in 'release/6.0' changesdotnet-bot
2022-03-11[release/6.0] Fix catching of generic exception in crossgened shared generic ↵github-actions[bot]
code (#66207) * Add regression test for #66005 * Fix * Update src/coreclr/tools/Common/JitInterface/CorInfoImpl.cs Co-authored-by: Michal Strehovský <MichalStrehovsky@users.noreply.github.com> Co-authored-by: Jan Kotas <jkotas@microsoft.com> Co-authored-by: Michal Strehovský <MichalStrehovsky@users.noreply.github.com>
2022-03-11Merge in 'release/6.0' changesdotnet-bot
2022-03-11stabilize quic tests on server 2022 (#65097)github-actions[bot]
Co-authored-by: wfurt <tweinfurt@yahoo.com>
2022-03-11[release/6.0] Run tests for internal azdo PRs (#65526)Santiago Fernandez Madero
* Run tests for internal azdo PRs * PR Feedback * Fix PGO jobs on official builds We missed passing in the `isOfficialBuild` variable on the PGO jobs. * Don't run upload-intermediate-artifacts-step.yml for PGO leg * Fix .yml Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
2022-03-11Define SystemReflectionMetadataLoadContextVersion property for package ↵Michael Simons
references (#65614)
2022-03-11Merge in 'release/6.0' changesdotnet-bot
2022-03-11RID for Ubuntu 22.04 (#66225)Tomas Weinfurt
2022-03-11Fix compatibility with NTLM authentication to McAfee Web Gateway (#66315)github-actions[bot]
Co-authored-by: Filip Navara <navara@emclient.com>
2022-03-11Merge in 'release/6.0' changesdotnet-bot
2022-03-11backport of 66295 (#66301)Thays Grazia
2022-03-10Merge in 'release/6.0' changesdotnet-bot
2022-03-10[monoapi] Add mono_method_get_unmanaged_callers_only_ftnptr (#66299)Aleksey Kliger (λgeek)
Like `RuntimeMethodHandle.GetFunctionPointer`, but callable from native code
2022-03-10Remove redundant allocations from JsonSerializerOptions.GetConverter calls ↵Eirik Tsarpalis
(#65898) * Fix default converter reallocation on each call to JsonSerializerOptions.GetConverter * ensure package is released
2022-03-10Merge in 'release/6.0' changesdotnet-bot
2022-03-10Merge in 'release/6.0' changesdotnet-bot
2022-03-10Merge in 'release/6.0' changesdotnet-bot
2022-03-10[release/6.0] Fix Queryable-to-Enumerable overload mapping logic (#65857)github-actions[bot]
* Fix Queryable-to-Enumerable overload mapping logic * fix linker warnings * address feedback * use strict order when calculating maximal elements Co-authored-by: Eirik Tsarpalis <eirik.tsarpalis@gmail.com>
2022-03-10[release/6.0] Backport Fix PerformanceCounter's when running with ↵Tarek Mahmoud Sayed
Globalization Invariant Mode (#65537) * [dotnet/runtime] Backport Fix PerformanceCounter's when running with Globalization Invariant Mode (PR #65414) * Add GeneratePackageOnBuild & ServicingVersion project properties
2022-03-10[release/6.0] [mono] Fix stacktrace from DIM (#65509)Thays Grazia
* Backport of #60770 and #64566 * Fixing missing end line
2022-03-10Remove OpenSSL error queue checking after initialization (#65501)github-actions[bot]
Co-authored-by: Radek Zikmund <r.zikmund.rz@gmail.com>