mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-12-05 11:15:01 +03:00
Add thin Web, iOS, and Android mobile hosts, harden the blocksuite-preview Mermaid renderer and Wasm exports, and add S1 release performance probes with CI artifact and native host linking gates. - Preview: use FontPoolWidthMeasurer with variable-font HVAR weight instantiation, integer pixel ceil widths, front-matter theme injection, high-contrast Light and Dark palettes, premultiplied RGBA PNG compositing, and Wasm theme parameters. - Probes and CI: add s1_sqlite_probe and s1_probes release tests, record measured latency and peak RSS in BENCHMARK.md, add timeout-minutes on all np-mobile jobs, upload s1-probes-artifacts, and link Android NDK .so, kotlinc Activity, and iOS Simulator swiftc executable in CI. - Web host: use an offscreen canvas GPU probe, add OAuth redirect-loop and runtime GPU loss guards, restrict embed URLs and sandbox tokens, match /api/auth/captcha Turnstile headers, and launch four independent ES module Blob workers pinned to site root. - iOS host: add affine-ios-host staticlib crate implementing all C-ABI functions with surrogate-pair safe UTF-16 editing, weak DisplayLinkProxy, absolute ime_bottom contract, and in-memory LegacyCapacitorSchemeHandler. - Android host: implement hand-written JNI bridge with absolute ime_bottom logical-dp conversion, predictive and legacy back gesture handling, and a pure Android platform SDK MainActivity and LegacyLocalStorageProbe.