- 12 8月, 2022 25 次提交
-
-
由 Eric Erhardt 提交于
Using MEDI is annotated as RequiresDynamicCode because it supports enumerable and generic servcies with ValueTypes. When using DI with ValuesTypes, the array and generic code might not be available. Contributes to #71654
-
由 Tom Deseyn 提交于
* Tar: restore directory permissions while extracting. * PR feedback. * On Windows, as on Unix: don't set group/other write permission by default. * Fix Windows compilation. * Fix Windows compilation II. * Update test for Windows. * Fix test WindowsFileMode value. * Remove branch. * Apply suggestions from code review Co-authored-by: NEric Erhardt <eric.erhardt@microsoft.com> * Add back DefaultWindowsMode. * Fix build failure in TarWriter due to DefaultWindowsMode usage. * Fix DefaultWindowsMode. * Apply suggestions from code review Co-authored-by: NCarlos Sanchez <1175054+carlossanlop@users.noreply.github.com> Co-authored-by: NEric Erhardt <eric.erhardt@microsoft.com> Co-authored-by: NCarlos Sanchez <1175054+carlossanlop@users.noreply.github.com>
-
由 Victor Irzak 提交于
Co-authored-by: NTheodore Tsirpanis <teo@tsirpanis.gr> Co-authored-by: NAdam Sitnik <adam.sitnik@gmail.com> Co-authored-by: NJan Kotas <jkotas@microsoft.com>
-
由 Caleb Cornett 提交于
-
由 Michal Strehovský 提交于
If we were in a situation like in the regression test, we would devirtualize the `GrabObject` call to `SomeUnallocatedClass.GrabObject`. But because `SomeUnallocatedClass` was never allocated, the scanner didn't scan it, and bad things would happen. Prevent devirtualizing into types that were not seen as allocated. This is not a real issue for non-generic (non-shareable) types because the tentative instance method optimization generates throwing bodies for these. But tentative method optimization doesn't run for shared generics: https://github.com/dotnet/runtime/blob/4cbe6f99d23e04c56a89251d49de1b0f14000427/src/coreclr/tools/Common/Compiler/MethodExtensions.cs#L115 This was rare enough that we haven't seen it until I did #73683 and there was one useless constructor that we stopped generating and triggered this. This also includes what is essentially a rollback of https://github.com/dotnet/runtimelab/pull/1700. This should have been rolled back with https://github.com/dotnet/runtime/pull/66145 but I forgot we had this. It was not needed. * Update tests.proj
-
由 Ankit Jain 提交于
- Disable some tests on NodeJS/Windows - Introduce NodeJS platform in PlatformDetection. Co-authored-by: NMarek Fišera <mara@neptuo.com>
-
由 Katelyn Gadd 提交于
Introduce a JSSynchronizationContext that automatically remotes function calls back to the browser thread and queues them as background jobs. Exercise sync context in threads sample to display the complete progress indicator Clean up an old copy-paste error in the typescript
-
由 Shay Rojansky 提交于
Closes #715
-
由 Michal Strehovský 提交于
-
由 dotnet-maestro[bot] 提交于
* Update dependencies from https://github.com/dotnet/runtime-assets build 20220726.1 Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Drawing.Common.TestData , System.Formats.Tar.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.22361.2 -> To Version 7.0.0-beta.22376.1 * Update dependencies from https://github.com/dotnet/emsdk build 20220726.1 Microsoft.NET.Workload.Emscripten.Manifest-7.0.100 From Version 7.0.0-rc.1.22368.1 -> To Version 7.0.0-rc.1.22376.1 * Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20220728.2 Microsoft.CodeAnalysis.NetAnalyzers From Version 7.0.0-preview1.22373.2 -> To Version 7.0.0-preview1.22378.2 * Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20220729.1 Microsoft.CodeAnalysis.NetAnalyzers From Version 7.0.0-preview1.22373.2 -> To Version 7.0.0-preview1.22379.1 * Update dependencies from https://github.com/dotnet/runtime build 20220731.5 Microsoft.NET.Sdk.IL , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.DotNetHost , Microsoft.NETCore.DotNetHostPolicy , Microsoft.NETCore.ILAsm , runtime.native.System.IO.Ports , System.Text.Json From Version 7.0.0-rc.1.22374.4 -> To Version 7.0.0-rc.1.22381.5 * Update dependencies from https://github.com/dotnet/icu build 20220802.1 Microsoft.NETCore.Runtime.ICU.Transport From Version 7.0.0-rc.1.22375.1 -> To Version 7.0.0-rc.1.22402.1 * Update dependencies from https://github.com/dotnet/xharness build 20220801.2 Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit From Version 1.0.0-prerelease.22375.5 -> To Version 1.0.0-prerelease.22401.2 * Update dependencies from https://github.com/dotnet/emsdk build 20220801.1 Microsoft.NET.Workload.Emscripten.Manifest-7.0.100 From Version 7.0.0-rc.1.22368.1 -> To Version 7.0.0-rc.1.22401.1 * Update dependencies from https://github.com/dotnet/runtime-assets build 20220802.1 Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Drawing.Common.TestData , System.Formats.Tar.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.22361.2 -> To Version 7.0.0-beta.22402.1 * Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20220803.2 Microsoft.CodeAnalysis.NetAnalyzers From Version 7.0.0-preview1.22373.2 -> To Version 7.0.0-preview1.22403.2 * Update dependencies from https://github.com/dotnet/msquic build 20220803.1 System.Net.MsQuic.Transport From Version 7.0.0-alpha.1.22371.1 -> To Version 7.0.0-alpha.1.22403.1 * Update dependencies from https://github.com/dotnet/llvm-project build 20220804.1 runtime.linux-arm64.Microsoft.NETCore.Runtime.ObjWriter , runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.ObjWriter , runtime.linux-musl-x64.Microsoft.NETCore.Runtime.ObjWriter , runtime.linux-x64.Microsoft.NETCore.Runtime.ObjWriter , runtime.osx.11.0-arm64.Microsoft.NETCore.Runtime.ObjWriter , runtime.osx.10.12-x64.Microsoft.NETCore.Runtime.ObjWriter , runtime.win-arm64.Microsoft.NETCore.Runtime.ObjWriter , runtime.win-x64.Microsoft.NETCore.Runtime.ObjWriter From Version 1.0.0-alpha.1.22364.1 -> To Version 1.0.0-alpha.1.22404.1 * Update dependencies from https://github.com/dotnet/xharness build 20220805.1 Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit From Version 1.0.0-prerelease.22375.5 -> To Version 1.0.0-prerelease.22405.1 * Update dependencies from https://github.com/dotnet/emsdk build 20220805.3 Microsoft.NET.Workload.Emscripten.Manifest-7.0.100 From Version 7.0.0-rc.1.22368.1 -> To Version 7.0.0-rc.1.22405.3 * Update dependencies from https://github.com/dotnet/msquic build 20220805.1 System.Net.MsQuic.Transport From Version 7.0.0-alpha.1.22371.1 -> To Version 7.0.0-alpha.1.22405.1 * Update dependencies from https://github.com/dotnet/llvm-project build 20220806.4 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 , runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools From Version 11.1.0-alpha.1.22376.4 -> To Version 11.1.0-alpha.1.22406.4 * Update dependencies from https://github.com/dotnet/runtime build 20220807.4 Microsoft.NET.Sdk.IL , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.ILAsm , runtime.native.System.IO.Ports , System.Text.Json From Version 7.0.0-rc.1.22374.4 -> To Version 7.0.0-rc.1.22407.4 * Update dependencies from https://github.com/dotnet/icu build 20220808.1 Microsoft.NETCore.Runtime.ICU.Transport From Version 7.0.0-rc.1.22375.1 -> To Version 7.0.0-rc.1.22408.1 * Update dependencies from https://github.com/dotnet/xharness build 20220808.1 Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit From Version 1.0.0-prerelease.22375.5 -> To Version 1.0.0-prerelease.22408.1 * Update dependencies from https://github.com/dotnet/emsdk build 20220808.2 Microsoft.NET.Workload.Emscripten.Manifest-7.0.100 From Version 7.0.0-rc.1.22368.1 -> To Version 7.0.0-rc.1.22408.2 * Update dependencies from https://github.com/dotnet/llvm-project build 20220808.2 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 , runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools From Version 11.1.0-alpha.1.22376.4 -> To Version 11.1.0-alpha.1.22408.2 * Update dependencies from https://github.com/dotnet/runtime-assets build 20220809.1 Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Drawing.Common.TestData , System.Formats.Tar.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.22361.2 -> To Version 7.0.0-beta.22409.1 * Use stable VS2022 build images llvm-project uses that one too now so we shouldn't hit the MSVC ABI issue * Update dependencies from https://github.com/dotnet/llvm-project build 20220811.1 runtime.linux-arm64.Microsoft.NETCore.Runtime.ObjWriter , runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.ObjWriter , runtime.linux-musl-x64.Microsoft.NETCore.Runtime.ObjWriter , runtime.linux-x64.Microsoft.NETCore.Runtime.ObjWriter , runtime.osx.11.0-arm64.Microsoft.NETCore.Runtime.ObjWriter , runtime.osx.10.12-x64.Microsoft.NETCore.Runtime.ObjWriter , runtime.win-arm64.Microsoft.NETCore.Runtime.ObjWriter , runtime.win-x64.Microsoft.NETCore.Runtime.ObjWriter From Version 1.0.0-alpha.1.22364.1 -> To Version 1.0.0-alpha.1.22411.1 * Update dependencies from https://github.com/dotnet/emsdk build 20220811.1 Microsoft.NET.Workload.Emscripten.Manifest-7.0.100 From Version 7.0.0-rc.1.22368.1 -> To Version 7.0.0-rc.1.22411.1 Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: NLarry Ewing <lewing@microsoft.com> Co-authored-by: NAnkit Jain <radical@gmail.com> Co-authored-by: NAlexander Köplinger <alex.koeplinger@outlook.com>
-
由 Stephen Toub 提交于
* Avoid url string allocation in WebProxy.IsMatchInBypassList * Update src/libraries/System.Net.WebProxy/src/System/Net/WebProxy.cs Co-authored-by: NMiha Zupan <mihazupan.zupan1@gmail.com> Co-authored-by: NMiha Zupan <mihazupan.zupan1@gmail.com>
-
由 Buyaa Namnan 提交于
* Copy back Missing.Value after Invoke * Refactor to use existing copy back mechanism Co-authored-by: NSteve Harter <steveharter@users.noreply.github.com>
-
由 Theodore Tsirpanis 提交于
-
由 Aaron Robinson 提交于
-
由 Tarek Mahmoud Sayed 提交于
-
由 Hong Li 提交于
* fix a couple issues with Microsoft.XmlSerailizer.Generator * update per PR feedback * update 2 - change default to True * correct a mistake
-
由 Eric Erhardt 提交于
The only libraries that aren't enabled yet are DependencyInjection and Hosting. These will come in a separate PR. Contributes to #71654
-
由 Michal Strehovský 提交于
Turns out we do have one situation where a MethodTable would have no metadata - when it's the unconstructed MethodTable. User code doesn't see them.
-
由 Tom McDonald 提交于
#73769
-
由 Pavel Savara 提交于
* fix bad rename of maxParallelDownloads - throttling * fix re-try logic * fixed counting of loaded assets * catching more error cases * fix blazor detection
-
由 SingleAccretion 提交于
* Encode small structs as bitcast targets * Add a test
-
由 Radek Zikmund 提交于
https://github.com/dotnet/runtime/pull/73713 added Windows.11.Arm64.Open runs to check MsQuic functionality there, but currently, there is no HW servicing the queue and the ci job timeouts. This PR temporarily suspends runs on the queue until appropriate HW is deployed to helix.
-
由 Tanner Gooding 提交于
-
由 Layomi Akinrinade 提交于
* Honor naming policy for string enum deserialization * Remove cache bounds in favor of correctness * Address feedback * Remove possibly invalid dictionary key policy cache * Address feedback * Address feedback * Clean up
-
由 Peter Sollich 提交于
- verify_region_to_generation_map needs to skip read only segments as they are not represented in the region to generation map. - move check to verify the mark queue is empty from the destructor to a normal method, and add a call to that method at the end of the mark phase.
-
- 11 8月, 2022 15 次提交
-
-
由 Mitchell Hwang 提交于
-
由 Simon Rozsival 提交于
[Android][iOS] Enable HttpClientHandler.DangerousAcceptAnyServerCertificateValidator when using native handlers (#73763) The static `HttpClientHandler.DangerousAcceptAnyServerCertificateValidator` getter throws PNSE when the native HTTP handler is enabled because Xamarin.Android's `AndroidMessageHandler` and Xamarin.iOS `NSUrlSessionHandler` didn't use to have support for the `ServerCertificateCustomValidationCallback`. We already implemented the Android part in .NET 6 and support in the iOS implementation is WIP and we should be able to implement it in time for .NET 7. IMO it's safe to remove the exception in the getter in .NET 7. Closes #68898
-
由 Krzysztof Wicher 提交于
-
由 Michal Strehovský 提交于
Likely a single file related issue. Not sure how ConfigurationManager grabs the config files, but probably Assembly.Location. Will need to look at that. ``` [FAIL] System.Diagnostics.TraceSourceConfigTests.ConfigurationTests.ConfigWithEvents_RuntimeListener System.Configuration.ConfigurationErrorsException : Could not create System.Diagnostics.SourceSwitch. at System.Diagnostics.TraceUtils.GetRuntimeObject(String, Type, String) + 0x5b8 at System.Diagnostics.TraceConfiguration.<InitializingTraceSource>g__CreateSwitch|3_0(String, String, TraceConfiguration.<>c__DisplayClass3_0&) + 0x44 at System.Diagnostics.TraceConfiguration.InitializingTraceSource(Object, InitializingTraceSourceEventArgs) + 0x208 at System.Diagnostics.TraceSource.Config!<BaseAddress>+0xf7b98c at System.Diagnostics.TraceSource.OnInitializing(InitializingTraceSourceEventArgs) + 0x3c at System.Diagnostics.TraceSource.Initialize() + 0x78 at System.Diagnostics.TraceSourceConfigTests.ConfigurationTests.ConfigWithEvents_RuntimeListener() + 0x94 at System.Diagnostics.TraceSource.Config!<BaseAddress>+0x10bcbe4 at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean) + 0xd8 ```
-
由 Tomas Weinfurt 提交于
* consume MsQuic 2.1 for windows ARM64 builds * force run on Win11 arm64
-
由 Radek Zikmund 提交于
* Handle HTTP3 server closing its controls stream * React to server closing inbound control stream * Update src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/Http3Connection.cs Co-authored-by: NMarie Píchová <11718369+ManickaP@users.noreply.github.com> Co-authored-by: NMarie Píchová <11718369+ManickaP@users.noreply.github.com>
-
由 Pavel Savara 提交于
* more state locking and sanity * renamed the subtle-crypto.ts file, because that's not a worker Co-authored-by: NAnkit Jain <radical@gmail.com>
-
由 Michal Strehovský 提交于
Fixes #68660. This is a piece of logic that originates from .NET Native. We didn't have a hard stance on `Activator.CreateInstance<T>` at that time, so we took a conservative approach of always generating the default constructors for all types that have type handle. Since we now do static analysis and warn if `Activator` is used with something we couldn't analyze. We can trim more. I would delete the whole table and logic, but I'm not sure if we can't still hit a problem when `CreateInstance<T>` is used with a reflection blocked type - this would affect private reflection within CoreLib (we don't think about reflection when doing `new T()`, so this can happen). With reflection blocking even if dataflow figures out that `BlockedFromReflectionType..ctor` should be reflectable, we won't reflection enable it. We really should just get rid of reflection blocking (#72570). Then all of this can go away.
-
由 Meri Khamoyan 提交于
* #51393 skip tests on MacCatalyst
-
由 Anton Lapounov 提交于
Emit symbols for all instantiations of a generic method, not just the first one.
-
由 Adam Sitnik 提交于
-
由 Theodore Tsirpanis 提交于
* Use `GetTempPath2W` if available. * Avoid calling `NativeLibrary.Load` in `RuntimeInformation.OSArchitecture`. Co-authored-by: NStephen Toub <stoub@microsoft.com> Co-authored-by: NDavid Cantú <dacantu@microsoft.com>
-
由 Michal Strehovský 提交于
-
由 Robert Henry 提交于
* To keep ubsan happy, Use offsetof() rather than legacy handmade equivalent. * inline macros PAL_safe_offset and FIELD_OFFSET and replace with offsetof Using offsetof() will prevent various static analyzers and dynamic ubsan from complaining about indirecting through NULL.
-
由 Buyaa Namnan 提交于
* Add handling of generic attributes to CustomAttributeDecoder If the attribute constructor refers to the generic T in its signature, we would throw `BadImageFormatException`. This adds handling by capturing the generic context and interpreting the signature variables when needed. * Add tests Co-authored-by: NMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
-