Skip to content

Commit fc6bdfd

Browse files
committed
Merged PR 43330: Release 0.12.53.2
Release 0.12.53.2 to master Related work items: #126416
1 parent dc11ff3 commit fc6bdfd

File tree

467 files changed

+14689
-9567
lines changed

Some content is hidden

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

467 files changed

+14689
-9567
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.sh text eol=lf

Build/Microsoft.Psi.ruleset

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<RuleSet Name="Microsoft Psi Released Project Rules" Description="These rules are used for released Psi projects." ToolsVersion="15.0">
2+
<RuleSet Name="Microsoft Psi Released Project Rules" Description="These rules are used for released Psi projects." ToolsVersion="16.0">
3+
<Include Path="Security.ruleset" Action="Default" />
34
<Rules AnalyzerId="Microsoft.Analyzers.ManagedCodeAnalysis" RuleNamespace="Microsoft.Rules.Managed">
45
<Rule Id="CA1001" Action="Warning" />
56
<Rule Id="CA1009" Action="Warning" />
@@ -8,6 +9,7 @@
89
<Rule Id="CA1049" Action="Warning" />
910
<Rule Id="CA1060" Action="Warning" />
1011
<Rule Id="CA1061" Action="Warning" />
12+
<Rule Id="CA1063" Action="None" />
1113
<Rule Id="CA1065" Action="Warning" />
1214
<Rule Id="CA1301" Action="Warning" />
1315
<Rule Id="CA1400" Action="Warning" />
@@ -71,7 +73,7 @@
7173
<Rule Id="SA1009" Action="None" />
7274
<Rule Id="SA1124" Action="None" />
7375
<Rule Id="SA1305" Action="Warning" />
74-
<Rule Id="SA1504" Action="None" />
7576
<Rule Id="SA1407" Action="None" />
77+
<Rule Id="SA1504" Action="None" />
7678
</Rules>
7779
</RuleSet>

Build/Sample.Psi.ruleset

+4-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<RuleSet Name="Microsoft Psi Sample Project Rules" Description="These rules are used for Psi sample projects." ToolsVersion="10.0">
3-
<Localization ResourceAssembly="Microsoft.VisualStudio.CodeAnalysis.RuleSets.Strings.dll" ResourceBaseName="Microsoft.VisualStudio.CodeAnalysis.RuleSets.Strings.Localized">
4-
<Name Resource="MinimumRecommendedRules_Name" />
5-
<Description Resource="MinimumRecommendedRules_Description" />
6-
</Localization>
2+
<RuleSet Name="Microsoft Psi Sample Project Rules" Description="These rules are used for Psi sample projects." ToolsVersion="15.0">
3+
<Include Path="Security.ruleset" Action="Default" />
74
<Rules AnalyzerId="Microsoft.Analyzers.ManagedCodeAnalysis" RuleNamespace="Microsoft.Rules.Managed">
85
<Rule Id="CA1001" Action="Warning" />
96
<Rule Id="CA1009" Action="Warning" />
@@ -12,7 +9,7 @@
129
<Rule Id="CA1049" Action="Warning" />
1310
<Rule Id="CA1060" Action="Warning" />
1411
<Rule Id="CA1061" Action="Warning" />
15-
<Rule Id="CA1063" Action="Warning" />
12+
<Rule Id="CA1063" Action="None" />
1613
<Rule Id="CA1065" Action="Warning" />
1714
<Rule Id="CA1301" Action="Warning" />
1815
<Rule Id="CA1400" Action="Warning" />
@@ -74,9 +71,9 @@
7471
<Rule Id="SA1124" Action="None" />
7572
<Rule Id="SA1305" Action="Warning" />
7673
<Rule Id="SA1401" Action="None" />
74+
<Rule Id="SA1402" Action="None" />
7775
<Rule Id="SA1407" Action="None" />
7876
<Rule Id="SA1504" Action="None" />
7977
<Rule Id="SA1652" Action="None" />
80-
<Rule Id="SA1402" Action="None" />
8178
</Rules>
8279
</RuleSet>

