Unione di funzione/decoder-hevc in funzione/senza-terzi (catena della 0.3.0)
Porta in senza-terzi tutta la catena: documenti ed esportazione, S4b, codec delle immagini, H.264 e HEVC. Conflitti risolti tenendo le due parti: CI e Dockerfile di senza-terzi (solo comandi, Febe processo 1, un carattere) senza ffmpeg, che il ramo dei video ha tolto; categoria «da fare» di riepilogo-prove.sh tenuta; decisioni.md con tutte le righe, prima quelle della catena e poi quelle di C6; CLAUDE.md con le righe della CI di C6 senza ffmpeg; prove della pipeline con tutti e due i controlli. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
e4dbc5ad68
919 files changed
+65484
-1299
No files matched your search
@@ -196,6 +196,34 @@ internal sealed class FakeBrowser : IFebeBrowser
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Like Alberto closing the real window «Browser di Febe» (WebView2Host.Done, issue #36, S4b): out of view at once,
|
||||
/// the copy of the session before the page goes back to the engine (a hold keeps it his meanwhile), then the lease ends.
|
||||
/// <paramref name="how"/>: closed, or left minimised too long.
|
||||
/// </summary>
|
||||
public async Task CloseWindowAsync(CancellationToken ct, BrowserWindowLetGo how = BrowserWindowLetGo.Closed)
|
||||
{
|
||||
Hidden++;
|
||||
if (_lease is null || _context.CopyOnWindowClosed is not { } copy)
|
||||
{
|
||||
_lease?.Dispose();
|
||||
_lease = null;
|
||||
return;
|
||||
}
|
||||
|
||||
var hold = UserDriving.Begin();
|
||||
_lease.Dispose();
|
||||
_lease = null;
|
||||
try
|
||||
{
|
||||
await copy(how, ct);
|
||||
}
|
||||
finally
|
||||
{
|
||||
hold.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>The next «Scollega» finds a file held by another process (Windows) and cannot delete the profile.</summary>
|
||||
public bool ProfileLocked { get; set; }
|
||||
|
||||
@@ -244,6 +272,9 @@ internal sealed class FakeCdp : ICdpSession
|
||||
/// </summary>
|
||||
public JsonObject? PageCapture { get; set; } = DefaultPageCapture();
|
||||
|
||||
/// <summary>Called when the copy's evaluation is asked, before it answers (what the test wants to look at then).</summary>
|
||||
public Action? OnCapture { get; set; }
|
||||
|
||||
/// <summary>How many times the copy's evaluation (the one that reads <c>navigator.userAgent</c>) was asked.</summary>
|
||||
public int CaptureReads => Volatile.Read(ref _captureReads);
|
||||
|
||||
@@ -267,6 +298,9 @@ internal sealed class FakeCdp : ICdpSession
|
||||
["comet_req"] = Febe.SitoDiProva.TestSite.CometReq,
|
||||
["ccg"] = Febe.SitoDiProva.TestSite.ConnectionClass,
|
||||
["entry_nonce"] = Febe.SitoDiProva.TestSite.EntryNonce,
|
||||
["spin_r"] = Febe.SitoDiProva.TestSite.SpinRevision,
|
||||
["spin_b"] = Febe.SitoDiProva.TestSite.SpinBranch,
|
||||
["spin_t"] = Febe.SitoDiProva.TestSite.SpinTime,
|
||||
},
|
||||
["docIds"] = new JsonObject { [Febe.SitoDiProva.TestSite.ProfileQuery] = Febe.SitoDiProva.TestSite.DocIds[Febe.SitoDiProva.TestSite.ProfileQuery] },
|
||||
};
|
||||
@@ -366,6 +400,7 @@ internal sealed class FakeCdp : ICdpSession
|
||||
private JsonObject Capture()
|
||||
{
|
||||
Interlocked.Increment(ref _captureReads);
|
||||
OnCapture?.Invoke();
|
||||
return PageCapture is { } page
|
||||
? new JsonObject { ["result"] = new JsonObject { ["type"] = "object", ["value"] = JsonNode.Parse(page.ToJsonString()) } }
|
||||
: new JsonObject();
|
||||
|
||||
Reference in new issue
Block a user