Skip to content
代码片段 群组 项目
该项目从 https://github.com/project-chip/zap 镜像。 拉取镜像更新于
  1. 12月 05, 2023
  2. 11月 08, 2023
  3. 7月 11, 2023
  4. 7月 08, 2023
    • Timotej Ecimovic's avatar
      Split codegen into separate workflow (#1061) · 1c63d31c
      Timotej Ecimovic 创作于
      * Move matter codegen into separate workflow.
      * Resolve caniuse.
      * Add the gsdk regen script and start adding zigbee codegen action.
      * Clean up some stuff and add the script for managing workflows.
      1c63d31c
  5. 5月 09, 2023
    • Jing T's avatar
      create linux arm64 release package · 4861f737
      Jing T 创作于
      * support for creating linux arm64 artifacts
      
      1) NOTE: workaround for arm64 with pkg via "--no-bytecode --public"
      
      the packaging utilility (pkg) has following issues:
      
      * bytecode generation fails for arm64:
        Warning Failed to make bytecode node16-arm64 for file /snapshot/zap/node_modules/...
      
        "--no-bytecode" flag is used to skip the bytecode generation
      
      * --no-bytecode flag is broken:
        "Error! --no-bytecode and no source breaks final executable"
      
        "--public" flag is used as a workaround
        ref: https://github.com/vercel/pkg/issues/1139
      
      2) update mac artifacts to be platform/architecture specific
      
      3) pkg: version bump to pick up codesign error for macOS arm64
      4861f737
  6. 5月 05, 2023
  7. 3月 03, 2023
    • Gergely Kiss's avatar
      Support touring with Vue.js 3. (#963) · 8acc6a8c
      Gergely Kiss 创作于
      8acc6a8c
    • Jing T's avatar
      Feature/zap profiling (#913) · 54ebd9e4
      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
      54ebd9e4
  8. 2月 01, 2023
  9. 12月 02, 2022
  10. 10月 14, 2022
    • Timotej Ecimovic's avatar
      Cleanup and minor upgrades (#753) · 7d55899f
      Timotej Ecimovic 创作于
      * Hold the package-lock.json at the lockfileVersion 2 level, which mandates node 16.
      * Add metafile check, making sure nobody commits package-lock file with an ancient npm.
      * Update lock file.
      7d55899f
  11. 10月 08, 2022
    • Bharat Dandu's avatar
      Adding generic helpers with less hardcoding such that they can be used across... · 4f70b203
      Bharat Dandu 创作于
      Adding generic helpers with less hardcoding such that they can be used across different kinds of templates
      
      - Adding selectStructsWithClusterAssociation which takes the logic src-electron/generator/matter/chip-tool/templates/helper.js#structs_with_cluster_name to the backend(sql query). structs_with_clusters helper uses this instead of exports.structs_with_cluster_name
      - Updating cleanseLabelAsKebabCase so that it can be used instead of asDelimitedCommand
      - endpoint type was being treated as signed integer due to parsing logic in zcl-silabs-loader.js. Added a separate condition for this
      - Added generation tests for all the new helpers with an additional matter generation template
      - Adding the groupByStructName option to structs_with_clusters to avoid duplicate rows
      - Cleaning up the loader
      - Cleaning up the helpers in helper-zcl
      - For zcl data types, taking into account the signed attribute in the xml for numbers. If not mentioned then accounting for known exceptions such as single and double data types
      Throwing an error in as_type_max/min_value when language option is not specified
      Github: ZAP#679
      4f70b203
  12. 9月 23, 2022
  13. 9月 16, 2022
    • Timotej Ecimovic's avatar
      Fix several aspects of binary builds. (#721) · 79910c2c
      Timotej Ecimovic 创作于
      * Simplify the convert script to same as generate script.
      * Clean up the convert action.
      * Fix the problem of binary build having a 0.0.0 version.
      * Stop using package.json for runtime version detection, use .version.json instead.
      * Fix the heap size for the binary executables.
      79910c2c
  14. 8月 17, 2022
    • Timotej Ecimovic's avatar
      Use glob patterns for sdk.json (#672) · f039607d
      Timotej Ecimovic 创作于
      * Install glob package at toplevel.
      
      * Separate file parsing from the file processing.
      
      * Add globbing to the sdk.json
      
      * Increase feature level.
      
      * Increase required feature level in the test.
      
      * Add the regen SDK apack action.
      
      * Add index and directory name as possible replacements to globbing pattern generation.
      
      * Give cleaner alias names to matter, so that we can change that on SDK as well.
      f039607d
  15. 8月 02, 2022
  16. 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
  17. 7月 02, 2022
  18. 6月 11, 2022
  19. 6月 09, 2022
  20. 6月 06, 2022
  21. 5月 16, 2022
  22. 5月 12, 2022
  23. 5月 11, 2022
    • Bharat Dandu's avatar
      updating packag-lock · 965602e7
      Bharat Dandu 创作于
      965602e7
    • Bharat Dandu's avatar
      Cleaning up package-lock.json · 776d35a4
      Bharat Dandu 创作于
      JIRA: ZAPP-757
      776d35a4
    • Bharat Dandu's avatar
      388ba363
    • Bharat Dandu's avatar
      Adding helper and cleaning up such that we are able to regen the matter... · 2009dc66
      Bharat Dandu 创作于
      Adding helper and cleaning up such that we are able to regen the matter applications using zap with minimum regen diff using the new data type schema
      
      - adding dataTypeReferenceName to stuct item such that it can be referred to directly through helpers
      - minor cleanup in query-bitmap.js
      - adding selectNumberById query to query-numbers.js, selectStringByName query to query-string.js
      - Joining the data type table with the struct_item table in query-zcl.js such that the data type being referred by a stuct item can also be extracted from the data type table
      - Cleaning up helper-endpointconfig.js. Adding a check to detect enum attribute types correctly
      - Adding miscellaneous helpers to helper-zap.js which can be used from the zapt templates
      - Cleaning up the if_is_* helpers in helper-zcl such that they can now take a data_type_Id from the data_type table or a name of the type. Adding if_is_number/atomic tables as well
      - Minor cleanup in types.js. No need to store typeInfo.atomicType. Just use the type and size of type to figure things out
      - Minor cleanup in zczl-loader-silabs.js to load strings correctly into the string table in matter and making sure that the struct item field identifiers are calculated correctly as well
      - JIRA: ZAPP-757
      2009dc66
  24. 5月 06, 2022
  25. 4月 30, 2022
  26. 4月 21, 2022
  27. 3月 30, 2022
  28. 3月 29, 2022
  29. 3月 27, 2022
加载中