Build/Security.ruleset

+207
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,207 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<RuleSet Name="Microsoft Psi Security Rules" Description="This rule set contains required and recommended security rules." ToolsVersion="16.0">
3+
<Rules AnalyzerId="Microsoft.CodeAnalysis.VersionCheckAnalyzer" RuleNamespace="Microsoft.CodeAnalysis.VersionCheckAnalyzer">
4+
<Rule Id="CA9999" Action="None" />
5+
</Rules>
6+
<Rules AnalyzerId="Microsoft.CodeQuality.Analyzers" RuleNamespace="Microsoft.CodeQuality.Analyzers">
7+
<Rule Id="CA1000" Action="None" />
8+
<Rule Id="CA1010" Action="None" />
9+
<Rule Id="CA1016" Action="None" />
10+
<Rule Id="CA1018" Action="None" />
11+
<Rule Id="CA1021" Action="None" />
12+
<Rule Id="CA1028" Action="None" />
13+
<Rule Id="CA1030" Action="None" />
14+
<Rule Id="CA1031" Action="None" />
15+
<Rule Id="CA1034" Action="None" />
16+
<Rule Id="CA1036" Action="None" />
17+
<Rule Id="CA1040" Action="None" />
18+
<Rule Id="CA1041" Action="None" />
19+
<Rule Id="CA1043" Action="None" />
20+
<Rule Id="CA1044" Action="None" />
21+
<Rule Id="CA1051" Action="None" />
22+
<Rule Id="CA1052" Action="None" />
23+
<Rule Id="CA1054" Action="None" />
24+
<Rule Id="CA1055" Action="None" />
25+
<Rule Id="CA1056" Action="None" />
26+
<Rule Id="CA1061" Action="None" />
27+
<Rule Id="CA1062" Action="None" />
28+
<Rule Id="CA1063" Action="None" />
29+
<Rule Id="CA1064" Action="None" />
30+
<Rule Id="CA1066" Action="None" />
31+
<Rule Id="CA1067" Action="None" />
32+
<Rule Id="CA1068" Action="None" />
33+
<Rule Id="CA1069" Action="None" />
34+
<Rule Id="CA1707" Action="None" />
35+
<Rule Id="CA1710" Action="None" />
36+
<Rule Id="CA1712" Action="None" />
37+
<Rule Id="CA1714" Action="None" />
38+
<Rule Id="CA1715" Action="None" />
39+
<Rule Id="CA1716" Action="None" />
40+
<Rule Id="CA1717" Action="None" />
41+
<Rule Id="CA1720" Action="None" />
42+
<Rule Id="CA1721" Action="None" />
43+
<Rule Id="CA1724" Action="None" />
44+
<Rule Id="CA1801" Action="None" />
45+
<Rule Id="CA1802" Action="None" />
46+
<Rule Id="CA1806" Action="None" />
47+
<Rule Id="CA1812" Action="None" />
48+
<Rule Id="CA1814" Action="None" />
49+
<Rule Id="CA1815" Action="None" />
50+
<Rule Id="CA1819" Action="None" />
51+
<Rule Id="CA1821" Action="None" />
52+
<Rule Id="CA1822" Action="None" />
53+
<Rule Id="CA1823" Action="None" />
54+
<Rule Id="CA2007" Action="None" />
55+
<Rule Id="CA2011" Action="None" />
56+
<Rule Id="CA2119" Action="None" />
57+
<Rule Id="CA2211" Action="None" />
58+
<Rule Id="CA2214" Action="None" />
59+
<Rule Id="CA2219" Action="None" />
60+
<Rule Id="CA2225" Action="None" />
61+
<Rule Id="CA2226" Action="None" />
62+
<Rule Id="CA2227" Action="None" />
63+
<Rule Id="CA2231" Action="None" />
64+
<Rule Id="CA2244" Action="None" />
65+
<Rule Id="CA2245" Action="None" />
66+
<Rule Id="CA2246" Action="None" />
67+
</Rules>
68+
<Rules AnalyzerId="Microsoft.CodeQuality.CSharp.Analyzers" RuleNamespace="Microsoft.CodeQuality.CSharp.Analyzers">
69+
<Rule Id="Async001" Action="None" />
70+
<Rule Id="Async002" Action="None" />
71+
<Rule Id="Async003" Action="None" />
72+
<Rule Id="Async004" Action="None" />
73+
<Rule Id="Async005" Action="None" />
74+
<Rule Id="Async006" Action="None" />
75+
<Rule Id="CA1001" Action="None" />
76+
<Rule Id="CA1032" Action="None" />
77+
<Rule Id="CA1065" Action="None" />
78+
<Rule Id="CA1200" Action="None" />
79+
<Rule Id="CA1507" Action="None" />
80+
<Rule Id="CA2200" Action="None" />
81+
<Rule Id="CA2234" Action="None" />
82+
</Rules>
83+
<Rules AnalyzerId="Microsoft.CodeQuality.VisualBasic.Analyzers" RuleNamespace="Microsoft.CodeQuality.VisualBasic.Analyzers">
84+
<Rule Id="Async001" Action="None" />
85+
<Rule Id="Async002" Action="None" />
86+
<Rule Id="Async003" Action="None" />
87+
<Rule Id="Async004" Action="None" />
88+
<Rule Id="Async005" Action="None" />
89+
<Rule Id="Async006" Action="None" />
90+
<Rule Id="CA1001" Action="None" />
91+
<Rule Id="CA1003" Action="None" />
92+
<Rule Id="CA1019" Action="None" />
93+
<Rule Id="CA1032" Action="None" />
94+
<Rule Id="CA1065" Action="None" />
95+
<Rule Id="CA1200" Action="None" />
96+
<Rule Id="CA1507" Action="None" />
97+
<Rule Id="CA2200" Action="None" />
98+
<Rule Id="CA2218" Action="None" />
99+
<Rule Id="CA2224" Action="None" />
100+
<Rule Id="CA2234" Action="None" />
101+
</Rules>
102+
<Rules AnalyzerId="Microsoft.NetCore.Analyzers" RuleNamespace="Microsoft.NetCore.Analyzers">
103+
<Rule Id="CA1303" Action="None" />
104+
<Rule Id="CA1304" Action="None" />
105+
<Rule Id="CA1305" Action="None" />
106+
<Rule Id="CA1307" Action="None" />
107+
<Rule Id="CA1308" Action="None" />
108+
<Rule Id="CA1401" Action="None" />
109+
<Rule Id="CA1816" Action="None" />
110+
<Rule Id="CA1820" Action="None" />
111+
<Rule Id="CA1826" Action="None" />
112+
<Rule Id="CA1827" Action="None" />
113+
<Rule Id="CA1828" Action="None" />
114+
<Rule Id="CA2000" Action="None" />
115+
<Rule Id="CA2002" Action="None" />
116+
<Rule Id="CA2008" Action="None" />
117+
<Rule Id="CA2009" Action="None" />
118+
<Rule Id="CA2012" Action="None" />
119+
<Rule Id="CA2013" Action="None" />
120+
<Rule Id="CA2100" Action="None" />
121+
<Rule Id="CA2101" Action="None" />
122+
<Rule Id="CA2201" Action="None" />
123+
<Rule Id="CA2208" Action="None" />
124+
<Rule Id="CA2213" Action="None" />
125+
<Rule Id="CA2215" Action="None" />
126+
<Rule Id="CA2216" Action="None" />
127+
<Rule Id="CA2229" Action="None" />
128+
<Rule Id="CA2235" Action="None" />
129+
<Rule Id="CA2237" Action="None" />
130+
<Rule Id="CA2241" Action="None" />
131+
<Rule Id="CA2242" Action="None" />
132+
<Rule Id="CA2243" Action="None" />
133+
<Rule Id="CA2301" Action="Warning" />
134+
<Rule Id="CA2302" Action="Warning" />
135+
<Rule Id="CA2305" Action="Warning" />
136+
<Rule Id="CA2311" Action="Warning" />
137+
<Rule Id="CA2312" Action="Warning" />
138+
<Rule Id="CA2315" Action="Warning" />
139+
<Rule Id="CA2321" Action="Warning" />
140+
<Rule Id="CA2322" Action="Info" />
141+
<Rule Id="CA2327" Action="Warning" />
142+
<Rule Id="CA2328" Action="Warning" />
143+
<Rule Id="CA2329" Action="Warning" />
144+
<Rule Id="CA2330" Action="Warning" />
145+
<Rule Id="CA3001" Action="Info" />
146+
<Rule Id="CA3002" Action="Info" />
147+
<Rule Id="CA3003" Action="Info" />
148+
<Rule Id="CA3004" Action="Info" />
149+
<Rule Id="CA3005" Action="Info" />
150+
<Rule Id="CA3006" Action="Info" />
151+
<Rule Id="CA3007" Action="Info" />
152+
<Rule Id="CA3008" Action="Info" />
153+
<Rule Id="CA3009" Action="Info" />
154+
<Rule Id="CA3010" Action="Info" />
155+
<Rule Id="CA3011" Action="Info" />
156+
<Rule Id="CA3012" Action="Info" />
157+
<Rule Id="CA5358" Action="Warning" />
158+
<Rule Id="CA5359" Action="Info" />
159+
<Rule Id="CA5360" Action="None" />
160+
<Rule Id="CA5363" Action="None" />
161+
<Rule Id="CA5365" Action="None" />
162+
<Rule Id="CA5366" Action="None" />
163+
<Rule Id="CA5368" Action="None" />
164+
<Rule Id="CA5369" Action="None" />
165+
<Rule Id="CA5370" Action="None" />
166+
<Rule Id="CA5371" Action="None" />
167+
<Rule Id="CA5372" Action="None" />
168+
<Rule Id="CA5373" Action="None" />
169+
<Rule Id="CA5374" Action="None" />
170+
<Rule Id="CA5376" Action="None" />
171+
<Rule Id="CA5377" Action="None" />
172+
<Rule Id="CA5379" Action="None" />
173+
<Rule Id="CA5380" Action="Info" />
174+
<Rule Id="CA5381" Action="Info" />
175+
<Rule Id="CA5384" Action="None" />
176+
<Rule Id="CA5385" Action="None" />
177+
<Rule Id="CA5386" Action="Info" />
178+
<Rule Id="CA5391" Action="Info" />
179+
<Rule Id="CA5395" Action="Info" />
180+
<Rule Id="CA5396" Action="Info" />
181+
<Rule Id="CA5398" Action="Info" />
182+
</Rules>
183+
<Rules AnalyzerId="Microsoft.NetCore.CSharp.Analyzers" RuleNamespace="Microsoft.NetCore.CSharp.Analyzers">
184+
<Rule Id="CA1810" Action="None" />
185+
<Rule Id="CA1824" Action="None" />
186+
<Rule Id="CA1825" Action="None" />
187+
<Rule Id="CA1829" Action="None" />
188+
<Rule Id="CA2010" Action="None" />
189+
<Rule Id="CA2207" Action="None" />
190+
</Rules>
191+
<Rules AnalyzerId="Microsoft.NetCore.VisualBasic.Analyzers" RuleNamespace="Microsoft.NetCore.VisualBasic.Analyzers">
192+
<Rule Id="CA1309" Action="None" />
193+
<Rule Id="CA1810" Action="None" />
194+
<Rule Id="CA1824" Action="None" />
195+
<Rule Id="CA1825" Action="None" />
196+
<Rule Id="CA1829" Action="None" />
197+
<Rule Id="CA2010" Action="None" />
198+
<Rule Id="CA2207" Action="None" />
199+
</Rules>
200+
<Rules AnalyzerId="Microsoft.NetFramework.Analyzers" RuleNamespace="Microsoft.NetFramework.Analyzers">
201+
<Rule Id="CA1058" Action="None" />
202+
</Rules>
203+
<Rules AnalyzerId="Microsoft.NetFramework.VisualBasic.Analyzers" RuleNamespace="Microsoft.NetFramework.VisualBasic.Analyzers">
204+
<Rule Id="CA3076" Action="Warning" />
205+
<Rule Id="CA3077" Action="Warning" />
206+
</Rules>
207+
</RuleSet>

