Commit Graph

62 Commits

Author SHA1 Message Date
Greg Lamberson 479a13aa49 feat(egfx): cascade Arbitrary derives across ironrdp-egfx public PDU types (#1334) 2026-06-02 01:37:30 +09:00
Alex Yusiuk 3905d177f2 build(web): pass extra optimization flags for WASM release build (#1342)
Co-authored-by: Alexandr Yusuk <aleksandr.yusuk@apriorit.com>
2026-05-30 01:53:40 +09:00
Benoît Cortier 30a79a0413 chore: remove code coverage pipeline (#1324)
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.
2026-05-27 13:29:13 +00:00
Benoît Cortier 5663ce206a ci(fuzz): discover fuzz targets dynamically (#1290)
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.
2026-05-20 15:06:55 +00:00
Greg Lamberson a8a813a22d feat(fuzz): add bulk decompression fuzz targets (MPPC, NCRUSH, XCRUSH) (#1285) 2026-05-20 22:35:54 +09:00
Greg Lamberson d18c51171b ci: add check features matrix gate with dynamic CI fan-out (#1283) 2026-05-19 17:04:33 +09:00
Gabriel Bauman c98a8fb774 feat(cliprdr,web,ffi): implement clipboard file transfer support (#1166)
Add end-to-end clipboard file transfer (upload and download) across the
CLIPRDR channel per MS-RDPECLIP.
2026-04-09 14:53:39 +09: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
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
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 b1f6004ab1 refactor: add non_ascii_literal clippy correctness lint (#932) 2025-08-26 08:18:22 -04:00
Alex Yusiuk 6fddcaae38 refactor: add needless_raw_strings clippy correctness lint (#931) 2025-08-25 07:17:25 -04: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
Benoît Cortier cd184d30bd build: fix xtask web build task (#912) 2025-08-13 07:56:52 -04:00
Alex Yusiuk 8634ab05bc ci(xtask): pin nightly version (#897) 2025-07-30 04:40:38 -04:00
Alex Yusiuk f96b1b2ce8 refactor: add allow_attributes clippy to "Extra-pedantic clippy" section (#880) 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 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
Alex Yusiuk fe676eeac5 refactor(web): follow-up to #722 (#747) 2025-04-14 14:05:19 +00:00
Alex Yusiuk 0ff1ed8de5 refactor(web-client): refactor iron-remote-gui into iron-remote-desktop (#722) 2025-04-11 08:28:27 -04:00
Benoît CORTIER aa210204a7 chore(xtask): add ffi install task
This task is for installing all the requirements for ffi tasks.
(That is: `diplomat-tool`.)
2025-03-24 23:23:26 +01:00
Benoît Cortier 43f05a712d perf(web-client): enable WASM SIMD instructions (#703) 2025-03-13 14:48:03 +02:00
Benoît Cortier 0b5f691c1e chore(xtask): update binary dependencies (#663) 2025-02-05 18:12:10 -05:00
Marc-André Lureau 3dc8a56070 build(xtask): bump wabt to 1.0.36
https://github.com/WebAssembly/wabt/releases/download/1.0.33/wabt-1.0.33-macos-14.tar.gz
is now 404.
2025-01-24 12:37:29 -05:00
Marc-Andre Lureau a0d32d7245 fix: fix commit 9198284263 (#626)
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Changelog: ignore
2025-01-06 09:29:30 -05:00
Benoît CORTIER 807eb59b07 refactor: enable clippy::std_instead_of_core lint 2024-11-20 01:28:31 +09:00
Richard Markiewicz 5e5e1aa217 ci: update macos-12 runners to macos-14 (#566) 2024-10-29 04:51:16 -04:00
Marc-André Lureau 4350058945 chore(xtask): check all targets
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-07-24 04:35:32 -04:00
Marc-André Lureau 7307148cb8 chore: use workspace lints
Among other things, this allows tools and LSP to pick up our settings.

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
irvingouj @ Devolutions 590221469a chore(ffi):allow Devolutions.IronRdp to be build and packed with Nuget with the dll on Windows (#457)
* Allow Devolutions.IronRdp to be build and packed with Nuget alone with the dll

* review fix
2024-05-03 15:29:04 -04:00
Benoît CORTIER b5a4ce19da build(xtask): Linux support for ffi build task 2024-04-09 11:35:48 -04:00
irvingouj @ Devolutions 3bcf51306d feat(ffi): initial C# bindings (connector only) (#423) 2024-04-05 15:11:32 +00:00
Norbert Szetei c4193371bd fix(svc): rdpdr channel fuzzing harness and associated issues (#408) 2024-03-11 06:28:27 -04:00
Benoît Cortier def44ec32c ci: enable the cliprdr_format fuzz harness (#398) 2024-03-07 08:16:51 -05:00
Vladyslav Nikonov 056ec6a034 feat(session): graceful disconnection support (#336) 2023-12-14 15:36:20 +00:00
Benoît Cortier d47f181783 chore(xtask): make clean action delete local cargo root (#323) 2023-12-05 20:15:44 -05:00
Benoît Cortier 4a54d78cf6 chore(xtask): use cargo-binstall if available (#324) 2023-12-05 19:56:53 -05:00
Benoît Cortier 4506e1b185 build: bump rust toolchain to 1.74.0 (#322) 2023-12-05 19:55:51 -05:00
Vladyslav Nikonov d69ff6e6e7 ci: follow-up typos CI fixes (#316) 2023-12-01 14:24:34 -05:00
Vladyslav Nikonov 4258f06292 ci: check for typos using typos-cli (#315) 2023-12-01 17:27:36 +00:00
Benoît Cortier e10bf4fc38 ci: check for dirty lock files (#277)
Note that we can’t really use the --locked option of cargo, because to
run xtask, we need to compile it using cargo, and thus the lock files
are already "refreshed" as far as cargo is concerned. Instead, this new
task will check for modifications to the lock files using git-status
porcelain. The side benefit is that we can check for npm lock files too.
2023-11-09 21:53:08 -05:00
Benoît CORTIER 1d0b5fa1ee chore: check web client for lints and formatting 2023-11-04 02:26:46 -04:00
Isaiah Becker-Mayer 9859cb7518 feat(rdpdr): DeviceCreateRequest and DeviceCreateResponse (#235) 2023-10-30 18:15:25 +00:00
Benoît CORTIER 622a0457bc build: relax some dependencies
In general we don’t need to specify as far as the patch version for
our dependencies.
2023-10-05 10:58:16 -04:00
Benoît Cortier 3d98cd1d94 refactor: enable elided_lifetimes_in_paths lint (#203)
Hiding the lifetimes is making the code less obvious.

That’s not a problem for types that I know about intimately such as
`ReadCursor` or `WriteCursor`, but I actually found myself surprised
more than once when reading code I didn’t authored, discovering  later
there was in fact a hidden lifetime parameter.
I expect this problem to be worse for someone not familiar with
our codebase.

I understand this lint is "allow" by default because in some cases
it leads to writing unergonomic ugly code when a type has many generic
lifetimes parameters:

```
TyCtxt<'_, '_, '_>
```

However we _never_ work with more than one generic lifetime parameter in
IronRDP codebase, so it seems to me that the tradeoff towards clarity is
worth it, in our case.
2023-10-04 09:14:36 -07:00
Benoît Cortier 6283e37937 refactor: check for additional lints (#200) 2023-10-02 13:46:05 +03:00
Benoît Cortier 1132126c2a ci(cov): use GITHUB_TOKEN instead of DEVOLUTIONSBOT_TOKEN (#179) 2023-08-24 09:56:12 -04:00
Benoît Cortier 0b408200a8 ci: wrong comparison operator for coverage diff (#176) 2023-08-15 10:50:00 -05:00