Skip to content

Commit 5803e3d

Browse files
authored
Merge branch 'UbiquityDotNET:develop' into develop
2 parents ede31ad + f0cba9d commit 5803e3d

File tree

1,001 files changed

+34227
-44927
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,001 files changed

+34227
-44927
lines changed

.editorconfig

Lines changed: 110 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,21 @@ root = true
55
indent_style = space
66
indent_size = 4
77
insert_final_newline = true
8+
tab_width = 4
9+
end_of_line = crlf
10+
# until [VSSpellChecker bug 277](https://github.com/EWSoftware/VSSpellChecker/issues/277)
11+
# is fixed, disable the analyzers. It's more of a PITA than a help
12+
# VSSPELL: Disable the analyzers until Bug 277 is fixed.
13+
vsspell_code_analyzers_enabled = false
14+
15+
# VSSPELL: Spell checker settings for all files
16+
vsspell_section_id = 1c7003ec377c4bd9bb3c509d29770210
17+
vsspell_ignored_words_1c7003ec377c4bd9bb3c509d29770210 = File:.\IgnoredWords.dic|bar
818

919
# match VS generated formatting for MSBuild project files
1020
[*.*proj,*.props,*.targets]
1121
indent_size = 2
22+
tab_width = 2
1223

1324
# match ISO standard requirement for C/C++
1425
[*.c,*.h,*.cpp]
@@ -56,6 +67,28 @@ csharp_space_between_method_declaration_name_and_open_parenthesis = false
5667
csharp_space_around_declaration_statements = ignore
5768
csharp_space_between_method_call_parameter_list_parentheses = true
5869
csharp_space_between_square_brackets = true
70+
csharp_using_directive_placement = outside_namespace:error
71+
csharp_prefer_simple_using_statement = true:error
72+
csharp_prefer_braces = true:error
73+
csharp_style_namespace_declarations = block_scoped:error
74+
csharp_style_prefer_method_group_conversion = true:silent
75+
csharp_style_prefer_top_level_statements = false:error
76+
csharp_style_prefer_primary_constructors = false:silent
77+
csharp_prefer_system_threading_lock = true:suggestion
78+
csharp_style_expression_bodied_constructors = false:error
79+
csharp_style_expression_bodied_lambdas = true:warning
80+
csharp_style_expression_bodied_local_functions = true:suggestion
81+
dotnet_diagnostic.RECS0001.severity = error
82+
dotnet_diagnostic.SA1023.severity = none
83+
dotnet_diagnostic.SA1124.severity = none
84+
csharp_style_allow_embedded_statements_on_same_line_experimental = false:error
85+
dotnet_diagnostic.SA1512.severity = none
86+
dotnet_diagnostic.SA1129.severity = error
87+
csharp_style_prefer_null_check_over_type_check = true:error
88+
csharp_prefer_simple_default_expression = true:error
89+
csharp_space_between_method_declaration_parameter_list_parentheses = true
90+
csharp_space_between_method_declaration_empty_parameter_list_parentheses = true
91+
dotnet_diagnostic.SA0001.severity = none
5992

6093
# Analysis and refactoring rules for Ubiquity.NET
6194
# Description: Code analysis rules for Ubiquity.NET projects
@@ -65,6 +98,17 @@ csharp_space_between_square_brackets = true
6598
# Code files
6699
[*.{cs,vb}]
67100

101+
# IDE0059: Unnecessary assignment of a value
102+
dotnet_diagnostic.IDE0059.severity = none
103+
104+
# CA1420: Property, type, or attribute requires runtime marshalling
105+
dotnet_diagnostic.CA1420.severity = error
106+
107+
# IDE0079: Remove unnecessary suppression
108+
dotnet_diagnostic.IDE0079.severity = none
109+
110+
# SYSLIB1092: The usage of 'LibraryImportAttribute' does not follow recommendations.
111+
dotnet_diagnostic.SYSLIB1092.severity = warning
68112

69113
dotnet_diagnostic.AD0001.severity = none
70114

@@ -1272,8 +1316,6 @@ dotnet_diagnostic.SA1127.severity = error
12721316

12731317
dotnet_diagnostic.SA1128.severity = error
12741318

1275-
dotnet_diagnostic.SA1129.severity = error
1276-
12771319
dotnet_diagnostic.SA1130.severity = error
12781320

12791321
dotnet_diagnostic.SA1131.severity = error
@@ -1392,8 +1434,6 @@ dotnet_diagnostic.SA1510.severity = error
13921434

13931435
dotnet_diagnostic.SA1511.severity = error
13941436

1395-
dotnet_diagnostic.SA1512.severity = error
1396-
13971437
dotnet_diagnostic.SA1513.severity = error
13981438

13991439
dotnet_diagnostic.SA1514.severity = error
@@ -1488,3 +1528,69 @@ dotnet_diagnostic.SX1101.severity = error
14881528

