Граф коммитов

5968 Коммитов

Автор SHA1 Сообщение Дата
dotnet-maestro[bot] f4fd180874
Update dependencies from https://github.com/dotnet/winforms build 20241015.12 (#9963)
Microsoft.Dotnet.WinForms.ProjectTemplates , Microsoft.Private.Winforms , System.Drawing.Common
 From Version 10.0.0-alpha.1.24512.4 -> To Version 10.0.0-alpha.1.24515.12

Dependency coherency updates

System.Reflection.MetadataLoadContext,System.Windows.Extensions,Microsoft.NETCore.Platforms,System.Resources.Extensions,System.Runtime.Serialization.Formatters,Microsoft.NETCore.App.Ref,Microsoft.NETCore.App.Runtime.win-x64,VS.Redist.Common.NetCore.SharedFramework.x64.10.0,Microsoft.Win32.Registry.AccessControl,Microsoft.Win32.SystemEvents,System.CodeDom,System.ComponentModel.Composition,System.Configuration.ConfigurationManager,System.Data.Odbc,System.Data.OleDb,System.Diagnostics.EventLog,System.Diagnostics.PerformanceCounter,System.DirectoryServices.AccountManagement,System.DirectoryServices.Protocols,System.DirectoryServices,System.Formats.Nrbf,System.IO.Packaging,System.IO.Ports,System.Management,System.Reflection.Context,System.Runtime.Caching,System.Security.Cryptography.Pkcs,System.Security.Cryptography.ProtectedData,System.Security.Cryptography.Xml,System.Security.Permissions,System.ServiceModel.Syndication,System.ServiceProcess.ServiceController,System.Speech,System.Text.Encoding.CodePages,System.Threading.AccessControl,System.ComponentModel.Composition.Registration
 From Version 10.0.0-alpha.1.24511.14 -> To Version 10.0.0-alpha.1.24514.25 (parent: Microsoft.Private.Winforms

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-10-16 11:06:26 +05:30
dotnet-maestro[bot] ab6c13e933
Update dependencies from https://github.com/dotnet/arcade build 20241014.3 (#9957)
Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.Helix.Sdk
 From Version 10.0.0-beta.24511.1 -> To Version 10.0.0-beta.24514.3

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-10-15 15:16:01 -07:00
Dipesh Kumar 58c3b2ee8e
Fixed ListView content alignment regression (#9952) 2024-10-15 12:00:48 +05:30
dotnet-maestro[bot] c906ad6f35
[main] Update dependencies from dotnet/winforms (#9941)
[main] Update dependencies from dotnet/winforms
- Coherency Updates:
  - System.Reflection.MetadataLoadContext: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.Windows.Extensions: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - Microsoft.NETCore.Platforms: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.Resources.Extensions: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.Runtime.Serialization.Formatters: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - Microsoft.NETCore.App.Ref: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - Microsoft.NETCore.App.Runtime.win-x64: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - VS.Redist.Common.NetCore.SharedFramework.x64.10.0: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - Microsoft.Win32.Registry.AccessControl: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - Microsoft.Win32.SystemEvents: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.CodeDom: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.ComponentModel.Composition: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.Configuration.ConfigurationManager: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.Data.Odbc: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.Data.OleDb: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.Diagnostics.EventLog: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.Diagnostics.PerformanceCounter: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.DirectoryServices.AccountManagement: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.DirectoryServices.Protocols: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.DirectoryServices: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.Formats.Nrbf: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.IO.Packaging: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.IO.Ports: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.Management: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.Reflection.Context: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.Runtime.Caching: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.Security.Cryptography.Pkcs: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.Security.Cryptography.ProtectedData: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.Security.Cryptography.Xml: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.Security.Permissions: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.ServiceModel.Syndication: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.ServiceProcess.ServiceController: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.Speech: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.Text.Encoding.CodePages: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.Threading.AccessControl: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
  - System.ComponentModel.Composition.Registration: from 10.0.0-alpha.1.24510.11 to 10.0.0-alpha.1.24511.14 (parent: Microsoft.Private.Winforms)
2024-10-14 06:24:29 +00:00
dotnet-maestro[bot] 8ef1354ac8
[main] Update dependencies from dotnet/arcade (#9942)
[main] Update dependencies from dotnet/arcade
2024-10-14 06:23:25 +00:00
Dipesh Kumar 934a82731d
Updated intellisense package version to 9.0.0-preview-20241010.1 (#9936) 2024-10-11 13:07:57 +05:30
dotnet-maestro[bot] 588cabb141
Update dependencies from https://github.com/dotnet/winforms build 20241010.7 (#9935)
[main] Update dependencies from dotnet/winforms
- Coherency Updates:
  - System.Reflection.MetadataLoadContext: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.Windows.Extensions: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - Microsoft.NETCore.Platforms: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.Resources.Extensions: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.Runtime.Serialization.Formatters: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - Microsoft.NETCore.App.Ref: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - Microsoft.NETCore.App.Runtime.win-x64: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - VS.Redist.Common.NetCore.SharedFramework.x64.10.0: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - Microsoft.Win32.Registry.AccessControl: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - Microsoft.Win32.SystemEvents: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.CodeDom: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.ComponentModel.Composition: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.Configuration.ConfigurationManager: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.Data.Odbc: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.Data.OleDb: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.Diagnostics.EventLog: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.Diagnostics.PerformanceCounter: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.DirectoryServices.AccountManagement: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.DirectoryServices.Protocols: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.DirectoryServices: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.Formats.Nrbf: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.IO.Packaging: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.IO.Ports: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.Management: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.Reflection.Context: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.Runtime.Caching: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.Security.Cryptography.Pkcs: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.Security.Cryptography.ProtectedData: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.Security.Cryptography.Xml: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.Security.Permissions: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.ServiceModel.Syndication: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.ServiceProcess.ServiceController: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.Speech: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.Text.Encoding.CodePages: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.Threading.AccessControl: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
  - System.ComponentModel.Composition.Registration: from 10.0.0-alpha.1.24508.15 to 10.0.0-alpha.1.24509.15 (parent: Microsoft.Private.Winforms)
2024-10-11 05:13:01 +00:00
dotnet-maestro[bot] 1f7a1ca0c7
Update dependencies from https://github.com/dotnet/arcade build 20241010.1 (#9930)
[main] Update dependencies from dotnet/arcade
2024-10-11 05:11:33 +00:00
Michael Simons d60fff5e5c
Update DotNetBuild.props header to correct reviewer (#9928) 2024-10-10 21:55:09 +05:30
Jeremy Barton 7450b3658f
Avoid calling soon-to-be-removed string.Trim(ReadOnlySpan<char>) methods (#9907)
* Avoid calling soon-to-be-removed string.Trim(ReadOnlySpan<char>) methods

* Also fix KnownStrings.WhitspaceChars
2024-10-10 21:53:46 +05:30
Mitch Razga 3c5b1c7f50
Remove invalid Fluent DataGridColumn styles (#9757)
* Update DataGrid.xaml

* Remove invalid styles

* Run theme generator

* Fix encoding in generated files

* Fix theme generator script: Force UTF-8 encoding when processing XAML files

---------

Co-authored-by: Mitch Razga <Mitch@zarsoft.com.au>
2024-10-10 18:26:39 +05:30
dotnet-maestro[bot] fe2c488131
Update dependencies from https://github.com/dotnet/winforms build 20241009.1 (#9922)
Microsoft.Dotnet.WinForms.ProjectTemplates , Microsoft.Private.Winforms , System.Drawing.Common
 From Version 10.0.0-alpha.1.24508.11 -> To Version 10.0.0-alpha.1.24509.1

Dependency coherency updates

System.Reflection.MetadataLoadContext,System.Windows.Extensions,Microsoft.NETCore.Platforms,System.Resources.Extensions,System.Runtime.Serialization.Formatters,Microsoft.NETCore.App.Ref,Microsoft.NETCore.App.Runtime.win-x64,VS.Redist.Common.NetCore.SharedFramework.x64.10.0,Microsoft.Win32.Registry.AccessControl,Microsoft.Win32.SystemEvents,System.CodeDom,System.ComponentModel.Composition,System.Configuration.ConfigurationManager,System.Data.Odbc,System.Data.OleDb,System.Diagnostics.EventLog,System.Diagnostics.PerformanceCounter,System.DirectoryServices.AccountManagement,System.DirectoryServices.Protocols,System.DirectoryServices,System.Formats.Nrbf,System.IO.Packaging,System.IO.Ports,System.Management,System.Reflection.Context,System.Runtime.Caching,System.Security.Cryptography.Pkcs,System.Security.Cryptography.ProtectedData,System.Security.Cryptography.Xml,System.Security.Permissions,System.ServiceModel.Syndication,System.ServiceProcess.ServiceController,System.Speech,System.Text.Encoding.CodePages,System.Threading.AccessControl,System.ComponentModel.Composition.Registration
 From Version 10.0.0-alpha.1.24507.22 -> To Version 10.0.0-alpha.1.24508.15 (parent: Microsoft.Private.Winforms

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-10-10 10:48:53 +05:30
Steve Pfister ce91efbcdb
Merge pull request #9678 from steveisok/create-prehook-dir
When building the repo for the first time, installing the WPF Git pre-commit hook will fail because it tries to Copy-Item the script into a directory that does not exist.

This change adds a check for the directory and if it does not exist, will create it.
2024-10-09 11:29:45 -04:00
h3xds1nz 77dd483de8
Remove IsPresentationFrameworkVersionLessThan4 property and associated dead code (#9749)
* Remove IsPresentationFrameworkVersionLessThan4 and associated dead code

* Remove additional var usage for FrameworkElement
2024-10-09 18:37:59 +05:30
Ashish Kumar Singh 343990d102
Merge pull request #9915 from JeremyKuhne/startvs
Add batch file for easier launching of VS
2024-10-09 11:40:12 +05:30
Ashish Kumar Singh e11f0e8d5a
Merge pull request #9917 from dotnet/darc-main-44334f10-c899-4363-b867-236760fa3cc1
[main] Update dependencies from dotnet/winforms
2024-10-09 10:03:54 +05:30
dotnet-maestro[bot] 9e295c6770 Update dependencies from https://github.com/dotnet/winforms build 20241008.11
Microsoft.Dotnet.WinForms.ProjectTemplates , Microsoft.Private.Winforms , System.Drawing.Common
 From Version 10.0.0-alpha.1.24507.5 -> To Version 10.0.0-alpha.1.24508.11

Dependency coherency updates

System.Reflection.MetadataLoadContext,System.Windows.Extensions,Microsoft.NETCore.Platforms,System.Resources.Extensions,System.Runtime.Serialization.Formatters,Microsoft.NETCore.App.Ref,Microsoft.NETCore.App.Runtime.win-x64,VS.Redist.Common.NetCore.SharedFramework.x64.10.0,Microsoft.Win32.Registry.AccessControl,Microsoft.Win32.SystemEvents,System.CodeDom,System.ComponentModel.Composition,System.Configuration.ConfigurationManager,System.Data.Odbc,System.Data.OleDb,System.Diagnostics.EventLog,System.Diagnostics.PerformanceCounter,System.DirectoryServices.AccountManagement,System.DirectoryServices.Protocols,System.DirectoryServices,System.Formats.Nrbf,System.IO.Packaging,System.IO.Ports,System.Management,System.Reflection.Context,System.Runtime.Caching,System.Security.Cryptography.Pkcs,System.Security.Cryptography.ProtectedData,System.Security.Cryptography.Xml,System.Security.Permissions,System.ServiceModel.Syndication,System.ServiceProcess.ServiceController,System.Speech,System.Text.Encoding.CodePages,System.Threading.AccessControl,System.ComponentModel.Composition.Registration
 From Version 10.0.0-alpha.1.24504.10 -> To Version 10.0.0-alpha.1.24507.22 (parent: Microsoft.Private.Winforms
2024-10-09 02:00:27 +00:00
Jeremy Kuhne 65f081fe16 Add batch file for easier launching of VS
Following along with WinForms existing helper for this purpose.
2024-10-08 13:01:18 -07:00
h3xds1nz 188112f9f8
replace SecurityHelper.AreStringTypesEqual with string.Equals for clarity (#9521) 2024-10-08 18:04:49 +05:30
h3xds1nz a08882f275
Remove obsolete TARGETTING35SP1 preprocessor directive and dead code contained within (#9744) 2024-10-08 11:49:49 +05:30
h3xds1nz f07e04185c
Remove MarshalLocal proxy for IsTypeVisibleFromCom (#9609) 2024-10-08 10:32:22 +05:30
dotnet-maestro[bot] f4b5926958
Update dependencies from https://github.com/dotnet/winforms build 20241007.5 (#9908)
Microsoft.Dotnet.WinForms.ProjectTemplates , Microsoft.Private.Winforms , System.Drawing.Common
 From Version 10.0.0-alpha.1.24504.3 -> To Version 10.0.0-alpha.1.24507.5

Dependency coherency updates

System.Reflection.MetadataLoadContext,System.Windows.Extensions,Microsoft.NETCore.Platforms,System.Resources.Extensions,System.Runtime.Serialization.Formatters,Microsoft.NETCore.App.Ref,Microsoft.NETCore.App.Runtime.win-x64,VS.Redist.Common.NetCore.SharedFramework.x64.10.0,Microsoft.Win32.Registry.AccessControl,Microsoft.Win32.SystemEvents,System.CodeDom,System.ComponentModel.Composition,System.Configuration.ConfigurationManager,System.Data.Odbc,System.Data.OleDb,System.Diagnostics.EventLog,System.Diagnostics.PerformanceCounter,System.DirectoryServices.AccountManagement,System.DirectoryServices.Protocols,System.DirectoryServices,System.Formats.Nrbf,System.IO.Packaging,System.IO.Ports,System.Management,System.Reflection.Context,System.Runtime.Caching,System.Security.Cryptography.Pkcs,System.Security.Cryptography.ProtectedData,System.Security.Cryptography.Xml,System.Security.Permissions,System.ServiceModel.Syndication,System.ServiceProcess.ServiceController,System.Speech,System.Text.Encoding.CodePages,System.Threading.AccessControl,System.ComponentModel.Composition.Registration
 From Version 10.0.0-alpha.1.24503.11 -> To Version 10.0.0-alpha.1.24504.10 (parent: Microsoft.Private.Winforms

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-10-08 10:22:38 +05:30
Jeremy Kuhne 278c355919
Remove SecurityCriticalData/Class (#9882)
* Remove SecurityCriticalData/Class

These are CAS holdovers from .NET Framework that add unnecessary complexity.

Uses more modern / safer syntax where I've modified code. I've also removed a few asserts where they then fall over on the next line anyway.

Similar to and should follow #7161 and #6561

* Address feedback
2024-10-07 20:24:18 +05:30
Himanshi Goyal 8fd0b1b924
Merge pull request #9897 from dotnet/darc-main-7e64205d-c0f8-4d1c-b8f0-fdb7b7f587c5
[main] Update dependencies from dotnet/winforms
2024-10-07 10:40:54 +05:30
Himanshi Goyal 855f7d69de
Merge pull request #9899 from dotnet/darc-main-88e9a032-4a1a-4f8a-9982-bf95fbab77f5
[main] Update dependencies from dotnet/arcade
2024-10-07 10:37:35 +05:30
dotnet-maestro[bot] 6e8cff5470 Update dependencies from https://github.com/dotnet/arcade build 20241004.4
Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.Helix.Sdk
 From Version 10.0.0-beta.24503.1 -> To Version 10.0.0-beta.24504.4
2024-10-05 12:15:24 +00:00
dotnet-maestro[bot] de410c1395 Update dependencies from https://github.com/dotnet/winforms build 20241004.3
Microsoft.Dotnet.WinForms.ProjectTemplates , Microsoft.Private.Winforms , System.Drawing.Common
 From Version 10.0.0-alpha.1.24503.2 -> To Version 10.0.0-alpha.1.24504.3

Dependency coherency updates

System.Reflection.MetadataLoadContext,System.Windows.Extensions,Microsoft.NETCore.Platforms,System.Resources.Extensions,System.Runtime.Serialization.Formatters,Microsoft.NETCore.App.Ref,Microsoft.NETCore.App.Runtime.win-x64,VS.Redist.Common.NetCore.SharedFramework.x64.10.0,Microsoft.Win32.Registry.AccessControl,Microsoft.Win32.SystemEvents,System.CodeDom,System.ComponentModel.Composition,System.Configuration.ConfigurationManager,System.Data.Odbc,System.Data.OleDb,System.Diagnostics.EventLog,System.Diagnostics.PerformanceCounter,System.DirectoryServices.AccountManagement,System.DirectoryServices.Protocols,System.DirectoryServices,System.Formats.Nrbf,System.IO.Packaging,System.IO.Ports,System.Management,System.Reflection.Context,System.Runtime.Caching,System.Security.Cryptography.Pkcs,System.Security.Cryptography.ProtectedData,System.Security.Cryptography.Xml,System.Security.Permissions,System.ServiceModel.Syndication,System.ServiceProcess.ServiceController,System.Speech,System.Text.Encoding.CodePages,System.Threading.AccessControl,System.ComponentModel.Composition.Registration
 From Version 10.0.0-alpha.1.24503.1 -> To Version 10.0.0-alpha.1.24503.11 (parent: Microsoft.Private.Winforms
2024-10-05 02:00:27 +00:00
ThomasGoulet73 9fe50c794d
Remove SecurityCriticalDataForSet (#7161) 2024-10-05 00:45:51 +05:30
ThomasGoulet73 56b7b4f0be
Remove FriendAccessAllowed (#6561) 2024-10-04 23:13:17 +05:30
dotnet-maestro[bot] 9197f5dfa0
Update dependencies from https://github.com/dotnet/arcade build 20241003.1 (#9894)
Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.Helix.Sdk
 From Version 10.0.0-beta.24501.6 -> To Version 10.0.0-beta.24503.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-10-04 19:38:43 +05:30
dotnet-maestro[bot] fe182f81a7
[main] Update dependencies from dotnet/winforms (#9864)
* Update dependencies from https://github.com/dotnet/winforms build 20240930.1

Microsoft.Dotnet.WinForms.ProjectTemplates , Microsoft.Private.Winforms , System.Drawing.Common
 From Version 10.0.0-alpha.1.24478.1 -> To Version 10.0.0-alpha.1.24480.1

Dependency coherency updates

System.Reflection.MetadataLoadContext,System.Windows.Extensions,Microsoft.NETCore.Platforms,System.Resources.Extensions,System.Runtime.Serialization.Formatters,Microsoft.NETCore.App.Ref,Microsoft.NETCore.App.Runtime.win-x64,VS.Redist.Common.NetCore.SharedFramework.x64.10.0,Microsoft.Win32.Registry.AccessControl,Microsoft.Win32.SystemEvents,System.CodeDom,System.ComponentModel.Composition,System.Configuration.ConfigurationManager,System.Data.Odbc,System.Data.OleDb,System.Diagnostics.EventLog,System.Diagnostics.PerformanceCounter,System.DirectoryServices.AccountManagement,System.DirectoryServices.Protocols,System.DirectoryServices,System.Formats.Nrbf,System.IO.Packaging,System.IO.Ports,System.Management,System.Reflection.Context,System.Runtime.Caching,System.Security.Cryptography.Pkcs,System.Security.Cryptography.ProtectedData,System.Security.Cryptography.Xml,System.Security.Permissions,System.ServiceModel.Syndication,System.ServiceProcess.ServiceController,System.Speech,System.Text.Encoding.CodePages,System.Threading.AccessControl,System.ComponentModel.Composition.Registration
 From Version 10.0.0-alpha.1.24476.10 -> To Version 10.0.0-alpha.1.24479.4 (parent: Microsoft.Private.Winforms

* Update dependencies from https://github.com/dotnet/winforms build 20241001.5

Microsoft.Dotnet.WinForms.ProjectTemplates , Microsoft.Private.Winforms , System.Drawing.Common
 From Version 10.0.0-alpha.1.24480.1 -> To Version 10.0.0-alpha.1.24501.5

Dependency coherency updates

System.Reflection.MetadataLoadContext,System.Windows.Extensions,Microsoft.NETCore.Platforms,System.Resources.Extensions,System.Runtime.Serialization.Formatters,Microsoft.NETCore.App.Ref,Microsoft.NETCore.App.Runtime.win-x64,VS.Redist.Common.NetCore.SharedFramework.x64.10.0,Microsoft.Win32.Registry.AccessControl,Microsoft.Win32.SystemEvents,System.CodeDom,System.ComponentModel.Composition,System.Configuration.ConfigurationManager,System.Data.Odbc,System.Data.OleDb,System.Diagnostics.EventLog,System.Diagnostics.PerformanceCounter,System.DirectoryServices.AccountManagement,System.DirectoryServices.Protocols,System.DirectoryServices,System.Formats.Nrbf,System.IO.Packaging,System.IO.Ports,System.Management,System.Reflection.Context,System.Runtime.Caching,System.Security.Cryptography.Pkcs,System.Security.Cryptography.ProtectedData,System.Security.Cryptography.Xml,System.Security.Permissions,System.ServiceModel.Syndication,System.ServiceProcess.ServiceController,System.Speech,System.Text.Encoding.CodePages,System.Threading.AccessControl,System.ComponentModel.Composition.Registration
 From Version 10.0.0-alpha.1.24479.4 -> To Version 10.0.0-alpha.1.24480.6 (parent: Microsoft.Private.Winforms

* Update dependencies from https://github.com/dotnet/winforms build 20241002.9

Microsoft.Dotnet.WinForms.ProjectTemplates , Microsoft.Private.Winforms , System.Drawing.Common
 From Version 10.0.0-alpha.1.24501.5 -> To Version 10.0.0-alpha.1.24502.9

Dependency coherency updates

System.Reflection.MetadataLoadContext,System.Windows.Extensions,Microsoft.NETCore.Platforms,System.Resources.Extensions,System.Runtime.Serialization.Formatters,Microsoft.NETCore.App.Ref,Microsoft.NETCore.App.Runtime.win-x64,VS.Redist.Common.NetCore.SharedFramework.x64.10.0,Microsoft.Win32.Registry.AccessControl,Microsoft.Win32.SystemEvents,System.CodeDom,System.ComponentModel.Composition,System.Configuration.ConfigurationManager,System.Data.Odbc,System.Data.OleDb,System.Diagnostics.EventLog,System.Diagnostics.PerformanceCounter,System.DirectoryServices.AccountManagement,System.DirectoryServices.Protocols,System.DirectoryServices,System.Formats.Nrbf,System.IO.Packaging,System.IO.Ports,System.Management,System.Reflection.Context,System.Runtime.Caching,System.Security.Cryptography.Pkcs,System.Security.Cryptography.ProtectedData,System.Security.Cryptography.Xml,System.Security.Permissions,System.ServiceModel.Syndication,System.ServiceProcess.ServiceController,System.Speech,System.Text.Encoding.CodePages,System.Threading.AccessControl,System.ComponentModel.Composition.Registration
 From Version 10.0.0-alpha.1.24480.6 -> To Version 10.0.0-alpha.1.24501.8 (parent: Microsoft.Private.Winforms

* Update dependencies from https://github.com/dotnet/winforms build 20241002.11

Microsoft.Dotnet.WinForms.ProjectTemplates , Microsoft.Private.Winforms , System.Drawing.Common
 From Version 10.0.0-alpha.1.24502.9 -> To Version 10.0.0-alpha.1.24502.11

* Update dependencies from https://github.com/dotnet/winforms build 20241003.2

Microsoft.Dotnet.WinForms.ProjectTemplates , Microsoft.Private.Winforms , System.Drawing.Common
 From Version 10.0.0-alpha.1.24502.11 -> To Version 10.0.0-alpha.1.24503.2

Dependency coherency updates

System.Reflection.MetadataLoadContext,System.Windows.Extensions,Microsoft.NETCore.Platforms,System.Resources.Extensions,System.Runtime.Serialization.Formatters,Microsoft.NETCore.App.Ref,Microsoft.NETCore.App.Runtime.win-x64,VS.Redist.Common.NetCore.SharedFramework.x64.10.0,Microsoft.Win32.Registry.AccessControl,Microsoft.Win32.SystemEvents,System.CodeDom,System.ComponentModel.Composition,System.Configuration.ConfigurationManager,System.Data.Odbc,System.Data.OleDb,System.Diagnostics.EventLog,System.Diagnostics.PerformanceCounter,System.DirectoryServices.AccountManagement,System.DirectoryServices.Protocols,System.DirectoryServices,System.Formats.Nrbf,System.IO.Packaging,System.IO.Ports,System.Management,System.Reflection.Context,System.Runtime.Caching,System.Security.Cryptography.Pkcs,System.Security.Cryptography.ProtectedData,System.Security.Cryptography.Xml,System.Security.Permissions,System.ServiceModel.Syndication,System.ServiceProcess.ServiceController,System.Speech,System.Text.Encoding.CodePages,System.Threading.AccessControl,System.ComponentModel.Composition.Registration
 From Version 10.0.0-alpha.1.24501.8 -> To Version 10.0.0-alpha.1.24503.1 (parent: Microsoft.Private.Winforms

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-10-04 11:23:06 +05:30
dotnet-maestro[bot] e1c84f9b23
Update dependencies from https://github.com/dotnet/arcade build 20241001.6 (#9877)
Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.Helix.Sdk
 From Version 10.0.0-beta.24476.2 -> To Version 10.0.0-beta.24501.6

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-10-04 11:22:29 +05:30
h3xds1nz 673c35418e
Reduce ThicknessConverter allocs to minimum and improve conversion performance (#9363)
* use DefaultInterpolatedStringHandler over StringBuilder and remove large chunk of allocs

* simplify and remove alloc on FromString method as well

* further optimize codegen based on manual review/benchmark

* removal additional type casts, simplify code logic

* remove unsafe code, move FormatDoubleAsString back to LengthConverter
2024-10-03 16:04:40 +05:30
h3xds1nz cae5cefd4d
Use string.Equals over string.Compare for improved performance (#9724) 2024-10-03 14:21:57 +05:30
Harshit 0d959af105
Merge pull request #9711 from h3xds1nz/12ms-speedup-in-startup
Improve start-up time by not figuring out NetFX version for AppContext switches
2024-10-01 17:16:02 +05:30
Harshit 812bbbafdd
Merge pull request #9220 from h3xds1nz/replace-static-sizeof
Replace Marshal.SizeOf(...) calls for primitive types with sizeof(...)
2024-10-01 17:14:56 +05:30
Harshit d01dfc98e2
Merge pull request #9676 from h3xds1nz/mouseconverter-speedup
Optimize conversion of MouseAction enum from/to string, remove allocations
2024-10-01 17:14:27 +05:30
Harshit e86ce74453
Merge pull request #9439 from h3xds1nz/speller-suggestions-perf-improv
Reduce allocations while enumerating Speller suggestions and improve performance
2024-10-01 17:12:08 +05:30
Harshit 1a9d0c389d
Merge pull request #9552 from h3xds1nz/replace-boxing-hashtable-context
Replace boxing Hashtable in AdornerPresentationContext, reduce allocations
2024-10-01 17:08:18 +05:30
Harshit b1ddc8a68a
Merge pull request #9551 from h3xds1nz/dependency-property-hashtable-lock
Optimize DependencyProperty lookup/registration performance, remove allocs
2024-10-01 17:06:23 +05:30
Harshit a2b588011d
Merge pull request #9222 from h3xds1nz/replace-arraylist-with-preallocated-array
Replace ArrayList in CursorConverter with preallocated array and reduce allocations
2024-10-01 17:05:36 +05:30
Harshit 8b20afb6df
Merge pull request #9221 from h3xds1nz/replace-arraylist-with-generic-list
Replace ArrayList in InputLanguageSource with fixed-size array, reduce allocations
2024-10-01 17:04:49 +05:30
Sia Gupta ce09c88c66
Merge pull request #9859 from siagupta0202/policheck-bugs
Resolving Policheck bugs
2024-09-30 17:15:59 +05:30
Sia Gupta 5d6e1859f3 Addressing PR feedback 2024-09-30 16:37:22 +05:30
Sia Gupta 3443505fdf Replacing country with country/region 2024-09-30 14:30:16 +05:30
Ashish Kumar Singh 7a5b823326
Merge pull request #9856 from dotnet/darc-main-ff10c57f-d468-4cf8-8679-49e48883e26f
[main] Update dependencies from dotnet/winforms
2024-09-30 09:52:03 +05:30
Ashish Kumar Singh e3065bd563
Merge pull request #9852 from dotnet/darc-main-5a03b93b-8392-4a87-ba0b-37e40b0af202
[main] Update dependencies from dotnet/arcade
2024-09-30 09:51:50 +05:30
Ashish Kumar Singh 0de4a12517
Merge pull request #9854 from dotnet/enableAudit
Enable NuGet Audit
2024-09-30 09:50:39 +05:30
dotnet-maestro[bot] 5119b2fdd2 Update dependencies from https://github.com/dotnet/winforms build 20240928.1
Microsoft.Dotnet.WinForms.ProjectTemplates , Microsoft.Private.Winforms , System.Drawing.Common
 From Version 10.0.0-alpha.1.24477.1 -> To Version 10.0.0-alpha.1.24478.1
2024-09-29 12:00:25 +00:00
dotnet-maestro[bot] 4b77eae81a Update dependencies from https://github.com/dotnet/winforms build 20240927.1
Microsoft.Dotnet.WinForms.ProjectTemplates , Microsoft.Private.Winforms , System.Drawing.Common
 From Version 10.0.0-alpha.1.24476.2 -> To Version 10.0.0-alpha.1.24477.1

Dependency coherency updates

System.Reflection.MetadataLoadContext,System.Windows.Extensions,Microsoft.NETCore.Platforms,System.Resources.Extensions,System.Runtime.Serialization.Formatters,Microsoft.NETCore.App.Ref,Microsoft.NETCore.App.Runtime.win-x64,VS.Redist.Common.NetCore.SharedFramework.x64.10.0,Microsoft.Win32.Registry.AccessControl,Microsoft.Win32.SystemEvents,System.CodeDom,System.ComponentModel.Composition,System.Configuration.ConfigurationManager,System.Data.Odbc,System.Data.OleDb,System.Diagnostics.EventLog,System.Diagnostics.PerformanceCounter,System.DirectoryServices.AccountManagement,System.DirectoryServices.Protocols,System.DirectoryServices,System.Formats.Nrbf,System.IO.Packaging,System.IO.Ports,System.Management,System.Reflection.Context,System.Runtime.Caching,System.Security.Cryptography.Pkcs,System.Security.Cryptography.ProtectedData,System.Security.Cryptography.Xml,System.Security.Permissions,System.ServiceModel.Syndication,System.ServiceProcess.ServiceController,System.Speech,System.Text.Encoding.CodePages,System.Threading.AccessControl,System.ComponentModel.Composition.Registration
 From Version 10.0.0-alpha.1.24475.8 -> To Version 10.0.0-alpha.1.24476.10 (parent: Microsoft.Private.Winforms
2024-09-28 02:00:29 +00:00