| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[Feature] Add per-file gate to skip redundant bytecode generation - What changed: Add an optional "continueGeneration(jsName, md5)" gate to the bytecode generation path. When a LynxBytecodeCallback (Android) or LynxBytecodeContinueBlock (iOS) is supplied, JsCacheManager consults it once per decoded js file right before generating that file's bytecode. Returning false skips the file so it is neither generated nor returned; returning true keeps the previous behavior. A run where every file is skipped is reported as success instead of a generation failure. - Why it was needed: postJsCacheGenerationTask decodes a compiled template.js into many internal js files and, in callback mode, hands all generation to the external owner. When only template.js changes but its inner js files do not, the owner previously had no way to avoid regenerating bytecode it already holds. The md5 of each file's source content is a stable, content-addressed dedup key that native already computes, so the gate lets the owner skip by md5. - How it was verified / impacts: Backward compatible. On Android the new interface method is a default method returning true, so existing callbacks compile and behave unchanged. On iOS the gate is a new optional block and a new postJsCacheGenerationTask:callback:continueGeneration: overload; the existing callback overload forwards with a nil gate. Core, facade, and both platform entry points thread the optional gate through; a null gate always generates. AutoSubmit: True | 2 天前 | |
Revert "[Feature] Add text-spacing-trim CSS integration for Textra" This reverts commit eabd714d | 1 天前 | |
[Feature][Embedder] Allow hosts to configure the default page background Add a builder C API and C++ wrapper for a non-premultiplied ARGB default background. Apply it to windowless, Windows and macOS views, preserve it across page resets and recycling, and allow page CSS to override it. Keep the existing platform defaults when unset. TEST: Two LynxViewBuilder tests and the PageView reset/recycle regression passed. Compiled the macOS renderer and page implementation, checked a standalone consumer against exported headers, and passed formatting and diff checks. | 3 天前 | |
[Optimize] Clean GN file Let's not mix files inside and outside `public`, and do put them in alphabetic order. | 9 个月前 | |
initial commit | 1 年前 |