Build/Test.Psi.ruleset

+12-8
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<RuleSet Name="Microsoft Psi Test Project Rules" Description="These rules are used for Psi test projects." ToolsVersion="16.0">
3-
<Localization ResourceAssembly="Microsoft.VisualStudio.CodeAnalysis.RuleSets.Strings.dll" ResourceBaseName="Microsoft.VisualStudio.CodeAnalysis.RuleSets.Strings.Localized">
4-
<Name Resource="MinimumRecommendedRules_Name" />
5-
<Description Resource="MinimumRecommendedRules_Description" />
6-
</Localization>
2+
<RuleSet Name="Microsoft Psi Test Project Rules" Description="These rules are used for Psi test projects." ToolsVersion="15.0">
3+
<Include Path="Security.ruleset" Action="Default" />
74
<Rules AnalyzerId="Microsoft.Analyzers.ManagedCodeAnalysis" RuleNamespace="Microsoft.Rules.Managed">
8-
<Rule Id="CA1001" Action="Warning" />
5+
<Rule Id="CA1001" Action="None" />
96
<Rule Id="CA1009" Action="Warning" />
107
<Rule Id="CA1016" Action="Warning" />
118
<Rule Id="CA1033" Action="Warning" />
129
<Rule Id="CA1049" Action="Warning" />
1310
<Rule Id="CA1060" Action="Warning" />
1411
<Rule Id="CA1061" Action="Warning" />
15-
<Rule Id="CA1063" Action="Warning" />
12+
<Rule Id="CA1063" Action="None" />
1613
<Rule Id="CA1065" Action="Warning" />
1714
<Rule Id="CA1301" Action="Warning" />
1815
<Rule Id="CA1400" Action="Warning" />
@@ -70,15 +67,22 @@
7067
</Rules>
7168
<Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
7269
<Rule Id="SA0001" Action="None" />
70+
<Rule Id="SA1005" Action="None" />
7371
<Rule Id="SA1008" Action="None" />
7472
<Rule Id="SA1009" Action="None" />
73+
<Rule Id="SA1025" Action="None" />
74+
<Rule Id="SA1108" Action="None" />
75+
<Rule Id="SA1118" Action="None" />
7576
<Rule Id="SA1124" Action="None" />
76-
<Rule Id="SA1305" Action="Warning" />
77+
<Rule Id="SA1201" Action="None" />
78+
<Rule Id="SA1202" Action="None" />
7779
<Rule Id="SA1401" Action="None" />
7880
<Rule Id="SA1402" Action="None" />
7981
<Rule Id="SA1407" Action="None" />
8082
<Rule Id="SA1504" Action="None" />
83+
<Rule Id="SA1512" Action="None" />
8184
<Rule Id="SA1600" Action="None" />
85+
<Rule Id="SA1602" Action="None" />
8286
<Rule Id="SA1652" Action="None" />
8387
</Rules>
8488
</RuleSet>

