diff --git a/AK/ByteBuffer.h b/AK/ByteBuffer.h index 064613f0958..04f8afa3b02 100644 --- a/AK/ByteBuffer.h +++ b/AK/ByteBuffer.h @@ -293,7 +293,7 @@ private: // the caller is perhaps appending very little data in many calls. // To avoid copying the entire ByteBuffer every single time, // we raise the capacity exponentially, by a factor of roughly 1.5. - // This is most noticable in Lagom, where kmalloc_good_size is just a no-op. + // This is most noticeable in Lagom, where kmalloc_good_size is just a no-op. new_capacity = max(new_capacity, (capacity() * 3) / 2); new_capacity = kmalloc_good_size(new_capacity); auto* new_buffer = static_cast(kmalloc(new_capacity)); diff --git a/AK/FixedPoint.h b/AK/FixedPoint.h index 2453c542460..0deeeee7f14 100644 --- a/AK/FixedPoint.h +++ b/AK/FixedPoint.h @@ -335,7 +335,7 @@ public: bool operator<(This const& other) const { return raw() < other.raw(); } bool operator<=(This const& other) const { return raw() <= other.raw(); } - // FIXE: There are probably better ways to do these + // FIXME: There are probably better ways to do these template bool operator==(I other) const { diff --git a/Documentation/Links.md b/Documentation/Links.md index b34cea5f599..a00da49e57b 100644 --- a/Documentation/Links.md +++ b/Documentation/Links.md @@ -19,7 +19,7 @@ This is a roughly categorized list of pages relating to SerenityOS and its subpr - [GitHub Organization](https://github.com/SerenityOS) and [GitHub Repositories](https://github.com/orgs/SerenityOS/repositories) - [Changelog](https://changelog.serenityos.org/) -- [Issues Found by OSS-Fuzz Continous Fuzzing](https://bugs.chromium.org/p/oss-fuzz/issues/list?q=label:Proj-serenity) +- [Issues Found by OSS-Fuzz Continuous Fuzzing](https://bugs.chromium.org/p/oss-fuzz/issues/list?q=label:Proj-serenity) - [Azure CI Overview](https://dev.azure.com/SerenityOS/SerenityOS/_build) - [SonarCloud Static Analysis](https://sonarcloud.io/project/overview?id=SerenityOS_serenity) - [libjs.dev](https://libjs.dev/) diff --git a/Userland/Libraries/LibGfx/GradientPainting.cpp b/Userland/Libraries/LibGfx/GradientPainting.cpp index d5747311d65..4f50f2610c4 100644 --- a/Userland/Libraries/LibGfx/GradientPainting.cpp +++ b/Userland/Libraries/LibGfx/GradientPainting.cpp @@ -409,7 +409,7 @@ void CanvasRadialGradientPaintStyle::paint(IntRect physical_bounding_box, PaintF // - Start circle radius == end circle radius // - Start circle larger than end circle (inside end circle) // - Start circle larger than end circle (outside end circle) - // - Start cirlce or end circle radius == 0 + // - Start circle or end circle radius == 0 Gradient radial_gradient { move(gradient_line), diff --git a/Userland/Libraries/LibGfx/ImageFormats/WebPLoader.cpp b/Userland/Libraries/LibGfx/ImageFormats/WebPLoader.cpp index b7cff6e3d0c..ac7decce132 100644 --- a/Userland/Libraries/LibGfx/ImageFormats/WebPLoader.cpp +++ b/Userland/Libraries/LibGfx/ImageFormats/WebPLoader.cpp @@ -1233,7 +1233,7 @@ static ErrorOr decode_webp_chunk_VP8L(WebPLoadingContext& context, Chunk c TransformType transform_type = static_cast(TRY(bit_stream.read_bits(2))); dbgln_if(WEBP_DEBUG, "transform type {}", (int)transform_type); - // Check that each transfom is used only once. + // Check that each transform is used only once. u8 mask = 1 << (int)transform_type; if (seen_transforms & mask) return context.error("WebPImageDecoderPlugin: transform type used multiple times"); diff --git a/Userland/Libraries/LibPDF/Fonts/CFF.cpp b/Userland/Libraries/LibPDF/Fonts/CFF.cpp index 6abbba59949..5526a81b844 100644 --- a/Userland/Libraries/LibPDF/Fonts/CFF.cpp +++ b/Userland/Libraries/LibPDF/Fonts/CFF.cpp @@ -96,7 +96,7 @@ PDFErrorOr> CFF::create(ReadonlyBytes const& cff_bytes, RefPt }); })); - // Create glpyhs (now that we have the subroutines) and associate missing information to store them and their encoding + // Create glyphs (now that we have the subroutines) and associate missing information to store them and their encoding auto glyphs = TRY(parse_charstrings(Reader(cff_bytes.slice(charstrings_offset)), subroutines)); auto charset = TRY(parse_charset(Reader { cff_bytes.slice(charset_offset) }, glyphs.size())); diff --git a/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.cpp index 43890266198..3ad4bf59709 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLMediaElement.cpp @@ -601,7 +601,7 @@ WebIDL::ExceptionOr HTMLMediaElement::fetch_resource(AK::URL const& url_re process_media_data(move(failure_callback)).release_value_but_fixme_should_propagate_errors(); // NOTE: The spec does not say exactly when to update the readyState attribute. Rather, it describes what - // each step requires, and leaves it up to the user agent to determine when those requirments are + // each step requires, and leaves it up to the user agent to determine when those requirements are // reached: https://html.spec.whatwg.org/multipage/media.html#ready-states // // Since we fetch the entire response at once, if we reach here with successfully decoded video diff --git a/Userland/Libraries/LibWeb/SVG/SVGGraphicsElement.cpp b/Userland/Libraries/LibWeb/SVG/SVGGraphicsElement.cpp index 5b938ddd6e4..37adc16d331 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGGraphicsElement.cpp +++ b/Userland/Libraries/LibWeb/SVG/SVGGraphicsElement.cpp @@ -40,14 +40,14 @@ void SVGGraphicsElement::parse_attribute(DeprecatedFlyString const& name, Deprec } } -Gfx::AffineTransform transform_from_transform_list(ReadonlySpan tranform_list) +Gfx::AffineTransform transform_from_transform_list(ReadonlySpan transform_list) { Gfx::AffineTransform affine_transform; auto to_radians = [](float degrees) { return degrees * (AK::Pi / 180.0f); }; - for (auto& tranform : tranform_list) { - tranform.operation.visit( + for (auto& transform : transform_list) { + transform.operation.visit( [&](Transform::Translate const& translate) { affine_transform.multiply(Gfx::AffineTransform {}.translate({ translate.x, translate.y })); }, diff --git a/Userland/Libraries/LibWeb/SVG/SVGGraphicsElement.h b/Userland/Libraries/LibWeb/SVG/SVGGraphicsElement.h index 44f0586e651..be0fd7f9aed 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGGraphicsElement.h +++ b/Userland/Libraries/LibWeb/SVG/SVGGraphicsElement.h @@ -39,6 +39,6 @@ protected: Gfx::AffineTransform m_transform = {}; }; -Gfx::AffineTransform transform_from_transform_list(ReadonlySpan tranform_list); +Gfx::AffineTransform transform_from_transform_list(ReadonlySpan transform_list); } diff --git a/Userland/Utilities/sed.cpp b/Userland/Utilities/sed.cpp index 57bd9e96bf0..30a0df63773 100644 --- a/Userland/Utilities/sed.cpp +++ b/Userland/Utilities/sed.cpp @@ -206,7 +206,7 @@ struct OptionalLabelArgument { { auto blanks = lexer.consume_while(is_ascii_blank); if (blanks.is_empty()) - return SedError::parsing_error(lexer, "expected one or more blank characeters"sv); + return SedError::parsing_error(lexer, "expected one or more blank characters"sv); if (lexer.next_is(is_command_separator)) return ArgsT {}; return ArgsT { lexer.consume_until(is_command_separator) }; @@ -219,7 +219,7 @@ struct FilepathArgument { { auto blanks = lexer.consume_while(is_ascii_blank); if (blanks.is_empty()) - return SedError::parsing_error(lexer, "expected one or more blank characeters"sv); + return SedError::parsing_error(lexer, "expected one or more blank characters"sv); auto filepath = lexer.consume_until(is_command_separator); if (filepath.is_empty()) return SedError::parsing_error(lexer, "input filename expected, none found");