60 Commits
Author SHA1 Message Date
Dan ShareandGitHub 6fab9f8228 feat: add an option to specify a timezone (#917)
Allows to pass a timezone to the remote desktop.
2025-08-20 15:40:32 +00:00
Alex YusiukandGitHub c84b46be91 refactor: add macro_use_extern_crate rustc style/readability lint (#919)
This lint warns on each `macro_use` attribute on an extern crate. Such a
way of importing macros from a crate is being phased out. Instead of it,
we should directly import the needed macro using `use` import.
2025-08-19 09:45:34 -04:00
Benoît CORTIERandBenoît Cortier 5d8a487001 fix: rename option no_audio_playback into enable_audio_playback 2025-08-04 06:46:10 -04:00
Benoît CORTIERandBenoît Cortier 218fed03c7 fix: rename option no_server_pointer into enable_server_pointer 2025-08-04 06:46:10 -04:00
Alex YusiukandGitHub 9a9ab63e1c refactor: add non_zero_suggestions clippy extra-pedantic lint (#895) 2025-07-30 09:11:53 +00:00
Marc-André LureauandBenoît Cortier de0877188c build(deps): bump rand to 0.9
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-07-24 06:34:50 -04:00
Alex YusiukandGitHub f96b1b2ce8 refactor: add allow_attributes clippy to "Extra-pedantic clippy" section (#880) 2025-07-23 08:55:40 +00:00
Benoît CortierandGitHub 48e02441d2 chore: update Rust toolchain to 1.88.0 (#852)
MSRV is also bumped to 1.84.
2025-07-03 07:38:28 +03:00
Benoît CortierandGitHub 712da42ded fix: inject socket local address for the client addr (#759)
We used to inject the resolved target server address, but that is not
what is expected. Server typically ignores this field so this was not a
problem up until now.
2025-04-21 09:08:50 +00:00
Zac BergquistandGitHub bdde2c76de fix(client)!: fix name of client address field (#754) 2025-04-16 04:23:49 -04:00
Marc-André LureauandBenoît Cortier 9f0edcc4c9 feat(client): Add no_audio_playback flag to Config struct
Enable audio playback on the client.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-04-08 13:35:44 +02:00
Marc-André LureauandBenoît Cortier 229070a435 refactor(server)!: rename left/top -> x/y
This is more idiomatic, and thus less confusing.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-03-31 18:11:03 +02:00
Marc-André LureauandBenoît Cortier 3c43fdda76 refactor(server)!: use bytes, allowing shareable bitmap data
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-03-31 18:11:03 +02:00
Marc-André LureauandBenoît Cortier db6f4cdb7f refactor(server)!: drop support for pixelOrder
Dealing with multiple formats is sufficiently annoying, there isn't much
need for awkward image layout. This was done for efficiency reason for
bitmap encoding, but bitmap is really inefficient anyway and very few
servers will actually provide bottom to top images (except with GL/GPU
textures, but this is not in scope yet).

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-03-31 18:11:03 +02:00
Benoît CORTIERandBenoît Cortier 97f4f25813 style: run cargo +nightly fmt 2025-03-13 11:03:10 +01:00
Marc-Andre LureauandGitHub fa353765af feat(example): encode audio with Opus (#643)
Demonstrates Opus audio codec support (and also fixes sine wave phase)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-01-27 16:22:15 -05:00
Marc-André LureauandBenoît Cortier 1a36fd3669 fix(examples): used import from std instead of core
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-01-27 07:35:36 -05:00
dd221bf224 feat: support license caching (#634)
Adds support for license caching by storing the license obtained
from SERVER_UPGRADE_LICENSE message and sending
CLIENT_LICENSE_INFO if a license requested by the server is already
stored in the cache.

Co-authored-by: Benoît Cortier <3809077+CBenoit@users.noreply.github.com>
2025-01-18 14:34:58 +00:00
Benoît CortierandGitHub 02c6fd5dfe docs(ironrdp): fix server example (#616)
The rt-multi-thread feature of tokio is not enabled when compiling the
example alone (without feature unification from other crates of the
workspace).
2024-12-15 08:17:04 -05:00
Marc-André LureauandBenoît Cortier fe0d9e9773 example: replace bmp with image/png
bmp is a small crate, but it is not popular, and apparently
unmaintained. Use the ubiquitous image crate and the PNG format instead.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-11-29 05:31:05 -05:00
Marc-André LureauandBenoît Cortier 0ee5bfc561 fix(examples): fix screenshot deps
Set the required-features and use sspi with "network_client".

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-11-29 05:31:05 -05:00
Zac BergquistandGitHub 36da11c02e feat(connector): allow clients to specify the x224 nego request data (#580)
The previous code would (correctly) set a cookie containining the
username, but only when using username/password credentials. When
smart card credentials are used, the cookie would always contain
the empty string.
2024-11-19 20:44:40 -05:00
Benoît CORTIER 294af1cc5c style: cargo +nightly fmt 2024-11-20 01:28:31 +09:00
Benoît CORTIER 807eb59b07 refactor: enable clippy::std_instead_of_core lint 2024-11-20 01:28:31 +09:00
Marc-André LureauandBenoît Cortier 3c503cb2d1 chore: change "default" feature to only enable "core" and "pdu"
Reorganize a bit the dev-dependencies for screenshot/server examples.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-10-29 21:48:11 +09:00