Skip to content
代码片段 群组 项目
该项目从 https://github.com/project-chip/zap 镜像。 拉取镜像更新于
  1. 5月 10, 2023
    • Jing T's avatar
      remove deb/rpm release distribution (#1017) · 8f073d01
      Jing T 创作于
      deb/rpm distribution is not widely use and there is no current resource
      dedicated in maintaining those packages. it is removed until working
      versions are created again.
      8f073d01
  2. 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
  3. 5月 05, 2023
  4. 4月 19, 2023
    • Timotej Ecimovic's avatar
      Make zap files smaller (#992) · 313e73a4
      Timotej Ecimovic 创作于
      * Add fileFormat to the file.
      * Add the cli logic.
      * Add both builtin metafiles as default and refresh matter test file.
      * Wrap up the type 1 format, keep default to 0.
      * Add unit test and trigger proper conversion.
      * Allow for injected key/value pairs.
      * Fix the reportable.
      * Fix the reportable change.
      * Fix a unit test.
      * Add name ordering.
      * Upgrade one matter file.
      * Convert an all-cluster matter file.
      * Convert some more files.
      * Add some more unit tests.
      313e73a4
    • Bharat Raju's avatar
      Adding the type to bitmap fields. This change is specific to the dotdot loader... · f699d85d
      Bharat Raju 创作于
      Adding the type to bitmap fields. This change is specific to the dotdot loader and is a backwards compatible fix which was broken during the ZCL data type schema update. (#1001)
      
      JIRA: ZAPP-1122
      f699d85d
  5. 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
  6. 2月 28, 2023
    • Timotej Ecimovic's avatar
      Add some more content-based matter tests. (#958) · 5f38bdfd
      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.
      5f38bdfd
    • Timotej Ecimovic's avatar
      Unit test reorganization (#954) · f838810b
      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.
      f838810b
  7. 2月 01, 2023
  8. 1月 04, 2023
  9. 12月 02, 2022
  10. 11月 21, 2022
    • Timotej Ecimovic's avatar
      Switch to Matter-friendly package matching. (#825) · b407ab3a
      Timotej Ecimovic 创作于
      * Use 'ignore' as default packageMatch + add generation log.
      
      0. Matter currently has a messy packages listed in their zap files. Until
      that is fixed, the 'ignore' is the only reliable way that works with it.
      
      1. Allow a ZAP_GENERATION_LOG env var or a --generationLog option to record
      JSON file that logs all the generations.
      
      * Actual switch to 'ignore'.
      
      * Fix fuzzy as a package match for genmeta2.
      b407ab3a
  11. 11月 16, 2022
    • Timotej Ecimovic's avatar
      Automatic loading of packages from zap files. (#806) · 63cd640a
      Timotej Ecimovic 创作于
      * Remove a bunch of useless logic for loading validator.
      
      * Clean up some mess of package loading, removing session where it is not needed.
      
      * Update negative case.
      
      * Fix the devserver execution for cypress.
      
      * Make packageMatch a non-boolean option.
      
      * Implement autoloading properly.
      
      * Add a package matching mode which simply ignores the packages in zap file, used in unit tests.
      
      * Clean up a unit test.
      
      * Fix the matter test file to no longer point to zigbee.
      
      * Simplify the analyze script.
      
      * Update the template loader to not try to reload package options.
      
      * Update docs.
      
      * Clean up a comment.
      
      * Remove unused argument.
      63cd640a
  12. 11月 13, 2022
  13. 11月 11, 2022
  14. 11月 10, 2022
  15. 11月 01, 2022
  16. 10月 19, 2022
  17. 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
  18. 9月 23, 2022
  19. 9月 22, 2022
  20. 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
  21. 9月 15, 2022
    • Jing T's avatar
      fix Nexus asset query issue. (#724) · 2132026f
      Jing T 创作于
      * fix Nexus asset query issue.
      
      was not constructing continuationToken URL correctly.
      
      * ignore temp artifact files.
      
      * unit test for download-artifact
      
      * update cached download-artifact.js
      
      * ignore download-artifact test from zap unit tests.
      
      * download-artifact: add unit test / delegate to Github if specified branch is not cached on Nexus
      
      intended for internal jenkins PRs that specifies a non-cached ZAP branch
      on Nexus
      2132026f
  22. 9月 09, 2022
  23. 8月 23, 2022
    • Jing T's avatar
      Jenkins fix (#692) · 7a0cf73a
      Jing T 创作于
      * add pack:mac:native target
      * workaround macOS Jenkins machine not able to build mac universal image.
      * workaround for download-artifact build issue on node14, until DevOps can upgrade node16
      7a0cf73a
  24. 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
  25. 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
  26. 8月 07, 2022
    • 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
  27. 8月 06, 2022
  28. 8月 03, 2022
  29. 8月 02, 2022
  30. 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
  31. 7月 16, 2022
  32. 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
  33. 7月 13, 2022
  34. 7月 12, 2022
  35. 7月 02, 2022
加载中