Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve xml comments review 5th DRAFT #12148

Draft
wants to merge 1,002 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1002 commits
Select commit Hold shift + click to select a range
6980a66
Merge branch 'master' into Improve-XML-Comments-Review-5th-DRAFT
paul1956 Oct 29, 2024
a50ea38
Rename Network Files
paul1956 Oct 29, 2024
0c88c18
Rename files
paul1956 Oct 29, 2024
97d4a6e
Rename Network files
paul1956 Oct 29, 2024
8eefc0d
Simplify Tests and reuse commin code
paul1956 Oct 30, 2024
2df4379
Merge branch 'master' into Add-Network-Download-Tests-Only-Review-1st
paul1956 Oct 31, 2024
e3e58f0
Merge
paul1956 Oct 31, 2024
49b2cda
Update tests to use validation functions
paul1956 Oct 31, 2024
9cbddc8
Add missing tests and cleanup
paul1956 Oct 31, 2024
edb8c1d
Move TestingConnectionTimeout to prevent merge issues
paul1956 Oct 31, 2024
e6b1bbb
remove extra blank lines
paul1956 Oct 31, 2024
5769f43
Fix merge conflicts
paul1956 Oct 31, 2024
7b80e96
Fix merge conlicts
paul1956 Oct 31, 2024
7b650d8
merge
paul1956 Oct 31, 2024
a1363c7
Code cleanup
paul1956 Oct 31, 2024
78099e6
Shorten comments
paul1956 Oct 31, 2024
7e20850
Fix long lines
paul1956 Oct 31, 2024
e8b825d
Cleanup
paul1956 Oct 31, 2024
00337e1
Code cleanup
paul1956 Oct 31, 2024
3f83e78
remove m_
paul1956 Oct 31, 2024
5ebd70f
Shorten some long lines
paul1956 Oct 31, 2024
d06550a
Remove blank line
paul1956 Oct 31, 2024
6e5309d
Fix XM: Comment
paul1956 Oct 31, 2024
bfc6571
Fix formatting
paul1956 Oct 31, 2024
fc14585
Fix formatting
paul1956 Oct 31, 2024
5feeaed
Merge
paul1956 Oct 31, 2024
f7be887
Merge branch 'Shorten-Long-Lines-in-VB-Review-after-FixIssue#9807-3rd…
paul1956 Oct 31, 2024
f59c1dd
Merge
paul1956 Oct 31, 2024
81505f1
Merge branch 'master' into Add-Network-Download-Tests-Only-Review-1st
paul1956 Nov 3, 2024
668c961
Merge branch 'master' into FixIssue#9807-2nd
paul1956 Nov 3, 2024
156ffed
Merge branch 'FixIssue#9807-2nd' into Shorten-Long-Lines-in-VB-Review…
paul1956 Nov 3, 2024
92bf9e2
Merge branch 'Add-Network-Download-Tests-Only-Review-1st' into FixIss…
paul1956 Nov 3, 2024
3396bd2
Merge branch 'FixIssue#9807-2nd' into Shorten-Long-Lines-in-VB-Review…
paul1956 Nov 3, 2024
ee96b6d
Merge branch 'Shorten-Long-Lines-in-VB-Review-after-FixIssue#9807-3rd…
paul1956 Nov 3, 2024
5699a69
Merge branch 'Shorten-long-inline-comments-Review-4th' into Improve-X…
paul1956 Nov 3, 2024
7970d05
Use auto Properties
paul1956 Nov 3, 2024
fbf2bfc
Shorten a some long lines
paul1956 Nov 3, 2024
3e40342
Fix C# error with System.Environment
paul1956 Nov 4, 2024
d503566
Merge branch 'master' into Add-Network-Download-Tests-Only-Review-1st
paul1956 Nov 5, 2024
456fe40
[main] Update dependencies from dotnet/runtime (#12419)
dotnet-maestro[bot] Nov 3, 2024
c67ba0b
Issue 12353 fix detach context menu strip memory leak (#12399)
LeafShi1 Nov 4, 2024
8287886
Update InitializeComponent() template (#12398)
LeafShi1 Nov 4, 2024
c116319
Update the logic about the attribute [RefreshProperties(RefreshProper…
LeafShi1 Nov 4, 2024
4c44c4a
add vs-feedback info to the designer readme (#12414)
Tanya-Solyanik Nov 4, 2024
1c9be40
Add code coverage for ToolStripComboBox.ToolStripComboBoxControl.Tool…
Zheng-Li01 Nov 5, 2024
1203e7e
[main] Update dependencies from dotnet/runtime (#12422)
dotnet-maestro[bot] Nov 5, 2024
39e063e
[main] Update dependencies from dotnet/arcade (#12423)
dotnet-maestro[bot] Nov 5, 2024
ed3e74a
Code Coverage for VB ApplicationServices Exceptions and minor cleanup…
paul1956 Nov 5, 2024
64b2290
Merge branch 'FixIssue#9807-2nd' into Shorten-Long-Lines-in-VB-Review…
paul1956 Nov 5, 2024
94b6aae
Merge branch 'FixIssue#9807-2nd' into Shorten-long-inline-comments-Re…
paul1956 Nov 5, 2024
ee10a50
Merge branch 'Shorten-Long-Lines-in-VB-Review-after-FixIssue#9807-3rd…
paul1956 Nov 5, 2024
585ee58
Merge branch 'Shorten-long-inline-comments-Review-4th' into Improve-X…
paul1956 Nov 5, 2024
e607b09
Merge branch 'master' into Add-Network-Download-Tests-Only-Review-1st
paul1956 Nov 6, 2024
7e02be2
Merge branch 'Add-Network-Download-Tests-Only-Review-1st' into FixIss…
paul1956 Nov 6, 2024
d30f205
Merge
paul1956 Nov 6, 2024
4d7a89a
Merge
paul1956 Nov 6, 2024
49e74ff
Merge branch 'Shorten-long-inline-comments-Review-4th' into Improve-X…
paul1956 Nov 6, 2024
2fdb828
Merge branch 'master' into Add-Network-Download-Tests-Only-Review-1st
paul1956 Nov 7, 2024
37364fc
Merge branch 'Add-Network-Download-Tests-Only-Review-1st' into FixIss…
paul1956 Nov 7, 2024
10f8dfd
Merge branch 'FixIssue#9807-2nd' into Shorten-Long-Lines-in-VB-Review…
paul1956 Nov 7, 2024
d87d110
Merge branch 'Shorten-Long-Lines-in-VB-Review-after-FixIssue#9807-3rd…
paul1956 Nov 7, 2024
c923cee
Merge branch 'Shorten-long-inline-comments-Review-4th' into Improve-X…
paul1956 Nov 7, 2024
918f806
Merge branch 'master' into Add-Network-Download-Tests-Only-Review-1st
paul1956 Nov 8, 2024
44bd43f
Merge branch 'Add-Network-Download-Tests-Only-Review-1st' into FixIss…
paul1956 Nov 9, 2024
968078f
Merge branch 'FixIssue#9807-2nd' into Shorten-Long-Lines-in-VB-Review…
paul1956 Nov 9, 2024
e516e6e
Prevent merge issues
paul1956 Nov 9, 2024
99bdb8c
Merge
paul1956 Nov 9, 2024
33a1a34
Merge branch 'Shorten-long-inline-comments-Review-4th' into Improve-X…
paul1956 Nov 9, 2024
3911bc1
Merge branch 'master' into Add-Network-Download-Tests-Only-Review-1st
paul1956 Nov 9, 2024
08df5f8
Merge branch 'Add-Network-Download-Tests-Only-Review-1st' into FixIss…
paul1956 Nov 9, 2024
001e0e1
Merge branch 'FixIssue#9807-2nd' into Shorten-Long-Lines-in-VB-Review…
paul1956 Nov 9, 2024
d933559
Merge branch 'Shorten-Long-Lines-in-VB-Review-after-FixIssue#9807-3rd…
paul1956 Nov 9, 2024
d1af512
Merge branch 'Shorten-long-inline-comments-Review-4th' into Improve-X…
paul1956 Nov 9, 2024
6bf9284
Merge branch 'master' into Add-Network-Download-Tests-Only-Review-1st
paul1956 Nov 11, 2024
5ec1a65
Merge branch 'Add-Network-Download-Tests-Only-Review-1st' into FixIss…
paul1956 Nov 11, 2024
bc21866
Merge branch 'FixIssue#9807-2nd' into Shorten-Long-Lines-in-VB-Review…
paul1956 Nov 11, 2024
ecf24ad
Merge branch 'Shorten-Long-Lines-in-VB-Review-after-FixIssue#9807-3rd…
paul1956 Nov 11, 2024
30846be
Merge branch 'Shorten-long-inline-comments-Review-4th' into Improve-X…
paul1956 Nov 11, 2024
df346b8
[main] Update dependencies from dotnet/arcade (#12459)
dotnet-maestro[bot] Nov 11, 2024
0bbdead
Add code coverage for TrackBarRenderer (#12427)
Zheng-Li01 Nov 11, 2024
2331748
[main] Update dependencies from dotnet/arcade (#12464)
dotnet-maestro[bot] Nov 12, 2024
4ad9cdf
Remove CLSCompliant attribute (#12469)
JeremyKuhne Nov 12, 2024
4361014
Delete build.sh (#12465)
lonitra Nov 12, 2024
d869cf1
Merge branch 'Add-Network-Download-Tests-Only-Review-1st' into FixIss…
paul1956 Nov 13, 2024
7653c69
Merge branch 'FixIssue#9807-2nd' into Shorten-Long-Lines-in-VB-Review…
paul1956 Nov 13, 2024
7eb439f
Merge branch 'Shorten-Long-Lines-in-VB-Review-after-FixIssue#9807-3rd…
paul1956 Nov 13, 2024
1cc2260
Merge branch 'Shorten-long-inline-comments-Review-4th' into Improve-X…
paul1956 Nov 13, 2024
1cd54bf
Add NetwrokDownloadTests and WebListner
paul1956 Nov 14, 2024
66298ab
Fix merge issues
paul1956 Nov 14, 2024
08be576
Sync changes from PR #11867
paul1956 Nov 15, 2024
24551f1
Simplify code
paul1956 Nov 15, 2024
bf912fe
Merge branch 'master' into Code-Coverage-DownloadFile-Review-1St
paul1956 Nov 15, 2024
f741607
Merge branch 'master' into FixIssue#9807-2nd-DRAFT
paul1956 Nov 15, 2024
ea1d00f
Merge branch 'Code-Coverage-DownloadFile-Review-1St' into FixIssue#98…
paul1956 Nov 15, 2024
1adf2be
Merge branch 'master' into Code-Coverage-DownloadFile-Review-1St
paul1956 Nov 19, 2024
fae6727
Merge branch 'master' into FixIssue#9807-2nd-DRAFT
paul1956 Nov 19, 2024
af840f2
Merge branch 'master' into Code-Coverage-DownloadFile-Review-1St
paul1956 Nov 19, 2024
933b97d
Merge branch 'Code-Coverage-DownloadFile-Review-1St' into FixIssue#98…
paul1956 Nov 19, 2024
8f280c4
Merge branch 'master' into Code-Coverage-DownloadFile-Review-1St
paul1956 Nov 21, 2024
b5da52c
Merge branch 'Code-Coverage-DownloadFile-Review-1St' into FixIssue#98…
paul1956 Nov 21, 2024
bf91442
Minor Cleanup
paul1956 Nov 22, 2024
d1b4234
Merge branch 'master' into Code-Coverage-DownloadFile-Review-1St
paul1956 Nov 22, 2024
f3423d4
Merge branch 'master' into FixIssue#9807-2nd-DRAFT
paul1956 Nov 22, 2024
340c744
Merge
paul1956 Nov 22, 2024
e00a994
Fix merge conflicts
paul1956 Nov 22, 2024
4f27e4c
Merge
paul1956 Nov 22, 2024
5f087f6
Fix Merge issue
paul1956 Nov 22, 2024
22906c5
Merge
paul1956 Nov 22, 2024
f28bf1c
Fix merge error
paul1956 Nov 22, 2024
4e48605
Merge branch 'master' into Code-Coverage-DownloadFile-Review-1St
paul1956 Nov 23, 2024
1f2e39d
Merge branch 'master' into FixIssue#9807-2nd-DRAFT
paul1956 Nov 23, 2024
c687aa1
Merge branch 'Code-Coverage-DownloadFile-Review-1St' into FixIssue#98…
paul1956 Nov 23, 2024
e3520d4
Merge
paul1956 Nov 23, 2024
161d7d9
Merge branch 'Shorten-Long-Lines-in-VB-Review-after-FixIssue#9807-3rd…
paul1956 Nov 23, 2024
ad11a12
Merge branch 'Shorten-long-inline-comments-Review-4th' into Improve-X…
paul1956 Nov 23, 2024
1782915
Rename NetworkTests to DownloadTests
paul1956 Nov 24, 2024
69a4b60
Rename NetworkDownloadTests to DownloadFileTests
paul1956 Nov 24, 2024
c908a50
Rename NetworkDownloadTests to DownloadFileTests
paul1956 Nov 24, 2024
562a3a6
Rename NetworkDownloadTests to DownloadFileTests
paul1956 Nov 24, 2024
d6d09b9
Rename NetworkDownloadTests to DownloadFileTests
paul1956 Nov 24, 2024
2434e29
Simplify DownloadFileAsync and improve code coverage
paul1956 Nov 25, 2024
10c1989
Merge branch 'master' into Code-Coverage-DownloadFile-Review-1St
paul1956 Nov 25, 2024
e5d1bd9
Merge branch 'master' into FixIssue#9807-2nd-DRAFT
paul1956 Nov 25, 2024
c6234bb
Merge branch 'Code-Coverage-DownloadFile-Review-1St' into FixIssue#98…
paul1956 Nov 25, 2024
5370a80
Address merge issues with InternalInputBox
paul1956 Nov 25, 2024
49c02c3
Merge branch 'FixIssue#9807-2nd-DRAFT' into Shorten-Long-Lines-in-VB-…
paul1956 Nov 25, 2024
50a0c73
Avoid merge error
paul1956 Nov 25, 2024
eb68ad3
Merge branch 'Shorten-Long-Lines-in-VB-Review-after-FixIssue#9807-3rd…
paul1956 Nov 25, 2024
1b24bc2
Pervent Merge issue
paul1956 Nov 25, 2024
b4b54cd
Merge branch 'Shorten-long-inline-comments-Review-4th' into Improve-X…
paul1956 Nov 25, 2024
2d92096
Simplify dialog cancel
paul1956 Nov 26, 2024
63e68f1
Cleanup formatting
paul1956 Nov 26, 2024
4324b8b
Improve test coverage for Null or Empty network address
paul1956 Nov 26, 2024
91829aa
Fix formatting
paul1956 Nov 26, 2024
df41d1e
Improve test coverage
paul1956 Nov 26, 2024
ebdc88d
Dispose of HttpListener
paul1956 Nov 27, 2024
2718370
Fix formating
paul1956 Nov 28, 2024
4002f54
Manual merge with tests only
paul1956 Nov 28, 2024
175440a
Clean up formatting issues
paul1956 Nov 28, 2024
1bf3591
Add some Async Tests
paul1956 Nov 28, 2024
f1c6e65
Move download verifiers to separate file
paul1956 Nov 28, 2024
1d0b3e2
Fix broken test
paul1956 Nov 28, 2024
fa37a7b
Merge branch 'master' into Code-Coverage-DownloadFile-Review-1St
paul1956 Nov 28, 2024
fbd2c7c
Remove Imports Microsoft.VisualBasic.CompilerServices
paul1956 Nov 28, 2024
0baeb02
Fix error cause myy removal of Imports Microsoft.VisualBasic.Compiler…
paul1956 Nov 28, 2024
887616f
Merge
paul1956 Nov 28, 2024
6cc497b
Merge branch 'FixIssue#9807-2nd-DRAFT' into Shorten-Long-Lines-in-VB-…
paul1956 Nov 28, 2024
79228ff
Merge branch 'Shorten-Long-Lines-in-VB-Review-after-FixIssue#9807-3rd…
paul1956 Nov 28, 2024
008edfb
Merge branch 'Shorten-long-inline-comments-Review-4th' into Improve-X…
paul1956 Nov 29, 2024
8977f10
Merge branch 'master' into Code-Coverage-DownloadFile-Review-1St
paul1956 Dec 6, 2024
96ea6b8
Merge branch 'Code-Coverage-DownloadFile-Review-1St' into FixIssue#98…
paul1956 Dec 6, 2024
e5942f7
Merge branch 'FixIssue#9807-2nd-DRAFT' into Shorten-Long-Lines-in-VB-…
paul1956 Dec 6, 2024
09eb2ca
Merge branch 'Shorten-Long-Lines-in-VB-Review-after-FixIssue#9807-3rd…
paul1956 Dec 6, 2024
51d4afd
Merge branch 'Shorten-long-inline-comments-Review-4th' into Improve-X…
paul1956 Dec 6, 2024
7f51bcc
Merge branch 'master' into Code-Coverage-DownloadFile-Review-1St
paul1956 Dec 11, 2024
04ed891
Merge branch 'Code-Coverage-DownloadFile-Review-1St' into FixIssue#98…
paul1956 Dec 11, 2024
b125ee8
Merge branch 'FixIssue#9807-2nd-DRAFT' into Shorten-Long-Lines-in-VB-…
paul1956 Dec 11, 2024
78ffa35
Fix formatting
paul1956 Dec 11, 2024
67d7ff3
Merge branch 'Shorten-Long-Lines-in-VB-Review-after-FixIssue#9807-3rd…
paul1956 Dec 11, 2024
1beed74
Merge branch 'Shorten-long-inline-comments-Review-4th' into Improve-X…
paul1956 Dec 11, 2024
a9eb2f5
Merge branch 'master' into Code-Coverage-DownloadFile-Review-1St
paul1956 Dec 12, 2024
2ad4315
Merge
paul1956 Dec 12, 2024
de5b598
Merge
paul1956 Dec 12, 2024
9d1ef93
Merge branch 'Shorten-Long-Lines-in-VB-Review-after-FixIssue#9807-3rd…
paul1956 Dec 12, 2024
4002eee
Merge
paul1956 Dec 12, 2024
5b89c04
Merge branch 'master' into Code-Coverage-DownloadFile-Review-1St
paul1956 Dec 13, 2024
fdbbf0d
Merge branch 'Code-Coverage-DownloadFile-Review-1St' into FixIssue#98…
paul1956 Dec 13, 2024
021d2bd
Merge branch 'FixIssue#9807-2nd-DRAFT' into Shorten-Long-Lines-in-VB-…
paul1956 Dec 13, 2024
979611a
Merge branch 'Shorten-Long-Lines-in-VB-Review-after-FixIssue#9807-3rd…
paul1956 Dec 13, 2024
01a2e57
Merge branch 'Shorten-long-inline-comments-Review-4th' into Improve-X…
paul1956 Dec 13, 2024
2b7303c
Fix behaviour cancel dialog behavior to match WebCleintDownload
paul1956 Dec 15, 2024
8d1fe48
Merge branch 'Code-Coverage-DownloadFile-Review-1St' into FixIssue#98…
paul1956 Dec 15, 2024
ffe7e35
Merge branch 'master' into Code-Coverage-DownloadFile-Review-1St
paul1956 Dec 15, 2024
4657882
Merge branch 'Code-Coverage-DownloadFile-Review-1St' into FixIssue#98…
paul1956 Dec 16, 2024
590f854
Merge branch 'FixIssue#9807-2nd-DRAFT' into Shorten-Long-Lines-in-VB-…
paul1956 Dec 16, 2024
cc4c5ec
Merge branch 'Shorten-Long-Lines-in-VB-Review-after-FixIssue#9807-3rd…
paul1956 Dec 16, 2024
c7c775e
Merge branch 'Shorten-long-inline-comments-Review-4th' into Improve-X…
paul1956 Dec 16, 2024
db6bdf6
Merge branch 'master' into Code-Coverage-DownloadFile-Review-1St
paul1956 Dec 17, 2024
c1968fc
Merge branch 'master' into FixIssue#9807-2nd-DRAFT
paul1956 Dec 17, 2024
4a532db
Merge branch 'Code-Coverage-DownloadFile-Review-1St' into FixIssue#98…
paul1956 Dec 17, 2024
5ce02c9
Merge branch 'FixIssue#9807-2nd-DRAFT' into Shorten-Long-Lines-in-VB-…
paul1956 Dec 17, 2024
0e3a809
Merge branch 'Shorten-Long-Lines-in-VB-Review-after-FixIssue#9807-3rd…
paul1956 Dec 17, 2024
cd17b91
Merge branch 'Shorten-long-inline-comments-Review-4th' into Improve-X…
paul1956 Dec 17, 2024
ccdf42b
Add UploadFile Tests
paul1956 Dec 17, 2024
c7542cc
Avoid merge issues
paul1956 Dec 17, 2024
7324bb1
Sort private variables
paul1956 Dec 17, 2024
65cbc86
Move WebListener.vb to TestUtilities Folder
paul1956 Dec 17, 2024
ae6e5c6
Fix formatting
paul1956 Dec 17, 2024
f3cc2d0
Formatting fixes
paul1956 Dec 17, 2024
5a79bf2
Fix formatting
paul1956 Dec 17, 2024
cdab3aa
Fix formatting
paul1956 Dec 17, 2024
3e0f553
Merge
paul1956 Dec 17, 2024
bd3bd66
Remove WebClientCopy and replace with HttpClientCopy
paul1956 Dec 19, 2024
47f12cd
Correct messaages for ProgressDialog which calls wrong GetResourceStr…
paul1956 Dec 19, 2024
e3ce2e2
Merge branch 'master' into Code-Coverage-DownloadFile-Review-1St
paul1956 Dec 19, 2024
6a82523
Add more tests and check that files are properly uploaded with correc…
paul1956 Dec 19, 2024
8693579
Address PF for tabbing after _
paul1956 Dec 19, 2024
143917b
Merge
paul1956 Dec 19, 2024
2110608
Add char specifier to Inline single character strings
paul1956 Dec 19, 2024
bf40011
Merge branch 'Code-Coverage-DownloadFile-Review-1St' into FixIssue#98…
paul1956 Dec 19, 2024
85a61b8
Prevent Merge Issues
paul1956 Dec 19, 2024
f71edee
Partial Merge VbFileCleanupTestBase
paul1956 Dec 19, 2024
91c723c
Cleanup
paul1956 Dec 19, 2024
5dfe640
Merge
paul1956 Dec 19, 2024
4e668db
Merge branch 'Shorten-Long-Lines-in-VB-Review-after-FixIssue#9807-3rd…
paul1956 Dec 19, 2024
a3ead0c
Fix some missing spaces
paul1956 Dec 19, 2024
41f8a19
Use PathSeparatorTestData
paul1956 Dec 20, 2024
73aa2cd
Merge branch 'master' into Code-Coverage-DownloadFile-Review-1St
paul1956 Dec 20, 2024
eb6ba5c
Fix order of functions
paul1956 Dec 20, 2024
180ffc3
Sort and cleanup comments
paul1956 Dec 20, 2024
a7b20cc
Minor formatting changes
paul1956 Dec 20, 2024
4a920dd
Clean up XML Comments in ClipBoardProxy
paul1956 Dec 20, 2024
c633809
Update cooment for Cllipboard to restore changes lost in merge
paul1956 Dec 20, 2024
0302c9c
Sync ClipBoardProxy
paul1956 Dec 20, 2024
7c774ad
Merge Master
paul1956 Dec 20, 2024
4f9d051
Cleanup NetworkUploadFile and consolidate is interactive
paul1956 Dec 20, 2024
5769aee
Add and use InteractiveEnvironment
paul1956 Dec 20, 2024
1a977c9
Fix merge issues
paul1956 Dec 20, 2024
15aa370
Fix spacing
paul1956 Dec 20, 2024
8ae6b24
Move clientHandler initialization
paul1956 Dec 20, 2024
d74231a
Fix formatting
paul1956 Dec 20, 2024
cf837e1
Fix formatting
paul1956 Dec 20, 2024
03fc394
Merge
paul1956 Dec 20, 2024
abedfaa
Merge
paul1956 Dec 20, 2024
b86cbd6
Merge branch 'Shorten-Long-Lines-in-VB-Review-after-FixIssue#9807-3rd…
paul1956 Dec 20, 2024
4a91310
Merge
paul1956 Dec 20, 2024
29b7296
Get all tests to work
paul1956 Dec 20, 2024
354ccdf
Improve UploadFile and DownloadFile Tests
paul1956 Dec 20, 2024
468e669
Add SR strings from WebClient
paul1956 Dec 20, 2024
6e313e2
Fix error handling and add new strings for to replace WebClient
paul1956 Dec 20, 2024
b8de54b
Fix error handling
paul1956 Dec 20, 2024
70283e4
Improve WebListener
paul1956 Dec 22, 2024
0fa9cd3
Fix logic in WebListener return 500 for server errors
paul1956 Dec 22, 2024
a6413df
Sort new functions
paul1956 Dec 22, 2024
53bbcac
Fix a;l remaining tests
paul1956 Dec 23, 2024
8449f48
Improve test server and test
paul1956 Dec 23, 2024
feb51c6
Minor formatiting correction
paul1956 Dec 23, 2024
6ee4575
Fix large file manual test
paul1956 Dec 23, 2024
6e3b58e
Improve a couple of Skip comments
paul1956 Dec 23, 2024
d3e5523
Merge branch 'master' into Code-Coverage-DownloadFile-Review-1St
paul1956 Dec 23, 2024
4a1e562
Merge
paul1956 Dec 23, 2024
9310fc7
Merge branch 'FixIssue#9807-2nd-DRAFT' into Shorten-Long-Lines-in-VB-…
paul1956 Dec 23, 2024
29032d9
Merge branch 'Shorten-Long-Lines-in-VB-Review-after-FixIssue#9807-3rd…
paul1956 Dec 24, 2024
588d55b
Merge branch 'Shorten-long-inline-comments-Review-4th' into Improve-X…
paul1956 Dec 24, 2024
c9f8d7c
Improove responsiveness of upload and download and sync the code
paul1956 Dec 25, 2024
ad1bab1
Merge branch 'master' into Code-Coverage-DownloadFile-Review-1St
paul1956 Dec 25, 2024
86a3a05
Merge branch 'Code-Coverage-DownloadFile-Review-1St' into FixIssue#98…
paul1956 Dec 25, 2024
b4c6a3c
Merge branch 'FixIssue#9807-2nd-DRAFT' into Shorten-Long-Lines-in-VB-…
paul1956 Dec 25, 2024
0ccd071
Merge branch 'Shorten-Long-Lines-in-VB-Review-after-FixIssue#9807-3rd…
paul1956 Dec 25, 2024
e0b0e0c
Merge branch 'Shorten-long-inline-comments-Review-4th' into Improve-X…
paul1956 Dec 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@
<Import Project="$(RepositoryEngineeringDir)Analyzer.targets" />
<Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" />
<Import Project="$(RepositoryEngineeringDir)packageContent.targets" />
<Import Project="$(RepositoryEngineeringDir)versioning.targets" />
<Import Project="$(RepositoryEngineeringDir)Test.targets" Condition="'$(IsTestProject)' == 'true' "/>

<PropertyGroup>
<Description Condition="'$(Description)' == ''">$(AssemblyName)</Description>
</PropertyGroup>

<!-- CA1416 Validate platform compatibility. Do not apply to netstandard as it does not have the attribute. -->
<ItemGroup>
<AssemblyAttribute Include="System.Runtime.Versioning.SupportedOSPlatform" Condition="!$(TargetFramework.StartsWith('netstandard'))">
Expand Down
35 changes: 0 additions & 35 deletions eng/versioning.targets

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,18 @@
Namespace My
' The following events are available for MyApplication:
' Startup: Raised when the application starts, before the startup form is created.
' Shutdown: Raised after all application forms are closed. This event is not raised if the application terminates abnormally.
' Shutdown: Raised after all application forms are closed. This event is not raised if the
' application terminates abnormally.
' UnhandledException: Raised if the application encounters an unhandled exception.
' StartupNextInstance: Raised when launching a single-instance application and the application is already active.
' NetworkAvailabilityChanged: Raised when the network connection is connected or disconnected.

' **NEW** ApplyApplicationDefaults: Raised when the application queries default values to be set for the application.
' **NEW** ApplyApplicationDefaults:
' Raised when the application queries default values to be set for the application.

' Example:
' Private Sub MyApplication_ApplyApplicationDefaults(sender As Object, e As ApplyApplicationDefaultsEventArgs) Handles Me.ApplyApplicationDefaults
' Private Sub MyApplication_ApplyApplicationDefaults(sender As Object, e As ApplyApplicationDefaultsEventArgs) _
' Handles Me.ApplyApplicationDefaults
'
' ' Setting the application-wide default Font:
' e.Font = New Font(FontFamily.GenericSansSerif, 12, FontStyle.Regular)
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/Common/src/RTLAwareMessageBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
namespace System.Windows.Forms;

/// <summary>
/// The Show method displays a message box that can contain text, buttons, and symbols that inform and instruct the user.
/// The Show method displays a message box that can contain text, buttons,
/// and symbols that inform and instruct the user.
/// This MessageBox will be RTL, if the resources for this dll have been localized to a RTL language.
/// </summary>
internal sealed class RTLAwareMessageBox
Expand Down
12 changes: 9 additions & 3 deletions src/Common/tests/TestUtilities/BinarySerialization.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ static object FromByteArray(byte[] raw, FormatterAssemblyStyle assemblyStyle)
{
#pragma warning disable SYSLIB0011 // Type or member is obsolete
// cs/binary-formatter-without-binder
BinaryFormatter binaryFormatter = new() // CodeQL [SM04191] : Safe use because the deserialization process is performed on trusted data and the types are controlled and validated.
// CodeQL [SM04191] : Safe use because the deserialization process is
// performed on trusted data and the types are controlled and validated.
BinaryFormatter binaryFormatter = new()
{
AssemblyFormat = assemblyStyle
};
Expand All @@ -84,7 +86,9 @@ static object FromByteArray(byte[] raw, FormatterAssemblyStyle assemblyStyle)
using MemoryStream serializedStream = new(raw);

// cs/dangerous-binary-deserialization
return binaryFormatter.Deserialize(serializedStream); // CodeQL[SM03722] : Testing legacy feature. This is a safe use of BinaryFormatter because the data is trusted and the types are controlled and validated.
// CodeQL[SM03722] : Testing legacy feature. This is a safe use of BinaryFormatter
// because the data is trusted and the types are controlled and validated.
return binaryFormatter.Deserialize(serializedStream);
}
}

Expand All @@ -103,7 +107,9 @@ static byte[] ToByteArray(object obj, FormatterAssemblyStyle assemblyStyle)
{
#pragma warning disable SYSLIB0011 // Type or member is obsolete
// cs/binary-formatter-without-binder
BinaryFormatter binaryFormatter = new() // CodeQL [SM04191]: Safe use because the deserialization process is performed on trusted data and the types are controlled and validated.
// CodeQL [SM04191]: Safe use because the deserialization process is performed on trusted data and
// the types are controlled and validated.
BinaryFormatter binaryFormatter = new()
{
AssemblyFormat = assemblyStyle
};
Expand Down
4 changes: 3 additions & 1 deletion src/Common/tests/TestUtilities/CustomConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ public static RegistrationScope RegisterConverter(Type type, TypeConverter conve
/// <summary>
/// Manages the registration lifetime of a TypeConverter to a type.
/// This is meant to be utilized in a <see langword="using"/> statement to ensure
/// <see cref="TypeDescriptor.RemoveProvider(TypeDescriptionProvider, Type)"/> is called when going out of scope with the using.
/// <see cref="TypeDescriptor.RemoveProvider(TypeDescriptionProvider, Type)">
/// is called when going out of scope with the using.
/// </see>
/// </summary>
public readonly ref struct RegistrationScope
{
Expand Down
3 changes: 2 additions & 1 deletion src/Common/tests/TestUtilities/DebuggerAttributes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ public static IEnumerable<FieldInfo> GetDebuggerVisibleFields(Type debuggerAttri

public static IEnumerable<PropertyInfo> GetDebuggerVisibleProperties(Type debuggerAttributeType)
{
// The debugger doesn't evaluate non-public members of type proxies. GetGetMethod returns null if the getter is non-public.
// The debugger doesn't evaluate non-public members of type proxies.
// GetGetMethod returns null if the getter is non-public.
IEnumerable<PropertyInfo> visibleProperties = debuggerAttributeType.GetProperties()
.Where(pi => pi.GetGetMethod() is not null && GetDebuggerBrowsableState(pi) != DebuggerBrowsableState.Never);
return visibleProperties;
Expand Down
4 changes: 3 additions & 1 deletion src/Common/tests/TestUtilities/TempFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ namespace System.IO;
/// </remarks>
public sealed class TempFile : IDisposable
{
/// <summary>Gets the created file's path.</summary>
/// <summary>
/// Gets the created file's path.
/// </summary>
public string Path { get; }

public TempFile(string path, long length = 0) : this(path, length > -1 ? new byte[length] : null)
Expand Down
13 changes: 9 additions & 4 deletions src/Common/tests/TestUtilities/XUnit/UseCultureAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

// The original code was borrowed from https://github.com/xunit/samples.xunit/blob/93f87d5/UseCulture/UseCultureAttribute.cs
// The original code was borrowed from
// https://github.com/xunit/samples.xunit/blob/93f87d5/UseCulture/UseCultureAttribute.cs
// Licensed under http://www.apache.org/licenses/LICENSE-2.0.

using System.Globalization;
Expand All @@ -13,7 +14,8 @@ namespace Xunit;

/// <summary>
/// Apply this attribute to your test method to replace the <see cref="Thread.CurrentThread" />
/// <see cref="CultureInfo.CurrentCulture" /> and <see cref="CultureInfo.CurrentUICulture" /> with another culture.
/// <see cref="CultureInfo.CurrentCulture" /> and
/// <see cref="CultureInfo.CurrentUICulture" /> with another culture.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public class UseCultureAttribute : BeforeAfterTestAttribute
Expand All @@ -31,14 +33,17 @@ public class UseCultureAttribute : BeforeAfterTestAttribute
/// <summary>
/// Replaces the culture and UI culture of the current thread with <paramref name="culture" />.
/// </summary>
/// <param name="culture">The name of the culture to set for both <see cref="Culture" /> and <see cref="UICulture" />.</param>
/// <param name="culture">
/// The name of the culture to set for both <see cref="Culture" /> and <see cref="UICulture" />.
/// </param>
public UseCultureAttribute(string culture)
: this(culture, culture)
{
}

/// <summary>
/// Replaces the culture and UI culture of the current thread with <paramref name="culture" /> and <paramref name="uiCulture" />.
/// Replaces the culture and UI culture of the current thread with
/// <paramref name="culture" /> and <paramref name="uiCulture" />.
/// </summary>
/// <param name="culture">The name of the culture.</param>
/// <param name="uiCulture">The name of the UI culture.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
<UsePublicApiAnalyzers>true</UsePublicApiAnalyzers>
</PropertyGroup>

<ItemGroup>
<Compile Remove="Microsoft\VisualBasic\MyServices\Internal\WebClientCopy.vb" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\System.Windows.Forms\src\System.Windows.Forms.csproj" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Namespace Microsoft.VisualBasic.ApplicationServices
' The executing application (the EntryAssembly)
Private _info As AssemblyInfo

'Lazy-initialized and cached log object.
' Lazy-initialized and cached log object.
Private _log As Logging.Log

Public Sub New()
Expand All @@ -38,7 +38,9 @@ Namespace Microsoft.VisualBasic.ApplicationServices
Public ReadOnly Property Info() As AssemblyInfo
Get
If _info Is Nothing Then
Dim assembly As Reflection.Assembly = If(Reflection.Assembly.GetEntryAssembly(), Reflection.Assembly.GetCallingAssembly())
Dim assembly As Reflection.Assembly =
If(Reflection.Assembly.GetEntryAssembly(), Reflection.Assembly.GetCallingAssembly())

_info = New AssemblyInfo(assembly)
End If
Return _info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
' The .NET Foundation licenses this file to you under the MIT license.

Imports System.ComponentModel
Imports System.Runtime.Serialization

Imports VbUtils = Microsoft.VisualBasic.CompilerServices.ExceptionUtils

Expand All @@ -18,27 +19,27 @@ Namespace Microsoft.VisualBasic.ApplicationServices
' Deserialization constructor must be defined since we are serializable
<EditorBrowsable(EditorBrowsableState.Advanced)>
<Obsolete("Type or member is obsolete", DiagnosticId:="SYSLIB0051")>
Protected Sub New(info As Runtime.Serialization.SerializationInfo, context As Runtime.Serialization.StreamingContext)
Protected Sub New(info As SerializationInfo, context As StreamingContext)
MyBase.New(info, context)
End Sub

''' <summary>
''' Creates a new <see cref="Exception"/>.
''' Creates a new <see cref="CantStartSingleInstanceException"/>.
''' </summary>
Public Sub New()
MyBase.New(VbUtils.GetResourceString(SR.AppModel_SingleInstanceCantConnect))
End Sub

''' <summary>
''' Creates a new <see cref="Exception"/>.
''' Creates a new <see cref="CantStartSingleInstanceException"/>.
''' </summary>
''' <inheritdoc cref="Exception.New(String)"/>
Public Sub New(message As String)
MyBase.New(message)
End Sub

''' <summary>
''' Creates a new <see cref="Exception"/>.
''' Creates a new <see cref="CantStartSingleInstanceException"/>.
''' </summary>
''' <inheritdoc cref="Exception.New(String, Exception)"/>
Public Sub New(message As String, inner As Exception)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ Namespace Microsoft.VisualBasic.ApplicationServices
''' <summary>
''' Returns the command line arguments for the current application.
''' </summary>
''' <value>
''' A <see cref="ObjectModel.ReadOnlyCollection(Of String)"/> containing the command line arguments
''' </value>
''' <remarks>
''' This function differs from <see cref="Environment.GetCommandLineArgs"/>
''' in that the path of the executing file (the 0th entry) is omitted from
Expand All @@ -50,14 +53,28 @@ Namespace Microsoft.VisualBasic.ApplicationServices
Public ReadOnly Property CommandLineArgs() As ObjectModel.ReadOnlyCollection(Of String)
Get
If _commandLineArgs Is Nothing Then
'Get rid of Arg(0) which is the path of the executing program. Main(args() as string) doesn't report the name of the app and neither will we
' Get rid of Arg(0) which is the path of the executing program. Main(args() as string)
' doesn't report the name of the app and neither will we
Dim envArgs As String() = Environment.GetCommandLineArgs
If envArgs.GetLength(0) >= 2 Then '1 element means no args, just the executing program. >= 2 means executing program + one or more command line arguments
Dim newArgs(envArgs.GetLength(0) - 2) As String 'dimming z(0) gives a z() of 1 element.
Array.Copy(envArgs, 1, newArgs, 0, envArgs.GetLength(0) - 1) 'copy everything but the 0th element (the path of the executing program)

' 1 element means no args, just the executing program.
If envArgs.GetLength(0) >= 2 Then
' >= 2 means executing program + one or more command line arguments
' dimming z(0) gives a z() of 1 element.
Dim newArgs(envArgs.GetLength(0) - 2) As String

' Copy everything but the 0th element (the path of the executing program)
Dim length As Integer = envArgs.GetLength(0) - 1
Array.Copy(
sourceArray:=envArgs,
sourceIndex:=1,
destinationArray:=newArgs,
destinationIndex:=0,
length)
_commandLineArgs = New ObjectModel.ReadOnlyCollection(Of String)(newArgs)
Else
_commandLineArgs = New ObjectModel.ReadOnlyCollection(Of String)(Array.Empty(Of String)()) 'provide the empty set
' Provide the empty set
_commandLineArgs = New ObjectModel.ReadOnlyCollection(Of String)(Array.Empty(Of String)())
End If
End If
Return _commandLineArgs
Expand Down
Loading