diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index 18958716..d4c3ab48 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -41,7 +41,7 @@ and Developer Productivity][developer-productivity] by Ciera Jaspan and Collin G researchers, also elaborates on why it is important to keep build times low. **Architectural Invariant**: unless the performance, usability or ergonomic gain is really worth -it, the amount of [monomorphization] incured in downstream user code should be minimal to avoid +it, the amount of [monomorphization] incurred in downstream user code should be minimal to avoid binary bloating and to keep the compilation as parallel as possible. Large generic functions should be avoided if possible. diff --git a/crates/ironrdp-cliprdr-native/src/windows/remote_format_registry.rs b/crates/ironrdp-cliprdr-native/src/windows/remote_format_registry.rs index 68c3a4f6..5a3b87d4 100644 --- a/crates/ironrdp-cliprdr-native/src/windows/remote_format_registry.rs +++ b/crates/ironrdp-cliprdr-native/src/windows/remote_format_registry.rs @@ -23,7 +23,7 @@ impl RemoteClipboardFormatRegistry { /// Registers remote clipboard format on local machine. Registered format ids could differ /// from remote format ids, so we need to keep track of them based on their names. Standard - /// formats such as `CF_TEXT` have fixed ids, which are same on all machines, the retuned + /// formats such as `CF_TEXT` have fixed ids, which are same on all machines, the returned /// id value will be same as remote format id. /// /// E.g.: Format with name `Custom` was registered as `0xC001`, on the remote, but on the local diff --git a/crates/ironrdp-connector/src/lib.rs b/crates/ironrdp-connector/src/lib.rs index f4015d1f..68157320 100644 --- a/crates/ironrdp-connector/src/lib.rs +++ b/crates/ironrdp-connector/src/lib.rs @@ -133,7 +133,7 @@ pub struct Config { /// /// The PROTOCOL_HYBRID and PROTOCOL_HYBRID_EX flags will be set. /// - /// NLA is allowing authentication to be performed before session establishement. + /// NLA is allowing authentication to be performed before session establishment. /// /// This option includes the extended CredSSP early user authorization result PDU. /// This PDU is used by the server to deny access before any credentials (except for the username) diff --git a/crates/ironrdp-graphics/src/rdp6/bitmap_stream/decoder.rs b/crates/ironrdp-graphics/src/rdp6/bitmap_stream/decoder.rs index be9c51c6..ffdaa638 100644 --- a/crates/ironrdp-graphics/src/rdp6/bitmap_stream/decoder.rs +++ b/crates/ironrdp-graphics/src/rdp6/bitmap_stream/decoder.rs @@ -143,7 +143,7 @@ impl<'a> BitmapStreamDecoderImpl<'a> { } fn write_argb_planes_to_rgb24(&self, planes: &[u8], dst: &mut Vec) { - // For ARGB comversion is simple - just copy data in correct order + // For ARGB conversion is simple - just copy data in correct order let (r_offset, g_offset, b_offset) = ( self.color_plane_offsets[0], self.color_plane_offsets[1], diff --git a/crates/ironrdp-graphics/src/zgfx/mod.rs b/crates/ironrdp-graphics/src/zgfx/mod.rs index c1b3cc8c..cf978252 100644 --- a/crates/ironrdp-graphics/src/zgfx/mod.rs +++ b/crates/ironrdp-graphics/src/zgfx/mod.rs @@ -468,7 +468,7 @@ mod tests { ]; #[test] - fn zgfx_decopresses_multiple_single_pdus() { + fn zgfx_decompresses_multiple_single_pdus() { let pairs = ENCODED_ZGFX_SINGLE .iter() .copied() @@ -484,7 +484,7 @@ mod tests { } #[test] - fn zgfx_decopresses_only_one_literal() { + fn zgfx_decompresses_only_one_literal() { let buffer = [0b1100_1000, 0x03]; let expected = vec![0x01]; @@ -495,7 +495,7 @@ mod tests { } #[test] - fn zgfx_decopresses_one_literal_with_null_prefix() { + fn zgfx_decompresses_one_literal_with_null_prefix() { let buffer = [0b0011_0010, 0b1000_0000, 0x07]; let expected = vec![0x65]; @@ -506,7 +506,7 @@ mod tests { } #[test] - fn zgfx_decopresses_only_multiple_literals() { + fn zgfx_decompresses_only_multiple_literals() { let buffer = [0b1100_1110, 0b1001_1011, 0b0001_1001, 0b0100_0000, 0x06]; let expected = vec![0x01, 0x02, 0xff, 0x65]; @@ -517,7 +517,7 @@ mod tests { } #[test] - fn zgfx_decopresses_one_literal_with_one_match_distance_1() { + fn zgfx_decompresses_one_literal_with_one_match_distance_1() { let buffer = [0b0011_0010, 0b1100_0100, 0b0011_0000, 0x1]; let expected = vec![0x65; 1 + 4]; // literal (1) + match repeated 4 (length) + 0 times @@ -528,7 +528,7 @@ mod tests { } #[test] - fn zgfx_decopresses_three_literals_with_one_match_distance_3_length_57() { + fn zgfx_decompresses_three_literals_with_one_match_distance_3_length_57() { let buffer = [ 0b0010_0000, 0b1001_0000, @@ -548,7 +548,7 @@ mod tests { } #[test] - fn zgfx_decopresses_one_match_with_match_unencoded_bytes() { + fn zgfx_decompresses_one_match_with_match_unencoded_bytes() { let expected = "The quick brown fox jumps over the lazy dog".as_bytes(); let mut buffer = vec![0b1000_1000, 0b0000_0000, 0b00010101, 0b1000_0000]; buffer.extend_from_slice(expected); @@ -561,7 +561,7 @@ mod tests { } #[test] - fn zgfx_decopresses_multiple_literals_with_match_in_center_with_not_compressed() { + fn zgfx_decompresses_multiple_literals_with_match_in_center_with_not_compressed() { let buffer = [ 0xE1, // DEBLOCK_MULTIPART 0x03, 0x00, // 3 segments @@ -602,7 +602,7 @@ mod tests { } #[test] - fn zgfx_decopresses_single_match_unencoded_block() { + fn zgfx_decompresses_single_match_unencoded_block() { let buffer = [ 0xe0, 0x04, 0x13, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x01, 0x06, 0x0a, 0x00, 0x04, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, @@ -620,7 +620,7 @@ mod tests { } #[test] - fn zgfx_decopresses_unencoded_block_without_padding() { + fn zgfx_decompresses_unencoded_block_without_padding() { let buffer = [0b1110_0101, 0b0001_0000, 0b0000_0000, 0b00000001, 0b1111_0000, 0x0]; let expected = vec![0x08, 0xf0]; diff --git a/crates/ironrdp-testsuite-core/tests/main.rs b/crates/ironrdp-testsuite-core/tests/main.rs index 65a30584..c583d131 100644 --- a/crates/ironrdp-testsuite-core/tests/main.rs +++ b/crates/ironrdp-testsuite-core/tests/main.rs @@ -9,7 +9,7 @@ //! //! This is also good for execution performance. //! Cargo will run all tests from a single binary in parallel, but -//! binaries themselves are run sequentally. +//! binaries themselves are run sequentially. mod clipboard; mod displaycontrol; diff --git a/web-client/iron-remote-gui/src/services/wasm-bridge.service.ts b/web-client/iron-remote-gui/src/services/wasm-bridge.service.ts index 1e749da6..93d026ff 100644 --- a/web-client/iron-remote-gui/src/services/wasm-bridge.service.ts +++ b/web-client/iron-remote-gui/src/services/wasm-bridge.service.ts @@ -364,7 +364,7 @@ export class WasmBridgeService { if (isUnicodeCharacter && sendAsUnicode) { this.doTransactionFromDeviceEvents([unicodeEvent(evt.key)]); } else if (!unknownScanCode) { - // Use scancode insdead of key code for non-unicode character values + // Use scancode instead of key code for non-unicode character values this.doTransactionFromDeviceEvents([keyEvent(keyScanCode)]); } return; diff --git a/xtask/src/bin_version.rs b/xtask/src/bin_version.rs index 4d3341b6..d2d9cad0 100644 --- a/xtask/src/bin_version.rs +++ b/xtask/src/bin_version.rs @@ -3,10 +3,10 @@ use crate::bin_install::CargoPackage; -pub const CARGO_FUZZ: CargoPackage = CargoPackage::new("cargo-fuzz", "0.11.2"); -pub const CARGO_LLVM_COV: CargoPackage = CargoPackage::new("cargo-llvm-cov", "0.5.37"); -pub const GRCOV: CargoPackage = CargoPackage::new("grcov", "0.8.19"); -pub const WASM_PACK: CargoPackage = CargoPackage::new("wasm-pack", "0.12.1"); -pub const TYPOS_CLI: CargoPackage = CargoPackage::new("typos-cli", "1.16.23").with_binary_name("typos"); +pub const CARGO_FUZZ: CargoPackage = CargoPackage::new("cargo-fuzz", "0.12.0"); +pub const CARGO_LLVM_COV: CargoPackage = CargoPackage::new("cargo-llvm-cov", "0.6.16"); +pub const GRCOV: CargoPackage = CargoPackage::new("grcov", "0.8.20"); +pub const WASM_PACK: CargoPackage = CargoPackage::new("wasm-pack", "0.13.1"); +pub const TYPOS_CLI: CargoPackage = CargoPackage::new("typos-cli", "1.29.5").with_binary_name("typos"); pub const WABT_VERSION: &str = "1.0.36";