- 16 6月, 2021 15 次提交
-
-
由 Steve Pfister 提交于
This change fixes a crash when running below API Level 24 due to SNIHostName and SSLParameters.setServerNames not being available. We will now throw a PlatformNotSupportedException to make things a little more apparent. Fixes #54182
-
由 Katelyn Gadd 提交于
This PR refactors all C# -> JS string decoding to go through a single path that maintains an intern table
-
由 Trivalik 提交于
resolves https://github.com/dotnet/runtime/issues/51222Co-authored-by: NTrivalik <rborchert@live.de>
-
由 Katelyn Gadd 提交于
Unboxing datetime instances is currently broken in some cases due to an incorrect method signature
-
由 Ankit Jain 提交于
Co-authored-by: NRadek Doulik <radekdoulik@gmail.com>
-
由 Theodore Tsirpanis 提交于
-
由 Adam Sitnik 提交于
Co-authored-by: NStephen Toub <stoub@microsoft.com>
-
由 Aleksey Kliger (λgeek) 提交于
Don't return null target methods in GetInterfaceMap for abstract classes, or classes using DIMs (#53972) * Add DIM tests for GetInterfaceMap Regression tests for https://github.com/dotnet/runtime/issues/53933 * Return null target methods from GetInterfaceMap in fewer cases If the iterface method is reabstracted, and either the found implementation method is abstract, or the found implementation method is from another DIM (meaning neither klass nor any of its ancestor classes implemented the method), then say the target method is null. Otherwise return the found implementation method, even if it is abstract, unless we found a reabstracted method in a non-abstract class Fixes https://github.com/dotnet/runtime/issues/53933
-
由 David Mason 提交于
-
由 Larry Ewing 提交于
This moves the shared parts of the mono workload to a separate abstract workload to allow the VS packaging tooling to treat it as a component group.
-
由 Jan Vorlicek 提交于
* Fix PAL_JitWriteProtect export on Linux I have not realized that we actually export that symbol on Linux too and that mscordac then have the dummy function missing. * Code review feedback * Disable PAL_JitWriteEnable usage in DBI / DAC * Fix typo in amd64 version Co-authored-by: NMike McLaughlin <mikem@microsoft.com>
-
由 Egor Chesakov 提交于
Split 16-byte SIMD store around GC struct fields into two 8-byte SIMD stores (x86)/ two 8-byte mov-s (x64) (#53116) Fixes #51638 by using 1) Constructing `ASG(OBJ(addr), 0)` for structs that have GC fields and keeping the current IR (i.e. `ASG(BLK(addr), 0)`) for other types. Such bookkeeping would allow the JIT to maintain information about the class layout. 2a) Emitting a sequence of `mov [m64],r64` instead of `movdqu [m128],xmm` when zeroing structs with GC fields that are not guaranteed to be on the stack on win-x64 or linux-x64. 2b) Emitting a sequence of `movq [m64],xmm` when zeroing such structs on win-x86.
-
由 Aleksey Kliger (λgeek) 提交于
The JNI_OnLoad method calls GetClassGRef and GetMethod several hundred times during startup. The debug output is redundant (if any classes or methods are missing we will assert and print a message and kill the process) and it slows down startup.
-
由 Aleksey Kliger (λgeek) 提交于
and tvOS simulator
-
由 Viktor Hofer 提交于
Expose missing references which are present in the runtime and in packages in the targeting pack (#54147) * Expose missing refs from runtime in targeting pack The platform analyzers warns for usages of APIs which aren't available on specific platforms. Exposing the missing reference assemblies which are already part of the runtime pack in the targeting pack. The big benefit of doing so is that customers don't need to reference the corresponding packages to target these APIs and that these five packages can be dead-ended. For more in-depth reasoning, see the detailed summary: https://github.com/dotnet/runtime/issues/53892#issuecomment-858542280 Fixes https://github.com/dotnet/runtime/issues/53892 * Update dependents of dead-ended packages Update depents by referencing the latest available package. Making sure that packages are never used on NetCoreAppCurrent by applying .NETCoreApp version conditions. * Fixes * Remove pkg validation suppression file * Update Windows Compatibility pack * Fix DirectoryServices pkg references * Fix netfx Pkcs restore/build * Fix version conflict * Packageindex and nits * nits
-
- 15 6月, 2021 21 次提交
-
-
由 Viktor Hofer 提交于
* Add NetCoreAppCurrent config to where it's missing This is addressing the following scenarios in order: - When there is a netcoreapp3.1 or net5.0 asset available in the lib, also add a NetCoreAppCurrent configuration to avoid PackageReferences to libraries that are inbox in net6.0 but not in previous .NetCoreApp versions. Examples are M.Win32.Registry which will be inbox soon. - When there's a NetCoreAppCurrent config in the lib but not in the ref, add it there as well to always resolve the ref of the current version. - When there are NetCoreAppCurrent rid specific configuration in the lib not a non-rid configuration, add one so that P2Ps from rid-less NetCoreAppCurrent configs in other projects, pick the NetCoreAppCurrent config from the lib and the ref.
-
由 Robin van der Vliet 提交于
-
由 Alexander Köplinger 提交于
System.IO.Compression.Brotli.Tests takes 870 seconds already which is quite close to the 900s timeout.
-
由 Viktor Hofer 提交于
[main] Update dependencies from dotnet/runtime dotnet/arcade dnceng/internal/dotnet-optimization dotnet/xharness dotnet/hotreload-utils (#54179) * Update dependencies from https://github.com/dotnet/xharness build 20210610.3 Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Xunit From Version 1.0.0-prerelease.21307.1 -> To Version 1.0.0-prerelease.21310.3 * Update dependencies from https://github.com/dotnet/hotreload-utils build 20210610.2 Microsoft.DotNet.HotReload.Utils.Generator.BuildTool From Version 1.0.1-alpha.0.21307.1 -> To Version 1.0.1-alpha.0.21310.2 * Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20210610.4 optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR From Version 1.0.0-prerelease.21308.4 -> To Version 1.0.0-prerelease.21310.4 * Update dependencies from https://github.com/dotnet/arcade build 20210611.3 Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.VersionTools.Tasks , 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.CodeAnalysis , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.GenFacades , Microsoft.DotNet.GenAPI , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.SharedFramework.Sdk From Version 6.0.0-beta.21304.1 -> To Version 6.0.0-beta.21311.3 * Update dependencies from https://github.com/mono/linker build 20210610.3 Microsoft.NET.ILLink.Tasks From Version 6.0.100-preview.6.21308.1 -> To Version 6.0.100-preview.6.21310.3 * Update dependencies from https://github.com/dotnet/hotreload-utils build 20210611.1 Microsoft.DotNet.HotReload.Utils.Generator.BuildTool From Version 1.0.1-alpha.0.21307.1 -> To Version 1.0.1-alpha.0.21311.1 * Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20210612.4 optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR From Version 1.0.0-prerelease.21308.4 -> To Version 1.0.0-prerelease.21312.4 * Update dependencies from https://github.com/dotnet/runtime build 20210614.1 Microsoft.NETCore.DotNetHost , Microsoft.NETCore.DotNetHostPolicy , Microsoft.NETCore.ILAsm , runtime.native.System.IO.Ports , Microsoft.NET.Sdk.IL , System.Runtime.CompilerServices.Unsafe , System.Text.Json From Version 6.0.0-preview.6.21307.1 -> To Version 6.0.0-preview.6.21314.1 * Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20210613.4 optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR From Version 1.0.0-prerelease.21308.4 -> To Version 1.0.0-prerelease.21313.4 * Update dependencies from https://github.com/dotnet/xharness build 20210614.1 Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Xunit From Version 1.0.0-prerelease.21307.1 -> To Version 1.0.0-prerelease.21314.1 * Suppress false positive package validation errors Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
-
由 Alexander Köplinger 提交于
System.ComponentModel.Composition, System.Diagnostics.PerformanceCounter and System.Runtime.Caching. Helps with https://github.com/dotnet/runtime/issues/54012
-
由 Viktor Hofer 提交于
* Delete scripts.csproj * Update build.proj
-
由 Francesco Saltori 提交于
* Implement ServiceController.Stop(bool) overload with test * Add basic docs for new ServiceController.Stop overload * Name boolean parameter Co-authored-by: NIlya <darpa@yandex.ru> * Add a test for a valid use of ServiceController.Stop(bool) * Run tests for the new Stop(bool) overload only on .NETCoreApp * Add a test for manually stopping a service and its dependents with Stop(false) * Expose new Stop(bool) overload only for .NET Core 3.1+ * Target netcoreapp3.1 Co-authored-by: NIlya <darpa@yandex.ru> Co-authored-by: NViktor Hofer <viktor.hofer@microsoft.com>
-
由 David Fowler 提交于
-
由 Aaron Robinson 提交于
* Guidance on source generator projects
-
由 Jo Shields 提交于
Right now, when a process fails (e.g. cmake or xcodebuild), all of the STDERR captured during that process run is dumped in the exception. However, if silent is true, no STDOUT is captured at all, and we lose potentially vital debugging information contained within. This PR merges the stdout and stderr capture, and instead of not capturing anything when silent is true, it always captures and only returns nothing when silent is true. This should greatly ease debugging of failed tasks.
-
由 Nikola Milosavljevic 提交于
-
由 Stephen Toub 提交于
This lock existed to protect HttpClient.DefaultRequestHeaders. While headers collections aren't meant to be thread-safe, out of necessity the design of DefaultRequestHeaders required this lock be in place, with multiple concurrent requests all potentially enumerating DefaultRequestHeaders in order to copy its contents into the outgoing request. Such enumeration could trigger parsing, which could trigger the same object to be mutated from multiple threads to store the parsed result. But as of https://github.com/dotnet/runtime/pull/49673, we no longer force parsing of the DefaultRequestHeaders, instead preferring to just transfer everything over as-is. With that, there shouldn't be any concurrent mutation of these objects (and if there is, it's user error doing their own concurrent enumeration of a header collection).
-
由 Stephen Toub 提交于
-
由 Mitchell Hwang 提交于
Though the MonoAOTCompiler Task is included in the SDK in https://github.com/dotnet/runtime/blob/main/src/mono/nuget/Microsoft.NET.Runtime.MonoAOTCompiler.Task/Sdk/Sdk.props and should be accessible when using the NuGet, adding the second option to the MonoAOTCompiler task README allows for greater visibility on how to directly implement one's own UsingTask. Fixes #47630
-
由 Bill Wert 提交于
-
由 Viktor Hofer 提交于
-
由 Viktor Hofer 提交于
Revert "[main] Update dependencies from mono/linker dotnet/runtime dotnet/arcade dnceng/internal/dotnet-optimization dotnet/xharness dotnet/hotreload-utils (#54060)" (#54177) This reverts commit 4c0d2f01.
-
由 Juan Hoyos 提交于
* Revert "Add mibc to the PE family of signatures (#53048)" This reverts commit 4147948c. * Fix binlog path
-
由 Kunal Pathak 提交于
* Do not mark op2 as delayRegFree if op1==op2 * Revert NodesAreEquivalentLeaves change * Pass rmwNode to `BuildDelayFreeUses()` which does the right thing * Make similar change in arm64 * remove TODO comment * review feedback
-
由 Tanner Gooding 提交于
* Adding a JIT/SIMD test validating Vector.Sum * Ensure Vector.Sum uses SSE3, rather than SSSE3, for floating-point * Ensure we do ISA checks before popping values from the stack * Applying formatting patch
-
由 Pranav K 提交于
-
- 14 6月, 2021 4 次提交
-
-
由 Filip Navara 提交于
* Fix NTLM authentication from macOS to Windows machines The GSSAPI implementation on macOS has partially broken NTLM implementation. It only supports NTLMv2 with the message integrity code (MIC) as specified by the MS-NLMP specification. The MIC is calculated using HMAC-MD5 authentication code over the exchanged NTLM messages with a key named ExportedSessionKey. The proper generation of ExportedSessionKey requires the implementation to negotiate correct capabilities, namely NTLMSSP_NEGOTIATE_KEY_EXCH and at least one of NTLMSSP_NEGOTIATE_SIGN or NTLMSSP_NEGOTIATE_SEAL flags. By default the macOS implementation negotiates NTLMSSP_NEGOTIATE_KEY_EXCH and sends MIC but fails to set one of the additional flags that would make the key exchange valid. This results in violation of the following part of the NTLM specification: "A session key MUST always exist to generate the MIC (section 3.1.5.1.2) in the authenticate message. NTLMSSP_NEGOTIATE_ALWAYS_SIGN MUST be set in the NEGOTIATE_MESSAGE to the server and the CHALLENGE_MESSAGE to the client." Adding the GSS_C_INTEG_FLAG flag forces macOS to properly negitiate all the necessary flags (NTLMSSP_NEGOTIATE_ALWAYS_SIGN and NTLMSSP_NEGOTIATE_SIGN) to make the MIC exchange valid. This in turn enables the whole NTLM exchange to be recognized as valid by Windows server side. The gss-ntlmssp package on Linux interprets the GSS_C_INTEG_FLAG flag as additional negotiation of NTLMSSP_NEGOTIATE_SIGN and NTLMSSP_NEGOTIATE_KEY_EXCH. That should not hurt anything and in fact it may improve security depending on specific configuration. The flag was already specified when NTLM was used by System.Net.Mail.SmtpClient. * Add temporary test to verify NTLM and Negotiate connections from all platforms Notably this is expected to fail on Android and tvOS where GSSAPI is not available. The test machine is single purpose virtual machine running in Azure with clean Windows Server 2019 installation and all the patches. It hosts IIS with single static page behind an NT authentication. The test account and the machine itself is disposable and does NOT contain any sensitive data. Nevertheless I don't expect this test to be merged. * Use full domain name in test credentials * Revert "Use full domain name in test credentials" This reverts commit ea4dc615824c207845628143addc7d8c774ce702. * Revert "Add temporary test to verify NTLM and Negotiate connections from all platforms" This reverts commit abf44ce1430edf631fe74b15d354eca9073b4c83.
-
由 David Fowler 提交于
* Set the async local just before execution. - Subscribing to DiagnosticListener.AllListeners replays all created DiagnosticListener instances. Because of this, we need to set the async local just before the execution of the entry point so that we only collect the events that are relevant to the call. Right now, it's also firing with the async local set pre-maturely. - Wrote a concurrency test to make sure it's safe to instantiate the factory in parallel.
-
由 Eric Erhardt 提交于
Use the non-Emit codepath if IsDynamicCodeSupported is false.
-
由 Jeff Layton 提交于
-