Remove GccError, McsError, RdpError, SecurityDataError,
ClusterDataError, NetworkDataError, CoreDataError, InputEventError,
ClientInfoError, CapabilitySetsError, SessionError, and ChannelError.
All encode/decode functions had already been migrated to use
DecodeResult/EncodeResult from ironrdp-core, leaving these error types
as dead code.
Adds automatic caller location capture to `ironrdp-error::Error<Kind>` using `#[track_caller]` + `core::panic::Location::caller()`, and surfaces that location in the `Display` output while keeping `Debug` stable for cross-platform snapshots.
Adds RDPDR virtual printer redirection for web sessions, enabling the web client to announce a redirected printer, receive server print jobs over RDPDR, and deliver completed PostScript jobs to a browser callback.
Adds a new CLI flag to prevent remote session locking by injecting fake
mouse movement events when the connection is idle, similarly to
FreeRDP's equivalent option.
Replace the per-depth supportedColorDepths bitmask with an unconditional
BPP32 | BPP24 | BPP16 | BPP15, following FreeRDP's approach of treating
the field as a capability set rather than a preferred-depth indicator
(libfreerdp/core/settings.c).
The preferred depth is expressed via the two dedicated fields:
- highColorDepth: now derived from the configured depth (15 →
Rgb555Bpp16 / 0x0F, 16 → Rgb565Bpp16 / 0x10, else Bpp24 / 0x18),
matching FreeRDP's ColorDepthToHighColor()
- WANT_32_BPP_SESSION earlyCapabilityFlag: unchanged, set only for 32bpp
Previously, a client configured for 24bpp advertised BPP24 only. Modern
Windows hosts (Server 2012+) dropped 24bpp RDP support and reset the
connection instead of negotiating down, leaving no usable depth. With
all four bits always advertised the server can freely negotiate to the
highest depth it supports.
ironrdp-rdpfile:
- ErrorKind::InvalidValue and UnknownType now carry the property key
- ErrorKind::MalformedLine carries no data (no risk of leaking secrets)
- ErrorKind::InvalidValue carries no value (no risk of leaking secrets)
- Line numbers are 1-based in all errors
ironrdp-cfg:
- Add GatewayUsageMethod, GatewayCredentialsSource, AudioMode proper
enums with TryFrom<i64> and corresponding Unknown* error types
- Add TargetAddr / TargetHost types with full IPv6 bracketing support;
ParseTargetAddrError is a Copy enum (no allocation, no sensitive data)
- Add 15+ new PropertySetExt methods: full_address,
alternate_full_address, server_port, domain, enable_credssp_support,
compression, gateway_usage_method, gateway_credentials_source,
gateway_username, gateway_password, desktop_width/height/scale_factor,
alternate_shell, shell_working_directory, redirect_clipboard,
audio_mode, kdc_proxy_name, kdc_proxy_url
ironrdp-client:
- Two-phase config parsing: PartialConfig (phase 1, no prompts) and
into_config() (phase 2, interactive prompts + strong typing)
- Logger is set up right after PartialConfig::parse_from(), before phase
2
- New --dump-rdp <path> flag: writes merged PropertySet as .rdp file and
exits immediately (between phases, no session started)
- Map .rdp file properties to Config fields: gateway host/method/creds,
desktop dimensions, clipboard redirect, audio mode, alternate shell,
shell working dir, KDC proxy, compression, CredSSP toggle, domain
- Config.kerberos_config wired through both connect() call sites
- initial_window_size derived from config desktop dimensions
- Update README with supported .rdp properties and precedence rules
Adds support for slow-path graphics and pointer updates to IronRDP, fixing connectivity issues with servers like XRDP that use slow-path output instead of fast-path. The implementation parses slow-path framing headers and routes the inner payload structures through the existing fast-path processing pipeline by extracting shared bitmap and pointer processing methods.
Adds a new CLI flag to control the initial RDP “desktop scale factor” sent during connection setup, enabling display scaling (useful for HiDPI/4K setups) similarly to FreeRDP’s scaling option.
Add wire-format types for RemoteFX Progressive Codec (MS-RDPRFX
Progressive Extension) and the computational primitives required for progressive refinement.
Fixes a crash when the server sends Auto-Detect Request PDUs during an
active session. After #1176 added ShareDataPdu::AutoDetectReq routing,
these PDUs decode correctly but hit the catch-all error path in the x224
processor: "unhandled PDU: Auto-Detect Request PDU".
The core rule is: a method belongs in the base API (UserInteraction /
Session / SessionBuilder) if the web component itself needs to call it
for transparent behaviour, or if the feature is universal across all
remote protocol backends. Protocol-specific concepts must go through the
extension mechanism instead.
Wires missing bitmap pixel formats (8/15/24bpp) into the session rendering
pipeline so bitmap updates at those depths are rendered instead of being
dropped, and adds fast-path palette update parsing to support 8bpp indexed
color sessions.
Generalizes `RdpServer::run_connection` to accept arbitrary Tokio `AsyncRead + AsyncWrite` streams instead of a concrete `TcpStream`, enabling non-TCP transports (e.g., Unix sockets, VSOCK, in-process streams) to reuse the same server connection logic.
Co-authored-by: lamco-office <office@lamco.io>
Co-authored-by: Benoît Cortier <3809077+CBenoit@users.noreply.github.com>