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

Update ZAP to tip #20986

Merged
merged 1 commit into from
Jul 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ CHIP_ERROR DataModelLogger::LogEvent(const chip::app::EventHeader & header, chip
{{/first}}
case {{asUpperCamelCase parent.name}}::Events::{{asUpperCamelCase name}}::Id:
{
{{zapTypeToDecodableClusterObjectType name ns=parent.name}} value;
{{zapTypeToDecodableClusterObjectType name ns=parent.name forceNotOptional=true}} value;
ReturnErrorOnFailure(chip::app::DataModel::Decode(*data, value));
return DataModelLogger::LogValue("{{name}}", 1, value);
}
Expand Down
2 changes: 1 addition & 1 deletion third_party/zap/repo
Submodule repo updated 56 files
+27 −5 .github/workflows/release.yml
+16 −0 Jenkinsfile
+1 −1 apack.json
+2,046 −2,025 docs/zap-schema.svg
+2,126 −0 package-lock.json
+10 −3 package.json
+13 −0 src-electron/db/db-mapping.js
+79 −29 src-electron/db/query-command.js
+6 −0 src-electron/db/query-endpoint.js
+3 −0 src-electron/db/query-event.js
+176 −45 src-electron/db/query-impexp.js
+9 −4 src-electron/db/query-loader.js
+1 −0 src-electron/db/query-session-zcl.js
+2 −0 src-electron/db/query-struct.js
+73 −41 src-electron/db/query-zcl.js
+4 −1 src-electron/db/zap-schema.sql
+21 −0 src-electron/generator/helper-session.js
+13 −1 src-electron/generator/helper-zcl.js
+15 −1 src-electron/importexport/export.js
+13 −0 src-electron/importexport/import-json.js
+5 −9 src-electron/main-process/main.ts
+26 −34 src-electron/main-process/startup.js
+2 −0 src-electron/rest/static-zcl.js
+6 −1 src-electron/server/ipc-server.ts
+11 −10 src-electron/ui/main-ui.ts
+24 −10 src-electron/util/env.ts
+11 −0 src-electron/validation/validation.js
+3 −0 src-electron/zcl/zcl-loader-silabs.js
+261 −0 src-script/download-artifact.js
+2 −0 src-shared/rest-api.js
+0 −26 src/components/ZclAttributeManager.vue
+0 −32 src/components/ZclCommandManager.vue
+2 −7 src/components/ZclEventManager.vue
+0 −18 src/store/index.js
+32 −0 src/store/zap/actions.js
+4 −0 src/store/zap/mutations.js
+1 −62 src/util/editable-attributes-mixin.js
+48 −32 test/gen-matter.test.js
+5 −1 test/gen-meta.test.js
+20 −0 test/gen-template/matter/endpoints.zapt
+5 −0 test/gen-template/matter/gen-test.json
+32 −3 test/helper-api-baseline.json
+25 −4 test/importexport.test.js
+803 −0 test/resource/matter-switch.zap
+1 −0 test/resource/meta/struct.zapt
+2 −2 test/resource/meta/test1.xml
+1 −1 test/resource/meta/test1.zapt
+2 −2 test/resource/meta/type-by-cluster.zapt
+9 −1 test/resource/meta/types.xml
+0 −1 test/script-api.test.js
+0 −1 test/server-session.test.js
+0 −1 test/server-with-zcl.test.js
+0 −1 test/startup.test.js
+4 −4 test/test-util.js
+0 −1 test/zcl-loader.test.js
+3 −0 zcl-builtin/shared/schema/zcl.xsd