Allow connecting to a Hyper-V virtual machine (VMConnect) by setting the
new `vmconnect` field of the connector `Config` to the target VM ID.
When set, the connection sequence follows the flow expected by Hyper-V
hosts instead of the regular one:
1. A V2 preconnection blob containing "<vm-id>;EnhancedMode=1" is sent
(new `PreconnectionBlob` initial connector state).
2. The security upgrade (TLS) and CredSSP are performed immediately.
3. The X.224 connection initiation is only performed afterwards, over
the secured channel, without a routing cookie.
The regular (non-VMConnect) sequence is unchanged.
Additionally, the extended client info packet now always encodes the
auto-reconnect cookie length (empty when unset) and the reserved1 and
reserved2 fields once the performance flags are present, as some servers
(e.g. Hyper-V hosts) expect them. The decoder already accepted them.
The `--vmconnect <ID>` CLI option is added to ironrdp-viewer, and a
`vmconnect` config setter is exposed through the FFI.
https://claude.ai/code/session_01YR2dvq8AVtyMb6F4XKeZAZ
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.