Age | Commit message (Collapse) | Author |
|
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
|
|
* 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>
|
|
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>
|
|
* 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>
|
|
* improve SslStream tests on misconfigured systems
* feedback from review
Co-authored-by: wfurt <tweinfurt@yahoo.com>
|
|
Co-authored-by: wfurt <tweinfurt@yahoo.com>
|
|
|
|
Co-authored-by: Filip Navara <navara@emclient.com>
|
|
(#65898)
* Fix default converter reallocation on each call to JsonSerializerOptions.GetConverter
* ensure package is released
|
|
* 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>
|
|
Globalization Invariant Mode (#65537)
* [dotnet/runtime] Backport Fix PerformanceCounter's when running with Globalization Invariant Mode (PR #65414)
* Add GeneratePackageOnBuild & ServicingVersion project properties
|
|
Co-authored-by: Radek Zikmund <r.zikmund.rz@gmail.com>
|
|
[release/6.0] Bump runtime workload manifest to 300 / update emsdk dependency
|
|
[release/6.0] Remove Unused Encoding on UriHelper
|
|
configuration (#66366)
Partial backport of https://github.com/dotnet/runtime/pull/65413
https://github.com/dotnet/runtime/issues/61524 - OOM while linking `System.Text.Json.Tests`
Co-authored-by: Steve Pfister <steve.pfister@microsoft.com>
|
|
vseanreesermsft/internal-merge-6.0-2022-03-08-1138
Merging internal commits for release/6.0
|
|
|
|
* Fix race conditions in SystemEvents shutdown logic (#62773)
* Fix race conditions in SystemEvents shutdown logic
When the application is terminated through Restart Manager the event broadcasting window will get the `WM_CLOSE` message. The message gets handled by passing it to `DefWndProc` which calls `DestroyWindow` on the window itself thus making the window handle invalid. The `Shutdown` method expects the window handle to be valid to post `WM_QUIT` message to terminate the thread running the message loop but that's no longer possible under these conditions.
Additionally there's second race condition with the `s_eventThreadTerminated` event that is created during shutdown and set conditionally. A race condition between the threads could cause it to be created when the window message thread is already shutting down and thus it would never be set. Waiting for it in the `Shutdown` method would be cause a deadlock. This thread is also completely unnecessary since a `Join` is performed on the thread itself.
The fix has several changes that act together:
- `s_eventThreadTerminated` event is removed completely in favor of only relying on `Thread.Join`
- `WM_DESTROY` message is detected (which happens as a result of WM_CLOSE calling `DefWndProc` which in turn calls `DestroyWindow`) and handled by shutting down the message loop thread
- The message loop itself is rewritten to use standard `GetMessageW` loop. The reasoning on why it was not used seems not to be valid anymore since AppDomain shutdowns are performed differently
* Add unit test.
* Add braces
* Add package authoring for servicing
Co-authored-by: Filip Navara <filip.navara@gmail.com>
|
|
assembly version (#65733)
|
|
|
|
internal-merge-6.0-2022-03-08-1138
|
|
* Update branding to 6.0.4
* Remove <GeneratePackageOnBuild> strings from src/libraries/**/*.csproj files (excludes *.Transport.csproj files).
Co-authored-by: Carlos Sanchez <1175054+carlossanlop@users.noreply.github.com>
|
|
overshifting
Fixing the shift-left handling to correctly account for overshifting
|
|
This field was a left-over artifact from conflicts between the commits:
- https://github.com/dotnet/runtime/commit/70c070e84c617de0700612d03c5886e548195bed
- https://github.com/dotnet/runtime/commit/e53e5430c199c210b7d6f7ce508fb5fabb5faeba
In profiling the startup of a Maui Android app, this initialization is pulling in UTF32 and Latin1 encodings. The profile indicates this accounts for 7ms (roughly 1%). Removing this unnecessary field eliminates 7ms in a Maui App's InitializeComponent.
|
|
|
|
|
|
* [release/6.0] Port ICU tests fix for server core x86
* Update src/libraries/System.Globalization/tests/IcuTests.cs
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
* Add PlatformDetection.IsX86Process
Co-authored-by: Tarek Mahmoud Sayed <tarekms@microsoft.com>
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
|
|
|
|
|
|
APIs required by Xamarin (#64556)
|
|
|
|
|
|
Resolve MSRC 68613 for .NET 6
|
|
|
|
* Align MappeFieldDataStream at 8 byte boundary
* Add test to verify that the mapped field rva data blob is aligned to ManagedPEBuilder.MappedFieldDataAlignment
* Only align when the mapped field data is of size not equal to 0
* Adding Servicing changes for S.R.M
Co-authored-by: David Wrighton <davidwr@microsoft.com>
Co-authored-by: Eric StJohn <ericstj@microsoft.com>
|
|
* Avoid deadlock with ConfigurationManager
* Add packaging changes
Co-authored-by: Santiago Fernandez Madero <safern@microsoft.com>
|
|
* [mobile] Add extra HttpClientHandler linker substitution
The linker substitution for HttpClientHandler.IsNativeHandlerEnabled only worked when <UseNativeHttpHandler> in a project was set
to false. Since the default for MAUI projects is true, this caused us to carry more assemblies than needed.
Fixes https://github.com/dotnet/runtime/issues/64361
* Update src/libraries/System.Net.Http/src/ILLink/ILLink.Substitutions.mobile.xml
Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com>
Co-authored-by: Steve Pfister <steve.pfister@microsoft.com>
Co-authored-by: Steve Pfister <steveisok@users.noreply.github.com>
Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com>
|
|
* Add regression test for object[] -> Int32Enum[] array copy
where each element in the source array is the appropriate type
* Fix downcast check in slow array copy
When we have to resort to checking element by element, compare the type of each
actual element with the destination type. In particular, not the destinations
underlying type when it's an enum - we don't want to allow unrelated enums
using the same representation to copy over.
Fixes https://github.com/dotnet/runtime/issues/64387
Co-authored-by: Aleksey Kliger <alklig@microsoft.com>
|
|
strings (#64460)
* Fix DateOnly and TimeOnly Formatting using interpolated strings
* Add TryFormat tests
Co-authored-by: Tarek Mahmoud Sayed <tarekms@microsoft.com>
|
|
Co-authored-by: Jeremy Barton <jbarton@microsoft.com>
|
|
Update to match the new names from https://github.com/xamarin/xamarin-macios/pull/13847
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
|
|
* add RID for Alpine 3.15 (#62938)
* add packaging
Co-authored-by: Antoine Martin <dev@ayakael.net>
|
|
|
|
(#64099) (#64266)
Co-authored-by: Stephen Toub <stoub@microsoft.com>
# Conflicts:
# src/libraries/System.IO.MemoryMappedFiles/tests/MemoryMappedFile.CreateNew.Tests.cs
# src/libraries/System.IO.MemoryMappedFiles/tests/MemoryMappedViewAccessor.Tests.cs
# src/libraries/System.IO.MemoryMappedFiles/tests/MemoryMappedViewStream.Tests.cs
# src/libraries/System.IO.MemoryMappedFiles/tests/MemoryMappedViewStreamConformanceTests.cs
|
|
Co-authored-by: Eaton Zveare <eaton@eaton-works.com>
|
|
The previous check failed 3.0.0 because the Minor was 0 and Build was 0.
It could probably be rewritten to be `>= new Version(1, 0, 2)`, but that'd require more thinking.
Co-authored-by: Jeremy Barton <jbarton@microsoft.com>
|
|
|
|
* Update SAN test to account for OpenSSL 3 changes.
* Fix test for browser
Co-authored-by: Kevin Jones <kevin@vcsjones.com>
|
|
|
|
* Update branding to 6.0.3
* Clear list of OOB packages built on the branch and always build ref pack
Co-authored-by: Santiago Fernandez Madero <safern@microsoft.com>
|