- 25 3月, 2022 16 次提交
-
-
由 Radek Zikmund 提交于
-
由 Zoltan Varga 提交于
-
由 Kunal Pathak 提交于
-
由 Stephen Toub 提交于
The XML deserializer tracks for each property whether it's already been seen in the input being deserialized, and to do that the reader allocates a bool[] array. We can instead stackalloc that for a reasonable number of properties.
-
由 Dan Moseley 提交于
-
由 Radek Zikmund 提交于
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. Co-authored-by: NJeremy Barton <jbarton@microsoft.com> Co-authored-by: NTomas Weinfurt <tweinfurt@yahoo.com>
-
由 Elinor Fung 提交于
-
由 Kevin Jones 提交于
Historically, the asymmetric algorithm base classes have had the hashing routines as abstract (or virtual+throw). Now the base classes provide an implementation for these methods, reducing the amount of redundant effort on the part of derived types.
-
由 Dan Roberts 提交于
-
由 Steve Pfister 提交于
The crypto test suites were originally disabled as they would run out of memory on both emulators and devices somewhat frequently. This change enables them again, with the difference being that xunit will run tests on a single thread. Addresses #62547
-
由 Miha Zupan 提交于
* Avoid issuing connection attempts for already canceled requests * Cancelled => Canceled * Guard SocketsHttpHandler tests under SocketsHttpHandler.IsSupported
-
由 Jan Kotas 提交于
There is no good reason for these to be separate types. Co-authored-by: NTheodore Tsirpanis <teo@tsirpanis.gr>
-
由 Adeel Mujahid 提交于
When cmake configuration fails due to missing dependency or manually terminated in the middle (Ctrl+C) for some reason, re-running the build command fails with these messages: ``` CMake command line is unchanged. Reusing previous cache instead of regenerating. Unable to find generated build files for "native libraries component" project! ``` The workaround is to delete artifacts directory and rerun the build command, which is wasteful (as it repreforms all the previous steps including rebuilding the previous subsets). cmake has its own up-to-date caching mechanism which works well on Unix (it has some issues on Windows/MSBuild), so deleting the custom sentinel-based cache on Unix makes it more robust and saves some time. The one in `gen-buildsys.cmd` for Windows is kept intact.
-
由 dotnet-maestro[bot] 提交于
Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
-
由 dotnet-maestro[bot] 提交于
Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
-
由 Bruce Forstall 提交于
Fix a previously unused piece of code to handle a loop cloning case where the `head` block of a loop branches to the entry block.
-
- 24 3月, 2022 24 次提交
-
-
-
由 Eirik Tsarpalis 提交于
* Fix #66687 * enable small buffer async tests for collections
-
由 Kevin Jones 提交于
-
由 Eirik Tsarpalis 提交于
-
由 Trayan Zapryanov 提交于
Co-authored-by: NTrayan Zapryanov <Traian.Zaprianov@docuware.com>
-
由 Elinor Fung 提交于
-
由 Radek Zikmund 提交于
* Add Expiry timestamp on SafeFreeCredentials handle * Recalculate expiration timestamp based on CertificateContext * Fix case when user provides CertificateContext
-
由 Johan Lorensson 提交于
Fixed and enabled CoreCLR runtime tests running on Mono Windows x64.
-
由 dotnet-maestro[bot] 提交于
* Update dependencies from https://github.com/dotnet/arcade build 20220317.4 Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.TargetFramework , 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.22166.1 -> To Version 2.5.1-beta.22167.4 * Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20220317.1 Microsoft.CodeAnalysis.NetAnalyzers From Version 7.0.0-preview1.22166.1 -> To Version 7.0.0-preview1.22167.1 * Update dependencies from https://github.com/dotnet/arcade build 20220318.2 Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.TargetFramework , 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.22166.1 -> To Version 2.5.1-beta.22168.2 * Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20220318.1 Microsoft.CodeAnalysis.NetAnalyzers From Version 7.0.0-preview1.22166.1 -> To Version 7.0.0-preview1.22168.1 * Update dependencies from https://github.com/dotnet/runtime build 20220321.1 runtime.native.System.IO.Ports , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.DotNetHost , Microsoft.NETCore.ILAsm , Microsoft.NETCore.DotNetHostPolicy , System.Text.Json , Microsoft.NET.Sdk.IL From Version 7.0.0-preview.3.22163.2 -> To Version 7.0.0-preview.3.22171.1 * Update dependencies from https://github.com/dotnet/arcade build 20220321.2 Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.TargetFramework , 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.22166.1 -> To Version 2.5.1-beta.22171.2 * Update dependencies from https://github.com/dotnet/icu build 20220321.4 Microsoft.NETCore.Runtime.ICU.Transport From Version 7.0.0-preview.3.22157.1 -> To Version 7.0.0-preview.4.22171.4 * Update dependencies from https://github.com/dotnet/runtime-assets build 20220321.1 Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Drawing.Common.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData From Version 7.0.0-beta.22166.2 -> To Version 7.0.0-beta.22171.1 * Update dependencies from https://github.com/dotnet/emsdk build 20220321.3 Microsoft.NET.Workload.Emscripten.Manifest-7.0.100 From Version 7.0.0-preview.3.22167.1 -> To Version 7.0.0-preview.4.22171.3 * Update dependencies from https://github.com/dotnet/hotreload-utils build 20220321.1 Microsoft.DotNet.HotReload.Utils.Generator.BuildTool From Version 1.0.2-alpha.0.22164.2 -> To Version 1.0.2-alpha.0.22171.1 * Update dependencies from https://github.com/dotnet/llvm-project build 20220321.2 runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools , runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools , runtime.linux-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.linux-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools , runtime.osx.10.12-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.osx.10.12-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools From Version 11.1.0-alpha.1.22164.2 -> To Version 11.1.0-alpha.1.22171.2 * Update dependencies from https://github.com/dotnet/emsdk build 20220322.1 Microsoft.NET.Workload.Emscripten.Manifest-7.0.100 From Version 7.0.0-preview.3.22121.1 -> To Version 7.0.0-preview.4.22172.1 * Update dependencies from https://github.com/dotnet/icu build 20220322.1 Microsoft.NETCore.Runtime.ICU.Transport From Version 7.0.0-preview.3.22121.1 -> To Version 7.0.0-preview.4.22172.1 * Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20220322.1 Microsoft.CodeAnalysis.NetAnalyzers From Version 7.0.0-preview1.22166.1 -> To Version 7.0.0-preview1.22172.1 * Revert changes from Roslyn-Analyzers Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: NLarry Ewing <lewing@microsoft.com> Co-authored-by: NJuan Hoyos <juan.hoyos@microsoft.com>
-
由 Jesper Meyer 提交于
-
由 Eric Erhardt 提交于
* Update coding-style to include target-typed new guideline Similar to `var` usage, `new()` usage is only allowed when the Type can be understood from the same line. Fix #53369 * Fix coding style violations
-
由 Zoltan Varga 提交于
* 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 ().
-
由 Stephen Toub 提交于
We can safely ignore cancellation exceptions due to WaitAsync being canceled. They do not represent work that was started and interrupted, and we know exactly the source of the exception (as compared to if the exception emerged from either MoveNextAsync or the loop body).
-
由 Zoltan Varga 提交于
* [mono] Optimize generic sharing for generic methods. Previously, rgctx entries where stored either in the class rgctx or the method rgctx in linked structures, and accessed using rgctx trampolines (for non-llvmonly configuration), or inline code and fallback C code (for llvmonly configuration). However, if a method has an mrgctx parameter, all the rgctx entries can be stored as an array in the mrgctx and accessed using a simple load. One complication is that the mrgctx might need to be allocated before the method is compiled/loaded, so the rgctx entries need to be stored in a separate array, and the array needs to be initialized on demand. * Add an 'entries' field to MonoMethodRuntimeGenericContext which stores the rgctx entries. * Add a MonoGSharedMethodInfo structure which stores the information needed to initialize a MonoMethodRuntimeGenericContext, i.e. the number of rgctx entries and their contents. * Add a MONO_PATCH_INFO_GSHARED_METHOD_INFO patch type to refer to the previous structure. * Add a mini_init_method_rgctx () JIT icall, which initializes an mrgctx if needed and generate code in the prolog of gshared methods to call it. * [mono] Pass an mrgctx to static/valuetype gshared methods. Previously, these methods were passed a vtable. Passing the mrgctx instead simplifies some runtime code and allows smaller/faster access to rgctx entries. * Add rgctx trampolines in get_ftnptr_for_method (). * [mono][wasm] Avoid AOTing Microsoft.CodeAnalysis.dll as well.
-
由 Maksym Koshovyi 提交于
-
由 Stephen Toub 提交于
-
由 Stephen Toub 提交于
-
由 Maksym Koshovyi 提交于
* Annotate src * Annotate ref * Make internal parameters non-nullable if they never receive null
-
由 Aaron Robinson 提交于
-
由 keymoon 提交于
* implement divide-and-conquer method for parsing digits * fix argument order in Assert when x equals to 0 * Apply format fix Co-authored-by: NStephen Toub <stoub@microsoft.com> * add test for non-naive algorithm * add description for naiveThreshold * fix trivial part * add check for boundary condition * add assertions and descriptions * change variable name * remove inappropreate use of var * to use ArrayPool<int>.Shared.Rent for newBuffer allocation * move both algorithms to separate methods * add and fix comments * trivial fix Co-authored-by: NStephen Toub <stoub@microsoft.com>
-
由 Tanner Gooding 提交于
Ensure that fgMorphFieldToSimdGetElement doesn't call gtNewSimdGetElementNode if the ISA is unsupported (#66853) * Ensure that fgMorphFieldToSimdGetElement doesn't call gtNewSimdGetElementNode if the ISA is unsupported * Ensure fgMorphFieldToSimdGetElement is correctly checking for AdvSimd support on Arm64 * Ensure impExpandHalfConstEqualsSIMD checks for baseline simd support
-
由 Maksym Koshovyi 提交于
* BeginScope can return a null IDisposable. And TState is not nullable.
-
由 Jakob Botsch Nielsen 提交于
It seems there is a linker bug related to control-flow guard that is causing #66969. In eb8460fd a thunktemplates.asm file was added that has a LEAF_END_MARKED at the end of the file. This creates two symbols for the same upcoming address. Normally that should be fine, but in this case it causes the linker to place the same address twice in a CFG table in the PE file. This causes the kernel to fail while loading the image. A simple workaround would be to add a nop at the end of thunktemplates.asm, but @janvorli suggested giving these symbols their own address in all cases for goodness when debugging. We already do so for Windows x64 it looks like. Fix #66969
-
由 David Edey 提交于
Both the un-altered and colon-normalized prefixes now match environment variables in either the __ or colon formats. The change includes minor refactors to the EnvironmentVariablesConfigurationProvider to make the code easier to follow and reduce the likelihood of future regressions. Test naming has been made clearer, and a comprehensive test has been added. Fix #65756
-