CONTRIBUTING.md

+8-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contributing to Platform for Situated Intelligence
22

3-
We welcome contributions from the community in a variety of forms: from simply using it and filing issues and bugs, to writing and releasing your own new components, to creating pull requests for bug fixes or new features, etc. This document describes some of the things you need to know if you are going to contribute to the Platform for Situated Intelligence ecosystem. Please read it carefully before making source code changes.
3+
We welcome contributions from the community in a variety of forms: from simply using it and filing issues and bugs, to writing and releasing your own new components, to creating pull requests for bug fixes or new features, etc. This document describes some of the things you need to know if you are going to contribute to the Platform for Situated Intelligence ecosystem.
44

55
## Code of conduct
66

@@ -60,12 +60,14 @@ Below is a description of the directory structure for the Platform for Situated
6060
| Sources | Audio | Contains class libraries for audio components. |
6161
| Sources | Calibration | Contains class libraries for calibrating cameras. |
6262
| Sources | Common | Contains class libraries for common test support. |
63-
| Sources | Extensions | Contains class libraries that extend the \psi runtime class libraries. |
63+
| Sources | Data | Contains class libraries for creating and manipulating datasets. |
64+
| Sources | Devices | Contains class libraries that support enumerating devices. |
6465
| Sources | Imaging | Contains class libraries for \psi imaging, e.g. images, video capture, etc. |
6566
| Sources | Integrations | Contains integrations - libraries that provide shims around 3rd party libraries. |
66-
| Sources | Kinect | Contains class libraries for Kinect sensor components. |
67+
| Sources | Kinect | Contains class libraries for Azure Kinect and Kinect V2 sensor components. |
6768
| Sources | Language | Contains class libraries for natural language processing components. |
6869
| Sources | Media | Contains class libraries for media components. |
70+
| Sources | RealSense | Contains class libraries for RealSense sensor component. |
6971
| Sources | Runtime | Contains class libraries for \psi runtime. |
7072
| Sources | Speech | Contains class libraries for speech components. |
7173
| Sources | Toolkits | Contains toolkits - e.g. Finite State Machine toolkit, etc. |
@@ -74,20 +76,17 @@ Below is a description of the directory structure for the Platform for Situated
7476

