Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
264 commits
Select commit Hold shift + click to select a range
54c2393
Add FlowPanelDesigner to System.Design.Facade project
Jul 25, 2023
bb202c2
[main] Update dependencies from dotnet/runtime (#9562)
dotnet-maestro[bot] Jul 25, 2023
0800132
Enable nullability in DataGridViewCellPaintingEventArgs (#9565)
gpetrou Jul 25, 2023
9e6259e
Add feature/9.0 branch to CI (#9567)
dreddy-work Jul 25, 2023
32d5b29
Enable nullability in BindToObject (#9554)
gpetrou Jul 26, 2023
274e7a0
[main] Update dependencies from dotnet/runtime (#9571)
dotnet-maestro[bot] Jul 26, 2023
5b659e9
Port MonthCalendarDesigner to runtime (#9536)
LeafShi1 Jul 26, 2023
76e1f0e
Fix `Cursor.ToString()` (#9510)
elachlan Jul 26, 2023
0641450
Fix items property for multiple checked list boxes shouldn't be displ…
Epica3055 Jul 26, 2023
1063cca
Update language format from ll_CC to LCID (#9566)
dreddy-work Jul 26, 2023
1e6134e
Enable nullability in DefaultLayout (#9572)
gpetrou Jul 26, 2023
7c550aa
Implement `ImageListDesigner` (#9493)
elachlan Jul 26, 2023
6678f53
Add focus rectangle to PrintPreviewControl (#9477)
v-elnovikova Jul 26, 2023
34799f0
Adjust the codes and fix the test error.
Jul 27, 2023
1e8afed
Merge branch 'feature/9.0' into Issue_8790_Add_TablelayoutPanelDesign…
SimonZhao888 Jul 27, 2023
d2e60c0
Update the code of WM_CONTEXTMENU in TabControlDesigner
Jul 27, 2023
cc538a1
Remove TabPageDesigner of SkipList in DesignerAttributeTests
Jul 27, 2023
665562f
[main] Update dependencies from dotnet/arcade (#9582)
dotnet-maestro[bot] Jul 27, 2023
7e6d245
[main] Update dependencies from dotnet/runtime (#9583)
dotnet-maestro[bot] Jul 27, 2023
a02baa3
Update loc resources for keyboard buttons text. (#9590)
dreddy-work Jul 27, 2023
1358311
Guard against re-entry in ActiveXImpl / AgileComPointer. (#9588)
JeremyKuhne Jul 27, 2023
a1c1592
Localized file check-in by OneLocBuild Task: Build definition ID 164:…
dotnet-bot Jul 27, 2023
980f6ca
Enable nullability in RowComparer (#9587)
gpetrou Jul 28, 2023
bb39408
Enable nullability in TableLayoutSettingsStub (#9578)
gpetrou Jul 28, 2023
79bfaae
Add PrintDialogDesigner.cs
LeafShi1 Jul 28, 2023
bd3ab86
[main] Update dependencies from dotnet/runtime (#9598)
dotnet-maestro[bot] Jul 28, 2023
7783cfe
[main] Update dependencies from dotnet/arcade (#9597)
dotnet-maestro[bot] Jul 28, 2023
67720fe
Localized file check-in by OneLocBuild Task: Build definition ID 164:…
dotnet-bot Jul 28, 2023
f5b0dd9
Enable nullability in RowArrayList (#9594)
gpetrou Jul 28, 2023
f1c767e
Enable nullability in DataGridViewSelectedCellCollection (#9593)
gpetrou Jul 28, 2023
47377dd
Merge pull request #9601 from dotnet/main
dreddy-work Jul 28, 2023
f364069
Add ref to IOleClientSite in SetClientSite. (#9603)
JeremyKuhne Jul 28, 2023
53dafca
[main] Update dependencies from dotnet/runtime (#9606)
dotnet-maestro[bot] Jul 29, 2023
1bd0529
[main] Update dependencies from dotnet/runtime (#9610)
dotnet-maestro[bot] Jul 30, 2023
6ffe728
Simplify code and comments
Jul 31, 2023
a263fc3
Add license header
LeafShi1 Jul 31, 2023
f8c5d1a
Add file_header_template to .editorconfig file
LeafShi1 Jul 31, 2023
136bc2d
[main] Update dependencies from dotnet/runtime (#9617)
dotnet-maestro[bot] Jul 31, 2023
218d6f7
Enable nullability in FileNameEditor and FolderNameEditor (#9609)
halgab Jul 31, 2023
f44bf75
IDE to report unused usings as errors. (#9604)
Tanya-Solyanik Jul 31, 2023
d9cb2df
Enable nullability in FlowLayout (#9576)
gpetrou Jul 31, 2023
bc6e48e
Checking the dictionary once is enough (#9613)
gero3 Jul 31, 2023
a5d197b
Add AssociatedComponents test of ControlDesigner ,ListViewDesigner ,S…
Epica3055 Jul 31, 2023
72e5798
[main] Update dependencies from dotnet/arcade (#9605)
dotnet-maestro[bot] Jul 31, 2023
e0aa222
Merge pull request #9614 from dotnet/main
Tanya-Solyanik Jul 31, 2023
a5353b4
Update document for `ForceDesignerDpiUnaware` flag in the project fil…
dreddy-work Aug 1, 2023
7a78b7c
Add license header to the file
Aug 1, 2023
27e010d
Enable nullability in DataGridViewButtonCell (#9542)
gpetrou Aug 1, 2023
917e859
Merge pull request #9560 from SimonZhao888/Issue_8790_Add_Tablelayout…
SimonZhao888 Aug 1, 2023
c48a012
Using pattern matching
LeafShi1 Aug 1, 2023
ad0a844
Changing all files to 2-line header
LeafShi1 Aug 1, 2023
2d00f66
Resolve conflicts
LeafShi1 Aug 1, 2023
abf54c3
Remving "See the LICENSE file in the project root for more informatio…
LeafShi1 Aug 1, 2023
46fbafc
Delete redundant file "PrintPreviewControl.PrintPreviewControlAccessi…
LeafShi1 Aug 1, 2023
d06b5e5
Add Licensed header for file "Forwards.cs" and "NotSupported.cs"
LeafShi1 Aug 1, 2023
63f0a5b
Add licensed header to missed files
LeafShi1 Aug 1, 2023
aade765
Add license header to file "MonthCalendarDesigner.cs"
LeafShi1 Aug 1, 2023
1f6ccc7
Restore changes on Cpp files
LeafShi1 Aug 1, 2023
e93e2a9
Remove file_header_template from vb files
LeafShi1 Aug 1, 2023
2e95d25
[main] Update dependencies from dotnet/arcade (#9626)
dotnet-maestro[bot] Aug 1, 2023
5cd71f3
[main] Update dependencies from dotnet/runtime (#9627)
dotnet-maestro[bot] Aug 1, 2023
c0ac1f1
Add commentary to TextRenderer assert (#9630)
JeremyKuhne Aug 1, 2023
a42d8d7
Merge pull request #9623 from dotnet/main
Tanya-Solyanik Aug 1, 2023
db61272
Use AdviseHolder in ActiveXImpl (#9632)
JeremyKuhne Aug 1, 2023
b22cfe2
Merge pull request #9595 from dotnet/Issue_Related1908_Port_PrintDial…
LeafShi1 Aug 2, 2023
58a45ea
Reduce license headers for .h and .cpp files
LeafShi1 Aug 2, 2023
54ee30d
Merge branch 'Add_file_header_template_editorconfig' of https://githu…
LeafShi1 Aug 2, 2023
9fdcabe
Update PrintDialogDesigner.cs
LeafShi1 Aug 2, 2023
af79274
Merge pull request #9635 from dotnet/Add_file_header_template_editorc…
LeafShi1 Aug 2, 2023
f384378
Update comment for file_header_template
LeafShi1 Aug 2, 2023
e3685a4
[main] Update dependencies from dotnet/arcade (#9638)
dotnet-maestro[bot] Aug 2, 2023
06b2d69
[main] Update dependencies from dotnet/runtime (#9639)
dotnet-maestro[bot] Aug 2, 2023
ca60e4e
Merge pull request #9637 from dotnet/main
Tanya-Solyanik Aug 2, 2023
5c29264
Enable nullability in FontEditor and FontNameEditor (#9636)
halgab Aug 2, 2023
3fe5961
Fix a few more ref counts in ActiveXImpl (#9634)
JeremyKuhne Aug 2, 2023
a27e867
Enable nullability in InheritanceService (#9640)
halgab Aug 2, 2023
1d7467b
Merge pull request #9615 from dotnet/Add_file_header_template_editorc…
LeafShi1 Aug 3, 2023
977ad72
Add AssociatedComponents test of ToolStripDropDownDesigner ToolStripD…
Epica3055 Aug 3, 2023
b74644c
[main] Update dependencies from dotnet/arcade (#9647)
dotnet-maestro[bot] Aug 3, 2023
5c60dc4
Enable nullability in TreeNodeCollection (#9521)
gpetrou Aug 3, 2023
6c266b5
Enable nullability in CursorEditor (#9608)
halgab Aug 3, 2023
93b3124
Enable nullability in ObjectSelectorEditor (#9651)
halgab Aug 3, 2023
19f99fb
Merge remote-tracking branch 'upstream/main' into merge-from-main-8-3
Tanya-Solyanik Aug 3, 2023
f5c5754
Merge pull request #9653 from Tanya-Solyanik/merge-from-main-8-3
dreddy-work Aug 3, 2023
fd04307
[main] Update dependencies from dotnet/runtime (#9648)
dotnet-maestro[bot] Aug 3, 2023
7540feb
[main] Update dependencies from dotnet/arcade (#9661)
dotnet-maestro[bot] Aug 4, 2023
7d8b855
[main] Update dependencies from dotnet/runtime (#9662)
dotnet-maestro[bot] Aug 4, 2023
2e56be0
Enable nullability in DockEditor, ContentAlignmentEditor and Selectio…
halgab Aug 4, 2023
7f34a1b
Merge main into feature/9.0 branch - 8/4/2023 (#9659)
LeafShi1 Aug 4, 2023
5939f9b
Enable nullability in CodeDomSerializer (#9501)
halgab Aug 4, 2023
2682b1b
Localized file check-in by OneLocBuild Task: Build definition ID 164:…
dotnet-bot Aug 4, 2023
1fc8fd6
Implement: Mark some properties and methods as `readonly` (#9641)
hamarb123 Aug 4, 2023
e902143
Enable nullability in CodeDomSerializerException (#9664)
halgab Aug 4, 2023
fd46cfc
fix System.ArgumentOutOfRangeException: Value of '-22' is not valid f…
Epica3055 Aug 4, 2023
5a8ecfc
annotate UndoEngine
halgab Jun 27, 2023
2b59690
update unit tests
halgab Jul 29, 2023
3648d60
move UndoEngine.UndoUnit to its own file
halgab Aug 2, 2023
5e9224b
review feedback
halgab Aug 4, 2023
bd20cd2
review feedback
halgab Aug 4, 2023
d3e106c
moving UndoEngine.UndoUnit sub-classes to their own files
halgab Aug 4, 2023
b261f11
Update dependencies from https://github.com/dotnet/runtime build 2023…
dotnet-maestro[bot] Aug 5, 2023
bb80c8d
[main] Update dependencies from dotnet/arcade (#9668)
dotnet-maestro[bot] Aug 5, 2023
7e7901d
Update dependencies from https://github.com/dotnet/runtime build 2023…
dotnet-maestro[bot] Aug 6, 2023
dd32e99
Update .editorconfig to add comment for file_header_template
LeafShi1 Aug 7, 2023
6ec2be8
Merge main to feature/9.0
LeafShi1 Aug 7, 2023
dfd1af5
Update dependencies from https://github.com/dotnet/runtime build 2023…
dotnet-maestro[bot] Aug 7, 2023
deb4747
Merge pull request #9676 from dotnet/merge-from-main-8-5
dreddy-work Aug 7, 2023
f46269a
Merge pull request #9674 from dotnet/Add_comment_file_header_template…
dreddy-work Aug 7, 2023
9717fb9
Merge pull request #9669 from dotnet/darc-main-7f8252f4-5556-404f-9a6…
dreddy-work Aug 7, 2023
1eab5c6
Merge pull request #9607 from halgab/undoengine-null
dreddy-work Aug 7, 2023
56c116e
Localized file check-in by OneLocBuild Task: Build definition ID 164:…
dotnet-bot Aug 7, 2023
7876720
Port FlowLayoutPanelDesigner to runtime (#9658)
LeafShi1 Aug 7, 2023
a701e8c
Merge pull request #9678 from dotnet/locfiles/f7096057-ea0b-4026-a5e7…
dreddy-work Aug 7, 2023
dc9b556
Fix nullability annotations of ResXDataNode (#9667)
halgab Aug 7, 2023
8646ca7
Enable nullability in ImageListCodeDomSerializer (#9670)
halgab Aug 7, 2023
544c550
Remove `RequiresPreviewFeatures` attributes from Command Binding APIs…
KlausLoeffelmann Aug 7, 2023
483607f
Port SaveFileDialogDesigner and FolderBrowserDialogDesigner to winfor…
LeafShi1 Aug 8, 2023
bcb0db8
Add SetTextualDefaultProperty to PublicAPI.Unshipped.txt
LeafShi1 Aug 8, 2023
94833b1
Add null value judgement for UpdateTextualDefaultProperty
LeafShi1 Aug 8, 2023
22a3c49
[main] Update dependencies from dotnet/arcade (#9685)
dotnet-maestro[bot] Aug 8, 2023
6a4afb3
[main] Update dependencies from dotnet/runtime (#9686)
dotnet-maestro[bot] Aug 8, 2023
cb4e286
Merge pull request #9683 from dotnet/main
dreddy-work Aug 8, 2023
dbeb262
Enable nullability in EventHandlerService (#9684)
halgab Aug 8, 2023
6a40361
Fix `Form.Dispose` `NullReferenceException` (#9509)
elachlan Aug 8, 2023
29aaca6
reduce nesting by reverting if clause.
LeafShi1 Aug 9, 2023
784b66d
[main] Update dependencies from dotnet/runtime (#9696)
dotnet-maestro[bot] Aug 9, 2023
bb4a817
Refactor `ControlCollection.AddRange` to use `params` keyword (#9620)
elachlan Aug 9, 2023
072577f
Merge pull request #9690 from dotnet/main
dreddy-work Aug 9, 2023
34763cc
Enable nullability in LoadedEventArgs (#9692)
halgab Aug 9, 2023
f85e8cc
Enable nullability in ToolStripSplitStackLayout (#9577)
gpetrou Aug 9, 2023
e1d8d7b
Enable nullability in BorderSidesEditor (#9700)
halgab Aug 9, 2023
c0c8c64
Merge branch 'feature/9.0' into Issus_4908_Port_SaveFileDialogDesigne…
LeafShi1 Aug 10, 2023
6cb097a
Removing not public API "virtual System.Windows.Forms.TreeNodeCollect…
LeafShi1 Aug 10, 2023
6229438
Add nullability annotations for API "virtual System.Windows.Forms.Tre…
LeafShi1 Aug 10, 2023
2e4dc0c
Revert changes on PublicAPI.Shipped.txt
LeafShi1 Aug 10, 2023
f56fc4f
Update PublicAPI.Shipped.txt to add params for function "System.Windo…
LeafShi1 Aug 10, 2023
7ef8ebf
Update PublicAPI.Unshipped.txt to remove virtual System.Windows.Forms…
LeafShi1 Aug 10, 2023
6b3846a
Merge pull request #9682 from LeafShi1/Issus_4908_Port_SaveFileDialog…
LeafShi1 Aug 10, 2023
7289a62
[main] Update dependencies from dotnet/runtime (#9706)
dotnet-maestro[bot] Aug 10, 2023
c998702
Fix `Help.ShowHelp` to use `FindExecutable` to enable passing full lo…
elachlan Aug 10, 2023
0fc9d23
Merge pull request #9705 from dotnet/main
Tanya-Solyanik Aug 11, 2023
3e9f4f4
Port PropertyGridDesigner and NotifyIconDesigner to runtime #4908 (#…
Epica3055 Aug 11, 2023
d446ce2
Fix issue #9166 by update the color of the indeterminate button
LeafShi1 Aug 11, 2023
4eae607
[main] Update dependencies from dotnet/runtime (#9711)
dotnet-maestro[bot] Aug 11, 2023
5ceacf6
Merge pull request #9710 from LeafShi1/Issue_9166_Fixing_Indeterminat…
LeafShi1 Aug 14, 2023
01a4acd
[main] Update dependencies from dotnet/runtime (#9716)
dotnet-maestro[bot] Aug 14, 2023
7eeafa7
remove useless semicolon (#9712)
mataqvazadeh Aug 14, 2023
0d06f72
Merge pull request #9715 from dotnet/main
Tanya-Solyanik Aug 14, 2023
8348cf4
Localized file check-in by OneLocBuild Task: Build definition ID 164:…
dotnet-bot Aug 14, 2023
fcb07eb
Use throw helpers for ArgumentOutOfRangeException (#9713)
halgab Aug 14, 2023
97121a4
[main] Update dependencies from dotnet/arcade (#9695)
dotnet-maestro[bot] Aug 14, 2023
c3bf1fe
Fix bugs in ResourceCodeDomSerializer.SerializationResourceManager (#…
halgab Aug 14, 2023
1ef1737
Published unpublished API - run .\eng\ApiCompatibility\mark-shipped.c…
Tanya-Solyanik Aug 14, 2023
c76063c
Update branding in main to 9.0 Preview1 (#9718)
LeafShi1 Aug 15, 2023
ba15c51
[main] Update dependencies from dotnet/arcade (#9724)
dotnet-maestro[bot] Aug 15, 2023
f95c20a
[main] Update dependencies from dotnet/runtime (#9725)
dotnet-maestro[bot] Aug 15, 2023
be2ada1
.NET 9.0 template changes. (#9720)
LeafShi1 Aug 15, 2023
65bc7b4
Use throw helpers for ArgumentOutOfRangeException: manual cases (#9728)
halgab Aug 15, 2023
893bd84
Fix IRawElementProviderSimple.GetPropertyValue (#9732)
JeremyKuhne Aug 16, 2023
ef22203
[main] Update dependencies from dotnet/arcade (#9734)
dotnet-maestro[bot] Aug 16, 2023
d08112b
[main] Update dependencies from dotnet/runtime (#9735)
dotnet-maestro[bot] Aug 16, 2023
5ed967c
Add new localization strings that were generated by the build into th…
Tanya-Solyanik Aug 16, 2023
dc41f9f
Merge remote-tracking branch 'upstream/feature/9.0' into merge-featur…
Tanya-Solyanik Aug 16, 2023
66e863b
FIxed incorrect PublicAPI file that was present only in the feature b…
Tanya-Solyanik Aug 16, 2023
17bafff
Merge pull request #9738 from Tanya-Solyanik/merge-feature-into-main
Tanya-Solyanik Aug 16, 2023
5954c5f
[main] Update dependencies from dotnet/runtime (#9741)
dotnet-maestro[bot] Aug 17, 2023
41a27cb
Ensure Form Doesn't Prevent Shutdown (#9745)
lonitra Aug 17, 2023
42e7885
Fix resource namespace for BinaryEditor (#9746)
JeremyKuhne Aug 17, 2023
0a15d2c
Port TrackBarDesigner to runtime (#9703)
LeafShi1 Aug 18, 2023
89f8959
[main] Update dependencies from dotnet/arcade (#9751)
dotnet-maestro[bot] Aug 18, 2023
f5c59ce
add missing UseDefaultXunitCulture attributes (#9744)
weltkante Aug 18, 2023
ada8a5a
Localized file check-in by OneLocBuild Task: Build definition ID 164:…
dotnet-bot Aug 18, 2023
355b1b2
[main] Update dependencies from dotnet/runtime (#9752)
dotnet-maestro[bot] Aug 18, 2023
091454c
Undo Localization Changes (#9754)
lonitra Aug 18, 2023
4dc3f52
[main] Update dependencies from dotnet/runtime (#9758)
dotnet-maestro[bot] Aug 19, 2023
ba88ff3
[main] Update dependencies from dotnet/arcade (#9759)
dotnet-maestro[bot] Aug 20, 2023
eaf8dc9
[main] Update dependencies from dotnet/runtime (#9760)
dotnet-maestro[bot] Aug 20, 2023
8e3d048
[main] Update dependencies from dotnet/runtime (#9763)
dotnet-maestro[bot] Aug 21, 2023
922ca42
Localized file check-in by OneLocBuild Task: Build definition ID 164:…
dotnet-bot Aug 21, 2023
6dec712
Localized file check-in by OneLocBuild Task: Build definition ID 164:…
dotnet-bot Aug 21, 2023
6268411
Localized file check-in by OneLocBuild Task: Build definition ID 164:…
dotnet-bot Aug 21, 2023
4eff945
Merge pull request #9748 from JeremyKuhne/port9746
JeremyKuhne Aug 21, 2023
16385aa
Don't serialize Hashtable with custom comparer (#9679)
JeremyKuhne Aug 21, 2023
9956d7c
[main] Update dependencies from dotnet/runtime (#9766)
dotnet-maestro[bot] Aug 22, 2023
9f244bd
fix bug PrintPreviewControl lacks UI Automation Scroll pattern suppor…
Epica3055 Aug 15, 2023
3b3f683
fix scroll logic
Epica3055 Aug 16, 2023
41d7c25
simplify bool
Epica3055 Aug 17, 2023
6abac78
use var
Epica3055 Aug 22, 2023
2d16728
[main] Update dependencies from dotnet/arcade (#9771)
dotnet-maestro[bot] Aug 23, 2023
061d0fa
Enable nullability in BinaryEditor (#9691)
halgab Aug 23, 2023
184da0f
Additional COM fixes (#9769)
JeremyKuhne Aug 24, 2023
772afbc
Add "SetTextualDefaultProperty = false" for MaskedTextBox (#9709)
LeafShi1 Aug 25, 2023
a01f11d
Enable nullability in MaskDescriptor (#9707)
halgab Aug 25, 2023
5ff294c
[main] Update dependencies from dotnet/arcade (#9789)
dotnet-maestro[bot] Aug 26, 2023
0997378
[main] Update dependencies from dotnet/runtime (#9793)
dotnet-maestro[bot] Aug 27, 2023
52228ae
Port BindingSourceDesigner, BindingNavigatorDesigner to runtime (#9749)
SimonZhao888 Aug 28, 2023
034e1a5
Enable nullability in AnchorEditor (#9775)
halgab Aug 28, 2023
df9acee
More COM audit fixes (#9776)
JeremyKuhne Aug 28, 2023
ec406fb
Enable nullability in BasicDesignerLoader and CodeDomDesignerLoader (…
halgab Aug 28, 2023
aaf7e95
[main] Update dependencies from dotnet/runtime (#9801)
dotnet-maestro[bot] Aug 29, 2023
27795b2
Enable nullability in some TreeView members (#9699)
gpetrou Aug 29, 2023
e47bebd
[main] Update dependencies from dotnet/arcade (#9800)
dotnet-maestro[bot] Aug 29, 2023
f621c32
Make sure the Label Edit in ListView has correct position in accessib…
SimonZhao888 Aug 30, 2023
520111c
[main] Update dependencies from dotnet/arcade (#9811)
dotnet-maestro[bot] Aug 30, 2023
fc19fd2
[main] Update dependencies from dotnet/runtime (#9812)
dotnet-maestro[bot] Aug 30, 2023
5100103
Fix Accessibility COM related issues (#9804)
JeremyKuhne Aug 31, 2023
34da497
Select correct thread when dispatching to StartupNextInstance in VB A…
KlausLoeffelmann Aug 31, 2023
9ad5776
Fix missing category attribute for BindableComponent's DataBinding pr…
KlausLoeffelmann Aug 31, 2023
34a7e1b
[main] Update dependencies from dotnet/arcade (#9830)
dotnet-maestro[bot] Sep 1, 2023
5bc22fa
Make sure the Narrator won't announce the password text (#9733)
SimonZhao888 Sep 1, 2023
8f09c80
Update System.Drawing.Common README.md (#9832)
KlausLoeffelmann Sep 2, 2023
7b766ae
[main] Update dependencies from dotnet/arcade (#9835)
dotnet-maestro[bot] Sep 2, 2023
7fb9549
Port ToolStripPanelDesigner, ToolStripContainerDesigner, ToolStripCon…
LeafShi1 Sep 4, 2023
ceb9dab
Remove Tracing from AxHost (#9834)
lonitra Sep 5, 2023
e2bfda0
Localized file check-in by OneLocBuild Task: Build definition ID 164:…
dotnet-bot Sep 5, 2023
b9c54c8
Create IUnknownStrategy for GlobalInterfaceTable
JeremyKuhne Sep 5, 2023
002b6d0
Include README.md in System.Drawing.Common package building. (#9844)
KlausLoeffelmann Sep 6, 2023
8022f5d
Merge pull request #9845 from JeremyKuhne/unknownstrategy
JeremyKuhne Sep 6, 2023
4e98640
Enable nullability in some DataGridView members (#9792)
gpetrou Sep 6, 2023
e427d77
Enable nullability in some TreeView members (#9809)
gpetrou Sep 6, 2023
01d50d1
Break out and annotate AxImporter (#9850)
JeremyKuhne Sep 6, 2023
57dcd41
Enable nullability in EventBindingService (#9798)
halgab Sep 7, 2023
072fcd1
Add Password tests to WinformsControlsTest (#9838)
SimonZhao888 Sep 7, 2023
d1e31cc
Rename package.md to PACKAGE.md
ViktorHofer Sep 7, 2023
795cca2
Merge pull request #9858 from dotnet/ViktorHofer-patch-1
KlausLoeffelmann Sep 7, 2023
e4fa9d7
Update dependencies from https://github.com/dotnet/runtime build 2023…
dotnet-maestro[bot] Sep 2, 2023
b06a3ab
Update dependencies from https://github.com/dotnet/runtime build 2023…
dotnet-maestro[bot] Sep 3, 2023
6f91409
Update dependencies from https://github.com/dotnet/runtime build 2023…
dotnet-maestro[bot] Sep 4, 2023
3be1f71
Bump up .NET version for System.Drawing.common to NET8.0
Tanya-Solyanik Sep 7, 2023
61b929a
Port DataGridviewDesigner to runtime (#9677)
Epica3055 Sep 7, 2023
0dba064
Convert AxHost to use Pointers (#9847)
lonitra Sep 7, 2023
b4517da
Disable package validation against the baseline for the standalone Sy…
Tanya-Solyanik Sep 7, 2023
0b42942
Merge pull request #9836 from dotnet/darc-main-f6c0224b-dce5-4a83-915…
Tanya-Solyanik Sep 7, 2023
b4bbbe5
Fix folder browser code (#9866)
JeremyKuhne Sep 8, 2023
f12735e
Merge pull request #9873 from JeremyKuhne/port9866
JeremyKuhne Sep 8, 2023
d8712d8
[main] Update dependencies from dotnet/runtime (#9876)
dotnet-maestro[bot] Sep 9, 2023
478c4e1
[main] Update dependencies from dotnet/runtime (#9877)
dotnet-maestro[bot] Sep 10, 2023
7d12ec2
[main] Update dependencies from dotnet/runtime (#9882)
dotnet-maestro[bot] Sep 11, 2023
c7d83e7
move TraceSwitchExtensions
halgab Jun 25, 2023
e73c56d
annotate DesignerActionService
halgab May 26, 2023
72b3a67
annotate DesignerActionUIService
halgab May 26, 2023
1c4e0f7
annotate DesignerActionUI
halgab Jun 25, 2023
7330ffc
annotate SelectionManager
halgab Jun 25, 2023
3888c2d
annotate DesignerActionBehavior
halgab Jun 25, 2023
9b82dec
annotate DesignerActionPanel
halgab Jun 26, 2023
398e4e2
fix build
halgab Jun 27, 2023
4609e45
update IWindowsFormsEditorService annotations
halgab Jul 1, 2023
e0fed26
review feedback
halgab Jul 20, 2023
5a48173
big Line refactoring
halgab Jul 3, 2023
18931ea
refactor line even further to remove more !
halgab Sep 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
61 changes: 49 additions & 12 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ indent_size = 4
[*.json]
indent_size = 2

# Bvc.dll crashed in the CI build when this rule is enabled for VB.
# C# files
[src/**/*.cs]
file_header_template = Licensed to the .NET Foundation under one or more agreements.\nThe .NET Foundation licenses this file to you under the MIT license.

# C# and VB files
[*.{cs,vb}]
charset = utf-8-bom
Expand All @@ -32,7 +37,7 @@ dotnet_style_predefined_type_for_member_access = true:suggestion
# name all constant fields using PascalCase
dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style

dotnet_naming_symbols.constant_fields.applicable_kinds = field
dotnet_naming_symbols.constant_fields.required_modifiers = const
Expand All @@ -42,7 +47,7 @@ dotnet_naming_style.pascal_case_style.capitalization = pascal_case
# static fields should have s_ prefix
dotnet_naming_rule.static_fields_should_have_prefix.severity = suggestion
dotnet_naming_rule.static_fields_should_have_prefix.symbols = static_fields
dotnet_naming_rule.static_fields_should_have_prefix.style = static_prefix_style
dotnet_naming_rule.static_fields_should_have_prefix.style = static_prefix_style

dotnet_naming_symbols.static_fields.applicable_kinds = field
dotnet_naming_symbols.static_fields.required_modifiers = static
Expand All @@ -53,7 +58,7 @@ dotnet_naming_style.static_prefix_style.capitalization = camel_case
# internal and private fields should be _camelCase
dotnet_naming_rule.camel_case_for_private_internal_fields.severity = suggestion
dotnet_naming_rule.camel_case_for_private_internal_fields.symbols = private_internal_fields
dotnet_naming_rule.camel_case_for_private_internal_fields.style = camel_case_underscore_style
dotnet_naming_rule.camel_case_for_private_internal_fields.style = camel_case_underscore_style

dotnet_naming_symbols.private_internal_fields.applicable_kinds = field
dotnet_naming_symbols.private_internal_fields.applicable_accessibilities = private, internal
Expand All @@ -70,13 +75,28 @@ dotnet_style_collection_initializer = true:suggestion
dotnet_style_explicit_tuple_names = true:suggestion
dotnet_style_coalesce_expression = true:suggestion
dotnet_style_null_propagation = true:suggestion
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:error
dotnet_style_prefer_auto_properties = true:silent
dotnet_style_prefer_simplified_boolean_expressions = true:suggestion
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
dotnet_style_prefer_conditional_expression_over_return = true:silent
dotnet_style_prefer_inferred_tuple_names = true:suggestion
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
dotnet_style_prefer_compound_assignment = true:suggestion
dotnet_style_prefer_simplified_interpolation = true:suggestion
dotnet_style_namespace_match_folder = true:suggestion
dotnet_style_operator_placement_when_wrapping = beginning_of_line
tab_width = 4
end_of_line = crlf
dotnet_style_allow_multiple_blank_lines_experimental = true:silent
dotnet_style_allow_statement_immediately_after_block_experimental = true:silent

# C# files
[*.cs]

# .NET diagnostic
dotnet_diagnostic.RS0041.severity = none
dotnet_diagnostic.IDE0005.severity = warning
dotnet_diagnostic.IDE0005.severity = error

# New line preferences
csharp_new_line_before_open_brace = all
Expand All @@ -95,7 +115,7 @@ csharp_indent_switch_labels = true
csharp_indent_labels = one_less_than_current

# only use var when it's obvious what the variable type is
csharp_style_var_for_built_in_types = false:silent
csharp_style_var_for_built_in_types = false:error
csharp_style_var_when_type_is_apparent = true:silent
csharp_style_var_elsewhere = false:silent

Expand All @@ -104,12 +124,12 @@ csharp_preserve_single_line_blocks = true
csharp_preserve_single_line_statements = false

# Expression-bodied members
csharp_style_expression_bodied_methods = false:none
csharp_style_expression_bodied_constructors = false:none
csharp_style_expression_bodied_operators = false:none
csharp_style_expression_bodied_properties = true:none
csharp_style_expression_bodied_indexers = true:none
csharp_style_expression_bodied_accessors = true:none
csharp_style_expression_bodied_methods = true:silent
csharp_style_expression_bodied_constructors = true:silent
csharp_style_expression_bodied_operators = true:silent
csharp_style_expression_bodied_properties = true:silent
csharp_style_expression_bodied_indexers = true:silent
csharp_style_expression_bodied_accessors = true:silent

# Pattern matching
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
Expand Down Expand Up @@ -146,6 +166,23 @@ csharp_space_between_square_brackets = false

# IDE0008: Use explicit type
dotnet_diagnostic.IDE0008.severity = silent
csharp_using_directive_placement = outside_namespace:silent
csharp_prefer_simple_using_statement = true:suggestion
csharp_prefer_braces = true:silent
csharp_style_namespace_declarations = block_scoped:silent
csharp_style_prefer_method_group_conversion = true:silent
csharp_style_prefer_top_level_statements = true:silent
csharp_style_prefer_primary_constructors = true:suggestion
csharp_style_expression_bodied_lambdas = true:silent
csharp_style_expression_bodied_local_functions = false:silent
csharp_style_allow_embedded_statements_on_same_line_experimental = true:silent
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = true:silent
csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = true:silent
csharp_style_allow_blank_line_after_token_in_conditional_expression_experimental = true:silent
csharp_style_allow_blank_line_after_token_in_arrow_expression_clause_experimental = true:silent
# IDE0090: Use new()
dotnet_diagnostic.IDE0090.severity = error
csharp_style_deconstructed_variable_declaration = true:suggestion

# Visual Basic files

Expand Down Expand Up @@ -185,4 +222,4 @@ insert_final_newline = true
end_of_line = lf

[*.{cmd,bat}]
end_of_line = crlf
end_of_line = crlf
2 changes: 1 addition & 1 deletion .github/fabricbot.json
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@
{
"name": "addMilestone",
"parameters": {
"milestoneName": "8.0 RC1"
"milestoneName": "9.0 Preview1"
}
}
],
Expand Down
8 changes: 6 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@
<Import Project="$(RepositoryEngineeringDir)ApiCompatibility\PublicApiAnalyzer.props" />

<PropertyGroup>
<!-- Remove hardcoded .NET versions when Arcade is upgraded to .NET 9.0. https://github.com/dotnet/winforms/issues/9851-->
<NetMinimum>net8.0</NetMinimum>
<NetPrevious>net8.0</NetPrevious>
<NetCurrent>net8.0</NetCurrent>
<TargetFrameworkName>net</TargetFrameworkName>
<TargetFrameworkMajorVersion>8</TargetFrameworkMajorVersion>
<TargetFrameworkMinorVersion>0</TargetFrameworkMinorVersion>
<TargetFrameworkMajorVersion>8</TargetFrameworkMajorVersion>
<TargetFrameworkMinorVersion>0</TargetFrameworkMinorVersion>
<TargetFrameworkVersion>$(TargetFrameworkMajorVersion).$(TargetFrameworkMinorVersion)</TargetFrameworkVersion>
<TargetFramework>$(TargetFrameworkName)$(TargetFrameworkVersion)</TargetFramework>
<Product>Microsoft&#xAE; .NET</Product>
Expand Down
2 changes: 2 additions & 0 deletions NuGet.config
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<add key="dotnet7-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7-transport/nuget/v3/index.json" />
<add key="dotnet8" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json" />
<add key="dotnet8-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8-transport/nuget/v3/index.json" />
<add key="dotnet9" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json" />
<add key="dotnet9-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9-transport/nuget/v3/index.json" />
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" />
<!-- Used for the Rich Navigation indexing task -->
<add key="richnav" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/vs-buildservices/nuget/v3/index.json" />
Expand Down
1 change: 1 addition & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ pr:
- internal/release/*
- internal/experimental/*
- feature/win32
- feature/9.0
paths:
include:
- '*'
Expand Down
38 changes: 38 additions & 0 deletions docs/designer/designer-high-dpi-mode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Designer HighDpi mode
Visual Studio 2022 and beyond by default launch in PerMonitor DpiAwareness mode but it also supports SystemAware and Unaware DpiAwareness modes when users launch it with [custom settings](https://docs.microsoft.com/visualstudio/designers/disable-dpi-awareness?view=vs-2022). The WinForms designer does not fully support PerMonitor DpiAwareness mode yet and by default launches in SystemAware mode.

In .NET 6, as part of unifying the information sharing between WinForms designer and WinForms runtime, we added [support](https://aka.ms/applicationconfiguration) for specifying the application dpi mode as a build time property on the project and share it for both designtime and at runtime.

## Issues
The Winforms designer, when operating in SystemAware/PermonitorV2 mode, serializes layout metrics into the source file based on the Dpi setting of the current display device on which it is being rendered. This may lead to two kinds of problems.

1. WinForms applications developed on a machine with DPI settings different from the machine where they are executed may encounter layout inconsistencies.

2. Within a team of multiple developers collaborating on the same project, this situation can lead to unintentional modifications in the serialized source code, even if they are unrelated to the intended changes. As a consequence, it introduces additional overhead in the code review and merging process.

The following example demonstrates an undesired modification in the serialized WinForms source code.

![Unwanted Serialization changes](../images/Serialization.png)


Up until now, developers have been advised to adhere to the instructions given [here](https://go.microsoft.com/fwlink/?linkid=875609) and restart Visual Studio in DpiUnAware mode to resolve these problems. Nevertheless, this process requires individual developers to do it every time they work on the project, adding inconvenience. Additionally, the entire Visual Studio IDE would be launched as DPI Unaware resulting in a blurry IDE experience.

## Solution

In Visual Studio 2022 Version 17.8, we are introducing a new [configuration]((https://aka.ms/applicationconfiguration)) option called `ForceDesignerDpiUnaware`, distinct from `ApplicationHighDpiMode`. This option enables developers to enforce DpiUnAware mode for all WinForms designers in the project, regardless of the `ApplicationHighDpiMode`, which continues to take effect during runtime. The rest of the Visual Studio environment remains in PerMonitor mode and renders crisply.


```CS

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net7.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWindowsForms>true</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings>
<ApplicationHighDpiMode>SystemAware</ApplicationHighDpiMode>
<ForceDesignerDpiUnaware>true</ForceDesignerDpiUnaware>
</PropertyGroup>
```

Binary file added docs/images/Serialization.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions docs/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Tests are built and executed by file name convention
[WinFormsFact]
public void ButtonBase_GetAutoSizeMode_Invoke_ReturnsExpected()
{
using var control = new SubButtonBase();
using SubButtonBase control = new();
Assert.Equal(AutoSizeMode.GrowOnly, control.GetAutoSizeMode());
}
```
Expand Down Expand Up @@ -163,8 +163,8 @@ When writing theories note the following:
[WinFormsTheory]
[MemberData(nameof(GetButton_TestData))]
public void Ctor_Control_DataGridViewCellStyle(string buttonText)
{
using var button = new Button() { Text = buttonText };
{
using Button button = new() { Text = buttonText };
...
}
```
Expand All @@ -184,7 +184,7 @@ When writing theories note the following:
// ** DO NOT DO THIS! **
public static IEnumerable<object[]> GetButton_TestData()
{
var button = new Button();
Button button = new();
yield return new object[] { button, new DataGridViewCellStyle() };
yield return new object[] { button { Text = "bla" }, new DataGridViewCellStyle() }; // the button could already be disposed by the time this theory runs
}
Expand Down Expand Up @@ -233,12 +233,12 @@ public void MyControl_Rendering()
// 1. Create a control to validate rendering for.
// 2. Add the control to a form, and make sure the form is created
using Form form = new Form();
using var control = new MyControl { ... };
using MyControl control = new() { ... };
form.Controls.Add(control);
Assert.NotEqual(IntPtr.Zero, form.Handle);

// Create an Enhance Metafile into which we will render the control
using var emf = new EmfScope();
using EmfScope emf = new();
DeviceContextState state = new DeviceContextState(emf);

// Render the control
Expand Down
Loading