Commit graph RynthCore/tools/EngineSettingsTests
Author SHA1 Message Date
Daniel Wallace
2225b90b2c Plugin API v94: renumber the web panel after upstream's v93
Upstream release 2026.11.8.1 took v93 for GetMonsterHealth. The web panel's four slots now follow
GetMonsterHealthFn in the engine table and the SDK's RynthCoreApiNative, and the web panel is v94:
PluginContractVersion.Current, RynthCoreSdkApiVersion, HasWebPanel (Version >= 94), the comments,
docs/WEB_PANEL.md, the changelog and PluginManifestTests (HasWebPanel version cases, slot names).
Still provisional: unmerged upstream branches also use 94.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 13:13:05 -08:00
Daniel Wallace
388f3fd908 Web panel host fix round 1: non-fatal process kinds, late failures, thread restart, focus and permission guards
- ProcessFailed: only BrowserProcessExited (teardown) and RenderProcessExited (about:blank, recreate on the next Open) fail the panel, as WebView2's docs describe the kinds; GPU, utility, sandbox, PPAPI and frame-only renderer exits are logged only. RenderProcessUnresponsive fails it at 3 reports within 30 s. The handler acts on the panel being served now.
- Fail decides "ignored" under the lock first and hides the panel only when the failure is live: a late failure for a superseded handle no longer hides the newer panel.
- The panel thread's finally restarts the thread when an Open is still queued and the host is not shutting down; _threadDone goes false only after StartStaThread returns.
- Show takes the foreground only when a window of this process (or of this panel's WebView2 browser process) holds it, never while the foreground is null. The visibility rule counts the browser process (CoreWebView2.BrowserProcessId) as ours, so the page's own dialogs do not hide the panel.
- ClipboardRead is allowed only for an allowlisted origin. NavigationStarting and NewWindowRequested fail closed on an exception.
- WebPanelApiRules: the ABI glue's pure parts (refusals, GetState Size check, state write), tested in WebPanelTests with WebPanelNativeArgs. WebPanelApi.LiveHandle and the browser pid in Describe for Task 4.
- Harness: GpuProcessCrashKeepsPanel and LateFailureForSupersededHandle (both RED before the fix), UnloadWhileVisibleCollected reports UNVERIFIED when the window was not visible, the game-side key count is informational. EngineSettingsTests: WebPanel default-on round trip and setter case.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 13:09:14 -08:00
b1c182b05d Snapshot for release 2026.10.31.4 (internal 34cea02) 2026-11-01 18:47:28 -05:00
44074df011 Snapshot for release 2026.10.19.1 (internal fa7a8f6) 2026-10-19 09:11:20 -04:00
a57049d931 Snapshot for release 2026.10.15.6 (internal 6fd9478) 2026-10-15 23:44:38 -04:00
516ad2bdf2 Snapshot for release 2026.10.15.2 (internal 9094d68) 2026-10-15 20:32:34 -04:00
1d86acdf27 Snapshot for release 2026.10.13.1 (internal 90a2f4a) 2026-10-13 14:25:48 -04:00
b0f9d74b21 Snapshot for release 2026.10.12.1 (internal ef4d41d) 2026-10-12 00:33:12 -04:00
08b80eed86 Snapshot for release 2026.10.11.1 (internal 4eca83a) 2026-10-11 15:00:53 -04:00
abf9146a5b Snapshot for release 2026.10.6.1 (internal 1cbe514) 2026-10-06 08:47:11 -04:00