Skip to content

Commit 8dc41e2

Browse files
chore(release): prepare for publishing (#989)
1 parent 2994edf commit 8dc41e2

File tree

24 files changed

+308
-254
lines changed

24 files changed

+308
-254
lines changed

Cargo.lock

Lines changed: 193 additions & 181 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

benches/src/perfenc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ impl core::str::FromStr for OptCodec {
203203
"qoi" => Ok(Self::Qoi),
204204
#[cfg(feature = "qoiz")]
205205
"qoiz" => Ok(Self::QoiZ),
206-
_ => Err(anyhow::anyhow!("unknown codec: {}", s)),
206+
_ => anyhow::bail!("unknown codec: {s}"),
207207
}
208208
}
209209
}

crates/ironrdp-client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ qoiz = ["ironrdp/qoiz"]
3232

3333
[dependencies]
3434
# Protocols
35-
ironrdp = { path = "../ironrdp", version = "0.12", features = [
35+
ironrdp = { path = "../ironrdp", version = "0.13", features = [
3636
"session",
3737
"input",
3838
"graphics",

crates/ironrdp-connector/src/connection_activation.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ impl Sequence for ConnectionActivationSequence {
155155
});
156156

157157
let client_confirm_active = rdp::headers::ShareControlPdu::ClientConfirmActive(
158-
create_client_confirm_active(&self.config, capability_sets, desktop_size)?,
158+
create_client_confirm_active(&self.config, capability_sets, desktop_size),
159159
);
160160

161161
debug!(message = ?client_confirm_active, "Send");
@@ -263,7 +263,7 @@ fn create_client_confirm_active(
263263
config: &Config,
264264
mut server_capability_sets: Vec<CapabilitySet>,
265265
desktop_size: DesktopSize,
266-
) -> ConnectorResult<rdp::capability_sets::ClientConfirmActive> {
266+
) -> rdp::capability_sets::ClientConfirmActive {
267267
use ironrdp_pdu::rdp::capability_sets::{
268268
client_codecs_capabilities, Bitmap, BitmapCache, BitmapDrawingFlags, Brush, CacheDefinition, CacheEntry,
269269
ClientConfirmActive, CmdFlags, DemandActive, FrameAcknowledge, General, GeneralExtraFlags, GlyphCache,
@@ -386,11 +386,11 @@ fn create_client_confirm_active(
386386
}));
387387
}
388388

389-
Ok(ClientConfirmActive {
389+
ClientConfirmActive {
390390
originator_id: SERVER_CHANNEL_ID,
391391
pdu: DemandActive {
392392
source_descriptor: "IRONRDP".to_owned(),
393393
capability_sets: server_capability_sets,
394394
},
395-
})
395+
}
396396
}

crates/ironrdp-dvc-pipe-proxy/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88

9+
## [[0.2.1](https://github.com/Devolutions/IronRDP/compare/ironrdp-dvc-pipe-proxy-v0.2.0...ironrdp-dvc-pipe-proxy-v0.2.1)] - 2025-09-24
10+
11+
### <!-- 4 -->Bug Fixes
12+
13+
- Change dvc proxy pipe mode from Message to Byte on Windows (#986) ([5f52a44b84](https://github.com/Devolutions/IronRDP/commit/5f52a44b840dd71eae6a355be00f1c4c671b3b58))
14+
15+
- Add blocking logic for sending dvc pipe messages ([3182a018e2](https://github.com/Devolutions/IronRDP/commit/3182a018e2972eb77c52ea248387c96a9eb6a6a6))
16+
917
## [[0.2.0](https://github.com/Devolutions/IronRDP/compare/ironrdp-dvc-pipe-proxy-v0.1.0...ironrdp-dvc-pipe-proxy-v0.2.0)] - 2025-08-29
1018

1119
### <!-- 1 -->Features

crates/ironrdp-dvc-pipe-proxy/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ironrdp-dvc-pipe-proxy"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
readme = "README.md"
55
description = "DVC named pipe proxy for IronRDP"
66
edition.workspace = true

crates/ironrdp-graphics/CHANGELOG.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88

9+
## [[0.6.0](https://github.com/Devolutions/IronRDP/compare/ironrdp-graphics-v0.5.0...ironrdp-graphics-v0.6.0)] - 2025-06-27
10+
11+
### <!-- 4 -->Bug Fixes
12+
13+
- `to_64x64_ycbcr_tile` now returns a `Result`
14+
915
## [[0.4.1](https://github.com/Devolutions/IronRDP/compare/ironrdp-graphics-v0.4.0...ironrdp-graphics-v0.4.1)] - 2025-06-27
1016

1117
### <!-- 7 -->Build
@@ -20,15 +26,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2026

2127
Add some helper to find "damaged" regions, as 64x64 tiles.
2228

23-
2429
## [[0.3.0](https://github.com/Devolutions/IronRDP/compare/ironrdp-graphics-v0.2.0...ironrdp-graphics-v0.3.0)] - 2025-03-12
2530

2631
### <!-- 7 -->Build
2732

2833
- Bump ironrdp-pdu
2934

30-
31-
3235
## [[0.2.0](https://github.com/Devolutions/IronRDP/compare/ironrdp-graphics-v0.1.2...ironrdp-graphics-v0.2.0)] - 2025-03-07
3336

3437
### Performance
@@ -46,8 +49,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4649

4750
- Use CDN URLs instead of the blob storage URLs for Devolutions logo (#631) ([dd249909a8](https://github.com/Devolutions/IronRDP/commit/dd249909a894004d4f728d30b3a4aa77a0f8193b))
4851

49-
50-
5152
## [[0.1.1](https://github.com/Devolutions/IronRDP/compare/ironrdp-graphics-v0.1.0...ironrdp-graphics-v0.1.1)] - 2024-12-14
5253

5354
### Other

crates/ironrdp-graphics/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ironrdp-graphics"
3-
version = "0.5.0"
3+
version = "0.6.0"
44
readme = "README.md"
55
description = "RDP image processing primitives"
66
edition.workspace = true

crates/ironrdp-graphics/src/rlgr.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -360,33 +360,33 @@ impl From<u32> for CompressionMode {
360360

361361
#[derive(Debug)]
362362
pub enum RlgrError {
363-
IoError(io::Error),
364-
YuvError(YuvError),
363+
Io(io::Error),
364+
Yuv(YuvError),
365365
EmptyTile,
366366
}
367367

368368
impl core::fmt::Display for RlgrError {
369369
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
370370
match self {
371-
Self::IoError(_error) => write!(f, "IO error"),
371+
Self::Io(_) => write!(f, "IO error"),
372+
Self::Yuv(_) => write!(f, "YUV error"),
372373
Self::EmptyTile => write!(f, "the input tile is empty"),
373-
Self::YuvError(error) => write!(f, "YUV error: {error}"),
374374
}
375375
}
376376
}
377377

378378
impl core::error::Error for RlgrError {
379379
fn source(&self) -> Option<&(dyn core::error::Error + 'static)> {
380380
match self {
381-
Self::IoError(error) => Some(error),
382-
Self::YuvError(error) => Some(error),
381+
Self::Io(error) => Some(error),
382+
Self::Yuv(error) => Some(error),
383383
Self::EmptyTile => None,
384384
}
385385
}
386386
}
387387

388388
impl From<io::Error> for RlgrError {
389389
fn from(err: io::Error) -> Self {
390-
Self::IoError(err)
390+
Self::Io(err)
391391
}
392392
}

crates/ironrdp-rdcleanpath/src/lib.rs

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,8 @@ pub enum RDCleanPath {
314314
}
315315

316316
impl RDCleanPath {
317-
pub fn try_into_pdu(self) -> Result<RDCleanPathPdu, der::Error> {
318-
RDCleanPathPdu::try_from(self)
317+
pub fn into_pdu(self) -> RDCleanPathPdu {
318+
RDCleanPathPdu::from(self)
319319
}
320320
}
321321

@@ -368,55 +368,56 @@ impl TryFrom<RDCleanPathPdu> for RDCleanPath {
368368
}
369369
}
370370

371-
impl TryFrom<RDCleanPath> for RDCleanPathPdu {
372-
type Error = der::Error;
373-
374-
fn try_from(value: RDCleanPath) -> Result<Self, Self::Error> {
371+
impl From<RDCleanPath> for RDCleanPathPdu {
372+
fn from(value: RDCleanPath) -> Self {
375373
match value {
376374
RDCleanPath::Request {
377375
destination,
378376
proxy_auth,
379377
server_auth,
380378
preconnection_blob,
381379
x224_connection_request,
382-
} => Ok(Self {
380+
} => Self {
383381
version: VERSION_1,
384382
destination: Some(destination),
385383
proxy_auth: Some(proxy_auth),
386384
server_auth,
387385
preconnection_blob,
388386
x224_connection_pdu: Some(x224_connection_request),
389387
..Default::default()
390-
}),
388+
},
391389
RDCleanPath::Response {
392390
x224_connection_response,
393391
server_cert_chain,
394392
server_addr,
395-
} => Ok(Self {
393+
} => Self {
396394
version: VERSION_1,
397395
x224_connection_pdu: Some(x224_connection_response),
398396
server_cert_chain: Some(server_cert_chain),
399397
server_addr: Some(server_addr),
400398
..Default::default()
401-
}),
402-
RDCleanPath::GeneralErr(error) => Ok(Self {
399+
},
400+
RDCleanPath::GeneralErr(error) => Self {
403401
version: VERSION_1,
404402
error: Some(error),
405403
..Default::default()
406-
}),
404+
},
407405
RDCleanPath::NegotiationErr {
408406
x224_connection_response,
409-
} => Ok(Self {
407+
} => Self {
410408
version: VERSION_1,
411409
error: Some(RDCleanPathErr {
412410
error_code: NEGOTIATION_ERROR_CODE,
413411
http_status_code: None,
414412
wsa_last_error: None,
415413
tls_alert_code: None,
416414
}),
417-
x224_connection_pdu: Some(OctetString::new(x224_connection_response)?),
415+
x224_connection_pdu: Some(
416+
OctetString::new(x224_connection_response)
417+
.expect("x224_connection_response smaller than u32::MAX (256 MiB)"),
418+
),
418419
..Default::default()
419-
}),
420+
},
420421
}
421422
}
422423
}

0 commit comments

Comments
 (0)