7577
### Coding Style
7678

77-
Platform for Situated Intelligence is an organically grown codebase. The consistency of style reflects this.
78-
For the most part, the team follows these [coding conventions](https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/inside-a-program/coding-conventions) along with these [design guidelines](https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/). Pull requests that reformat the code will not be accepted.
79+
For the most part, the Platform for Situated Intelligence codebase follows these [coding conventions](https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/inside-a-program/coding-conventions) along with these [design guidelines](https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/).
7980

80-
In case you would like to add a new project to the `Psi.sln` we require that the project is setup in a similar ways to the other projects to ensure a certain coding standard.
81+
In case you would like to add a new project to the `Psi.sln` we require that the project is setup in a similar ways to the other projects to ensure consistency.
8182

8283
### Build and Test
8384

8485
To fully validate your changes, do a complete rebuild and test for both Debug and Release Configurations.
8586

8687
### Pull Requests
8788

88-
We accept __bug fix pull requests__. Please make sure there is a corresponding tracking issue for the bug. When you submit a PR for a bug, please link to the issue.
89-
90-
We also accept __new feature pull requests__. We are available to discuss new features. We recommend you open an issue if you plan to develop new features.
89+
We accept __bug fix pull requests__ as well as __new feature pull requests__. For bug fixes, please open a corresponding issue for the bug and link to it, if one does not already exist. We also recommend you open an issue if you plan to develop new features, which will help facilitate community discussions about the design, implementation, etc.
9190

9291
Pull requests should:
9392

Directory.Build.props

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<Company>Microsoft Corporation</Company>
77
<Owners>microsoft,psi</Owners>
88
<Authors>Microsoft</Authors>
9-
<AssemblyVersion>0.11.82.2</AssemblyVersion>
9+
<AssemblyVersion>0.12.53.2</AssemblyVersion>
1010
<FileVersion>$(AssemblyVersion)</FileVersion>
1111
<Version>$(AssemblyVersion)-beta</Version>
1212
<SignAssembly>false</SignAssembly>
@@ -21,6 +21,7 @@
2121
<!-- Workaround for arbitrary value in AssemblyInformationalVersionAttribute until it is fixed in VS 16 https://github.com/Microsoft/visualfsharp/issues/4822 -->
2222
<NoWarn>FS2003</NoWarn>
2323
<LangVersion>latest</LangVersion>
24+
<RunCodeAnalysis>false</RunCodeAnalysis>
2425
</PropertyGroup>
2526

2627
<!-- Support for building in Visual Studio versions 15.9 and up -->

0 commit comments

Comments
 (0)