Alex Yusiuk
9622619e8c
refactor: add as_conversions clippy correctness lint ( #1021 )
...
CI / Check formatting (push) Has been cancelled
CI / Check typos (push) Has been cancelled
Coverage / Coverage Report (push) Has been cancelled
Release crates / Open release PR (push) Has been cancelled
Release crates / Release crates (push) Has been cancelled
CI / Checks [linux] (push) Has been cancelled
CI / Checks [macos] (push) Has been cancelled
CI / Checks [windows] (push) Has been cancelled
CI / Fuzzing (push) Has been cancelled
CI / Web Client (push) Has been cancelled
CI / FFI (push) Has been cancelled
CI / Success (push) Has been cancelled
Co-authored-by: Benoît CORTIER <git.divisible626@passmail.com>
2025-11-05 22:23:22 +00:00
Benoît Cortier
e5042a7d81
build(deps): replace opus by opus2 ( #985 )
...
opus is unmaintained and ponits to a 4-year old commit of the opus C
library. This does not compile anymore on our CI, because their
CMakeList.txt requires an older version of cmake that is not available
in the runners we use. opus2 is a fork that points to a more recent
version of it.
2025-09-18 15:20:15 +00:00
Alex Yusiuk
630525deae
refactor!: enable unwrap_used clippy correctness lint ( #965 )
...
Co-authored-by: Benoît CORTIER <git.divisible626@passmail.com>
2025-09-11 11:41:02 +00:00
Alex Yusiuk
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
Alex Yusiuk
9a9ab63e1c
refactor: add non_zero_suggestions clippy extra-pedantic lint ( #895 )
2025-07-30 09:11:53 +00:00
Marc-André Lureau
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 Yusiuk
f96b1b2ce8
refactor: add allow_attributes clippy to "Extra-pedantic clippy" section ( #880 )
CI / Checks [windows] (push) Blocked by required conditions
CI / Check formatting (push) Waiting to run
CI / Check typos (push) Waiting to run
CI / Checks [linux] (push) Blocked by required conditions
CI / Checks [macos] (push) Blocked by required conditions
CI / FFI (push) Blocked by required conditions
Release crates / Open release PR (push) Waiting to run
Release crates / Release crates (push) Waiting to run
CI / Fuzzing (push) Blocked by required conditions
CI / Web Client (push) Blocked by required conditions
CI / Success (push) Blocked by required conditions
Coverage / Coverage Report (push) Waiting to run
2025-07-23 08:55:40 +00:00
Benoît Cortier
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
Marc-André Lureau
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é Lureau
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é Lureau
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 CORTIER
97f4f25813
style: run cargo +nightly fmt
2025-03-13 11:03:10 +01:00
Marc-Andre Lureau
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é Lureau
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
Benoît Cortier
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
Benoît CORTIER
294af1cc5c
style: cargo +nightly fmt
2024-11-20 01:28:31 +09:00
Marc-André Lureau
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
Marc-André Lureau
d1b95676f0
docs(example/server): use server TlsIdentityCtx
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-10-29 21:48:11 +09:00
Marc-André Lureau
a9356fc57b
docs(example/server): refactor acceptor() to be a TlsIdentityCtx method
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-10-29 21:48:11 +09:00
Benoît CORTIER
4a7f233725
docs(example/server): fix default value for the bind address
...
Replaced --host and --port by a single --bind-addr parameter with
a default value which does not cause a runtime error.
2024-10-25 16:04:07 +09:00
Benoît CORTIER
2a2b555a11
docs(example/server): refactor for clarity
2024-10-25 16:04:07 +09:00
Marc-André Lureau
b9db9ea645
feat(example): add hybrid security to server example
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-10-25 13:19:58 +09:00
Marc-André Lureau
ac24e15a3d
feat(example): add user/pass to server
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-10-25 13:19:58 +09:00
Marc-André Lureau
bb1860d153
build: update Rust toolchain to 1.82.0
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-10-25 13:19:58 +09:00
Marc-André Lureau
a73e0b7870
feat(server): add BitmapUpdate stride support
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-08-14 00:37:06 -04:00
Marc-André Lureau
05fc85bb13
fix(examples): various misc warning
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-07-24 04:35:32 -04:00
Marc-André Lureau
22779a7a21
example: explicitly allow print_stdout
...
But not in the rest of the code base.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-07-24 04:35:32 -04:00
Marc-André Lureau
51ccf555e6
fix: unused-crate-dependencies
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-07-24 04:35:32 -04:00
Marc-André Lureau
adf2797ef7
fix: unnecessary qualification
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-07-24 04:35:32 -04:00
Benoît Cortier
0c352c4711
chore(deps): update rustls dependency ( #492 )
2024-07-10 10:11:17 -04:00
Marc-André Lureau
f89908c6eb
feat(ironrdp): add sound playback to server example
...
Play a A sine wave.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-07-09 21:55:01 -04:00
Marc-André Lureau
4035543d13
feat(server): set the server event sender on the clipboard
...
Introduce a ServerEventSender trait to set the ServerEvent channel on a
clipboard handler/factory.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-04-05 13:05:04 -04:00
Isaiah Becker-Mayer
04d78b6581
refactor: dynamic resize follow up ( #425 )
2024-04-01 12:21:54 -04:00
Marc-André Lureau
aecc29b780
refactor(server): replace get_updates() with a receiver
...
When there are no clients connected, we are not processing display
updates. Let the server implementation react when client start and stop
listening for updates. For example, the initial update should be a
whole-display, and on disconnect, the server can stop processing updates
too.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-02-06 18:49:42 +09:00
Marc-André Lureau
d0aae30a86
refactor(server): drop need for async in input handler
...
Having async handlers is discouraged. Implementations should use event
signaling and separate threads instead. See also:
https://github.com/Devolutions/IronRDP/pull/350#pullrequestreview-1821815597
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-01-25 01:01:59 +09:00
Marc-André Lureau
bdb421d987
build(deps): update rustls-pemfile from 1.0.4 to 2.0.0
...
Co-authored-by: Benoît Cortier <bcortier@proton.me>
2024-01-18 19:03:34 +09:00
Marc-André Lureau
94fa7b7f54
feat(ironrdp): add stub clipboard to server example
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-01-15 13:21:51 +09:00
Benoît Cortier
9355ae5b3d
refactor: follow-up for PR #198 ( #320 )
2023-12-05 17:18:09 +00:00
Marc-André Lureau
b611cda9b2
feat: add simple server example
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2023-12-05 11:37:18 -05:00