Extract platform policy catalog

This commit is contained in:
2026-06-05 11:39:21 +02:00
parent ab3637af9c
commit b1d71f2621
9 changed files with 401 additions and 100 deletions

View File

@@ -739,6 +739,14 @@ powershell -ExecutionPolicy Bypass -File scripts\automation\apple-remote-build.p
and cloud browse-dialog curl sites now consume the same default platform TLS
policy helper in `pp_platform_api` instead of spelling Android branches
locally;
retained platform-family decisions for exported-image publishing,
persistent-storage flushing, document browse roots, working-directory picker
availability, prepared-file target planning, work-directory collection export
policy, PPBR data-directory override policy, SonarPen availability, live
asset reload policy, recording cleanup policy, default canvas resolution, and
canvas tip visibility now live in the tested `platform_policy` catalog and
are consumed by both `WindowsPlatformServices` and the retained non-Windows
fallback;
Windows
live app execution now uses injected
`WindowsPlatformServices` from
@@ -908,7 +916,8 @@ powershell -ExecutionPolicy Bypass -File scripts\automation\apple-remote-build.p
- `pp_platform_api_tests` covers service dispatch for clipboard read/write,
empty clipboard writes, cursor visibility, virtual-keyboard visibility,
external file display, file sharing, VR lifecycle, layout/asset file load
policy, and picker callbacks without platform SDK headers or a window.
policy, platform-family export/storage/browse/prepared-file/canvas policies,
and picker callbacks without platform SDK headers or a window.
- `pp_app_core_document_cloud_tests` covers cloud upload no-canvas,
new-document warning, clean publish prompt, and dirty save-before-upload
decisions, plus cloud browse no-canvas/show-browser and selected-download
@@ -1025,8 +1034,9 @@ Known warnings after the current CMake app build:
should shrink as app painting and document behavior consume `pp_paint` and
`pp_document` directly. Shared `canvas.h` no longer owns the platform
`CANVAS_RES` macro; default canvas allocation now asks `PlatformServices`,
preserving the WebGL 512 default in the legacy fallback while DEBT-0057
tracks moving that policy into an injected Web platform service.
preserving the WebGL 512 default through the tested `pp_platform_api`
platform policy while DEBT-0057 tracks moving that policy into an injected
Web platform service.
- `pp_legacy_engine` intentionally contains retained legacy runtime shell
sources for now, so it concentrates existing legacy tablet, video, HMD, log,
and low-level utility warnings until those paths move to cleaner component