- 20 4月, 2021 12 次提交
-
-
由 David Pine 提交于
- Add two `ConfigureHostOptions` extension methods - Two overloads exist, per [Maryam's comment](https://github.com/dotnet/runtime/pull/49502/files#r596466330) - Add corresponding unit tests to ensure these new methods function correctly Fixes #48743
-
由 Jakob Botsch Nielsen 提交于
Fix #51476
-
由 Matt Thalman 提交于
-
由 Omair Majid 提交于
Non-portable builds are used by source-build and also use for testing/debugging things, like trying out upcoming versions of OpenSSL.
-
由 Dong-Heon Jung 提交于
- Failed by https://github.com/dotnet/runtime/pull/51349
-
由 Eirik Tsarpalis 提交于
* initial backport of CBOR documentation * apply manual fixups to documentation * Update src/libraries/System.Formats.Cbor/src/System/Formats/Cbor/Reader/CborReader.Map.cs Co-authored-by: NCarlos Sanchez <1175054+carlossanlop@users.noreply.github.com> * Update src/libraries/System.Formats.Cbor/src/System/Formats/Cbor/Writer/CborWriter.Map.cs Co-authored-by: NCarlos Sanchez <1175054+carlossanlop@users.noreply.github.com> Co-authored-by: NCarlos Sanchez <1175054+carlossanlop@users.noreply.github.com>
-
由 devsko 提交于
-
由 David Pine 提交于
-
由 Filip Navara 提交于
Ref: https://github.com/xamarin/xamarin-macios/pull/11175#issuecomment-821969933, https://unicode-org.atlassian.net/browse/ICU-21591 There seems to be a bug in ICU that leads to deadlock when the time zone data are stripped. Since dotnet/icu uses the same stripping of data on all the platforms the time zone data are also not present on iOS/tvOS or any platform that consumes it. So even if the deadlock itself is resolved at some point it makes sense to use the same implementation for all the platforms that rely on the filtered app-local ICU data. I also enabled to code path on MacCatalyst to keep it consistent with iOS. I am open to change that. Android may need to be treated the same way too.
-
由 Aaron Robinson 提交于
* Create standalone class for CallConv parsing.
-
由 Natalia Kondratyeva 提交于
This PR fixed QuicStreamTests.BasicTest and QuicStreamTests.MultipleReadsAndWrites. Contributes to #49157
-
- 19 4月, 2021 5 次提交
-
-
由 GilesDMiddleton 提交于
.vsconfig was missing the missing the .NET 4.8 Targetting pack option. Fix #51455
-
由 Michal Strehovský 提交于
Allows us to test the documented single file behaviors. Not adding a new `PlatformDetection` thing for this since we don't really have a way to detect single file that wouldn't end us up testing a tautology.
-
由 Ben Adams 提交于
-
由 devsko 提交于
* simplify trimming non significant digits * PR feedback * fixed formatting
-
由 Layomi Akinrinade 提交于
* Add JSON source generator * Address review feedback * Address review feedback * Align project structure with src-gen conventions * Fix enum (de)serialization
-
- 18 4月, 2021 5 次提交
-
-
由 dotnet-maestro[bot] 提交于
[main] Update dependencies from dotnet/arcade dotnet/icu dotnet/xharness dotnet/runtime-assets (#51307) * Update dependencies from https://github.com/dotnet/arcade build 20210414.5 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.CodeAnalysis , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.GenFacades , Microsoft.DotNet.GenAPI , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageValidation , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.SharedFramework.Sdk From Version 6.0.0-beta.21212.6 -> To Version 6.0.0-beta.21214.5 * Update dependencies from https://github.com/dotnet/xharness build 20210415.2 Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Xunit From Version 1.0.0-prerelease.21214.1 -> To Version 1.0.0-prerelease.21215.2 * Update dependencies from https://github.com/dotnet/arcade build 20210415.5 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.CodeAnalysis , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.GenFacades , Microsoft.DotNet.GenAPI , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageValidation , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.SharedFramework.Sdk From Version 6.0.0-beta.21212.6 -> To Version 6.0.0-beta.21215.5 * Update dependencies from https://github.com/dotnet/runtime-assets build 20210415.1 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.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Windows.Extensions.TestData From Version 6.0.0-beta.21212.1 -> To Version 6.0.0-beta.21215.1 * Update dependencies from https://github.com/dotnet/arcade build 20210416.2 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.CodeAnalysis , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.GenFacades , Microsoft.DotNet.GenAPI , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageValidation , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.SharedFramework.Sdk From Version 6.0.0-beta.21212.6 -> To Version 6.0.0-beta.21216.2 * Update dependencies from https://github.com/dotnet/icu build 20210416.2 Microsoft.NETCore.Runtime.ICU.Transport From Version 6.0.0-preview.4.21212.2 -> To Version 6.0.0-preview.5.21216.2 * Update dependencies from https://github.com/dotnet/xharness build 20210416.1 Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Xunit From Version 1.0.0-prerelease.21214.1 -> To Version 1.0.0-prerelease.21216.1 * Update dependencies from https://github.com/dotnet/runtime-assets build 20210416.1 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.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Windows.Extensions.TestData From Version 6.0.0-beta.21212.1 -> To Version 6.0.0-beta.21216.1 Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: NAlexander Köplinger <alex.koeplinger@outlook.com>
-
由 Geoff Kizer 提交于
* rework request retry logic to be based off a fixed retry limit (MaxConnectionFailureRetries) instead of isNewConnection logic * be more conservative about request retries -- only allow on receiving EOF or GOAWAY from the server Co-authored-by: NGeoffrey Kizer <geoffrek@windows.microsoft.com>
-
由 Geoff Kizer 提交于
* add Task-based DisconnectAsync and refactor APM methods on top of it * fix BeginDisconnect to throw synchronously and add relevant tests * remove #region stuff in Socket.cs and add link to github issue Co-authored-by: NGeoffrey Kizer <geoffrek@windows.microsoft.com>
-
由 Mike McLaughlin 提交于
* MacOS single-file support changes Use dysymtab_command to just load the extern/export symbols. Don't read the whole symbol string table; read the symbol name a char at a time. https://github.com/dotnet/runtime/issues/38901 * Don't add null to symbol name * Code review feedback * Code review feedback * Code review feedback fix
-
https://github.com/mono/linker由 dotnet-maestro[bot] 提交于
Microsoft.NET.ILLink.Tasks From Version 6.0.100-preview.2.21215.2 -> To Version 6.0.100-preview.2.21217.1 Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
-
- 17 4月, 2021 18 次提交
-
-
由 Andy Ayers 提交于
If a BBJ_COND block falls through to an empty block which then jumps to some other block, see if reversing the branch condition might simplify flow. Resolves #46592.
-
由 Huo Yaoyuan 提交于
* Add Array.GetMaxLength<T> implementation. * Implement Array.MaxLength and fix all remaining references * Apply suggestions from code review Co-authored-by: NJan Kotas <jkotas@microsoft.com> * Apply suggestions from code review Co-authored-by: NJan Kotas <jkotas@microsoft.com> * Update src/libraries/System.Collections/tests/Generic/Stack/Stack.Generic.Tests.cs Co-authored-by: NJan Kotas <jkotas@microsoft.com> Co-authored-by: NStephen Toub <stoub@microsoft.com> Co-authored-by: NJan Kotas <jkotas@microsoft.com>
-
由 Stephen Toub 提交于
* Change InterpolatedStringBuilder to store bool for custom formatter * Use new string rather than ToString in InterpolatedStringBuilder * Address PR feedback
-
由 Alexander Köplinger 提交于
We were setting `_MonoLDFLAGS` in mono.proj but never passed the values down into CMake.
-
由 Levi Broderick 提交于
-
由 Eric Erhardt 提交于
Describe what it means to be applied to class, interface, or struct.
-
由 Levi Broderick 提交于
-
由 Anirudh Agnihotry 提交于
-
由 Emmanuel André 提交于
* Handle completed FlushResult on CopyToAsync * Avoid the async state machine if write finishes synchronously * Add test case for resume after target pipe is completed
-
由 Bruce Forstall 提交于
In case `fgOptimizeBranch` gets far enough to calculate the cost of statements it is considering duplicating, then it calls `gtPrepareCost` => `gtSetEvalOrder` to compute a statement's costs. Unfortunately, that can reverse operands (and in this case, did). `fgOptimizeBranch` is called only by `fgReorderBlocks` which is called by `fgInsertGCPolls`, late enough that the tree is already threaded with gtNext/gtPrev links. (The test case inserted multiple GC polls for SuppressGCTransitionAttribute code.) When the operands of the tree were swapped, nobody fixed up these links. The only other caller of `fgReorderBlocks` is `optOptimizeLayout`, which comes before the trees are threaded. The solution is to simply call `fgSetStmtSeq` if needed. No SPMI x86, x64 asm diffs. Fixes #51293, a failure in JIT/Performance/CodeQuality/Burgers/Burgers/Burgers.sh on Linux arm32 under JitStress=1. There is IBC data, and setting `COMPlus_JitDisablePgo=1` also fixes the failure.
-
由 Jakob Botsch Nielsen 提交于
We must take special care to keep the tailcall dispatcher targets alive while tailcalls are in-flight. In particular, given the following callstack: [B]M2() [SPC]DispatchTailCalls [A]M() it could happen that [B]M2() queued a tail call to a function [B]M3(). Since there is a live dispatcher on the call stack, this would result in [B]M2() storing a function pointer pointing to [B]M3() and returning to this dispatcher to let it take care of the tailcall. If B was loaded in a collectible ALC, it would then be possible for there to be nothing keeping this ALC alive, and for the assembly to be unloaded before the dispatcher invoked the function pointer. I was unable to come up with a test case where this happened without making changes to the dispatcher; the window otherwise seems to be too small. To reproduce the problem I thus had to add a Thread.Sleep(50) into the dispatcher, which quickly resulted in an AccessViolationException in the scenario above. With the changes in this commit I was then no logner able to reproduce the problem. Fix #41314
-
由 Mateo Torres-Ruiz 提交于
* Clean test * Remove dir deletion * Create parent dirs
-
由 Carlos Sanchez 提交于
* Caching the ValueTaskSource in AsyncWindowsFileStreamStrategy * Add debug assert to WriteByteSlow for _writePos == _bufferSize * Fix assertion failure * Apply suggestions from code review * Apply suggestions from code review * some pedantic polishing * fix the allocation bug: actually return the instance to the "pool" * don't Dipose the handle if it has default value * reset _result and _source in the Configure method * delay the moment when the ValueTaskSource becomes ready to be reused to the moment after _source.SetException|SetResult is called * apply Stephen suggestions * implement Stephen idea * use Reset in explicit way * remove outdated comment * address code review feedback Co-authored-by: Ncarlossanlop <carlossanlop@users.noreply.github.com> Co-authored-by: NDavid Cantú <dacantu@microsoft.com> Co-authored-by: NAdam Sitnik <adam.sitnik@gmail.com>
-
由 Alexander Köplinger 提交于
Some of the Android runtime tests were recently broken because they got an "entryPointLibName=<test assembly name>" argument in their Main args. This argument is normally used to run a specific test: https://github.com/dotnet/runtime/blob/dd63ea2e6a9cc6f2661b817d15e558fc6605fa17/src/tests/JIT/HardwareIntrinsics/Arm/Shared/Program.cs#L24 After https://github.com/dotnet/runtime/commit/1a98ba0ec20550c9e1ece5fff555d683dec3252b we were passing the `entryPointLibName` down to the managed app args even though it's only supposed to be used to tell the runtime which assembly to run.
-
由 dotnet-maestro[bot] 提交于
* Update dependencies from https://github.com/mono/linker build 20210415.1 Microsoft.NET.ILLink.Tasks From Version 6.0.100-preview.2.21212.5 -> To Version 6.0.100-preview.2.21215.1 * Update dependencies from https://github.com/mono/linker build 20210415.2 Microsoft.NET.ILLink.Tasks From Version 6.0.100-preview.2.21212.5 -> To Version 6.0.100-preview.2.21215.2 Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: NAlexander Köplinger <alex.koeplinger@outlook.com>
-
由 SingleAccretion 提交于
Revert "Handle casts done via helpers and fold overflow operations in value numbering (#50450)" (#51401) This reverts commit 730abc90.
-
由 Ivan Diaz Sanchez 提交于
Changed the CompilerIdentifier label from the previous hardcoded message to programmatically retrieve the current version. (#51352)
-
由 Omair Majid 提交于
Use smart pointers to avoid having to manually deallocate memory. - szOutputFileName was never being deallocated - `pAlias` and `exportDirData` were only being deallocated on the success path and not on any of the error paths.
-