Hugh Bellamy
e28d98911b
Nullable annotate InputLanguage
2020-06-10 16:11:58 +01:00
Hugh Bellamy
5d3683ba9f
Move layout ID check in InputLanguage to LayoutName
...
This relies on layouts not being null, which is contained in the check above
2020-06-10 16:11:58 +01:00
Hugh Bellamy
77de2b915e
Return early on success in InputLanugage.LayoutName
2020-06-10 16:11:58 +01:00
Hugh Bellamy
3bd9676c75
Exit early in InputLaguage.LayoutName for default keyboard
2020-06-10 16:11:58 +01:00
Hugh Bellamy
46f1d69fb1
Structify VARIANT and use in more places ( #3326 )
2020-06-10 16:51:20 +10:00
Hugh Bellamy
b7a44f920f
Make HtmlElement tests machine agnostic ( #3415 )
2020-06-10 16:49:37 +10:00
dotnet-maestro[bot]
8d38a28fbc
Update dependencies from https://github.com/dotnet/runtime build 20200608.8 ( #3416 )
...
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.Permissions , System.Windows.Extensions , System.Drawing.Common , System.Resources.Extensions , System.Security.Cryptography.Cng
From Version 5.0.0-preview.7.20307.4 -> To Version 5.0.0-preview.7.20308.8
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-06-09 12:29:19 +00:00
Hugh Bellamy
de01b4ec94
Fix build after CHARFORMAT2W merge ( #3414 )
2020-06-09 21:02:25 +10:00
Hugh Bellamy
73cfe59d66
Consolidate CHARFORMATW and CHARFORMAT2W ( #3089 )
2020-06-09 18:24:42 +10:00
Hugh Bellamy
4716b3e339
Fix local WebBrowser tests ( #3408 )
2020-06-09 15:53:07 +10:00
Hugh Bellamy
b78d7a06d0
Add tests for HtmlElement/HtmlDocument ( #3349 )
2020-06-09 15:51:47 +10:00
Tobias Käs
49fba46518
Dispose controls in unit tests ( #3403 )
2020-06-09 15:38:04 +10:00
Tobias Käs
75f13d7841
do not dispose stream owned by image ( #3404 )
2020-06-09 15:36:42 +10:00
Devendar Reddy Adulla
ae76acf1d8
Fixing DPI changed events by changing the order in setting child Form owner ( #3394 )
...
* In a multi DPI environment, DPI changed events triggered only when there is a DPI change
happened for the Handle directly or via its parent. So, it is necessary to not set the
owner before creating the handle. Otherwise, the window may never receive DPI changed
event even if its parent has different DPI.Users at runtime, has to move the window
between the screens to get the DPI changed events triggered.
* Review feedback.
2020-06-08 20:17:46 -07:00
Hugh Bellamy
1b5cbe3013
Cleanup CA code ( #3407 )
2020-06-09 12:50:28 +10:00
dotnet-maestro[bot]
65156e69ca
Update dependencies from https://github.com/dotnet/runtime build 20200607.4 ( #3413 )
...
System.CodeDom , System.Configuration.ConfigurationManager , runtime.win-x86.Microsoft.NETCore.ILAsm , runtime.win-x64.Microsoft.NETCore.ILAsm , Microsoft.NET.Sdk.IL , Microsoft.NETCore.App , Microsoft.NETCore.ILAsm , Microsoft.Win32.Registry , Microsoft.Win32.SystemEvents , Microsoft.NETCore.Platforms , System.Drawing.Common , System.Windows.Extensions , System.Security.Cryptography.Cng , System.Security.Permissions , System.Resources.Extensions
From Version 5.0.0-preview.7.20306.3 -> To Version 5.0.0-preview.7.20307.4
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-06-09 01:54:44 +00:00
Igor Velikorossov
d4cfc2d9d6
Merge pull request #3324 from hughbe/Cleanup-CopyMemory/WideByte
2020-06-09 10:32:13 +10:00
dotnet-maestro[bot]
705f5eaa3c
Update dependencies from https://github.com/dotnet/runtime build 20200606.3 ( #3409 )
...
System.CodeDom , System.Configuration.ConfigurationManager , runtime.win-x86.Microsoft.NETCore.ILAsm , runtime.win-x64.Microsoft.NETCore.ILAsm , Microsoft.NET.Sdk.IL , Microsoft.NETCore.App , Microsoft.NETCore.ILAsm , Microsoft.Win32.Registry , Microsoft.Win32.SystemEvents , Microsoft.NETCore.Platforms , System.Drawing.Common , System.Windows.Extensions , System.Security.Cryptography.Cng , System.Security.Permissions , System.Resources.Extensions
From Version 5.0.0-preview.7.20305.1 -> To Version 5.0.0-preview.7.20306.3
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-06-07 12:38:34 +00:00
Hugh Bellamy
830988e949
Cleanup ImageList CopyMemory
2020-06-07 10:27:31 +01:00
Hugh Bellamy
e76addcd57
Cleanup MultiByteToWideChar code
2020-06-07 09:13:44 +01:00
Hugh Bellamy
6d05c2597a
Fix trailing null in NativeGetItemText ( #3282 )
...
* Fix trailing null in NativeGetItemText
* PR feedback
2020-06-05 14:31:03 -07:00
Jeremy Kuhne
0b0e45e517
Merge pull request #3189 from hughbe/DataObject-Cleanup
...
Cleanup DataObject.FormatEnumerator and add DataObject FormatEnumerator tests
2020-06-05 14:03:24 -07:00
dotnet-maestro[bot]
c5b36e928a
Update dependencies from https://github.com/dotnet/runtime build 20200605.1 ( #3401 )
...
System.CodeDom , System.Configuration.ConfigurationManager , runtime.win-x86.Microsoft.NETCore.ILAsm , runtime.win-x64.Microsoft.NETCore.ILAsm , Microsoft.NET.Sdk.IL , Microsoft.NETCore.App , Microsoft.NETCore.ILAsm , Microsoft.Win32.Registry , Microsoft.Win32.SystemEvents , Microsoft.NETCore.Platforms , System.Drawing.Common , System.Windows.Extensions , System.Security.Cryptography.Cng , System.Security.Permissions , System.Resources.Extensions
From Version 5.0.0-preview.7.20303.11 -> To Version 5.0.0-preview.7.20305.1
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-06-05 12:28:34 +00:00
Juan Hoyos
46bf6089b9
Add x86 runtime for testing ( #3396 )
...
* Add x86 runtime for testing
* Fix IntPtr overflow on x86 (Fixes #3359 )
2020-06-05 20:24:35 +10:00
Martin Chromecek (Moravia IT)
6d3dc70926
LOC CHECKIN | dotnet/winforms master | 20200605 ( #3397 )
...
<!-- Please read CONTRIBUTING.md before submitting a pull request -->
Fixes #
Localization update only
## Proposed changes
-
-
-
<!-- We are in TELL-MODE the following section must be completed -->
## Customer Impact
-
-
## Regression?
- Yes / No
## Risk
-
<!-- end TELL-MODE -->
## Screenshots <!-- Remove this section if PR does not change UI -->
### Before
<!-- TODO -->
### After
<!-- TODO -->
## Test methodology <!-- How did you ensure quality? -->
-
-
-
## Accessibility testing <!-- Remove this section if PR does not change UI -->
<!--
Microsoft prioritizes making our products accessible.
WinForms has a key role in allowing developers to create accessible apps.
When submitting a change which impacts UI in any way, including adding new UI or
modifying existing controls the developer needs to run the Accessibility Insights
tool (https://accessibilityinsights.io/ ) and verify that there are no changes or
regressions.
The developer should run the Fast Pass over the impacted control(s) and provide
a snapshot of the passing results along with before/after snapshots of the UI.
More info: (https://accessibilityinsights.io/docs/en/web/getstarted/fastpass )
-->
## Test environment(s) <!-- Remove any that don't apply -->
- <!-- use `dotnet --info` -->
<!-- Mention language, UI scaling, or anything else that might be relevant -->
2020-06-05 09:31:27 +00:00
dotnet-maestro[bot]
1c3c52c6d1
Update dependencies from https://github.com/dotnet/runtime build 20200603.11 ( #3392 )
...
System.CodeDom , System.Configuration.ConfigurationManager , runtime.win-x86.Microsoft.NETCore.ILAsm , runtime.win-x64.Microsoft.NETCore.ILAsm , Microsoft.NET.Sdk.IL , Microsoft.NETCore.App , Microsoft.NETCore.ILAsm , Microsoft.Win32.Registry , Microsoft.Win32.SystemEvents , Microsoft.NETCore.Platforms , System.Drawing.Common , System.Windows.Extensions , System.Security.Cryptography.Cng , System.Security.Permissions , System.Resources.Extensions
From Version 5.0.0-preview.7.20303.1 -> To Version 5.0.0-preview.7.20303.11
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-06-04 12:34:08 +00:00
Filip Navara
c1dc84bd82
Call UiaDisconnectProvider from Control.ReleaseUiaProvider ( #3308 )
...
* Call UiaDisconnectProvider from Control.ReleaseUiaProvider
* PropertyGridView: When accessing AccessibilityObject of the parent PropertyGrid ensure that the control is not destroyed already
2020-06-04 18:21:58 +10:00
Igor Velikorossov
c517fac6ad
Add local dev convenience scripts ( #3389 )
2020-06-04 13:51:06 +10:00
Loni Tra
5c741dcc46
Implement Task Property for ListViewGroup ( #3293 )
2020-06-04 09:25:24 +10:00
dotnet-maestro[bot]
fd411c9fea
Update dependencies from https://github.com/dotnet/runtime build 20200603.1 ( #3387 )
...
System.CodeDom , System.Configuration.ConfigurationManager , runtime.win-x86.Microsoft.NETCore.ILAsm , runtime.win-x64.Microsoft.NETCore.ILAsm , Microsoft.NET.Sdk.IL , Microsoft.NETCore.App , Microsoft.NETCore.ILAsm , Microsoft.Win32.Registry , Microsoft.Win32.SystemEvents , Microsoft.NETCore.Platforms , System.Drawing.Common , System.Windows.Extensions , System.Security.Cryptography.Cng , System.Security.Permissions , System.Resources.Extensions
From Version 5.0.0-preview.7.20302.1 -> To Version 5.0.0-preview.7.20303.1
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-06-03 12:44:57 +00:00
Igor Velikorossov
becb276a81
Untangle test utils refs ( #3013 )
...
Provide a clear separation of layers. System.Windows.Forms.Primitives project contains "bare bone" implementations and imports. This project underpins System.Windows.Forms project which defines and implements higher level abstractions such as Application, Control, Form, etc.
Previously we had a shared test infra, that led to cross contamination of tests, e.g. passing higher level abstractions into tests for lower level abstractions.
2020-06-03 21:36:26 +10:00
Igor Velikorossov
2611b22255
Update getting-started.md
2020-06-03 17:19:03 +10:00
Loni Tra
a423c0a200
Implement Subtitle Property for ListViewGroup ( #3234 )
2020-06-03 11:59:03 +10:00
Mikhail Lipin
b49e929c31
Moving GroupBox accessible object to a separate file ( #3230 )
2020-06-03 11:04:10 +10:00
dotnet-maestro[bot]
1781524858
[master] Update dependencies from dotnet/arcade ( #3369 )
2020-06-03 00:34:35 +10:00
Hugh Bellamy
201de39dce
Enable nullability for ScrollBar/ScrollProperties ( #2823 )
...
## Proposed Changes
- Enable nullability for ScrollBar/ScrollProperties
2020-06-02 14:15:54 +00:00
dotnet-maestro[bot]
023737b8a8
Update dependencies from https://github.com/dotnet/runtime build 20200602.1 ( #3381 )
...
System.CodeDom , System.Configuration.ConfigurationManager , runtime.win-x86.Microsoft.NETCore.ILAsm , runtime.win-x64.Microsoft.NETCore.ILAsm , Microsoft.NET.Sdk.IL , Microsoft.NETCore.App , Microsoft.NETCore.ILAsm , Microsoft.Win32.Registry , Microsoft.Win32.SystemEvents , Microsoft.NETCore.Platforms , System.Drawing.Common , System.Windows.Extensions , System.Security.Cryptography.Cng , System.Security.Permissions , System.Resources.Extensions
From Version 5.0.0-preview.6.20281.6 -> To Version 5.0.0-preview.7.20302.1
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-06-02 12:35:33 +00:00
Hugh Bellamy
7eff6d2f76
Add DataGridViewHeaderCell tests ( #3375 )
2020-06-02 21:54:24 +10:00
Hugh Bellamy
77dde9114f
Add ListBox SelectedItems tests ( #3368 )
2020-06-02 21:45:46 +10:00
Igor Velikorossov
d854064769
Update branding
2020-06-02 16:28:12 +10:00
Igor Velikorossov
97ab81365c
Ship new API
2020-06-02 16:06:09 +10:00
Igor Velikorossov
0a9b5e715e
Correct ImageKey/ImageIndex properties ( #3364 )
2020-06-02 15:48:59 +10:00
dotnet-maestro[bot]
510a4f8e8d
Update dependencies from https://github.com/dotnet/runtime build 20200531.6 ( #3377 )
...
System.CodeDom , System.Configuration.ConfigurationManager , runtime.win-x86.Microsoft.NETCore.ILAsm , runtime.win-x64.Microsoft.NETCore.ILAsm , Microsoft.NET.Sdk.IL , Microsoft.NETCore.App , Microsoft.NETCore.ILAsm , Microsoft.NETCore.Platforms , Microsoft.Win32.Registry , Microsoft.Win32.SystemEvents , System.Drawing.Common , System.Windows.Extensions , System.Security.Permissions , System.Resources.Extensions , System.Security.Cryptography.Cng
From Version 5.0.0-preview.6.20280.5 -> To Version 5.0.0-preview.6.20281.6
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-06-01 12:40:44 +00:00
Hugh Bellamy
d7d0012e9f
Add RadioButton tests ( #3367 )
2020-06-01 08:39:13 +10:00
Loni Tra
28519ab796
Implement Collapsible/Collapsed for ListViewGroup ( #3155 )
...
Fixes #3067
ListViewGroup originally was not collapsible and thus items in the group
could not be temporarily hidden. These changes add a new property to
ListViewGroup which controls its appearance e.g. whether the group is
collapsible and if the group is in its collapsed state or expanded
state. These changes also raise an event for when the CollapsedState
of a group is changed.
2020-06-01 08:35:43 +10:00
dotnet-maestro[bot]
3f26238a41
Update dependencies from https://github.com/dotnet/runtime build 20200530.5 ( #3374 )
...
System.CodeDom , System.Configuration.ConfigurationManager , runtime.win-x86.Microsoft.NETCore.ILAsm , runtime.win-x64.Microsoft.NETCore.ILAsm , Microsoft.NET.Sdk.IL , Microsoft.NETCore.App , Microsoft.NETCore.ILAsm , Microsoft.NETCore.Platforms , Microsoft.Win32.Registry , Microsoft.Win32.SystemEvents , System.Drawing.Common , System.Windows.Extensions , System.Security.Permissions , System.Resources.Extensions , System.Security.Cryptography.Cng
From Version 5.0.0-preview.6.20279.7 -> To Version 5.0.0-preview.6.20280.5
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-05-31 12:34:07 +00:00
dotnet-maestro[bot]
8e716dc40c
Update dependencies from https://github.com/dotnet/runtime build 20200529.7 ( #3370 )
...
System.CodeDom , System.Configuration.ConfigurationManager , runtime.win-x86.Microsoft.NETCore.ILAsm , runtime.win-x64.Microsoft.NETCore.ILAsm , System.Drawing.Common , Microsoft.NET.Sdk.IL , Microsoft.NETCore.App , Microsoft.NETCore.ILAsm , Microsoft.NETCore.Platforms , Microsoft.Win32.Registry , Microsoft.Win32.SystemEvents , System.Windows.Extensions , System.Security.Permissions , System.Resources.Extensions , System.Security.Cryptography.Cng
From Version 5.0.0-preview.6.20278.9 -> To Version 5.0.0-preview.6.20279.7
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-05-30 12:39:32 +00:00
dotnet-maestro[bot]
afd5765ad2
Update dependencies from https://github.com/dotnet/runtime build 20200528.9 ( #3365 )
...
System.CodeDom , System.Configuration.ConfigurationManager , runtime.win-x86.Microsoft.NETCore.ILAsm , runtime.win-x64.Microsoft.NETCore.ILAsm , System.Drawing.Common , Microsoft.NET.Sdk.IL , Microsoft.NETCore.App , Microsoft.NETCore.ILAsm , Microsoft.NETCore.Platforms , Microsoft.Win32.Registry , Microsoft.Win32.SystemEvents , System.Windows.Extensions , System.Security.Permissions , System.Resources.Extensions , System.Security.Cryptography.Cng
From Version 5.0.0-preview.6.20277.12 -> To Version 5.0.0-preview.6.20278.9
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-05-29 12:40:25 +00:00
dotnet-maestro[bot]
8f0fc12df4
Update dependencies from https://github.com/dotnet/runtime build 20200527.12 ( #3360 )
...
System.CodeDom , System.Configuration.ConfigurationManager , runtime.win-x86.Microsoft.NETCore.ILAsm , runtime.win-x64.Microsoft.NETCore.ILAsm , System.Drawing.Common , Microsoft.NET.Sdk.IL , Microsoft.NETCore.App , Microsoft.NETCore.ILAsm , Microsoft.NETCore.Platforms , Microsoft.Win32.Registry , Microsoft.Win32.SystemEvents , System.Windows.Extensions , System.Security.Permissions , System.Resources.Extensions , System.Security.Cryptography.Cng
From Version 5.0.0-preview.6.20271.10 -> To Version 5.0.0-preview.6.20277.12
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-05-29 04:51:25 +00:00
Igor Velikorossov
f4b2530600
Don't measure invalid ComboBox items ( #3357 )
...
Fixes #3354
Fix the condition that incorrectly handled the overflow.
Regression introduced in #1837
2020-05-29 10:09:40 +10:00