| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Fix: The event is triggered multiple times when custom ArkTS components share the same event name across multiple packages. Co-authored-by: 谢代荣<xiedairong@huawei.com> # message auto-generated for no-merge-commit merge: merge master-codegen into master Fix: The event is triggered multiple times when custom ArkTS components share the same event name across multiple packages. Created-by: xiedrsz Commit-by: 谢代荣 Merged-by: huangyouhua Description: ## Description Fix: The event is triggered multiple times when custom ArkTS components share the same event name across multiple packages. ## Changes - [added] Add a property componentName to ShadowViewEntry. - [fixed] When receiving an event, verify whether the component to which the event belongs originates from the current package. ## Test Plan 1. Reinstall Dependencies for the Tester Project. 1. Open the Tester. 1. Check CustomNativeComponentTest. ## Checklist - [x] Does not involve incompatible changes; if involved, has been reviewed accordingly. - [x] Does not impact performance, or performance testing has been conducted without degradation. - [x] Complies with the relevant coding standards. - [x] Does not involve documentation updates, or the documentation has been updated. - [x] Meets testability requirements with necessary self-test cases, appropriate logging, or trace information added. - [x] No illegal file inclusions exist, such as images or code. See merge request: openharmony-sig/ohos_react_native!1493 | 1 年前 | |
feat: add command handling to ArkTS and C++ component generators. Co-authored-by: zhoukc42<1540623907@qq.com> # message auto-generated for no-merge-commit merge: merge Codegen-master-0626 into master feat: add command handling to ArkTS and C++ component generators. Created-by: zhoukc42 Commit-by: zhoukc42 Merged-by: huangyouhua Description: <!-- 请在合并之前删除注释代码,以避免将其包含在GIT历史记录中 --> ## Why are these changes being made? <!-- 简要描述PR的目的,例如: 这条PR主要实现metro局域网内远程调试的功能. --> UIManager.getViewManagerConfig('SampleView').Commands does not return native commands for the view. This PR adds support for generating the Commands object with codegen commands. ## Changelog <!-- 列出可包含在变更日志中的要点的主要变更。 不要列出内部更改。请以下列开头来写每个变更点: - added - fixed - deprecated - removed 如果是一条新增属性的变更,则以[added]开头,例如: - [added] FlatList组件新增inverted属性 --> - added Commands generation for the codegen - added test case to test accessing generated commands through UIManager - improved native commands calls in the sample package to use the modern approach ## Test Plan <!-- 如何测试这条PR。例如: 1. 打开Tester工程. 2. 执行npm run start命令. ... --> 1. Run tester application 2. Check Custom Native Component tests, especially generated custom component ## Checklist <!-- 请在合入前根据以下条例进行自检 自检完成后在[ ]内填入"x", 例如: - [x] 不涉及非兼容性变更;若涉及,已通过相应评审。 --> - [x] No failures occurred in automatic tests on the CONCURRENT TESTER page in the tester app. - [x] No failures occurred in automatic tests on the SEQUENTIAL TESTER page in the tester app. - [x] MR does not include a breaking change or a review has been requested from a Huawei reviewer. See merge request: openharmony-sig/ohos_react_native!1206 | 1 年前 | |
feat: add command handling to ArkTS and C++ component generators. Co-authored-by: zhoukc42<1540623907@qq.com> # message auto-generated for no-merge-commit merge: merge Codegen-master-0626 into master feat: add command handling to ArkTS and C++ component generators. Created-by: zhoukc42 Commit-by: zhoukc42 Merged-by: huangyouhua Description: <!-- 请在合并之前删除注释代码,以避免将其包含在GIT历史记录中 --> ## Why are these changes being made? <!-- 简要描述PR的目的,例如: 这条PR主要实现metro局域网内远程调试的功能. --> UIManager.getViewManagerConfig('SampleView').Commands does not return native commands for the view. This PR adds support for generating the Commands object with codegen commands. ## Changelog <!-- 列出可包含在变更日志中的要点的主要变更。 不要列出内部更改。请以下列开头来写每个变更点: - added - fixed - deprecated - removed 如果是一条新增属性的变更,则以[added]开头,例如: - [added] FlatList组件新增inverted属性 --> - added Commands generation for the codegen - added test case to test accessing generated commands through UIManager - improved native commands calls in the sample package to use the modern approach ## Test Plan <!-- 如何测试这条PR。例如: 1. 打开Tester工程. 2. 执行npm run start命令. ... --> 1. Run tester application 2. Check Custom Native Component tests, especially generated custom component ## Checklist <!-- 请在合入前根据以下条例进行自检 自检完成后在[ ]内填入"x", 例如: - [x] 不涉及非兼容性变更;若涉及,已通过相应评审。 --> - [x] No failures occurred in automatic tests on the CONCURRENT TESTER page in the tester app. - [x] No failures occurred in automatic tests on the SEQUENTIAL TESTER page in the tester app. - [x] MR does not include a breaking change or a review has been requested from a Huawei reviewer. See merge request: openharmony-sig/ohos_react_native!1206 | 1 年前 | |
feat: add command handling to ArkTS and C++ component generators. Co-authored-by: zhoukc42<1540623907@qq.com> # message auto-generated for no-merge-commit merge: merge Codegen-master-0626 into master feat: add command handling to ArkTS and C++ component generators. Created-by: zhoukc42 Commit-by: zhoukc42 Merged-by: huangyouhua Description: <!-- 请在合并之前删除注释代码,以避免将其包含在GIT历史记录中 --> ## Why are these changes being made? <!-- 简要描述PR的目的,例如: 这条PR主要实现metro局域网内远程调试的功能. --> UIManager.getViewManagerConfig('SampleView').Commands does not return native commands for the view. This PR adds support for generating the Commands object with codegen commands. ## Changelog <!-- 列出可包含在变更日志中的要点的主要变更。 不要列出内部更改。请以下列开头来写每个变更点: - added - fixed - deprecated - removed 如果是一条新增属性的变更,则以[added]开头,例如: - [added] FlatList组件新增inverted属性 --> - added Commands generation for the codegen - added test case to test accessing generated commands through UIManager - improved native commands calls in the sample package to use the modern approach ## Test Plan <!-- 如何测试这条PR。例如: 1. 打开Tester工程. 2. 执行npm run start命令. ... --> 1. Run tester application 2. Check Custom Native Component tests, especially generated custom component ## Checklist <!-- 请在合入前根据以下条例进行自检 自检完成后在[ ]内填入"x", 例如: - [x] 不涉及非兼容性变更;若涉及,已通过相应评审。 --> - [x] No failures occurred in automatic tests on the CONCURRENT TESTER page in the tester app. - [x] No failures occurred in automatic tests on the SEQUENTIAL TESTER page in the tester app. - [x] MR does not include a breaking change or a review has been requested from a Huawei reviewer. See merge request: openharmony-sig/ohos_react_native!1206 | 1 年前 | |
Fix: The event is triggered multiple times when custom ArkTS components share the same event name across multiple packages. Co-authored-by: 谢代荣<xiedairong@huawei.com> # message auto-generated for no-merge-commit merge: merge master-codegen into master Fix: The event is triggered multiple times when custom ArkTS components share the same event name across multiple packages. Created-by: xiedrsz Commit-by: 谢代荣 Merged-by: huangyouhua Description: ## Description Fix: The event is triggered multiple times when custom ArkTS components share the same event name across multiple packages. ## Changes - [added] Add a property componentName to ShadowViewEntry. - [fixed] When receiving an event, verify whether the component to which the event belongs originates from the current package. ## Test Plan 1. Reinstall Dependencies for the Tester Project. 1. Open the Tester. 1. Check CustomNativeComponentTest. ## Checklist - [x] Does not involve incompatible changes; if involved, has been reviewed accordingly. - [x] Does not impact performance, or performance testing has been conducted without degradation. - [x] Complies with the relevant coding standards. - [x] Does not involve documentation updates, or the documentation has been updated. - [x] Meets testability requirements with necessary self-test cases, appropriate logging, or trace information added. - [x] No illegal file inclusions exist, such as images or code. See merge request: openharmony-sig/ohos_react_native!1493 | 1 年前 | |
add the Copyright-Notice for HUAWEI Signed-off-by: 木叶纷下 <694161290@qq.com> | 1 年前 | |
add the Copyright-Notice for HUAWEI Signed-off-by: 木叶纷下 <694161290@qq.com> | 1 年前 | |
feat: Add a new --ets-output-path parameter to codegen-harmony. Co-authored-by: 谢代荣<xiedairong@huawei.com> # message auto-generated for no-merge-commit merge: merge master-codegen into master feat: Add a new --ets-output-path parameter to codegen-harmony. Created-by: xiedrsz Commit-by: 谢代荣 Merged-by: huangyouhua Description: ## Description The bytecode har package does not allow generating codegen's ets code within oh_modules. Therefore, it is necessary to add a --ets-output-path parameter to the codegen-harmony command to generate ets files in other locations. ## Changes - added a new --ets-output-path parameter to codegen-harmony. ## Test Plan 1. Open the Tester project. 1. Reinstall the dependencies. 1. Run the command npm start. 1. Check if ets code has been generated in the harmony/react_native_openharmony/generated directory and whether '../../ts' has been changed to '@rnoh/react-native-openharmony/ts'. ## Checklist - [x] Does not involve incompatible changes; if involved, has been reviewed accordingly. - [x] Does not impact performance, or performance testing has been conducted without degradation. - [x] Complies with the relevant coding standards. - [x] Does not involve documentation updates, or the documentation has been updated. - [x] Meets testability requirements with necessary self-test cases, appropriate logging, or trace information added. - [x] No illegal file inclusions exist, such as images or code. See merge request: openharmony-sig/ohos_react_native!1539 | 1 年前 | |
feat: Add a new --ets-output-path parameter to codegen-harmony. Co-authored-by: 谢代荣<xiedairong@huawei.com> # message auto-generated for no-merge-commit merge: merge master-codegen into master feat: Add a new --ets-output-path parameter to codegen-harmony. Created-by: xiedrsz Commit-by: 谢代荣 Merged-by: huangyouhua Description: ## Description The bytecode har package does not allow generating codegen's ets code within oh_modules. Therefore, it is necessary to add a --ets-output-path parameter to the codegen-harmony command to generate ets files in other locations. ## Changes - added a new --ets-output-path parameter to codegen-harmony. ## Test Plan 1. Open the Tester project. 1. Reinstall the dependencies. 1. Run the command npm start. 1. Check if ets code has been generated in the harmony/react_native_openharmony/generated directory and whether '../../ts' has been changed to '@rnoh/react-native-openharmony/ts'. ## Checklist - [x] Does not involve incompatible changes; if involved, has been reviewed accordingly. - [x] Does not impact performance, or performance testing has been conducted without degradation. - [x] Complies with the relevant coding standards. - [x] Does not involve documentation updates, or the documentation has been updated. - [x] Meets testability requirements with necessary self-test cases, appropriate logging, or trace information added. - [x] No illegal file inclusions exist, such as images or code. See merge request: openharmony-sig/ohos_react_native!1539 | 1 年前 | |
add the Copyright-Notice for HUAWEI Signed-off-by: 木叶纷下 <694161290@qq.com> | 1 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 |