Commit Graph
864 Commits
  • fix(input): validate escaped text against the actual command budget
    The editor could clear 2048 quote characters although escaping exceeded the Native 4096-byte command budget. Measure the complete command before sending and retain oversized text. Core, Native and Browser use the 8192-byte UTF-8 carrier bound; independent queue budgets keep their own names. Static Browser values are compared with compiled Core, with no new WASM hot-path dependency. Real WebCrypto boundary probes, Native compilation and all 2521 Web tests pass.
  • fix(copy): report password setup and storage contention accurately
    Current typed producers distinguish invalid password settings, hashing failure, denied admission and SQLite contention. Match those codes instead of treating any password sentence as a wrong password. RoomStorageInUse stays typed and serializes its code without a redundant room ID. The four Native hosted-room tests and the full 2521-test Web suite pass.
  • fix(audio): preserve microphone off across picture replacement
    A valid Off can arrive with the previous capture ID after the App selects its successor. Apply that request to the existing publication mixer, scoped to its room; enabling still requires the current capture. Resolve a stale Off inside the actor so it preserves the new device and gain. Actual synthetic Native mixer tests reproduce the first candidate overwrite and pass the final behavior; the Browser producer order and Server capture build are verified.
  • fix(channel): discard retired browser host commands before execution
    Carry the existing binding and socket predicate into the serialized BrowserRoomHost turn. Queued work from an old carrier no longer reaches Core or starts an IndexedDB transaction; already-started commits retain their existing lifecycle. Real Chrome/WASM/IndexedDB controls observe zero Core calls for retired queued work and successful current work. No password-rate policy is introduced.
  • fix(native): wait for admitted signaling bytes to be released
    A valid frame arriving behind active room turns formerly caused immediate carrier loss. The independent reader now awaits existing byte permits, preserving the deadline measured from last wire input. One additional decoded bounded frame can wait. Native controls verify ordered delivery, byte refund, exact idle expiry and Ping handling without changing the budget or timeout.
  • fix(channel): keep slow readers from blocking their writer
    Classify signed conversation direction at the verified binding. Member requests keep backpressure toward a busy writer; confirmed replies to an individual reader use normal bounded delivery and cannot stall all writer work. Skip unchanged normalized profile broadcasts and hashes while preserving ACK. Ordered State remains intact because consumers observe lifecycle transitions. Focused real Core and Server controls pass.
  • fix(backup): cancel upload work with its request and session
    A dropped HTTP request could leave its blocking body reader and scratch permit alive. Wake the existing reader on request drop, and stop a room copy when its exact submitting connection ends. The worker still owns scratch through cleanup. Upload cancellation, session leave, healthy copy and restore checks pass; an active authorized slow upload retains its slot.
  • fix(backup): retain export admission until snapshot cleanup
    An unread archive keeps a blocking ZIP worker and temporary SQLite snapshot after copying. Hold export admission through writer completion and cleanup, scoped to the Domain or current App Site permission. Reject a second export before snapshot creation. Actual SQLite/ZIP control verifies unread response, concurrent chat and cancellation; independent permission generations remain independent.
  • fix(server): enable the shared HTTP header deadline
    Pinned Hyper requires a runtime timer for its default HTTP/1 header-read deadline. Configure that clock at the shared HTTP and HTTPS constructor, without adding timeout values. A virtual-time positive regression and real HTTP/TLS/WebSocket/shutdown controls pass. Protocol detection before HTTP/1 classification remains a separate boundary.
  • fix(storage): validate imported password work factors
    PHC verification uses the parameters stored with the hash. The room policy now accepts the Argon2id version and costs it generates, before restoring or reopening it. Validation-only oversized parameter controls avoid unsafe computation; normal password restore, all 13 stored-room and 10 authority tests pass. Real Browser WASM and IndexedDB roundtrip also pass.
  • fix(capture): seed cadence when an ordinary frame changes its limit
    Windows MF reset cadence after already admitting the ordinary frame that triggered a rate reduction. Seed that frame as the software and Linux workers do, retaining forced-frame and event behavior. A deterministic production-policy replay fails on the old 60-to-15 transition and passes; the actual Windows capture test target compiles and links. Hardware output during this transition remains unmeasured.
  • fix(copy): distinguish sharers and public site addresses
    Remote input consent belongs to the selected sharer, voice policy to the room owner, and the launcher public address opens a site without granting room admission. Match existing catalogs, console and bilingual guides to those actual owners. Existing catalog/launcher controls pass, and the terminal assertions track the same labels. No authority or protocol changes.
  • fix(native): read control readiness from the live binding
    A real loopback SDK channel can open before its Driver notification is dequeued; a due deadline then read stale dc_open and retired a usable room lane. Remove that duplicate flag and query DataLink for deadline and resync. Baseline fails the held-notification regression; candidate passes it plus early-room and data-failure controls while media survives. No deadline values change.
  • test(app): cover candidate retirement through page operations
    Extend the existing isolated WebView test through PageRead, PageSelect and actual frame messages, covering frame-first and catalog-first candidate loss. Fix its sample revision. Rust 1.91 compiles the ignored test and 11 noninteractive cases pass. The GUI test and caller mutations were not executed on this machine.
  • fix(capture): expose the shared video tick on macOS
    The first macOS platform build found that the existing capture constant was cfg-gated to the other three platforms. Include the new consumer in that same owner; do not duplicate the clock value. Platform verification continues on the corrected revision.
  • test(app): verify candidate loss at the native reply owner
    Keep pending-candidate retirement and provider error normalization with their existing owners so real oneshot consumers can be tested without constructing a WebView. Restoring the old drop or normalization logic fails the new tests; all eleven Windows candidate controls pass.
  • fix(capture): separate macOS input and refresh timestamps
    Retain the acquisition cursor independently from the last submitted presentation timestamp. A forced static refresh no longer makes a later-arriving captured image appear stale, and Capture outputs retain a distinct RTP tick. The existing macOS workflow now collects both synthetic VideoToolbox source-roundtrip and late-capture controls. Local review is static; the macOS job supplies platform verification before acceptance.
  • fix(app): distinguish saved addresses from site access
    Do not offer new bookmarks for known Quick Tunnel origins. Keep existing entries readable, renameable and removable, and allow replacing them with stable addresses. Empty launchers prioritize opening an invitation and hosting; the star still opens site management, where saving and App approval remain independent. Match Web, native captions and guides across the supported copy catalog. Real HTTP API and Chrome desktop/phone controls pass, including legacy entries, exact provider matching and stable-address saves. Integrated types, build and relevant Web checks pass.
  • refactor(media): share audio and playback buffer limits
    Core and Native share the supported audio-send range; synchronous Web readers and controls share their existing protocol constants and verify room defaults and bounds against compiled WASM. Playback buffer validation and controls use the same existing owner. No range or policy changes. Integrated TypeScript, Web, Core room-policy and capture-enabled Native audio-setting controls pass.
  • refactor(core): expose shared recovery and data framing rules
    The Browser consumes Core recovery and frame limits through the existing WASM boundary, and delegates Watch-frame classification using two scalar header bytes. Static startup schemas remain synchronous and one compiled-Core comparison verifies their six mirrored values, replacing source-text parsing. WASM, current Session controls and Web validation pass; no protocol value or preparation deadline changes.
  • test(capture): retain the forced-frame cadence regression
    Exercise the production software VP8 worker after exactly one policy sample window, with ordinary and forced transition controls. Reverting the cadence repair loses the next frame only in the forced arm. The default Native capture test entry collects this test; all three software controls pass on Windows with synthetic textures.
  • fix(app): report a detached webpage candidate at its owner
    The page bridge now reports candidate loss before the next catalog update, and catalog pruning settles pending reads with the same existing outcome. The Browser can preserve a confirmed original-page replacement without treating a missing video as a closed page. The real JS bridge regression fails on the baseline; 25 bridge tests and nine Windows capture-enabled candidate tests pass. Packaged WebView interaction remains separate.
  • feat(sdk): answer direct mentions in the Piika support example
    Extend the existing room participant example with one quoted FAQ reply for a structured mention or notified reply. The example preserves report commands and subscription cleanup, links to the matching 3.0 guide, and adds no Bot-specific authority or service. Fourteen offline handler and SDK controls and TypeScript pass; no online messages were sent.
  • fix(ui): keep room controls usable through layout changes
    The shared room sweep fixes narrow stage sizing, caption overlap, covered chat reads, phone history, focus restoration, settings error placement and row alignment at their existing owners. Room and Network settings share one draft and save action. The two shell stylesheets are consolidated; hidden current-room links and obsolete grid rules are removed. The handbook, matching guides and four generated room screenshots follow the shared components.
    
    Chrome 156 interaction checks covered both themes, 320px phones, short windows, classic scrollbars, native-caption simulation, eight retained players, nested Back/Escape and room-tool popout. Full Web validation passed 2485 cases and exposed one assertion on removed hidden local-preview text; the preview identity now lives in the player accessible label and all 15 affected playback/layout checks pass. TypeScript and Browser SDK types pass. Actual WebView caption dragging and physical mobile capture are outside this browser check.
  • fix(capture): keep forced frames outside ordinary cadence resets
    Match the existing forced-frame admission contract when software encoding changes its frame-rate limit. A fresh keyframe remains part of input/bitrate measurement without consuming the ordinary cadence slot. Synthetic D3D11 input through the actual Windows H.264 and VP8 workers reproduced the skipped next frame on the baseline; six controls pass with the change, including ordinary rate changes, refresh timestamps and worker retirement.
  • fix(capture): contain late Media Foundation callback failures
    Complete the outstanding event request before checking the encoder state. A stopped or poisoned worker returns MF_E_SHUTDOWN at the COM boundary while the IPC owner retains the original thread failure. A real Media Foundation event queue reproduces the baseline process abort and verifies normal, failed and late callbacks; the three existing worker failure controls also pass.
  • refactor(media): derive presentation steps from the shared RTP clock
    Three adapters expressed the same minimum video RTP increment independently. Derive the nanosecond floor from the installed RTC SDK frequency and round to each adapter resolution: 112 Windows 100 ns units, 11112 Linux nanoseconds and 12000 Android nanoseconds. Five Windows clock/codec controls, the host Android worker replay and ARM64 compilation pass. Linux is statically equivalent; the existing GStreamer result was not rerun.
  • fix(examples): use the chat renderer supported by the support bot
    The production message renderer intentionally leaves Markdown headings as literal text. Use a plain title in the existing support reply, preserving the copyable code template, reply target and underlying SDK behavior. Rendering was checked without changing the system clipboard.
  • fix(capture): observe codec thread exit from the IPC owner
    A returned or panicked Windows codec worker could leave its parent waiting for another read command. Thread lifetime now wakes the owning IPC loop, which stops and joins it through the existing result path. IPC access to poisoned codec state yields EncodingStopped so join retains the original panic. Tests cover idle exit and a command already blocked on the codec mutex; existing sibling voice RTP remains live.
  • fix(routing): retain selected forwarding when a personal limit shrinks
    The existing budget could keep a preparation-only downstream and reject the selected screen leg solely because of UUID ordering. When the personal limit decreases, current selected media uses lead among already admitted peers of their kind. Ownership, immediate limits, per-kind accounting and shared pairs remain unchanged. All 142 Core library tests and the rebuilt WASM regression pass with both UUID orders.
  • fix(obs): validate external H264 chroma before source admission
    Real libx264 High 3.1 monochrome and 4:2:0 streams share their profile-level prefix. Prefix-only admission accepted the former although the desktop decoder rejected it. Reuse the SPS parser and shared 8-bit 4:2:0 predicate for external input, retaining MIME-based VP8 dispatch and packet-forwarding scope. Exact integrated source matches the compiled candidate; 28 incoming, parameter-set, external-input and decoder controls pass, including real loopback RTP error ordering.
  • fix(sdk): settle signed receipts during connection close
    A real local WebSocket control reproduces chat confirmation arriving after reconnect starts its close handshake but before socket close. Accept a matching in-flight signed reply until the existing close handler retires its pending owner; still discard live broadcasts while closing. All six text-participant tests and the SDK typecheck pass. Genuinely lost receipts keep their unknown outcome and explicit same-nonce retry.
  • fix(android): separate captured frames from refreshed presentations
    The actual Android worker replay reproduced a static keyframe refresh advancing recv_after beyond a newly arrived capture. Track raw acquisition separately from successful EGL submission, matching the existing Windows/Linux boundary. MediaCodec whole-microsecond output needs at least 12 us to advance a 90 kHz RTP tick. The production-loop replay covers late, sub-tick and previously dropped captures; the exact ARM64 source passes cargo check. Physical MediaCodec output remains unmeasured.
  • fix(updater): retain cleanup identity through partial removal
    After record transfer, the handoff record owns retirement. Remove verified payloads before the plan, and permit only the remaining recorded entries when retiring an old program copy. Active installation checks still require the complete layout; unknown files and reparse points stay protected.
    
    Real Windows sharing violations reproduced both a missing plan after failed helper launch and a partially removed previous bundle. All 17 updater checks pass, including unlock and retry plus preservation of user-added files.
  • fix(input): map Windows pointer moves to the viewed pixel
    Use the Viewer picture fraction to select a source pixel, then target its integer Win32 interval after virtual-desktop translation. Keep pixel-centre placement and the producer rounding demonstrated by an actual rotated picturePoint sample.
    
    The complete Windows Native module compiles and its focused regression passes. The equivalent maintenance fix is 5dbc6fee. This does not claim to repair the distinct SendInput button rejection under issue 502.
  • refactor(nat): let the RTC retain prepared remote candidates
    The pinned SDK accepts authenticated remote candidates before remote credentials arrive. Add the candidate in the existing socket-adoption turn and remove the extra engine slot and delivery branch.
    
    Real bidirectional SCTP verifies both peers adopting before delayed SDP and selecting their authenticated tuples. Driver controls retain STUN-only early stop, bounded preparation with TURN configured, and rejection of a stale instance result. The full Native, Server and Web/WASM protocol gate passes.
  • refactor(ui): replace the old layouts with one living room shell
    Full and minimal are two forms of the same room, with shared players, conversation and voice lifetimes. The room list now discloses room membership; the couch owns current-room interaction and the people panel keeps the site-wide directory. Retire the old workspace and quick branches and their private preference values without aliases.
    
    Keep remote-input state mounted when its picture is hidden and expose requests directly on narrow cards. Preserve the common menu in the rail, relocate the voice-name style to its surviving owner, and regenerate guide screenshots from the production room view. Real room voice/draft controls, responsive media-node checks, types and the full Rust/Web/protocol gate pass. Existing Git-heavy Web fixtures pass when rerun serially after parallel timeout.
  • fix(updater): reclaim the registered interrupted download
    Register download ownership before creating its workspace, reclaim it under the existing App data lock, and transfer the record atomically to the existing installer handoff. Retained installation recovery stays independent. Portable installs use the registered original location; failed optional cleanup does not stop the App.
    
    A forced-exit control reproduced a partial orphan package. Fifteen Windows updater tests pass, including moving the portable bundle with the old workspace present or absent, retained handoff preservation, a locked record, retry, cancellation and shutdown.
  • fix(capture): preserve fresh Linux frames after a static keyframe
    Admit ordinary frames using their raw capture time while forced refreshes leave cadence unchanged. Record raw and presentation times only after successful submission, and keep local submissions at least one 90 kHz RTP tick apart. Source timing keeps its existing contract.
    
    The real x264 worker reproduces the missing first image, the sub-tick collision and a budget-dropped image mistaken for a replay. Updated production regressions reject the old paths and pass while ordinary frame limiting remains effective. Physical capture and other encoders were not measured in this control.
  • refactor(sdk): share the writer-result classification
    Use the same result-kind predicate for request deadlines, binding retirement and signed completion. This removes a repeated condition without changing any deadline or externally visible outcome. Existing SDK and lifecycle tests pass.
  • fix(routing): distinguish connection repair from picture failure
    Retiring a physical pair does not declare its subscribed picture failed. Existing bounded repair keeps the viewing intent, and the shared surface shows neutral waiting until an input is assigned. Actual media-flow failures retain their warning through replacement and clear only on current decoded proof.
    
    Verified through Authority, writer and state integration, the existing room decoded-proof regression, and actual Core states decoded by Browser and rendered by Stage. No wire field, route algorithm, retry timer or budget is added.
  • refactor(chat): share committed reply and broadcast selection
    ConversationOutcome owns the direct replies and optional live broadcast for both room writers. Browser retains current-binding checks and reads current recipients after direct completion; Native retains its local-session filter. Deletion keeps recipients captured by the committed removal.
    
    Removes per-record Browser JSON/WASM classification without changing wire records or stores. New WASM and IndexedDB controls, Native two-reader WebSocket delivery, SQLite deletion and focused SDK tests pass; the integrated Browser package and types were rebuilt.
  • refactor(nat): prepare candidates on the original RTC connection
    Start bounded Native preparation beside ordinary ICE on the Core-authorized pair, with both ordered STUN surveys running concurrently. Adopt the authenticated socket and its reader into the same Runtime turn, preserve ICE/DTLS identity and existing deadlines, and retire only optional preparation on refusal, failure or queue pressure. Remove the replacement-attempt state, deferred normal signaling and old prepared-socket constructor.
    
    Domain 54 rejects mismatched private clients because initial UDP signaling and failure semantics change. Rust and Web constants move together; App 27 and stored formats do not change. The equal-step classifier, packet/socket budgets and ordinary routing policy are retained. TURN provenance remains bounded unknown when it cannot be proved.
    
    The matched sequential-NAT control delivers H.264, Opus and a verified file on the original pair. Core, Native, Server, Web/WASM and protocol gates pass; Android ARM64 and x86_64 JNI compile/link and ELF checks pass. The real Native Session fixture now acknowledges actual binding/revision output rather than waiting again for an already received sibling reply. The full Web suite passes 2451 checks. Established TURN migration and public network rates remain explicit acceptance work.
  • fix(native): deliver acknowledged registration results after disconnect
    Once the authority Ack has arrived, the queued binding query and reply belong to the local caller. Run it despite carrier loss and settle it from the original current slot; replacing or retiring that slot still fails only its old replies.
    
    The regression uses real Core HostRegister/HostBound/Sync/Ack output while holding the preceding room completion. The baseline reports room_unavailable after carrier loss; the candidate succeeds while same-ID replacement continues to fail. All twenty product Session checks pass without warehouse probes.
  • fix(terminal): name the launcher retry action after site failure
    Keep the existing O command and launcher-owned state. A confirmed site startup failure now names the retry action, while a status-read error retains the ordinary launcher action. The five existing terminal rendering and input tests pass.
  • test(app): exercise conditional ranges through the actual router
    Use the existing headless App HTTP fixture to verify complete responses for stale If-Range, ordinary partial ranges, and unaffected discovery and authorized launcher routes. The foreign-origin launcher request remains forbidden and the test joins service shutdown. No product-only observation hooks are added.
  • fix(sdk): complete conversation work from its writer outcome
    Apply the existing signed conversation boundary to the Node participant: transport acknowledgements and live observer records do not finish pending writer work, and a contradictory signed terminal fails that request without emitting a false confirmation. Reuse the existing pending expectation rather than another operation registry.
    
    The public deletion control reproduces the prior room_reply rejection on a real loopback WebSocket with Core WASM. All nineteen SDK and lifecycle tests pass and source types remain valid.
  • fix(native): settle retired room registrations at their original owner
    Move the matched registration replies into the old room query when Ack arrives, using LocalAnswer for skipped or retired work. Derive hosting readiness after current events and completions so removing a failed reservation can finish admission. The new non-serialized interleavings cover same-ID replacement, a late failing reservation and fresh-session open failure.
    
    Welcome discovers files on an owned blocking task and reuses identities from still-open room owners instead of reopening their locked SQLite files. Unknown paths keep existing identity and duplicate checks. Document the signaling budget as session-wide across carriers, without a new ready state or recovery timer.
    
    The final Windows candidate passes 40 capture Session checks and 214 full no-capture Native checks with two existing manual tests ignored. A controlled exclusive SQLite transaction reproduces the old recovery wait; the candidate returns before the lock is released. Integrated Server library checks pass all 123 cases.
  • fix(media): validate the VP8 keyframe header before forwarding
    A frame-type bit alone cannot establish the first decodable input. Check the RFC 6386 uncompressed keyframe header, sync code, dimensions and first-partition bounds before ending keyframe wait. Malformed replacement keyframes re-enter the existing recovery path; no decoder or adaptation policy is added.
    
    Six targeted VP8 controls pass with real encoded samples, delta and reorder recovery, metadata and VP8-to-H264 switching. The queue control keeps a three-byte frame from producing SourceReady or Forwardable. Header validity is not reported as a decoder result.
  • fix(server): print the running build identity at startup
    Fulfill the versioning contract using the same compile-time version and revision already read by the update checker. Print synchronously before any optional network notice, including development builds. The Server library checks compile and pass with the shared reader.