14891529
# CA2007: Consider calling ConfigureAwait on the awaited task
14901530
dotnet_diagnostic.CA2007.severity = none
1531+
1532+
[*.{cs,vb}]
1533+
#### Naming styles ####
1534+
1535+
# Naming rules
1536+
1537+
dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion
1538+
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
1539+
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i
1540+
1541+
dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
1542+
dotnet_naming_rule.types_should_be_pascal_case.symbols = types
1543+
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case
1544+
1545+
dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion
1546+
dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members
1547+
dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case
1548+
1549+
# Symbol specifications
1550+
1551+
dotnet_naming_symbols.interface.applicable_kinds = interface
1552+
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
1553+
dotnet_naming_symbols.interface.required_modifiers =
1554+
1555+
dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
1556+
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
1557+
dotnet_naming_symbols.types.required_modifiers =
1558+
1559+
dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
1560+
dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
1561+
dotnet_naming_symbols.non_field_members.required_modifiers =
1562+
1563+
# Naming styles
1564+
1565+
dotnet_naming_style.begins_with_i.required_prefix = I
1566+
dotnet_naming_style.begins_with_i.required_suffix =
1567+
dotnet_naming_style.begins_with_i.word_separator =
1568+
dotnet_naming_style.begins_with_i.capitalization = pascal_case
1569+
1570+
dotnet_naming_style.pascal_case.required_prefix =
1571+
dotnet_naming_style.pascal_case.required_suffix =
1572+
dotnet_naming_style.pascal_case.word_separator =
1573+
dotnet_naming_style.pascal_case.capitalization = pascal_case
1574+
1575+
dotnet_naming_style.pascal_case.required_prefix =
1576+
dotnet_naming_style.pascal_case.required_suffix =
1577+
dotnet_naming_style.pascal_case.word_separator =
1578+
dotnet_naming_style.pascal_case.capitalization = pascal_case
1579+
dotnet_style_coalesce_expression = true:warning
1580+
dotnet_style_null_propagation = true:warning
1581+
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:error
1582+
dotnet_style_prefer_auto_properties = true:error
1583+
dotnet_style_object_initializer = true:suggestion
1584+
dotnet_style_collection_initializer = true:warning
1585+
dotnet_style_prefer_simplified_boolean_expressions = true:error
1586+
dotnet_style_prefer_conditional_expression_over_assignment = true:warning
1587+
dotnet_style_prefer_conditional_expression_over_return = true:warning
1588+
dotnet_style_explicit_tuple_names = true:warning
1589+
dotnet_style_operator_placement_when_wrapping = beginning_of_line
1590+
dotnet_style_prefer_inferred_tuple_names = true:suggestion
1591+
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
1592+
dotnet_style_prefer_compound_assignment = true:error
1593+
dotnet_style_prefer_simplified_interpolation = true:suggestion
1594+
dotnet_style_prefer_collection_expression = when_types_loosely_match:suggestion
1595+
dotnet_style_namespace_match_folder = true:suggestion
1596+
dotnet_diagnostic.MSTEST0032.severity = none

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Set the default behavior, in case people don't have core.autocrlf set in global settings
2+
* text=auto

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ Please provide the following information when submitting an issue.
1313
1414
**.NET Framework Used:**
1515

16-
- [ ] .NET Core 3.0.0
17-
- [ ] .NET Core 3.1.0
16+
- [ ] .NET 9.0
1817
- [ ] Something else
1918

2019
**OS Environment:**

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ assignees: ''
1010
**Is your feature request related to a problem? Please describe.**
1111
> NOTE:
1212
> Feature requests are intended to request a new feature or a change in the intended/designed
13-
> functionality (a.k.a. DCR). They should not be used to report bugs, which are incorrect
13+
> functionality (a.k.a. "Design Change Request" [DCR]). They should not be used to report bugs, which are incorrect
1414
> implementations of the designed functionality.
1515
1616
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

.github/workflows/pr-build.yml

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,45 +3,52 @@ on:
33
push:
44
branches:
55
- develop
6-
- llvm_10
6+
- LLVM20
7+
78
paths-ignore:
89
- '**.md'
10+
- '**.dic'
11+
912
pull_request:
1013
branches:
1114
- develop
12-
- llvm_10
15+
- LLVM20
16+
17+
paths-ignore:
18+
- '**.md'
19+
- '**.dic'
20+
1321
jobs:
1422
build:
1523
runs-on: windows-latest
1624
steps:
1725
- name: Checkout Repo
18-
uses: actions/checkout@v2
26+
uses: actions/checkout@v4
1927
with:
2028
persist-credentials: false
21-
fetch-depth: 0
2229

2330
- name: Build Source
2431
run: .\Build-All.ps1 -ForceClean -BuildMode Source
2532

2633
- name: Publish build logs
2734
if: always() && github.event_name == 'pull_request'
28-
uses: actions/upload-artifact@v1
35+
uses: actions/upload-artifact@v4
2936
with:
3037
name: Build Logs
3138
path: .\BuildOutput\BinLogs
3239

3340
- name: Publish NuGET Packages
34-
uses: actions/upload-artifact@v1
41+
uses: actions/upload-artifact@v4
3542
with:
36-
name: Nuget Packages
37-
path: .\BuildOutput\Nuget
43+
name: NuGet Packages
44+
path: .\BuildOutput\NuGet
3845

