diff options
author | Linus Groh <mail@linusgroh.de> | 2022-05-29 11:50:10 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-05-29 15:22:00 +0200 |
commit | 173dcfb7cb13fac29d06bfef0130a0469cd4ee27 (patch) | |
tree | 1622300c30db0e7e3ba42a07d23fc43a46d68ca2 | |
parent | f377951178dcc29e0a0b776f20576f76c86bc666 (diff) | |
download | serenity-173dcfb7cb13fac29d06bfef0130a0469cd4ee27.zip |
Everywhere: Fix a bunch of typos
17 files changed, 23 insertions, 23 deletions
diff --git a/Base/usr/share/man/man5/GML-Widget-HorizontalSplitter.md b/Base/usr/share/man/man5/GML-Widget-HorizontalSplitter.md index 9cef0fab7e..2a2b51687d 100644 --- a/Base/usr/share/man/man5/GML-Widget-HorizontalSplitter.md +++ b/Base/usr/share/man/man5/GML-Widget-HorizontalSplitter.md @@ -1,6 +1,6 @@ ## Name -GUI Horizontal Spitter Widget +GUI Horizontal Splitter Widget ## Description @@ -8,12 +8,12 @@ Defines a GUI horizontal splitter widget. ## Synopsis -`@GUI::HorizontalSpitter` +`@GUI::HorizontalSplitter` ## Examples ```gml -@GUI::HorizontalSpitter { +@GUI::HorizontalSplitter { } ``` diff --git a/Base/usr/share/man/man5/GML-Widget-VerticalSplitter.md b/Base/usr/share/man/man5/GML-Widget-VerticalSplitter.md index 3cda095754..57d5ac9e2b 100644 --- a/Base/usr/share/man/man5/GML-Widget-VerticalSplitter.md +++ b/Base/usr/share/man/man5/GML-Widget-VerticalSplitter.md @@ -1,6 +1,6 @@ ## Name -GML Vertical Spliiter Widget +GML Vertical Splitter Widget ## Description diff --git a/Userland/Applications/SoundPlayer/PlaybackManager.cpp b/Userland/Applications/SoundPlayer/PlaybackManager.cpp index 85a191099e..5442d13697 100644 --- a/Userland/Applications/SoundPlayer/PlaybackManager.cpp +++ b/Userland/Applications/SoundPlayer/PlaybackManager.cpp @@ -10,7 +10,7 @@ PlaybackManager::PlaybackManager(NonnullRefPtr<Audio::ConnectionFromClient> connection) : m_connection(connection) { - // FIXME: The buffer enqueuing should happen on a wholly independend second thread. + // FIXME: The buffer enqueuing should happen on a wholly independent second thread. m_timer = Core::Timer::construct(PlaybackManager::update_rate_ms, [&]() { if (!m_loader) return; diff --git a/Userland/Applications/Spreadsheet/SpreadsheetView.cpp b/Userland/Applications/Spreadsheet/SpreadsheetView.cpp index 24620bf469..8205b4dfa7 100644 --- a/Userland/Applications/Spreadsheet/SpreadsheetView.cpp +++ b/Userland/Applications/Spreadsheet/SpreadsheetView.cpp @@ -194,7 +194,7 @@ void InfinitelyScrollableTableView::mousedown_event(GUI::MouseEvent& event) { // Override the mouse event so that the the cell that is 'clicked' is not // the one right beneath the cursor but instead the one that is referred to - // when m_is_hovering_cut_zone as it can be the case that the user is targetting + // when m_is_hovering_cut_zone as it can be the case that the user is targeting // a cell yet be outside of its bounding box due to the select_padding. if (m_is_hovering_cut_zone || m_is_hovering_extend_zone) { if (m_is_hovering_cut_zone) diff --git a/Userland/Applications/SystemMonitor/main.cpp b/Userland/Applications/SystemMonitor/main.cpp index 43fd12ebd5..17c9031f5c 100644 --- a/Userland/Applications/SystemMonitor/main.cpp +++ b/Userland/Applications/SystemMonitor/main.cpp @@ -349,7 +349,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) if (auto result = Core::System::unveil("/usr/local/lib", "r"); result.is_error() && result.error().code() != ENOENT) return result.release_error(); - // This file is only accesible when running as root + // This file is only accessible when running as root if (auto result = Core::System::unveil("/boot/Kernel.debug", "r"); result.is_error() && result.error().code() != EACCES) return result.release_error(); diff --git a/Userland/DevTools/UserspaceEmulator/SoftVPU.cpp b/Userland/DevTools/UserspaceEmulator/SoftVPU.cpp index 541207ecaa..d3560c3202 100644 --- a/Userland/DevTools/UserspaceEmulator/SoftVPU.cpp +++ b/Userland/DevTools/UserspaceEmulator/SoftVPU.cpp @@ -647,7 +647,7 @@ void SoftVPU::PSHUFW_mm1_mm2m64_imm8(X86::Instruction const& insn) void SoftVPU::CMPPS_xmm1_xmm2m128_imm8(X86::Instruction const& insn) { - // FIXME: Raise Denormal, Invalid Operation (QNaN dependend on imm8) + // FIXME: Raise Denormal, Invalid Operation (QNaN dependent on imm8) XMM& xmm1 = m_xmm[insn.modrm().reg()]; f32x4 xmm2m128; @@ -689,7 +689,7 @@ void SoftVPU::CMPPS_xmm1_xmm2m128_imm8(X86::Instruction const& insn) } void SoftVPU::CMPSS_xmm1_xmm2m32_imm8(X86::Instruction const& insn) { - // FIXME: Raise Denormal, Invalid Operation (QNaN dependend on imm8) + // FIXME: Raise Denormal, Invalid Operation (QNaN dependent on imm8) float xmm1 = m_xmm[insn.modrm().reg()].ps[0]; float xmm2m128; bool res; diff --git a/Userland/Games/Spider/Game.cpp b/Userland/Games/Spider/Game.cpp index c1ccd94245..1bd5bb5928 100644 --- a/Userland/Games/Spider/Game.cpp +++ b/Userland/Games/Spider/Game.cpp @@ -305,7 +305,7 @@ void Game::mouseup_event(GUI::MouseEvent& event) bool rebound = true; if (event.button() == GUI::MouseButton::Secondary) { // This enables the game to move the focused cards to the first possible stack excluding empty stacks. - // NOTE: This ignores empty stacks, as the game has no undo button, and a card, which has been moved to an empty stack without any other possibilities is not reversable. + // NOTE: This ignores empty stacks, as the game has no undo button, and a card, which has been moved to an empty stack without any other possibilities is not reversible. for (auto& stack : m_stacks) { if (stack.is_focused()) continue; diff --git a/Userland/Libraries/LibAudio/ConnectionFromClient.cpp b/Userland/Libraries/LibAudio/ConnectionFromClient.cpp index 8777dc4b4b..fe3e4e9ae2 100644 --- a/Userland/Libraries/LibAudio/ConnectionFromClient.cpp +++ b/Userland/Libraries/LibAudio/ConnectionFromClient.cpp @@ -97,7 +97,7 @@ void ConnectionFromClient::custom_event(Core::CustomEvent&) m_user_queue->discard_samples(available_samples); - // FIXME: Could we recieve interrupts in a good non-IPC way instead? + // FIXME: Could we receive interrupts in a good non-IPC way instead? auto result = m_buffer->try_blocking_enqueue(next_chunk, [this]() { nanosleep(&m_good_sleep_time, nullptr); }); diff --git a/Userland/Libraries/LibCpp/SemanticSyntaxHighlighter.cpp b/Userland/Libraries/LibCpp/SemanticSyntaxHighlighter.cpp index 90502a3f32..f477fdb917 100644 --- a/Userland/Libraries/LibCpp/SemanticSyntaxHighlighter.cpp +++ b/Userland/Libraries/LibCpp/SemanticSyntaxHighlighter.cpp @@ -107,7 +107,7 @@ static Syntax::TextStyle style_for_token_type(Gfx::Palette const& palette, CodeC return { palette.base_text(), false }; } } -void SemanticSyntaxHighlighter::update_spans(Vector<CodeComprehension::TokenInfo> const& tokens_info, Gfx::Palette const& pallete) +void SemanticSyntaxHighlighter::update_spans(Vector<CodeComprehension::TokenInfo> const& tokens_info, Gfx::Palette const& palette) { Vector<GUI::TextDocumentSpan> spans; for (auto& token : tokens_info) { @@ -115,7 +115,7 @@ void SemanticSyntaxHighlighter::update_spans(Vector<CodeComprehension::TokenInfo GUI::TextDocumentSpan span; span.range.set_start({ token.start_line, token.start_column }); span.range.set_end({ token.end_line, token.end_column + 1 }); - auto style = style_for_token_type(pallete, token.type); + auto style = style_for_token_type(palette, token.type); span.attributes.color = style.color; span.attributes.bold = style.bold; span.is_skippable = token.type == CodeComprehension::TokenInfo::SemanticType::Whitespace; diff --git a/Userland/Libraries/LibGUI/Button.cpp b/Userland/Libraries/LibGUI/Button.cpp index a7e68718f8..18751a8812 100644 --- a/Userland/Libraries/LibGUI/Button.cpp +++ b/Userland/Libraries/LibGUI/Button.cpp @@ -79,7 +79,7 @@ void Button::paint_event(PaintEvent& event) if (m_icon) { auto solid_color = m_icon->solid_color(60); - // Note: 4.5 is the minimum recommended constrast ratio for text on the web: + // Note: 4.5 is the minimum recommended contrast ratio for text on the web: // (https://developer.mozilla.org/en-US/docs/Web/Accessibility/Understanding_WCAG/Perceivable/Color_contrast) // Reusing that threshold here as it seems to work reasonably well. bool should_invert_icon = solid_color.has_value() && palette().button().contrast_ratio(*solid_color) < 4.5f; diff --git a/Userland/Libraries/LibGfx/AntiAliasingPainter.cpp b/Userland/Libraries/LibGfx/AntiAliasingPainter.cpp index e5c6736076..ae54e3b581 100644 --- a/Userland/Libraries/LibGfx/AntiAliasingPainter.cpp +++ b/Userland/Libraries/LibGfx/AntiAliasingPainter.cpp @@ -356,7 +356,7 @@ Gfx::AntiAliasingPainter::Range Gfx::AntiAliasingPainter::draw_ellipse_part( return is_circle ? i < q : ib_squared < qa_squared; }; - // Draws a 8 octants for a circle or 4 quadrants for a (partial) elipse + // Draws a 8 octants for a circle or 4 quadrants for a (partial) ellipse while (in_symmetric_region()) { predict(); minimize(); diff --git a/Userland/Libraries/LibGfx/ClassicStylePainter.cpp b/Userland/Libraries/LibGfx/ClassicStylePainter.cpp index a78e3b87a4..be863de0f8 100644 --- a/Userland/Libraries/LibGfx/ClassicStylePainter.cpp +++ b/Userland/Libraries/LibGfx/ClassicStylePainter.cpp @@ -327,7 +327,7 @@ void ClassicStylePainter::paint_window_frame(Painter& painter, IntRect const& re if (border_radius > 0) { // FIXME: This will draw "useless" pixels that'll get drawn over by the window contents. - // preferrably we should just remove the corner pixels from the completely drawn window + // preferably we should just remove the corner pixels from the completely drawn window // but I don't know how to do that yet. :^) AntiAliasingPainter aa_painter { painter }; aa_painter.fill_rect_with_rounded_corners(rect, base_color, border_radius); diff --git a/Userland/Libraries/LibPDF/Encryption.cpp b/Userland/Libraries/LibPDF/Encryption.cpp index 07ee33b132..6b4be34c99 100644 --- a/Userland/Libraries/LibPDF/Encryption.cpp +++ b/Userland/Libraries/LibPDF/Encryption.cpp @@ -112,7 +112,7 @@ ByteBuffer StandardSecurityHandler::compute_user_password_value<false>(ByteBuffe // described in [Algorithm 2] auto encryption_key = compute_encryption_key(password_string); - // b) Initialize the MD5 hash functino and pass the 32-byte padding string + // b) Initialize the MD5 hash function and pass the 32-byte padding string // shown in step (a) of [Algorithm 2] as input to this function Crypto::Hash::MD5 md5; md5.update(standard_encryption_key_padding_bytes); diff --git a/Userland/Libraries/LibSoftGPU/Device.cpp b/Userland/Libraries/LibSoftGPU/Device.cpp index 14279127f5..13d1892e54 100644 --- a/Userland/Libraries/LibSoftGPU/Device.cpp +++ b/Userland/Libraries/LibSoftGPU/Device.cpp @@ -247,7 +247,7 @@ ALWAYS_INLINE void Device::rasterize(Gfx::IntRect& render_bounds, CB1 set_covera auto const qy1 = render_bounds_bottom & ~1; // Rasterize all quads - // FIXME: this could be embarrasingly parallel + // FIXME: this could be embarrassingly parallel for (int qy = qy0; qy <= qy1; qy += 2) { for (int qx = qx0; qx <= qx1; qx += 2) { PixelQuad quad; diff --git a/Userland/Libraries/LibWeb/HTML/EventLoop/EventLoop.cpp b/Userland/Libraries/LibWeb/HTML/EventLoop/EventLoop.cpp index 182f7d040a..597b7ebdd5 100644 --- a/Userland/Libraries/LibWeb/HTML/EventLoop/EventLoop.cpp +++ b/Userland/Libraries/LibWeb/HTML/EventLoop/EventLoop.cpp @@ -166,7 +166,7 @@ void EventLoop::process() // - The user agent believes that updating the rendering of the Document's browsing context would have no visible effect, and // - The Document's map of animation frame callbacks is empty. - // FIXME: 5. Remove from docs all Document objects for which the user agent believes that it's preferrable to skip updating the rendering for other reasons. + // FIXME: 5. Remove from docs all Document objects for which the user agent believes that it's preferable to skip updating the rendering for other reasons. // FIXME: 6. For each fully active Document in docs, flush autofocus candidates for that Document if its browsing context is a top-level browsing context. diff --git a/Userland/Libraries/LibWeb/HTML/FormAssociatedElement.h b/Userland/Libraries/LibWeb/HTML/FormAssociatedElement.h index 1434eedec2..82bf4b81e4 100644 --- a/Userland/Libraries/LibWeb/HTML/FormAssociatedElement.h +++ b/Userland/Libraries/LibWeb/HTML/FormAssociatedElement.h @@ -11,8 +11,8 @@ namespace Web::HTML { -// Form-associated elements should invoke this macro to inject overidden FormAssociatedElement and HTMLElement -// methods as needed. If your class wished to override an HTMLElement method that is overidden here, use the +// Form-associated elements should invoke this macro to inject overridden FormAssociatedElement and HTMLElement +// methods as needed. If your class wished to override an HTMLElement method that is overridden here, use the // following methods instead: // // HTMLElement::inserted() -> Use form_associated_element_was_inserted() diff --git a/Userland/Libraries/LibWeb/HTML/Worker.cpp b/Userland/Libraries/LibWeb/HTML/Worker.cpp index f0a4fc7c1a..3fef01f121 100644 --- a/Userland/Libraries/LibWeb/HTML/Worker.cpp +++ b/Userland/Libraries/LibWeb/HTML/Worker.cpp @@ -111,7 +111,7 @@ void Worker::run_a_worker(AK::URL& url, EnvironmentSettingsObject& outside_setti if (is_shared) TODO(); - // FIXME: Make and use subclasses of WorkerGlobalScope, however this requries JS::GlobalObject to + // FIXME: Make and use subclasses of WorkerGlobalScope, however this requires JS::GlobalObject to // play nicely with the IDL interpreter, to make spec-compliant extensions, which it currently does not. m_worker_scope = m_worker_vm->heap().allocate_without_global_object<JS::GlobalObject>(); m_worker_scope->initialize_global_object(); @@ -171,7 +171,7 @@ void Worker::run_a_worker(AK::URL& url, EnvironmentSettingsObject& outside_setti m_inner_settings = WorkerEnvironmentSettingsObject::setup(*m_document, m_execution_context); // 10. Set worker global scope's name to the value of options's name member. - // FIXME: name propery requires the SharedWorkerGlobalScope or DedicatedWorkerGlobalScope child class to be used + // FIXME: name property requires the SharedWorkerGlobalScope or DedicatedWorkerGlobalScope child class to be used // 11. Append owner to worker global scope's owner set. // FIXME: support for 'owner' set on WorkerGlobalScope |