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

3329 Коммитов

Автор SHA1 Сообщение Дата
Tobias Käs b22a5ace3f
ImageList must be disposed (#3486) 2020-06-23 15:18:28 +10:00
Matt Mitchell c2399e8636
Prepare for strict coherency (#3489) 2020-06-23 13:41:00 +10:00
Hugh Bellamy 0c66085338
Fix DataGridView.OnRowHeadersWidthSizeModeChanged event invocation (#3373) 2020-06-23 10:19:01 +10:00
gpetrou a0366d13a3
Dispose StringWriter instances (#3479) 2020-06-22 20:40:51 +10:00
gpetrou 977acfe613
Add ECO and ECOOP enums in Interop Richedit (#3481) 2020-06-22 19:58:42 +10:00
Igor Velikorossov 719b211277 Update branding 2020-06-22 18:57:07 +10:00
Igor Velikorossov 6127f69578 Ship new API 2020-06-22 18:45:44 +10:00
Igor Velikorossov cc8f49cfe8
Merge pull request #3237 from hughbe/InputLanguage-nullable 2020-06-22 17:41:07 +10:00
gpetrou 8683bf74be
Dispose BinaryReader, BinaryWriter and MemoryStream in AxHost.State (#3478) 2020-06-22 17:27:09 +10:00
Tobias Käs 581525b1a0
WebBrowser doesn't like multiple UI threads (#3473) 2020-06-22 17:16:53 +10:00
dotnet-maestro[bot] a8df5ec88f
[master] Update dependencies from dotnet/runtime (#3472) 2020-06-22 17:15:05 +10:00
gpetrou 65bf6cf7a1
Add ES enum in Interop Richedit (#3474) 2020-06-21 23:29:56 +00:00
Hugh Bellamy 4498b414d2 Make InputLanguage event args non-nullable 2020-06-19 10:51:10 +01:00
dotnet-maestro[bot] a4f45413f5
Update dependencies from https://github.com/dotnet/arcade build 20200616.1 (#3467)
Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.RemoteExecutor
 From Version 5.0.0-beta.20309.1 -> To Version 5.0.0-beta.20316.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-06-19 08:24:11 +00:00
Hugh Bellamy 86b3b7bf81
Move FileDialogNative code to modern interop model (#3323) 2020-06-19 17:44:21 +10:00
Hugh Bellamy 0b212b11ad
Cleanup Critical Exception Handling (#3465) 2020-06-19 17:07:09 +10:00
Hugh Bellamy 2a1ea08f67
Test AxHost ICustomTypeDescriptor implementation (#3366) 2020-06-19 13:02:42 +10:00
dotnet-maestro[bot] 3696bac117
Update dependencies from https://github.com/dotnet/runtime build 20200618.2 (#3468)
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.Drawing.Common , System.Windows.Extensions , System.Security.Permissions , System.Resources.Extensions , System.Security.Cryptography.Cng
 From Version 5.0.0-preview.7.20317.2 -> To Version 5.0.0-preview.7.20318.2

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-06-18 12:36:29 +00:00
gpetrou a33dfe65e9
Add more combinations of REFLECT with other values in WM enum (#3448) 2020-06-18 21:10:11 +10:00
dotnet-maestro[bot] 1f2c716b77
[master] Update dependencies from dotnet/runtime (#3457) 2020-06-18 20:52:50 +10:00
Mikhail Lipin f9d8a85587
Fixing Issue 3294 to allow specify custom AccessibleName and AccessibleRole for Label control (#3295)
Co-authored-by: Vladimir Krestov <v-vlkres@microsoft.com>
2020-06-18 20:41:44 +10:00
Igor Velikorossov 00f87c582e
Enable nullable reference types for System.Windows.Forms.Primitives (#3451)
Co-authored-by: Sam Harwell <sam@tunnelvisionlabs.com>
2020-06-18 16:23:40 +10:00
Hugh Bellamy 8ce2dafc58
Remove StringSorter (#3463) 2020-06-18 13:50:59 +10:00
Martin Chromecek (Moravia IT) 46a0f59fac
LOC CHECKIN | dotnet/winforms master | 20200617 (#3462) 2020-06-17 18:26:37 +10:00
Tobias Käs 2cfcc3a6fb
Update inappropriate ComVisible attributes (#3388) 2020-06-17 14:11:56 +10:00
Jeremy Kuhne 0f90af477f
Fix start-vs.cmd (#3458)
After repaving I discovered my previous changes weren't correct.
You can't check exists on partial paths. Quoting was wonky, etc.

I've tested this one thoroughly for all three handled states and
it appears to work fine.
2020-06-17 11:17:32 +10:00
Sergey Smirnov d6d0f8685b
Adding check for "IsHandleCreated" flag to RaiseAutomation methods (#3426) 2020-06-16 18:20:20 +10:00
dotnet-maestro[bot] 6919211919
[master] Update dependencies from dotnet/runtime (#3441) 2020-06-16 15:51:19 +10:00
gpetrou f7288bce35
Add CLIENTCREATESTRUCT in Interop User32 and remove unused COMRECT (#3447) 2020-06-16 12:05:25 +10:00
Hugh Bellamy f559a93a54
Remove PropertyGrid remoting code (#3422) 2020-06-16 08:44:10 +10:00
Jeremy Kuhne 6a7e0d7278
Add scoping structs for Win32 objects (#3442)
This builds on what I did for ScreenDC some time ago. It creates wrapper ref structs for deterministic undoing of resource creation and selection. The goal is to help prevent misordering and leaked objects while also reducing nesting complexity.

Note that discards for the new style usings is a coming enhancement in C# that will make this even cleaner. If we move towards typing native handles this pattern will work well with that.
2020-06-15 18:01:58 +10:00
Igor Velikorossov 4b7c4b8fa0
Merge pull request #3440 from RussKie/fix_3425 2020-06-15 17:56:30 +10:00
Hugh Bellamy 32eaa68bf5
Avoid initializing native tools twice (#3335) 2020-06-15 16:48:59 +10:00
Paul M Cohen eed3992cb5
Replace GetApplicationInstanceID with one that is compatible with Fra… (#3380) 2020-06-15 15:15:53 +10:00
Igor Velikorossov a29925077c Correct SelectedImageKey/SelectedImageIndex/StateImageKey/StateImageIndex properties
Setters for `ImageKey` and `ImageIndex` properties were made idempotent
in #3126, however the change didn't account for the fact that the default
`ImageKey == ""` and not `null`.

This caused failures to reset `SelectedImageIndex` or `StateImageIndex`,
when `SelectedImageKey` or `StateImageKey` were set respectively to
`""`; and in reverse - failure to reset keys when indicies were
set to `-1`.

Tweak the setters to continue execution for default values.

Resolves #3425
Relates to #3364
2020-06-15 15:07:20 +10:00
gpetrou 1b87c06e84
Add ENM enum in Interop RichEdit (#3449) 2020-06-15 10:16:29 +10:00
Charles Stoner d7a88d8be4
Test WindowsFormsApplicationBase.GetApplicationInstanceID (#3433)
* Test WindowsFormsApplicationBase.GetApplicationInstanceID

* Reset CA1825

* Use TestAccessor
2020-06-12 16:44:37 -07:00
Igor Velikorossov 203f9abe1d More cleanup 2020-06-12 18:52:12 +10:00
Tobias Käs ae091e1f0a
WebBrowser doesn't like multiple UI threads (#3429) 2020-06-12 16:13:02 +10:00
Loni Tra 2343c3b1c4
Throw Exception setting invalid value for 'ListViewGroupCollapsedState' (#3435) 2020-06-12 15:45:05 +10:00
Sam Harwell ffea11f708
Define a CompileDesignTime target for Accessibility.ilproj (#3431) 2020-06-12 15:44:02 +10:00
Jeremy Kuhne 38b608ecd8
System.Resources cleanup (#3434) 2020-06-12 13:56:56 +10:00
dotnet-maestro[bot] f5b8fcc228
[master] Update dependencies from dotnet/runtime (#3420) 2020-06-12 13:52:46 +10:00
Igor Velikorossov 45da308790
Merge pull request #3436 from JeremyKuhne/startvs 2020-06-12 12:23:55 +10:00
Jeremy Kuhne c60fc0157a Fix an unrelated cursor test failure 2020-06-11 15:13:09 -07:00
Jeremy Kuhne 312a32d8e4 Update start-vs.cmd to use current VS
Use the developer command prompt VS if available, fall back on devenv
in the path, then finally to file association for .sln.

Normalize casing of the commands.
2020-06-11 14:18:40 -07:00
dotnet-maestro[bot] bbb696e8b8
Update dependencies from https://github.com/dotnet/arcade build 20200609.1 (#3427)
Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.RemoteExecutor
 From Version 5.0.0-beta.20280.1 -> To Version 5.0.0-beta.20309.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-06-11 12:27:05 +00:00
vladimir-krestov 93cf1c07ab
Implementing LegacyIAccessiblePattern supporting for ControlAccessibleObject (#3412)
for all control accessible objects, which support uia provider
2020-06-11 17:31:18 +10:00
Tobias Käs 740c52ffe5
WebBrowser doesn't like multiple UI threads (#3423) 2020-06-11 14:10:23 +10:00
Igor Velikorossov e8502dba9f Use different build pool 2020-06-11 13:30:15 +10:00