William Kent
aa013a2131
Add FontProperty.TextFont ( #3341 )
2020-05-28 16:46:05 +10:00
Igor Velikorossov
0c90720b6f
Relax CA1825 for tests ( #3355 )
2020-05-28 14:03:03 +10:00
Charles Stoner
7ccf509e64
Implement WindowsFormsApplicationBase.IsSingleInstance ( #3200 )
...
<!-- Please read CONTRIBUTING.md before submitting a pull request -->
Fixes https://github.com/dotnet/winforms/issues/2056
## Proposed changes
Implement support for `WindowsFormsApplicationBase` single-instance behavior.
<!-- We are in TELL-MODE the following section must be completed -->
## Customer Impact
Allows applications using the VisualBasic application model to opt-in to single-instance behavior.
## Regression?
Not implemented when porting Microsoft.VisualBasic to .NET Core previously.
## Risk
Medium risk when opted-in; low risk otherwise.
<!-- end TELL-MODE -->
## Test methodology <!-- How did you ensure quality? -->
Unit tests.
2020-05-27 20:06:24 +00:00
gpetrou
7a54b537d0
Enable and fix CA1825 warnings ( #3331 )
2020-05-27 16:51:30 +10:00
Hugh Bellamy
368f554ea5
Cleanup remaining UxTheme interop ( #3310 )
2020-05-27 12:24:32 +10:00
Filip Navara
819d810235
Avoid unnecessarily creating ToolStripDropDownMenu due to keyboard tooltip hook ( #3337 )
2020-05-27 11:01:03 +10:00
gpetrou
d998d38dd9
Add EN enum in Interop RichEdit ( #3351 )
...
Co-authored-by: gpetrou <gpetrou@actify.com>
2020-05-27 10:21:53 +10:00
Igor Velikorossov
832abd6652
Merge pull request #3169 from hughbe/ifdefs
2020-05-26 21:20:58 +10:00
Hugh Bellamy
5fe274c22a
Delete FINALIZATION_WATCH
2020-05-26 11:10:13 +01:00
Hugh Bellamy
00ed426e20
Remove GDI_FINALIZATION_WATCH
2020-05-26 09:02:08 +01:00
jeremy-visionaid
b9f5602e01
Fix menu arrow key navigation ( #3274 )
2020-05-26 11:13:18 +10:00
Tobias Käs
e9d6ccfca0
update Xunit.StaFact to include bugfixes ( #3276 )
2020-05-26 10:59:39 +10:00
Viktor Hofer
f881902a38
Update templates to net5.0 ( #3344 )
2020-05-25 17:19:30 +02:00
dotnet-maestro[bot]
e30d301cab
Update dependencies from https://github.com/dotnet/runtime build 20200521.10 ( #3330 )
...
runtime.win-x86.Microsoft.NETCore.ILAsm , System.CodeDom , System.Configuration.ConfigurationManager , runtime.win-x64.Microsoft.NETCore.ILAsm , Microsoft.NET.Sdk.IL , Microsoft.NETCore.App , Microsoft.NETCore.Platforms , Microsoft.Win32.Registry , Microsoft.Win32.SystemEvents , Microsoft.NETCore.ILAsm , System.Security.Cryptography.Cng , System.Security.Permissions , System.Windows.Extensions , System.Drawing.Common , System.Resources.Extensions
From Version 5.0.0-preview.6.20270.12 -> To Version 5.0.0-preview.6.20271.10
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-05-22 12:39:37 +00:00
Hugh Bellamy
e12fc0c5e8
Delete remaining except FINALIZATION-WATCH
2020-05-22 09:41:54 +01:00
Hugh Bellamy
2ac6c048db
Remove always defined OPTIMIZED_MEASUREMENTDC
2020-05-22 09:41:54 +01:00
Hugh Bellamy
6bcf3ecae0
Remove WGCM_TEST_SUITE andGDI_FONT_CACHE_TRACK
2020-05-22 09:41:54 +01:00
Hugh Bellamy
1dd17c7117
Remove never defined code
2020-05-22 09:41:54 +01:00
Tobias Käs
2e6966c4fb
manually release ITypeInfo references (missed one) ( #3321 )
2020-05-22 15:28:40 +10:00
dotnet-maestro[bot]
6b5ed82541
Update dependencies from https://github.com/dotnet/runtime build 20200520.12 ( #3325 )
...
runtime.win-x86.Microsoft.NETCore.ILAsm , System.CodeDom , runtime.win-x64.Microsoft.NETCore.ILAsm , System.Configuration.ConfigurationManager , Microsoft.NET.Sdk.IL , Microsoft.NETCore.App , Microsoft.NETCore.ILAsm , Microsoft.NETCore.Platforms , Microsoft.Win32.Registry , Microsoft.Win32.SystemEvents , System.Security.Cryptography.Cng , System.Security.Permissions , System.Windows.Extensions , System.Drawing.Common , System.Resources.Extensions
From Version 5.0.0-preview.6.20264.1 -> To Version 5.0.0-preview.6.20270.12
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-05-21 12:40:27 +00:00
Eaton
eaf006d88c
fix: Application.Restart throws InvalidOperationException ( #2845 )
2020-05-21 17:43:52 +10:00
Hugh Bellamy
2e65e6e806
Add ToolStripDropDownItem tests and related test ( #3085 )
2020-05-21 17:08:38 +10:00
Hugh Bellamy
a25ef2eb6b
Cleanup remaining ExternDll.Shell32 interop ( #3311 )
2020-05-21 15:47:30 +10:00
Hugh Bellamy
2d58139c62
Make ButtonBase setters idempotent ( #3314 )
2020-05-21 15:26:48 +10:00
Tobias Käs
b107541e07
manually release ITypeInfo references ( #3315 )
2020-05-21 11:05:40 +10:00
Hugh Bellamy
4bfccc7638
Add DataObject FormatEnumerator tests
2020-05-20 09:24:37 +01:00
Hugh Bellamy
2d9276e9f6
Cleanup DataObject.FormatEnumerator
2020-05-20 09:24:37 +01:00
Hugh Bellamy
b67c06c02a
Remove dead DataObject.RestrictedFormats
2020-05-20 09:24:37 +01:00
Hugh Bellamy
bd8c8a08e0
Nullable annotate TextRenderer and dependencies ( #3235 )
2020-05-20 15:39:51 +10:00
Hugh Bellamy
50720fb1de
Cleanup remaining Gdi32 interop ( #3171 )
2020-05-20 15:34:15 +10:00
Hugh Bellamy
8490a9cff5
Add TreeNode property tests, add missing argument validation and make idempotent ( #3126 )
2020-05-20 15:07:53 +10:00
Igor Velikorossov
e7ef4375fc
Merge pull request #3249 from hughbe/Cleanup-ImageList
2020-05-20 14:27:08 +10:00
Hugh Bellamy
0dc052b06b
Cleanup and enhance DataGridViewCell testing ( #3259 )
2020-05-20 14:15:47 +10:00
Hugh Bellamy
ec3740d9d3
Dispose everything in DesignerSurface related tests ( #3221 )
2020-05-20 14:07:40 +10:00
Igor Velikorossov
da5436b857
Merge pull request #3253 from hughbe/Enable-FxCop
2020-05-20 13:52:09 +10:00
Olia Gavrysh
31d08e95b8
Updated roadmap.md ( #3304 )
...
* Update roadmap.md
* Address Merries comment
2020-05-19 15:14:10 -07:00
Hugh Bellamy
4810886815
Supress warnings on rebase
2020-05-19 09:45:49 +01:00
Hugh Bellamy
4ef95d218e
Enable CA2242 - Test for NaN correctly
2020-05-19 09:45:48 +01:00
Hugh Bellamy
adc71050b7
Enable CA1018 - Mark attributes with AttributeUsageAttribute
2020-05-19 09:45:30 +01:00
Hugh Bellamy
9fd3febb4e
Enable CA1712 - Do not prefix enum values with type name
2020-05-19 09:45:11 +01:00
Hugh Bellamy
ce654d9320
Enable CA2200 - Rethrow to preserve stack details
2020-05-19 09:44:55 +01:00
Hugh Bellamy
b3586563e6
Enable CA1823 - Avoid unused private fields
2020-05-19 09:44:39 +01:00
Hugh Bellamy
a38e0e444e
Enable CA1401 - P/Invokes should not be visible
2020-05-19 09:44:11 +01:00
Hugh Bellamy
9b8c3a7c9c
Add missing CharSet notified by analyzers
2020-05-19 09:40:56 +01:00
Hugh Bellamy
2f6a83dffe
Add FxCopAnalyzers
2020-05-19 09:40:56 +01:00
Tobias Käs
1d17041aff
Fix DataObject.GetData issues ( #3039 )
...
* use ReleaseStgMedium for ownership handling as suggested by win32 docs
* do not assume third party implementations of IDataObject.GetData return the medium which was asked for (Office sometimes ignores the medium the caller asks for and always returns the medium it happens to be using internally). Since Windows/OLE does not pose constraints on what the DataObject source returns WinForms needs to be robust and handle this case instead of crashing the whole process.
* clean up dead code related to metafiles, most code supporting them is already gone
2020-05-19 17:17:16 +10:00
Hugh Bellamy
3607a24b9c
Add ListBox.ObjectCollection tests and fix bugs ( #3107 )
2020-05-19 15:29:43 +10:00
Jeremy Kuhne
e3f5000b77
Merge pull request #3184 from hughbe/Cleanup-Oleaut32
...
Cleanup IProvideMultipleClassInfo and Oleaut32 interop
2020-05-18 13:41:44 -07:00
Hugh Bellamy
d388b3c4dd
Move Oleaut32 classes to correct location
2020-05-16 11:49:12 +01:00
Hugh Bellamy
6d4da4d2ee
Cleanup IProvideMultipleClassInfo
2020-05-16 11:48:10 +01:00