| fix: restore devtools and modules/vfs with Android/Harmony support - Restore devtools/ from Hippy, keep only android/ohos/native (remove ios/voltron) - Restore modules/vfs/ from Hippy, keep only android/native/ohos (remove ios/voltron) - Update settings.gradle: add back vfs and devtools-integration project includes Co-Authored-By: Claude <noreply@anthropic.com> | 2 个月前 |
| fix(engine): JSVM inspector 动态端口探测 + OpenInspector 失败显性化 真机问题:DevTools 连上后看不到 JS 内容。根因是 OH_JSVM_OpenInspector 写死 9225,而同设备常驻进程(实测 com.huawei.hmsapp.intelligent)占用 127.0.0.1:9225 导致 bind 失败,返回 JSVM_GENERIC_FAILURE(9)(JSVM 打印 "Please check the internet permisson." 为误导性通用提示,与 INTERNET 权限 无关——app 已声明并授予该权限)。 修复: 1. 动态端口探测:CreateInspector 顺序尝试 9225..9234(10 个),取第一个 OH_JSVM_OpenInspector 成功的端口;ConnInspector 的 /json 请求与 ws 中转 url 使用同一实际端口(JSHGetUrlConnection 参数化 port)。释放仍走 OH_JSVM_CloseInspector(env),与端口号无关,动态端口随 env 一并释放。 2. OpenInspector 失败不再静默:CreateInspector 返回 JSVM_Status; EnableScopeDebug(enableDebugFwk=false 延迟路径)失败回调 RUN_SCRIPT_ERROR 带原因(此前无条件回 ok);InitializeScope(enableDebugFwk=true)补 status 日志;SendMessageToJSH 在 debug_conn_ 为 NULL 时丢弃日志带上 inspector_open_status 便于定位。TS 主链路不受影响(调试降级不阻断运行)。 真机验证:9225 被占 → 自动落到 9226 status=0,/json 解析成功, JSHDebugConnection 建立,DevTools 可见 JS 内容。 | 11 天前 |
| fix(engine): JSVM inspector 动态端口探测 + OpenInspector 失败显性化 真机问题:DevTools 连上后看不到 JS 内容。根因是 OH_JSVM_OpenInspector 写死 9225,而同设备常驻进程(实测 com.huawei.hmsapp.intelligent)占用 127.0.0.1:9225 导致 bind 失败,返回 JSVM_GENERIC_FAILURE(9)(JSVM 打印 "Please check the internet permisson." 为误导性通用提示,与 INTERNET 权限 无关——app 已声明并授予该权限)。 修复: 1. 动态端口探测:CreateInspector 顺序尝试 9225..9234(10 个),取第一个 OH_JSVM_OpenInspector 成功的端口;ConnInspector 的 /json 请求与 ws 中转 url 使用同一实际端口(JSHGetUrlConnection 参数化 port)。释放仍走 OH_JSVM_CloseInspector(env),与端口号无关,动态端口随 env 一并释放。 2. OpenInspector 失败不再静默:CreateInspector 返回 JSVM_Status; EnableScopeDebug(enableDebugFwk=false 延迟路径)失败回调 RUN_SCRIPT_ERROR 带原因(此前无条件回 ok);InitializeScope(enableDebugFwk=true)补 status 日志;SendMessageToJSH 在 debug_conn_ 为 NULL 时丢弃日志带上 inspector_open_status 便于定位。TS 主链路不受影响(调试降级不阻断运行)。 真机验证:9225 被占 → 自动落到 9226 status=0,/json 解析成功, JSHDebugConnection 建立,DevTools 可见 JS 内容。 | 11 天前 |
| feat(engine): track devtools-backend third_party headers for offline builds devtools-backend requires asio/websocketpp/nlohmann-json at build time (header-only C++ libraries, referenced unconditionally via connector/ CMakeLists.txt). Previously these were only available via remote fetch from infra-packages.openhippy.com. Apply the same selective-tracking pattern as taitank: - devtools-backend/third_party/.gitignore — allow asio/ websocketpp/ json/ - asio/.gitignore → asio/asio/.gitignore → asio/asio/include/.gitignore: track only asio/include/** (.hpp + .ipp, 655 files / ~4.6 MB) - websocketpp/.gitignore: track only websocketpp/ + CMakeLists.txt + websocketpp-config.cmake.in (98 files / ~0.9 MB) - json/.gitignore: track only single_include/ + include/ + cmake/ + CMakeLists.txt + LICENSE.MIT (48 files / ~1.5 MB) Verified: CMAKE_INFA_PACKAGES_URL=http://127.0.0.1:1/ (unreachable address) → build-engine succeeds, producing flexui_engine.har (79 MB). All four InfraPackage_Add LOCAL paths (taitank, asio, websocketpp, json) hit the local copies, no remote fetch needed. | 1 天前 |
| chore: final build config cleanup and HR filename renames Phase 4 of rebrand — final verification: - HR-prefixed filenames renamed to FR prefix - CMakeLists.txt target/path fixes - build.gradle and build-profile.json5 updates - oh-package.json5 and package.json dependency renames - CLAUDE.md and project docs updated - Global validation: zero hippy/Hippy/HIPPY/HR/tencent references remain Co-Authored-By: Claude <noreply@anthropic.com> | 2 个月前 |
| refactor: rename hippy/Hippy files and symbols to flexui/FlexUI Phase 2 of rebrand: - Rename files/directories with hippy/Hippy in name - Replace all Hippy→FlexUI and hippy→flexui text references - Includes import/include paths, class names, function names, comments Co-Authored-By: Claude <noreply@anthropic.com> | 2 个月前 |