该项目从 https://github.com/project-chip/zap 镜像。
拉取镜像更新于 。
- 4月 06, 2023
-
-
由 Bharat Raju 创作于
Github: ZAP#682
-
- 4月 04, 2023
-
-
由 Boris Zbarsky 创作于
-
- 3月 31, 2023
-
-
由 Bharat Raju 创作于
Github: ZAP#971
-
- 3月 30, 2023
-
- 3月 29, 2023
-
-
由 Bharat Raju 创作于
- Deprecating chip_client_clusters, chip_cluster_commands, chip_cluster_responses and chip_cluster_command_arguments with all_user_clusters, zcl_commands, zcl_command_responses and zcl_command_arguments respectively - Adding more attributes to the command in db-mapping along with the extension to the zcl_command query - Updating selectAllClustersDetailsFromEndpointTypes such that all_user_clusters can be filtered based on side of cluster - Adding zcl_command_responses to retrieve all commands which are also command responses.a - Extending asJavaType to handle asJavaBoxedType properly under all block helpers and not just chipType block helpers - Updating the local map for command query - Minor cleanup - Github: ZAP#971
-
- 3月 28, 2023
-
-
由 Andrei Litvin 创作于
Ensure db mapping aliases commandName for commands (template compatibility) and that commands by cluster contain response names (#981)
-
- 3月 25, 2023
-
- 3月 23, 2023
-
-
由 Bharat Raju 创作于
Github: ZAP#898
-
- 3月 22, 2023
-
-
由 Bharat Raju 创作于
Github: ZAP#898
-
由 Timotej Ecimovic 创作于
Minor test work, no functional changes.
-
- 3月 18, 2023
-
- 3月 17, 2023
-
-
由 Bharat Raju 创作于
Adding to enabled_attributes_for_cluster_and_side and zcl_attributes_server helper to replace chip_server_cluster_attributes (#899) - chip_server_cluster_attributes is returning server attributes which are not actually enabled because the server side cluster is disabled. - The reason chip_server_cluster_attributes is picking the server side attributes which are not enabled is because those are enabled in the .zap file(Which is the case for saving user selections and ease of use). However the helper is not actually checking if the cluster is enabled as well. - enabled_attributes_for_cluster_and_side is solving this issue correctly and actually only showing attributes which are truly enabled. - Extending endpointTypeAttributeExtended such that there is a common place for an attribute map - Updating endpointTypeAttributeExtended with everything that attributeExportMapping had such that it can act as a common place for all other temporary maps that have been created across our code. Also sorting endpointTypeAttributeExtended for easier readability and avoiding duplicate keys - Updating zcl_attributes_server block helper such that it can behave like chip_server_cluster_attributes. - Updating attribute map such that it can be used more widely - Adding additional helpers to remove the stateful helpers - Adding removeKeys option for removing certain columns which are not needed in a block helper such as enabled_attributes_for_cluster_and_side and zcl_attributes_server - Adding if_unsupported_attribute_type and if_attribute_complex to check for unsupported and complex zcl data types - Deprecating old stateful helpers with new stateless helpers - Adding select data type using type name and cluster id to data_types, enums, bitmap, numbers and structs - Adding if_unsupported_attribute_callback helper and if_basic_attribute if helpers for java code generation - Deprecating java and python zcl type helpers with new zcl type helpers such that they do not need any stateful information coming from parent block helpers. For eg chipType and chipCallback.type - Adding tests for all the newly introduced helpers. - Updating Api documentation - Adding if_is_data_type_signed and as_zcl_data_type_size to determine sign and size of zcl data types - if_is_data_type_signed and as_zcl_data_type_size take type name and cluster id to return size and sign of the zcl data types - Github: ZAP#898
-
- 3月 11, 2023
-
- 3月 10, 2023
-
-
由 Jing T 创作于
7x speed up on zap-config.h generation speed machine: mac x86 2.6 GHz 6-Core Intel Core i7 Before: PASS test/gen-zigbee-9.test.js (91.223 s) ✓ Basic gen template parsing and generation (18 ms) ✓ Validate package loading (1 ms) ✓ Load the zap file: /Users/jiteng/repo/zap/test/resource/full-th.zap (1149 ms) ✓ Generate "zap-cluster-command-parser.h" (196 ms) ✓ Generate "zap-print.h" (14 ms) ✓ Generate "zap-id.h" (402 ms) ✓ Generate "zap-event.c" (111 ms) ✓ Generate "zap-enabled-incoming-commands.h" (41 ms) ✓ Generate "zap-event.h" (746 ms) ✓ Generate "zap-config.h" (72763 ms) ✓ Generate "zap-type.h" (223 ms) ✓ Generate "zap-tokens.h" (574 ms) ✓ Generate "zap-cli.c" (3542 ms) ✓ Generate "zap-command.h" (1161 ms) ✓ Generate "zap-command-structs.h" (448 ms) ✓ Generate "zap-cluster-command-parser.c" (275 ms) After: PASS test/gen-zigbee-9.test.js (24.919 s) ✓ Basic gen template parsing and generation (21 ms) ✓ Validate package loading ✓ Load the zap file: /Users/jiteng/repo/zap/test/resource/full-th.zap (1667 ms) ✓ Generate "zap-cluster-command-parser.h" (156 ms) ✓ Generate "zap-print.h" (39 ms) ✓ Generate "zap-id.h" (439 ms) ✓ Generate "zap-event.c" (127 ms) ✓ Generate "zap-enabled-incoming-commands.h" (49 ms) ✓ Generate "zap-event.h" (905 ms) ✓ Generate "zap-config.h" (10471 ms) ✓ Generate "zap-type.h" (241 ms) ✓ Generate "zap-tokens.h" (627 ms) ✓ Generate "zap-cli.c" (3802 ms) ✓ Generate "zap-command.h" (1238 ms) ✓ Generate "zap-command-structs.h" (555 ms) ✓ Generate "zap-cluster-command-parser.c" (251 ms)
-
- 3月 07, 2023
-
-
由 Karsten Sperling 创作于
See project-chip/connectedhomeip#24994
-
- 3月 03, 2023
-
-
由 Gergely Kiss 创作于
-
由 Jing T 创作于
* node-cache: return refs instead of clone for speed. * add '--disableDbCaching' flag * reduce heap usage by 50% (118MB -> 58.8MB via Chrome Heap Profiler) via disabling source map during build * improve generation speed by 75% via SQL query caching Using full-th sample app as reference, there are 108,871 SQL query calls spread over the following query functions * selectAtomicType() * selectBitmapByName() * selectDataTypeByName() * selectEnumByName() * selectNumberByName() * selectStructByName() Performance metric: test runner: ./src-script/gen-test-runner.js machine: macbook 2.6 Ghz 6-core Intel Core i7 / 32GB DDR4 Before: average generation time: 42.851s After: initial cache warm up generation time: 17.699s average generation time: 11.766s
-
- 3月 01, 2023
-
-
由 Timotej Ecimovic 创作于
* Cleanup some helper functions. * Some further cleanup. * Remove reference to xvfb.
-
- 2月 28, 2023
-
-
由 Timotej Ecimovic 创作于
* Add some more content-based matter tests. * Check the content to further depth of details. * Add a cautionary tale that nobody will read... :( * Get coverage reports. * Clean up some typos. * Use proper English. * Remove xvfb-run, we do not need it. * Clean up coverage for cypress, which is not being produced. * Add the differently-ordered list to the generation. * Fix the code coverage job.
-
由 Bharat Raju 创作于
The token attributes are being set in the following order: For Standard attributes: - All singleton attributes - All non singleton attributes - Both of the above are followed by subsequent ordering of cluster mfg code, attribute mfg code, endpoint identifier(smallest endpoint identifier for singleton), cluster code, attribute code Configuring the tests according to the above order
-
由 Timotej Ecimovic 创作于
* Cut down unnecessary repeat generations from same source. * Break up zigbee tests into individual generations. * Split database files. * Fix the problem with the result. * Clean up some custom package stuff. * Consistently name tests. * Add another generation for performance analysis. * Add a full-th test for performance analysis. * Sort out some nuances of the test. * Separate each individual file for generation. * There is no need to run Zigbee cypress tests twice. * Support array for generateOnly option, and limit unit test generation to just what we test. * Exclude more generations of things not needed for tests. * Restore Matter test data to reasonably recent, and mandate the Matter tests to pass without errors. * Add the all-clusters test for Matter. * Bring back old matter XML files to keep Cypress fixtures happy. * Comment out a code coverage. It was not doing much useful now, so we are commenting it out for now, until we restore it to correct functioning later, using the cache.
-
- 2月 26, 2023
-
-
由 Boris Zbarsky 创作于
* "clusterSize:" had a stray ':' that was causing generation to produce invalid output. * The old code had things indented sanely, and this is just restoring that. * There was no detection of unknown tokens, which would have quickly caught the "clusterSize" problem.
-
- 2月 25, 2023
-
-
由 Bharat Raju 创作于
- Fixing Token Attribute helpers to include cluster defines - Sorting token endpoints by endpoint id - Bumping the feature level pointer - JIRA: ZAPP-1085
-
由 Boris Zbarsky 创作于
Device types are 32-bit in the spec.
-
由 Andrei Litvin 创作于
-
由 Timotej Ecimovic 创作于
* Restore one matter unit test to being operational. * Allow for sorting and omitting certain items in the struct population. * Increase feature level.
-
- 2月 24, 2023
-
-
由 Bharat Raju 创作于
- Changing the default order of endpoint_attribute_list to what it was such that previously released SDKs continue to build their apps seamlessly. Newer templates can mention this order within the template itself - fixing the endpoint_config test to default to old order - JIRA: ZAPP-1081
-
- 2月 23, 2023
-
-
由 Timotej Ecimovic 创作于
* Extract the reporting into an array before laying out into a struct init line. * Add a unit test for reporting generation. * Allow parametrized reordering of reporting configuration struct elements. * Parametrize the attribute list struct item ordering. * Parametrize min/max struct order for the reporting helper. * Another ordering issue.
-
由 Bharat Raju 创作于
- Throwing a warning in the notifications page of the zap UI instead of throwing an error in template-engine such that we backwards compatibility can be maintained - Changes to helper.js files have been made to fall back to old way of implementation in the case of global.resource([key]) not finding the data required - Github: ZAP#941
-
- 2月 18, 2023
-
-
由 Bharat Raju 创作于
- Fixing the count of mfg specific attributes such that it accounts for mfg specific attributes from mfg specific clusters - Fixing the attribute_mask helper such that it creates a separation between zigbee and matter when creating the mask - Fixing the attribute generation such that they have the mfg specific flag correctly - Commenting a test for now to unblock zap builds - JIRA: ZAPP-1077
- 2月 16, 2023
-
-
由 Bharat Raju 创作于
JIRA: ZAPP-1036
-
由 Bharat Raju 创作于
Updating the zap file and tests because the NVM settings in the application were not in sync across endpoints and this was causing indeterministic results (#931) JIRA: ZAPP-1036
- 2月 15, 2023
-
-
由 Bharat Raju 创作于
- Extending all_user_cluster_generated_attributes to account for an attribute being a string or not - Bumping the feature level pointer - Cleaning up another query to get endpoint Id properly - Adding the comma termination option for strings as well - Updating existing helpers with more options - Updating format_zcl_string_as_characters_for_generated_defaults to have isOctet and isCommaTerminated options - Add in option to if_compare to check if one strings exists within another - Update the zap-token version 2 zapt file and tests - JIRA: ZAPP-1036
-
由 Vivien Nicolas 创作于
-
- 2月 11, 2023
-
-
由 Bharat Raju 创作于
- Updated helper-tokens with token_attributes, token_attribute_clusters and token_attribute_endpoints helpers which can be used by the generation templates. - Deprecated tokens_context and token_next helpers which were giving incomplete and wrong generation results - Updated some existing block helpers in helper-zcl with token information to help with generation - Added the queries for token helpers in query-attribute and query-cluster files - Updated dbMapping with endpointTypeClusterExtended and endpointTypeAttributeExtended such that map functions can be used in a generic way - Adding tests for token helpers - JIRA: ZAPP-1036
-
由 Timotej Ecimovic 创作于
* Add a test file for this case * Properly handle the custom package ID regardless of whether it has been loaded or not before.