Canvas restored to the softbuffer present_with_damage path (from
origin/master) + softbuffer dep, on top of the replay-bench harness.
For benchmarking the draw stage against the direct put_image_data path.
The render path converted each dirty region RGBA -> u32 `0RGB`, then let
softbuffer repack u32 -> RGBA into a freshly allocated buffer every frame —
two pixel passes over the whole surface plus a per-frame allocation. Replace
it with the canvas's own 2D context: one copy of the region into a reused
RGBA scratch (alpha forced opaque) followed by put_image_data at the region
origin. softbuffer is dropped from ironrdp-web. Mirrors the same fix in
IronVNC.
Measured with the IRDPREC1 replay bench (dev wasm, headless Chromium), draw
stage median: 4K 1706ms -> 83ms (~20x), 1080p 705ms -> 14ms (~50x), with
byte-identical canvas output (FNV-1a over rendered canvas pixels, now also
reported by the bench harness) and unchanged framebuffer checksums.
Add an IRDPREC1 record/replay benchmark for the client decode/render path,
verified end-to-end on all three consumer frontends — one capture reproduces a
byte-identical framebuffer CRC32 on each.
- Recorder: --record-traffic and --exit-after-secs flags on ironrdp-viewer,
backed by crates/ironrdp-client/src/record.rs (gated server->client tap,
IRDPREC1 manifest, canonical framebuffer CRC32). Captures the active-session
byte stream once connect_finalize returns; manifest/checksum sidecar paths are
derived from the capture path.
- ironrdp-replay-core: shared crate that rebuilds a ConnectionResult from the
manifest so every frontend reconstructs an identical session.
- ironrdp-replay-bench: native replay + determinism/correctness gate.
- .NET: FFI ReplayConnectionBuilder + Devolutions.IronRdp.ReplayBench, replaying
through the real Diplomat decode path RDM uses.
- Web: `bench` feature + run_web_bench in ironrdp-web (per-stage timing) plus a
headless Playwright harness under crates/ironrdp-web/bench-harness.
Design + as-built notes: docs/plans/2026-06-03-ironrdp-benchmark-design.md.
Updates the dynamic virtual channel (DVC) client listener interface in ironrdp-dvc to pass the channel_id (from the incoming DYNVC_CREATE_REQ) into the listener’s create method, enabling listeners to differentiate/control per-instance behavior based on the negotiated dynamic channel ID.
Fixes the client-side QOI decode path in ironrdp-session so RGBA-channel QOI frames are decoded and applied to the framebuffer instead of being dropped, improving interoperability with third-party RDP servers and older ironrdp-server builds that emit RGBA QOI.
Adds Rustdoc documentation to `RdpsndServerHandler`, focusing on the contract for `start()`’s `Option<u16>` return value so implementers correctly compute `wFormatNo` for Wave/Wave2 PDUs.
Bounds the ZGFX compressor's hash table to prevent O(n·table_size) per-frame compaction on incompressible payloads (e.g., already-encoded H.264). Previously, `compact_hash_table` only halved per-prefix position lists without reducing prefix count, so high-entropy input kept the table above the cap and triggered compaction on every literal byte. The fix evicts whole least-recently-seen prefixes down to a low watermark (half the cap), amortizing compaction to O(1) per byte while preserving reachable matches (distance is already capped at `MAX_MATCH_DISTANCE`).
Adds an opt-in implementation of the legacy RDP NSCodec encoder as a standalone crate, and wires it into `ironrdp-server` behind a feature flag so servers can serve NSCodec-only clients (notably macOS Microsoft Remote Desktop / Windows App) without default-build behavior changes.
The cargo-llvm-cov + grcov coverage report pipeline has been broken for
a while and is no longer used. Drop the GitHub Actions workflow, the
`cargo xtask cov` subcommands and module, the pinned tool versions, and
the related `.gitignore` and AGENTS.md entries.
npm's sigstore provenance verification rejected publishing with:
E422 Unprocessable Entity - Error verifying sigstore provenance
bundle: "repository.url" is "", expected to match
"https://github.com/Devolutions/IronRDP" from provenance
Add `repository`, `homepage`, `bugs`, and `license` fields to the
`public/package.json` of both `iron-remote-desktop` and
`iron-remote-desktop-rdp` so the published tarballs satisfy npm's
provenance checks.
`CapabilitySet::BitmapCacheV3(Vec<u8>)` is in the enum, is decoded by
the `BitmapCacheV3CodecID` arm, and is covered in `size()`, but was
missing from both the outer and inner `match` of the `Encode` impl, so
re-encoding a decoded `BitmapCacheV3` capability set hit the catch-all
`_ => unreachable!()` and panicked.
Allow specifying the desired desktop resolution for the RDP session
directly from the command line, mapping to the `desktopwidth` and
`desktopheight` property set entries.
`initiate_file_copy` now advertises **both** `FileGroupDescriptorW` and
`Preferred DropEffect` (`CFSTR_PREFERREDDROPEFFECT`) in the FormatList,
and `handle_format_data_request` short-circuits a request for the latter
with `DROPEFFECT_COPY` (0x00000001 LE).
### Summary
Fixed a Firefox-specific issue where right-clicking inside the remote
desktop canvas could leave the server-side right mouse button state
stuck as pressed.
### Changes
**Input cleanup**
- `onmouseleave` now releases all active inputs through `mouseOut()`
- Added `focusLost()` handling for:
- window `blur`
- document `visibilitychange`
- This ensures inputs are released when the user leaves the canvas,
switches tabs, or the browser loses focus
**Mouse state reconciliation**
Updated `mouseIn()` to compare e`vent.buttons` against tracked
server-side button state.
If the browser no longer reports a button as held, the service releases
it server-side.
This covers:
1. left button
2. right button
3. middle button
Releases are batched into a single `applyInputs` call.
**Listener cleanup**
- Hoisted `captureKeys` so it can be properly removed
- `onDestroy` now removes:
- keydown
- keyup
- blur
- visibilitychange
**Tests**
Added `mouseInput.test.ts` covering:
- `mouseOut`
- `focusLost`
- `mouseIn` reconciliation
- missing-session guards
- release batching
- no-op behavior when no release is required
Mirror the `check features` pattern: expose `cargo xtask fuzz list`
(with `--format github-matrix`) that enumerates fuzz targets by scanning
`fuzz/fuzz_targets/*.rs`, and have the fuzz workflow build its matrix
from that output. New targets dropped into the directory are picked up
by CI automatically, with no workflow edits required.