Skip to content
代码片段 群组 项目
该项目从 https://github.com/project-chip/zap 镜像。 拉取镜像更新于
  1. 8月 15, 2022
    • Jing T's avatar
      build universal mac image for x64/arm64. (#656) · 163aae64
      Jing T 创作于
      * build universal mac image for x64/arm64.
      
      using 'exec' to launch electron-builder as a workaround for npm launch bug.
      relying on npm/npx launch will cause electron-builder to hang
      
      * trigger mac cert setup conditionally.
      163aae64
    • Timotej Ecimovic's avatar
      Generic async reporting + cypress fixes (#667) · d7caa48d
      Timotej Ecimovic 创作于
      Dirty-flag:
      * Remove dirty flag logic from "studio-rest-api" area, since it really has nothing to do with Studio REST API.
      * Add a new file for it.
      * Clean up the annoying error that kept printing upon shutdown.
      * The dirty-flag reporting is now a generic async reporting mechanism, with dirty flag as an example.
      
      Cypress:
      * Collapse the two uitest scripts.
      * Replace electron with chrome for cypress runs.
      * Disable two validly failing tests.
      d7caa48d
  2. 8月 13, 2022
  3. 8月 12, 2022
  4. 8月 11, 2022
  5. 8月 10, 2022
    • Jing T's avatar
      Update artifact dler (#655) · 3111b6e3
      Jing T 创作于
      * convert assset dl script to typescript.
      
      * dl assets from official nexus repo
      
      * remove  octokit debug
      3111b6e3
  6. 8月 07, 2022
    • Timotej Ecimovic's avatar
      Increase feature level. (#652) · b8633030
      Timotej Ecimovic 创作于
      b8633030
    • Timotej Ecimovic's avatar
      Matter cleanup (#641) · bff8d9eb
      Timotej Ecimovic 创作于
      This commit enables use of binary zap build for the Matter SDK. It bring the Matter JS code into the zap, cleans it up, and adds few new mechanisms to the templates.json files to support the Matter handling of yaml tests and test maintenance.
      
      It also adds categorization and aliasing of helpers, so that only a subset can be loaded.
      
      Furthermore, the handlebars instance is now no longer global, but it is created per-generation, and populated with the right subset of helpers.
      
      Individual commits:
      
      * Import: 07/29/2022
      * Lint cleanup.
      * Cleanup and alias few helpers.
      * Add more directories to import.
      * Use common aliases.
      * Cleaning up imports.
      * Import: add more files.
      * Further imports cleanup.
      * .js -> .ts
      * Add category for Matter helpers.
      * Comment, so I stop being confused.
      * Add missing import of dbenum.
      * Add the unit test for the helper loading via aliases.
      * Fix the unit test.
      * Cleanup the helpers api retrieval.
      * Include a missing js file.
      * Fix the api loading and testing.
      * Skip automatic loading of categorized or aliased helpers.
      * Add mechanism to auto-load helper categories and aliases.
      * Make category functionality from gen-templates.json work correctly.
      * Fix the bizarre mechanism of importing simulated clusters.
      * Shortcut the package loading in case of only one available.
      * Add more yaml files.
      * Remove pointless directory read.
      * Add the copying of the yaml files to copy script.
      * Skip the meta symbol.
      * Add the tests.
      * Import: 8/2/2022
      * Fix two small problems that accumulated into major problems.
      * Fix various Matter issues.
      * Remove stray require.
      * Clean up the initialization API.
      * Clean up the weird initialization of PICS.yaml.
      * Remove a console.log
      * Cleanup and alias another helper package.
      * Add mechanism to share resource paths from gen-templates.json.
      * Apply externalized resources to be able to remove all the yaml files.
      * Remove yaml copying. Will not need this again.
      * Import: 8/4/2022
      * Detect open handles.
      * Remove a useless test.
      * Temporarily lower the coverage requirements, before we bring in Matter unit tests.
      * Configure Matter code to stop doing ASI and instead put semicolons in the code.
      * Move the tests out into JSON files.
      * Move all the tests into ciTests json, deal with a more complex include+disable case.
      * Properly read relative path for the tests.json files.
      * Remove all tests code for matter.
      * Remove unneeded JSON files that moved to SDK.
      * Regen api baselines and remove references to test helpers.
      * Stray rebase problem.
      * Run cypress only once.
      bff8d9eb
  7. 8月 06, 2022
  8. 8月 05, 2022
  9. 8月 04, 2022
  10. 8月 03, 2022
  11. 8月 02, 2022
  12. 7月 29, 2022
  13. 7月 28, 2022
  14. 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
  15. 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
      Fix a mistake with loading partials. (#631) · 20fcf73e
      Timotej Ecimovic 创作于
      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
  16. 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
  17. 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
  18. 7月 20, 2022
  19. 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
  20. 7月 16, 2022
  21. 7月 15, 2022
  22. 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
  23. 7月 13, 2022
加载中