Commit Graph

21 Commits

Author SHA1 Message Date
dependabot[bot] 7fc3d8d6c8 build(deps): bump the patch group across 1 directory with 11 updates (#1141) 2026-03-13 16:26:55 +00:00
Benoît Cortier 79869f9a76 chore: upgrade toolchain to 1.89.0 and migrate to Rust edition 2024 (#1153)
- Bump pinned toolchain from 1.88.0 to 1.89.0 in rust-toolchain.toml
- Migrate all workspace crates from edition 2021 to edition 2024
- Run `cargo fix --edition` to auto-migrate source code for edition 2024
compatibility (unsafe in unsafe fn, tail expr drop order, etc.)
- Replace all `expr_2021` macro fragment specifiers with `expr` now that
the workspace is fully on edition 2024
- Remove `keyword_idents_2024` lint (now enforced by the edition itself)
- Remove removed `clippy::string_to_string` lint (covered by
implicit_clone)
- Fix new clippy lints from 1.93.0: `manual_is_multiple_of`,
`useless_let_if_seq`, `manual_map`, `derivable_impls`,
`redundant_imports`, `unused_crate_dependencies` (but didn’t bump MSRV)
- Drop `core::future::Future` unnecessary qualifications (Future is now
in the Rust 2024 prelude)
- Remove direct `bytes` deps from ironrdp-futures and ironrdp-tokio
(re-exported by ironrdp-async)
2026-03-09 14:32:53 +00:00
Guillaume Gelin db2f40b5b0 fix(server): tile bitmaps that exceed MultifragmentUpdate limit (#1133)
Split oversized dirty rects into horizontal strips that fit within `max_request_size`
before handing them to the bitmap encoder.
2026-03-01 23:53:19 +09:00
dependabot[bot] 0cca23fbdc build(deps): bump the patch group across 2 directories with 13 updates (#1105) 2026-02-18 03:16:09 +09:00
dependabot[bot] cf978321d3 build(deps): bump the patch group across 1 directory with 6 updates (#1044) 2025-12-03 07:52:21 +00:00
dependabot[bot] 866a6d8674 build(deps): bump bytesize from 2.2.0 to 2.3.0 (#1040) 2025-11-25 04:13:24 -05:00
Alex Yusiuk 9622619e8c refactor: add as_conversions clippy correctness lint (#1021)
Co-authored-by: Benoît CORTIER <git.divisible626@passmail.com>
2025-11-05 22:23:22 +00:00
devolutionsbot 8dc41e2feb chore(release): prepare for publishing (#989) 2025-09-24 08:01:35 +00:00
dependabot[bot] 2994edf320 build(deps): bump bytesize from 2.0.1 to 2.1.0 (#995) 2025-09-24 02:03:05 -04: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
dependabot[bot] c8c70975dd build(deps): bump the patch group across 2 directories with 10 updates (#939) 2025-08-26 12:45:49 -04:00
dependabot[bot] 9ff3cffb59 build(deps): bump the patch group across 2 directories with 6 updates (#914) 2025-08-12 10:27:56 +00:00
Alex Yusiuk 32b0e40eca refactor: add unused_trait_names clippy extra-pedantic lint (#900) 2025-07-31 03:57:09 -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 87df67fdc7 feat: add QOIZ image codec
Add a new QOIZ codec (UUID 229cc6dc-a860-4b52-b4d8-053a22b3892b) for
SetSurface command. The PDU data contains the same data as the QOI
codec, with zstd compression.

Some benchmarks showing interesting results (using ironrdp/perfenc)

QOI: 10s user CPU, 96.20% compression
QOIZ: 11s user CPU, 99.76% compression

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-07-24 06:53:10 -04:00
Marc-André Lureau 613fd51f26 feat: add QOI image codec
The Quite OK Image format ([1]) losslessly compresses images to a
similar size of PNG, while offering 20x-50x faster encoding and 3x-4x
faster decoding.

Add a new QOI codec (UUID 4dae9af8-b399-4df6-b43a-662fd9c0f5d6) for
SetSurface command. The PDU data contains the QOI header (14 bytes) +
data "chunks" and the end marker (8 bytes).

Some benchmarks showing interesting results (using ironrdp/perfenc)

Bitmap: 74s user CPU, 92.5% compression
RemoteFx (lossy): 201s user CPU, 96.72% compression
QOI: 10s user CPU, 96.20% compression

Note: the "qoicoubeh" crate is my own fork of "qoi-rust" project. The
plan is to switch back to it as soon as the maintainer resume its
activites (https://github.com/aldanor/qoi-rust/issues/14).

[1]: https://qoiformat.org/

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-07-24 06:53:10 -04:00
Marc-André Lureau fc604a567b chore(bench): fix could not find time in tokio
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-07-24 06:53:10 -04: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
Benoît CORTIER 9bc382348d style: run formatter for imports 2025-05-27 08:48:51 -04:00
Benoît Cortier d995265724 chore: ensure internal crates are not published (#785) 2025-05-07 08:42:22 +00:00
Marc-André Lureau dd787af5a0 feat(benches): add perfenc
Make some internal APIs publicly visible thanks to "visibility" when
compiling with the "__bench" feature.

("testsuite-core" also learned "__bench", because fast_path.rs is a
shared file)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-04-29 13:00:07 +02:00