3946
- name: Run Tests
4047
run: .\Invoke-UnitTests.ps1
4148

4249
- name: Publish test logs
4350
if: always()
44-
uses: actions/upload-artifact@v1
51+
uses: actions/upload-artifact@v4
4552
with:
4653
name: Test Logs
4754
path: .\BuildOutput\Test-Results
@@ -50,25 +57,22 @@ jobs:
5057
runs-on: windows-latest
5158
steps:
5259
- name: Checkout Repo
53-
uses: actions/checkout@v2
60+
uses: actions/checkout@v4
5461
with:
5562
persist-credentials: false
56-
fetch-depth: 0
5763

5864
- name: Build Docs
59-
run: .\Build-All.ps1 -ForceClean -BuildMode Docs
65+
run: .\Build-Docs.ps1 -FullInit -Configuration Release
6066

6167
- name: Upload docs artifact
62-
uses: actions/upload-artifact@v1
68+
uses: actions/upload-artifact@v4
6369
with:
6470
name: Docs
6571
path: .\BuildOutput\docs\current
6672

6773
- name: Publish build logs
6874
if: always() && github.event_name == 'pull_request'
69-
uses: actions/upload-artifact@v1
75+
uses: actions/upload-artifact@v4
7076
with:
7177
name: Build Logs
7278
path: .\BuildOutput\BinLogs
73-
74-

.github/workflows/release-build.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,22 @@ jobs:
1212
uses: actions/checkout@v2
1313
with:
1414
persist-credentials: false
15-
fetch-depth: 0
1615

1716
- name: Build Source
18-
run: .\Build-All.ps1
17+
run: .\Build-All.ps1 -FullInit
1918

2019
- name: Publish Artifacts
21-
uses: actions/upload-artifact@v1
20+
uses: actions/upload-artifact@v4
2221
with:
23-
name: Nuget Packages
24-
path: .\BuildOutput\Nuget
22+
name: NuGet Packages
23+
path: .\BuildOutput\NuGet
2524

2625
- name: Run Tests
2726
run: .\Invoke-UnitTests.ps1
2827

2928
- name: Publish test logs
3029
if: always()
31-
uses: actions/upload-artifact@v1
30+
uses: actions/upload-artifact@v4
3231
with:
3332
name: Test Logs
3433
path: .\BuildOutput\Test-Results

.gitignore

Lines changed: 39 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ bld/
2424
# Docs updated only by CI builds for GitHub Pages
2525
[Dd]ocs/
2626

27-
# Visual Studo 2015 cache/options directory
27+
# Visual Studio 2015 cache/options directory
2828
.vs/
29+
# Uncomment if you have tasks that create the project's static files in wwwroot
30+
#wwwroot/
2931

3032
# MSTest test Results
3133
[Tt]est[Rr]esult*/
@@ -91,25 +93,45 @@ _ReSharper*/
9193
!**/packages/build/
9294
# Uncomment if necessary however generally it will be regenerated when needed
9395
#!**/packages/repositories.config
96+
# NuGet v3's project.json files produces more ignoreable files
97+
*.nuget.props
98+
*.nuget.targets
9499

95-
# Windows Azure Build Output
100+
# Microsoft Azure Build Output
96101
csx/
97102
*.build.csdef
98103

99-
# Windows Store app package directory
104+
# Microsoft Azure Emulator
105+
ecf/
106+
rcf/
107+
108+
# Windows Store app package directories and files
100109
AppPackages/
110+
BundleArtifacts/
111+
Package.StoreAssociation.xml
112+
_pkginfo.txt
101113

102-
# Others
114+
# Visual Studio cache files
115+
# files ending in .cache can be ignored
103116
*.[Cc]ache
117+
# but keep track of directories ending in .cache
118+
!*.[Cc]ache/
119+
120+
# Others
104121
ClientBin/
105122
~$*
106123
*~
107124
*.dbmdl
108125
*.dbproj.schemaview
126+
*.jfm
109127
*.pfx
110128
*.publishsettings
111129
node_modules/
112-
bower_components/
130+
orleans.codegen.cs
131+
132+
# Since there are multiple workflows, uncomment next line to ignore bower_components
133+
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
134+
#bower_components/
113135

114136
# RIA/Silverlight projects
115137
Generated_Code/
@@ -122,9 +144,21 @@ Backup*/
122144
UpgradeLog*.XML
123145
UpgradeLog*.htm
124146

147+
# SQL Server files
148+
*.mdf
149+
*.ldf
150+
151+
# Business Intelligence projects
152+
*.rdl.data
153+
*.bim.layout
154+
*.bim_*.settings
155+
125156
# Microsoft Fakes
126157
FakesAssemblies/
127158

159+
# GhostDoc plugin setting file
160+
*.GhostDoc.xml
161+
128162
# Node.js Tools for Visual Studio
129163
.ntvs_analysis.dat
130164

0 commit comments

Comments
 (0)