Skip to content
代码片段 群组 项目
该项目从 https://github.com/project-chip/zap 镜像。 拉取镜像更新于
  1. 7月 27, 2022
    • Timotej Ecimovic's avatar
      SDK-wide regen via sdk.json file (#614) · 1e9a813d
      Timotej Ecimovic 创作于
      * Remove the wrapping of arguments in the generate scripts.
      * Log gen execution to json file.
      * Add gen log parser and uncomment the gen.log creation.
      * Add skeleton of the regenerateSdk feature.
      * Load ZCL packages.
      * Load generation templates.
      * Stop complaining about electron versions all the time.
      * Add test SDK file and add a test entry point.
      1e9a813d
  2. 7月 26, 2022
    • Boris Zbarsky's avatar
      Fix default values for long strings. (#632) · e652a5df
      Boris Zbarsky 创作于
      Long strings store their length in 2 bytes at the front of the string, with the
      bytes being a little-endian representation of the string length.
      
      But the endpoint config output was spitting out the length as big-endian, not
      little-endian.  This caused things to be pretty confused and led to buffer
      overruns trying to read data that was not there.
      e652a5df
    • Timotej Ecimovic's avatar
      20fcf73e
    • Timotej Ecimovic's avatar
      Add ability to have multiple instances of the handlebars engine. (#627) · 2ad1fe5f
      Timotej Ecimovic 创作于
      0. Add basic helper categorization.
      1. Externalize handlebars instance.
      2. Desingletonize the handlebars instance.
      3. All handlebars instances are now taken from single location.
      2ad1fe5f
    • Boris Zbarsky's avatar
      Fix FabricIndex handling in structs and events. (#628) · ea78da2e
      Boris Zbarsky 创作于
      1) Remove struct_is_fabric_scoped and event_is_fabric_scoped now that we have
         isFabricScoped/isFabricSensitive on those objects.  Add the relevant XML
         attributes instead of trying to guess based on fields.
      2) Remove event_fabric_idx_field and struct_fabric_idx_field, since we are no
         longer guessing based on fields.
      3) Synthesize the relevant struct item or event field with the right name, type,
         field id, per spec, if the struct is fabric-scoped or the event is
         fabric-sensitive.
      
      This is a hard requirement for implementing Leave events properly for Matter:
      those have a fabric_idx field but are _not_ fabric-scoped.
      ea78da2e
    • Jing T's avatar
      Add manual build trigger to master (#623) · f8857752
      Jing T 创作于
      Minor workflow change.
      f8857752
  3. 7月 25, 2022
    • Timotej Ecimovic's avatar
      Fix the importer to properly assign packages. (#621) · cae2ce4d
      Timotej Ecimovic 创作于
      * Fix the importer to properly assign packages. Earlier, readFile() methods didn't even init packages.
      * Separate the logic to initialize session key values from package defaults.
      * Fix conversion process which suffered from double package init.
      * Clean up unit tests to eliminate double session initialization.
      cae2ce4d
  4. 7月 22, 2022
    • Pedram Kashani's avatar
      Cypress tests against matter data (#620) · ea6161e4
      Pedram Kashani 创作于
      This commit adds the Cypress tests using Matter test data as well. Before this, we were only running tests against ZigbeePro data, so occasionally UI got broken for Matter and it was not caught, because it was specific to differences in Matter and ZIgbeePro.
      
      * update tests and add matter data
      * update check_summary tests
      ea6161e4
  5. 7月 20, 2022
  6. 7月 19, 2022
    • Timotej Ecimovic's avatar
      Fabric scope for commands, structs and fabric sensitivity for events (#611) · 240d75e1
      Timotej Ecimovic 创作于
      * Add fabric-scoped flags to schema.
      * Add isFabricScoped to command loading
      * Add fabric scope to command queries.
      * Add fabric sensitivity to event queries.
      * Add isFabricScoped to structs in XML, and load them correctly.
      * Update queries with the fabric-scoped field for structs.
      * Update schema diagram.
      * Set events to being fabric-sensitive.
      240d75e1
  7. 7月 16, 2022
  8. 7月 15, 2022
  9. 7月 14, 2022
    • Timotej Ecimovic's avatar
      Clean up server-mode for concurrent use (#598) · 0fe96a7d
      Timotej Ecimovic 创作于
      * Share the ipc socket same way as single-instance shares sockets.
      
      * Some code cleanup.
      
      * Increase feature level to trigger IDE tests.
      
      * Make server load both zigbee and matter data.
      
      * Fix the hang of the generation in the client/server case.
      0fe96a7d
  10. 7月 13, 2022
  11. 7月 12, 2022
    • Timotej Ecimovic's avatar
      Events cleanup (#592) · 25b8ddae
      Timotej Ecimovic 创作于
      * Remove hardcoded background.
      
      * Export events into the zap file.
      
      * Do not include empty array keys in the zap file.
      
      * Create skeleton function for event importing.
      
      * Fix unit tests.
      
      * Cleanup the attribute query.
      
      * Import event data from zap file into the tables.
      
      * Add unit test that validates that events are loaded.
      
      * Return the event state in the session back to the UI as part of the state creation.
      
      * Work the way up the UI to show event data.
      
      * Properly display toggles based on what is loaded in the database.
      
      * Fix the package-lock.json that was broken in an earlier faulty merge.
      25b8ddae
    • Jing T's avatar
      ee8d41e6
  12. 7月 09, 2022
  13. 7月 07, 2022
  14. 7月 05, 2022
  15. 7月 02, 2022
  16. 7月 01, 2022
    • Timotej Ecimovic's avatar
      Minor UI improvements. (#575) · 2edfc857
      Timotej Ecimovic 创作于
      * Cleanup the naming of axios global accessor functions.
      * Add license checker to workflow.
      2edfc857
    • Timotej Ecimovic's avatar
      Event field types (#574) · ae43c99f
      Timotej Ecimovic 创作于
      * Add unit test for event field type checking.
      ae43c99f
    • Bharat Raju's avatar
      Removing unecessary columns being pulled for the queries (#564) · 8e05bc31
      Bharat Raju 创作于
      Returning from insertDataType just like the other insert functions
      Adding cluster id since it is being used by our code.
      Removing dbcache usage since it seems to slow down the generation based on the following statistics
      Upon generating z3Light app with dbcache: Average time taken across 5 runs: 24.8812
      Upon generating z3Light app without dbcache: Average time taken across 5 runs: 19.272
      These changes are saving around 5s locally
      Adding the command argument count to the command queries to avoid additional sql calls for finding out the count within a block helper to reduce the complexity of the template
      Bumping the feature level for zap
      JIRA: EMZIGBEE-9385
      8e05bc31
    • Timotej Ecimovic's avatar
      Version automatic handling (#577) · 7c7774fe
      Timotej Ecimovic 创作于
      * Update versioning scheme to on-the-fly inject a correct version for build.
      
      * Add npm targets for version fake/real stamping.
      
      * Update version-stamp with creating a real version in package.json
      
      * Move a package.json logic to a function in script-util.
      
      * Update printouts.
      
      * When building, use a timestamp of a last git commit, NOT the current time.
      7c7774fe
  17. 6月 25, 2022
  18. 6月 23, 2022
    • Timotej Ecimovic's avatar
      Expand package info (#566) · 17f57f09
      Timotej Ecimovic 创作于
      * Clean up some package queries and encapsulate db.
      
      * Fix the loading of templates and zcl packages to include category and description.
      
      * Increase feature level.
      
      * Update generation templates handling with the new columns.
      
      * Update preview and add the template name to the db.
      
      * Update expected electron version to what we actually have.
      17f57f09
  19. 6月 21, 2022
  20. 6月 20, 2022
加载中