| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
test(UnitTests): fix P8 violations + rnoh_text_test build + coverage improvements P8 fixes (7 files from review 3c1f328ce): - TaskExecutorTest.cpp: replaced enum re-declaration with #include "TaskExecutor.h" - CharToByteIndexTest.cpp: extracted charToByteIndex to CharToByteIndexImpl.cpp, removed "Inlined" marker - StyledStringHelpersTest.cpp: extracted 4 helpers to StyledStringHelpersImpl.cpp, removed "Inlined" marker - TextConversionsTest.cpp: false positive (no P8 marker, already links real .cpp) - ArkUINodeVtableTest.cpp: false positive (no P8 marker, uses real SDK headers) - StackNodeVtableTest.cpp: false positive (no P8 marker, uses real SDK headers) - ArkUIConversionsTest.cpp: false positive (#include real conversions.h) Build fixes: - rnoh_text_test: fixed memory_order circular dependency (pthread.h stub → <string> → <algorithm> → <memory> → shared_ptr.h) - pthread.h: replaced std::string with char[] (avoids <string> include during <atomic> processing) - pthread.h: added #include_next for macOS (uses real system pthread, adds test-only helpers) - pthread.h: added missing types (pthread_once_t, pthread_key_t, etc.) and functions - ReactPrimitives.h stub: added #include <atomic> before <memory> - ShadowNode.h stub: added #include <atomic> before <memory> - TextAttributes.h stub: added #include for Color.h and Geometry.h (SharedColor, Size) - std_compat.h: moved <atomic> before <algorithm> (prevents boyer_moore_searcher.h → <memory> cycle) - CMakeLists.txt: removed duplicate rnoh_arkjs_test target - CMakeLists.txt: added CharToByteIndexImpl.cpp and StyledStringHelpersImpl.cpp to targets - CMakeLists.txt: added include paths for rnoh_task_test (TaskExecutor.h) - Restored text_conversions_test/folly/dynamic.h stub (needed to shadow real folly) gtest-coverage-check.js 脚本数据(llvm-cov 动态采集): Text 组件(rnoh_text_test, 104 用例 PASS): - TextConversions.cpp: Line 93.3% (279/299) | Branch 89.4% (118/132) GREEN - 模块合计: Branch 89.4% (118/132) ArkUI 节点基础设施(合并 rnoh_textinput_conv_test + rnoh_textinput_node_test + all-targets): - conversions.h: Line 97.6% (280/287) | Branch 98.6% (205/208) GREEN - ArkUINode.cpp: Line 30.5% (297/975) | Branch 14.7% (23/156) RED - NativeNodeApi.cpp: Line 71.4% (10/14) | Branch 66.7% (4/6) GREEN - NodeApi.h: Line 50.0% (10/20) | Branch 75.0% (3/4) YELLOW - ArkUINode.h: Line 25.0% (5/20) | Branch 50.0% (2/4) YELLOW - NativeNodeApi.h: Line 0.0% (0/1) | Branch — (无分支) - 模块合计: Branch 62.7% (237/378) ArkUI 节点子类(rnoh_textinput_node_test, 104 用例 PASS): - TextInputNode.cpp: Line 52.7% (202/383) | Branch 22.0% (22/100) YELLOW - TextAreaNode.cpp: Line 17.4% (66/379) | Branch 8.3% (11/132) RED - TextInputNodeBase.cpp: Line 46.4% (155/334) | Branch 29.5% (49/166) RED - 模块合计: Line 29.8% | Branch 19.0% RED 任务调度(rnoh_task_runner_test, 11 用例 PASS): - EventLoopTaskRunner.cpp: Line 86.7% (183/211) | Branch 60.0% (18/30) GREEN - ThreadTaskRunner.cpp: Line 95.1% (58/61) | Branch — (无分支) - Timer.cpp: Line 82.5% (33/40) | Branch 100.0% (2/2) GREEN - 模块合计: Line 88.0% | Branch 61.8% (21/34) GREEN JSI/Napi 桥接(rnoh_arkjs_test, 108 用例 PASS): - ArkJS.cpp: Line 68.3% (407/596) | Branch 69.2% (54/78) YELLOW - JsiConversions.cpp: Line 50.7% (35/69) | Branch 66.7% (24/36) YELLOW - 模块合计: Branch 67.8% (78/114) YELLOW JSI/Napi 桥接分支覆盖率从 50.0% 提升至 67.8%(ArkJS.cpp 从 44.9% → 69.2%) ArkUI 节点子类分支覆盖率仍为 19.0% RED(TextInputNode/TextAreaNode/TextInputNodeBase 需 RNOH_BUILD_INCOMPLETE_STUB_TARGETS 才能编译,后续待 stub 完善) Signed-off-by: huangyirong <huangyirong1@h-partners.com> AI[9%] Human Fixed[0%] Human[91%] AI Adopted[100%] Signed-off-by: huangyirong <huangyirong1@h-partners.com> | 2 个月前 | |
chore: resolve react-native 0.88.0 from the npm registry react-native@0.88.0 is now published (2026-10-16), so point every workspace package back at the registry version and drop the temporary vendored tarball packages/react-native-0.88.0.tgz together with the root dependency that only existed to make peer resolution work. Also refresh pnpm-lock.yaml and update the 0.88.0 release notes (zh-CN and EN) plus the project release log to describe the final dependency setup. Verified: install from the committed lockfile and pnpm build:rnoh (assembleHar) both succeed. Co-Authored-By: AtomCode (deepseek-flash) <noreply@atomgit.com> Signed-off-by: 坚果 <jianguo@nutpi.net> | 20 天前 | |
feat: adapt to React Native 0.88.0 Impact: every RNOH app built on the 0.88.0 line. Workspace installs now resolve react-native from the vendored tarball instead of the registry, and the build regenerates the rnoh-hvigor-plugin tarball for 0.88.0. - Bump react-native submodule to v0.88.0 (5c35c82cf) and regenerate react-native.patch against it (applies cleanly, no conflicts) - Vendor react-native 0.88.0 as packages/react-native-0.88.0.tgz: npm has not published react-native@0.88.0 yet, while the @react-native/* 0.88.0 packages are already available (published 2026-10-15) - Point workspace react-native dependencies at the vendored tarball and add it as a root dependency: @react-native/virtualized-lists@0.88.0 pins peer react-native@0.88.0 and pnpm resolves peers from the workspace root, so the missing registry version used to break install - Move pnpm overrides from package.json into pnpm-workspace.yaml, which pnpm 10 actually reads - Skip .tgz in pre-commit checks so vendored tarballs are not rewritten as text (appending a newline to a binary gzip stream) - Sync upstream sources into react-native-harmony and the tester ReactCommon; regenerate the rnoh-hvigor-plugin tarball for 0.88.0 - Bump version references to 0.88.0 across packages, tester configs and lockfiles Verified: pnpm build:rnoh (assembleHar) succeeds. Co-Authored-By: AtomCode (deepseek-flash) <noreply@atomgit.com> Signed-off-by: 坚果 <jianguo@nutpi.net> | 21 天前 | |
chore: resolve react-native 0.88.0 from the npm registry react-native@0.88.0 is now published (2026-10-16), so point every workspace package back at the registry version and drop the temporary vendored tarball packages/react-native-0.88.0.tgz together with the root dependency that only existed to make peer resolution work. Also refresh pnpm-lock.yaml and update the 0.88.0 release notes (zh-CN and EN) plus the project release log to describe the final dependency setup. Verified: install from the committed lockfile and pnpm build:rnoh (assembleHar) both succeed. Co-Authored-By: AtomCode (deepseek-flash) <noreply@atomgit.com> Signed-off-by: 坚果 <jianguo@nutpi.net> | 20 天前 | |
fix(lint): 修复代码合规扫描告警(83文件) G.FMT.12 分号(~149处): 类型声明/对象字面量/return语句/抽象方法补充缺失分号 G.FMT.08 空格(35处): if/=/操作符前后补空格, 删除多余空格, hvigorfile注释前多余空格 G.EXP.02 严格相等(5处): != undefined 改为 !== undefined(HttpClient/AppState/ImageLoader) G.MET.07 一致return(11处): 补充return undefined, return reject改为reject+return, 去除void函数return值 Signed-off-by: jiaxuan_wong <1801330925@qq.com> AI[0%] Human Fixed[0%] Human[100%] AI Adopted[0%] | 3 个月前 | |
chore: resolve react-native 0.88.0 from the npm registry react-native@0.88.0 is now published (2026-10-16), so point every workspace package back at the registry version and drop the temporary vendored tarball packages/react-native-0.88.0.tgz together with the root dependency that only existed to make peer resolution work. Also refresh pnpm-lock.yaml and update the 0.88.0 release notes (zh-CN and EN) plus the project release log to describe the final dependency setup. Verified: install from the committed lockfile and pnpm build:rnoh (assembleHar) both succeed. Co-Authored-By: AtomCode (deepseek-flash) <noreply@atomgit.com> Signed-off-by: 坚果 <jianguo@nutpi.net> | 20 天前 | |
feat: adapt to React Native 0.88.0 Impact: every RNOH app built on the 0.88.0 line. Workspace installs now resolve react-native from the vendored tarball instead of the registry, and the build regenerates the rnoh-hvigor-plugin tarball for 0.88.0. - Bump react-native submodule to v0.88.0 (5c35c82cf) and regenerate react-native.patch against it (applies cleanly, no conflicts) - Vendor react-native 0.88.0 as packages/react-native-0.88.0.tgz: npm has not published react-native@0.88.0 yet, while the @react-native/* 0.88.0 packages are already available (published 2026-10-15) - Point workspace react-native dependencies at the vendored tarball and add it as a root dependency: @react-native/virtualized-lists@0.88.0 pins peer react-native@0.88.0 and pnpm resolves peers from the workspace root, so the missing registry version used to break install - Move pnpm overrides from package.json into pnpm-workspace.yaml, which pnpm 10 actually reads - Skip .tgz in pre-commit checks so vendored tarballs are not rewritten as text (appending a newline to a binary gzip stream) - Sync upstream sources into react-native-harmony and the tester ReactCommon; regenerate the rnoh-hvigor-plugin tarball for 0.88.0 - Bump version references to 0.88.0 across packages, tester configs and lockfiles Verified: pnpm build:rnoh (assembleHar) succeeds. Co-Authored-By: AtomCode (deepseek-flash) <noreply@atomgit.com> Signed-off-by: 坚果 <jianguo@nutpi.net> | 21 天前 | |
chore: resolve react-native 0.88.0 from the npm registry react-native@0.88.0 is now published (2026-10-16), so point every workspace package back at the registry version and drop the temporary vendored tarball packages/react-native-0.88.0.tgz together with the root dependency that only existed to make peer resolution work. Also refresh pnpm-lock.yaml and update the 0.88.0 release notes (zh-CN and EN) plus the project release log to describe the final dependency setup. Verified: install from the committed lockfile and pnpm build:rnoh (assembleHar) both succeed. Co-Authored-By: AtomCode (deepseek-flash) <noreply@atomgit.com> Signed-off-by: 坚果 <jianguo@nutpi.net> | 20 天前 | |
fix: use react-native typescript-config for testerino RN 0.88 moves type declarations into exports conditions, so the @tsconfig/react-native 'node' moduleResolution cannot resolve the 'react-native' type reference. Switch testerino to the official @react-native/typescript-config (bundler + customConditions) like the tester package does. 影响范围: packages/testerino 的 typecheck Co-Authored-By: AtomCode <jianguo@nutpi.net> Signed-off-by: 坚果 <jianguo@nutpi.net> | 1 个月前 | |
feat: adapt to React Native 0.88.0 Impact: every RNOH app built on the 0.88.0 line. Workspace installs now resolve react-native from the vendored tarball instead of the registry, and the build regenerates the rnoh-hvigor-plugin tarball for 0.88.0. - Bump react-native submodule to v0.88.0 (5c35c82cf) and regenerate react-native.patch against it (applies cleanly, no conflicts) - Vendor react-native 0.88.0 as packages/react-native-0.88.0.tgz: npm has not published react-native@0.88.0 yet, while the @react-native/* 0.88.0 packages are already available (published 2026-10-15) - Point workspace react-native dependencies at the vendored tarball and add it as a root dependency: @react-native/virtualized-lists@0.88.0 pins peer react-native@0.88.0 and pnpm resolves peers from the workspace root, so the missing registry version used to break install - Move pnpm overrides from package.json into pnpm-workspace.yaml, which pnpm 10 actually reads - Skip .tgz in pre-commit checks so vendored tarballs are not rewritten as text (appending a newline to a binary gzip stream) - Sync upstream sources into react-native-harmony and the tester ReactCommon; regenerate the rnoh-hvigor-plugin tarball for 0.88.0 - Bump version references to 0.88.0 across packages, tester configs and lockfiles Verified: pnpm build:rnoh (assembleHar) succeeds. Co-Authored-By: AtomCode (deepseek-flash) <noreply@atomgit.com> Signed-off-by: 坚果 <jianguo@nutpi.net> | 21 天前 | |
feat(Upgrade): Upgrading the third-party library of the RN framework 影响范围: - Upgrading the third-party library of the RN framework Closes #3055 Signed-off-by: changlp <chang_leipeng@hoperun.com> | 2 个月前 | |
feat: adapt to React Native 0.88.0-rc.5 - Bump react-native submodule from 0.88.0-rc.2 (215169c51) to 0.88.0-rc.5 (a3249a2e4) - Regenerate react-native.patch against 0.88.0-rc.5; resolved the Button.js / HermesExecutorFactory.cpp / HermesInstance.cpp conflicts (rejected hunks were duplicates of already-applied content) - Sync upstream code into react-native-harmony and tester ReactCommon - Bump hermes submodule to 3477757eb (Hermes 250829098.0.17) - Update version references to 0.88.0-rc.5 across packages, tester configs and lockfiles Verified: pnpm build:rnoh (assembleHar) succeeds. Co-Authored-By: AtomCode (glm5.3-flash) <noreply@atomgit.com> | 22 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 个月前 | ||
| 20 天前 | ||
| 21 天前 | ||
| 20 天前 | ||
| 3 个月前 | ||
| 20 天前 | ||
| 21 天前 | ||
| 20 天前 | ||
| 1 个月前 | ||
| 21 天前 | ||
| 2 个月前 | ||
| 22 天前 |