| Files | Last commit | Last update |
|---|---|---|
[Feature] Add MONITOR and OBSERVE as internal INFO sublevels Filter LOGM and LOGO at entry and reuse the existing INFO output path. Encode the INFO sublevel in the high 16 bits of an internal configuration value, reserving zero for original INFO and using nonzero values 5/10/15. Reuse existing setters. Decode and update platform thresholds in private helpers before synchronizing native logging. Keep Darwin sublevel macros, constants and their accessor in a private header outside the public header list. Preserve client level enums, six-level getters and output callbacks. Decode INFO sublevels before caching the default platform output threshold. TEST: Java JNI, OC and ETS entry checks passed with platform stubs, including platform/native threshold agreement. iOS Simulator SDK syntax and separate public/private Objective-C header checks passed. Podspec header classification and both API metadata passes succeeded. Common native filtering is unchanged from the previously passing Debug and Release suites (14 tests each). Four focused CDP tests also passed through the actual default platform setter, including MONITOR/OBSERVE filtering and original six-level getter values. AutoSubmit: True SkipChecks:macro | 1 month ago | |
[Feature] LynxBase component uses ServiceAPI to manage Service implementations on the darwin side. After the Service API was moved to a lower layer with independent dependency capabilities, in order to reduce maintenance costs and code redundancy, LynxBase now uses the Service API to manage Service injection and access. AutoSubmit: True | 1 year ago | |
[Optimize][iOS] Pin lynx_version on internal pod dependencies Add explicit lynx_version constraints to the internal subspec dependencies (LynxBase/Framework, LynxServiceAPI/Core, LynxServiceAPI/Native) so each pod locks onto the matching revision instead of resolving to an arbitrary published version. | 15 days ago | |
[Feature] LynxBase standalone -- Migrate Lynx Log implementation to the Lynx Base library This change centralizes the logging mechanism by migrating platform-specific log implementations into the LynxBase library. 1. Android: a. Migrated LLog.java to LynxBase and renamed it to LynxLog.java. b. Migrated logging_android.h and logging_android.cc to the LynxBase library. c. Added the AbsBaseLogDelegate class to serve as the platform log proxy. d. Handles log initialization within LynxBaseEnv. 2. Darwin: a. Migrated LynxLog.h and LynxLog.mm to the LynxBase component. b. Migrated logging_darwin.h and logging_darwin.mm to the LynxBase library. c. Handles log initialization within LynxBaseEnv. 3. HarmonyOS: a. Migrated LLog.ets to LynxBase and renamed it to LynxLog.ets. b. Migrated logging_harmony.h and logging_harmony.mm to the LynxBase library. c. Handles log initialization within LynxBaseEnv. 4. Windows: a. Migrated lynx_log.h and lynx_log.cc to the LynxBase library and rename logging_headless.h and logging_headless.cc. b. Handles log initialization within LynxBaseEnv. issue:m-6736726571 SkipChecks:macro AutoSubmit:true | 1 year ago | |
[Feature] LynxBase standalone -- Migrate Lynx Log implementation to the Lynx Base library This change centralizes the logging mechanism by migrating platform-specific log implementations into the LynxBase library. 1. Android: a. Migrated LLog.java to LynxBase and renamed it to LynxLog.java. b. Migrated logging_android.h and logging_android.cc to the LynxBase library. c. Added the AbsBaseLogDelegate class to serve as the platform log proxy. d. Handles log initialization within LynxBaseEnv. 2. Darwin: a. Migrated LynxLog.h and LynxLog.mm to the LynxBase component. b. Migrated logging_darwin.h and logging_darwin.mm to the LynxBase library. c. Handles log initialization within LynxBaseEnv. 3. HarmonyOS: a. Migrated LLog.ets to LynxBase and renamed it to LynxLog.ets. b. Migrated logging_harmony.h and logging_harmony.mm to the LynxBase library. c. Handles log initialization within LynxBaseEnv. 4. Windows: a. Migrated lynx_log.h and lynx_log.cc to the LynxBase library and rename logging_headless.h and logging_headless.cc. b. Handles log initialization within LynxBaseEnv. issue:m-6736726571 SkipChecks:macro AutoSubmit:true | 1 year ago | |
[Feature] LynxBase standalone -- Integrate all modules with the standalone LynxBase library Refactors the codebase to make LynxBase a fully independent component, meeting the dependency requirements for all modules. This commit completes the integration of all modules with the `LynxBase` library. Key Changes: 1. Refactor Lynx Log: a. Removed `LLog` implementations (`.java`, `.ets`, `.mm`) from the `lynx` module, forwarding all public APIs to the `LynxBase` library. b. On Android, replaced unused `ILogDelegate` and `ILynxLogService` with `BaseLogDelegate` to bridge the host-injected `AbsLogDelegate`. c. Adapted `LynxLogService` on Android, Darwin, and HarmonyOS to inherit from the `ILynxBaseLogService` interface and be injected via `LynxBaseService`. d. Replaced `logging_android.cc` and `logging_darwin.cc` in the `lynx` module with the implementations from `LynxBase`. 2. Implement Base Trace: a. On Darwin and HarmonyOS, implemented and injected `LynxBaseTraceService` during `LynxEnv` initialization, allowing `LynxBase` to retrieve the trace backend from the service. b. Replaced the `TRACE_EVENT` macro with the internal `BASE_TRACE_EVENT` macro within the `LynxBase` library. 3. Adapt Build System: a. Removed dependencies on the `base` submodule from GN projects. b. On Android, configured all modules to dynamically link the `lynx_base` library and depend on the `LynxBase` component at the platform level. c. On iOS, updated all Podspec targets (e.g., `Lynx`, `LynxDevtool`) to depend on the `LynxBase` podspec instead of `base` source files. d. On HarmonyOS, switched all modules from statically linking `base` source to dynamically linking the `lynx_base` library and depending on its HAR package. e. On Windows, established a static dependency on the `base` static library. f. Configured unit test modules to statically depend on the `base_static` library. 4. Update LynxEnv Initialization: a. Removed legacy `LLog` initialization logic. b. Added injection logic for the `LynxBase` Trace service on Darwin and HarmonyOS. c. Added calls to initialize `LynxBaseEnv` on all platforms. 5. Android Specific: Removed calls to `fml::MessageLoopAndroid::Register(env)` from outside the `LynxBase` library. 6. Symbol Management: Exported necessary symbols from `LynxBase` to support dynamic linking across all components. issue:m-6736726571 SkipChecks:macro AutoSubmit:true | 1 year ago |
| Files | Last commit | Last update |
|---|---|---|
| 1 month ago | ||
| 1 year ago | ||
| 15 days ago | ||
| 1 year ago | ||
| 1 year ago | ||
| 1 year ago |