diff options
56 files changed, 90 insertions, 90 deletions
diff --git a/AK/Weakable.h b/AK/Weakable.h index f74b47f77e..243b611408 100644 --- a/AK/Weakable.h +++ b/AK/Weakable.h @@ -73,7 +73,7 @@ public: { auto current_consumers = m_consumers.fetch_or(1u, AK::MemoryOrder::memory_order_relaxed); VERIFY(!(current_consumers & 1u)); - // We flagged revokation, now wait until everyone trying to obtain + // We flagged revocation, now wait until everyone trying to obtain // a strong reference is done while (current_consumers > 0) { #ifdef KERNEL @@ -94,7 +94,7 @@ private: { } mutable Atomic<void*> m_ptr; - mutable Atomic<unsigned> m_consumers; // LSB indicates revokation in progress + mutable Atomic<unsigned> m_consumers; // LSB indicates revocation in progress }; template<typename T> diff --git a/Base/res/html/misc/custome-list-item-2.png b/Base/res/html/misc/custom-list-item-2.png Binary files differindex dc90575be8..dc90575be8 100644 --- a/Base/res/html/misc/custome-list-item-2.png +++ b/Base/res/html/misc/custom-list-item-2.png diff --git a/Base/res/html/misc/lists.html b/Base/res/html/misc/lists.html index 45cd33d382..ed21f5d97f 100644 --- a/Base/res/html/misc/lists.html +++ b/Base/res/html/misc/lists.html @@ -200,7 +200,7 @@ </ol> <p>list-style: outside lower-roman url(list-file.png)</p> - <ol style="list-style: outside lower-roman url(custome-list-item-2.png);"> + <ol style="list-style: outside lower-roman url(custom-list-item-2.png);"> <li>First</li> <li>Second</li> <li>Third</li> diff --git a/Base/usr/share/man/man1/chmod.md b/Base/usr/share/man/man1/chmod.md index cf7b83950b..9a8b5310c9 100644 --- a/Base/usr/share/man/man1/chmod.md +++ b/Base/usr/share/man/man1/chmod.md @@ -21,7 +21,7 @@ The letters `[+-=]` controls which action will be taken: `+` sets the permission The letters `[rwx]` controls which permission will be changes: `r` is read, `w` is write and `x` is execute. -A numeric mode is combination of 1 to 4 numbers. Omitted digits are assumet to be leading zeros. The first digit select the set user ID (4), set group ID (2) and restricted deletion / sticky (1) attributes. The second, third and fourth digit controls permissions of each user group: owner, owning group and others (not owner or owning group), respectively: read (4), write (2) and execute (1). +A numeric mode is combination of 1 to 4 numbers. Omitted digits are assumed to be leading zeros. The first digit select the set user ID (4), set group ID (2) and restricted deletion / sticky (1) attributes. The second, third and fourth digit controls permissions of each user group: owner, owning group and others (not owner or owning group), respectively: read (4), write (2) and execute (1). ## Examples diff --git a/Base/usr/share/man/man1/copy.md b/Base/usr/share/man/man1/copy.md index 5fa6ea950e..9fb15bc1ba 100644 --- a/Base/usr/share/man/man1/copy.md +++ b/Base/usr/share/man/man1/copy.md @@ -23,6 +23,6 @@ $ copy [options...] [text...] # Copy some image to clipboard $ cat image.png | copy -t image/png -# Place text 'foo' in clupboard +# Place text 'foo' in clipboard $ copy foo ``` diff --git a/Base/usr/share/man/man7/Audio-subsystem.md b/Base/usr/share/man/man7/Audio-subsystem.md index e50dc91823..dd356a6f12 100644 --- a/Base/usr/share/man/man7/Audio-subsystem.md +++ b/Base/usr/share/man/man7/Audio-subsystem.md @@ -26,7 +26,7 @@ LibAudio is the baseline audio library that provides common audio abstractions, #### LibDSP -LibDSP is the digital signal processing library. It provides structures for audio editing programs, such as tracks and clips, while both dealing with MIDI data and sample data. More important is the Processor system, which allows synthesizers, samplers, sequencers, effects, etc. to be written with a common interface and be combined into chains for unlimited DSP (and musical) potential. The ProcessorParameters provide an interface for changing processor parameters programatically or through a UI. +LibDSP is the digital signal processing library. It provides structures for audio editing programs, such as tracks and clips, while both dealing with MIDI data and sample data. More important is the Processor system, which allows synthesizers, samplers, sequencers, effects, etc. to be written with a common interface and be combined into chains for unlimited DSP (and musical) potential. The ProcessorParameters provide an interface for changing processor parameters programmatically or through a UI. LibDSP was started to support development efforts in Piano, but it is intended as a general-purpose audio processing library, building on the groundwork from LibAudio. Therefore, users of LibDSP must be familiar with LibAudio classes and concepts, as they are used extensively in LibDSP. @@ -46,7 +46,7 @@ Audio volume is more complicated than just multiplying a (digital or analog) aud For the SerenityOS audio system, the following applies: Userland applications and libraries that do their own volume changes need to be aware of the nature of volume. LibAudio provides utility functions for correctly handling volume, so these are to be used whenever applicable. For AudioServer, main and per-client volume is already handled correctly; to the outside, volume is linear between 0 and 1. -For example: A program may set its client volume to 0.5 and the audio will be percieved as half as loud by a human. However, if the program wishes to change the volume beforehand, it needs to use logarithmic scaling, for example with LibAudio's built-in functionality. +For example: A program may set its client volume to 0.5 and the audio will be perceived as half as loud by a human. However, if the program wishes to change the volume beforehand, it needs to use logarithmic scaling, for example with LibAudio's built-in functionality. ### Sample rate diff --git a/Base/usr/share/man/man7/proc.md b/Base/usr/share/man/man7/proc.md index aa03ff4ab4..0a724554da 100644 --- a/Base/usr/share/man/man7/proc.md +++ b/Base/usr/share/man/man7/proc.md @@ -36,11 +36,11 @@ them. ### `sys` directory -This subdirectoy includes global settings of the kernel. +This subdirectory includes global settings of the kernel. * **`caps_lock_to_ctrl`** - this node controls remapping of of caps lock to the Ctrl key. * **`kmalloc_stacks`** - this node controls whether to send information about kmalloc to debug log. -* **`ubsan_is_deadly`** - this node controls the deadliness of the kernel undefinied behavior +* **`ubsan_is_deadly`** - this node controls the deadliness of the kernel undefined behavior sanitizer errors. ### Per process entries diff --git a/Base/usr/share/man/man8/groupadd.md b/Base/usr/share/man/man8/groupadd.md index 6a7c781b15..8268cf62dc 100644 --- a/Base/usr/share/man/man8/groupadd.md +++ b/Base/usr/share/man/man8/groupadd.md @@ -33,6 +33,6 @@ This program must be run as root. ```sh # groupadd -g 110 contributors -# groupadd mainteners +# groupadd maintainers ``` diff --git a/Documentation/BuildInstructionsMacOS.md b/Documentation/BuildInstructionsMacOS.md index 9356cadb5a..5b439b28e4 100644 --- a/Documentation/BuildInstructionsMacOS.md +++ b/Documentation/BuildInstructionsMacOS.md @@ -2,7 +2,7 @@ # Prerequisites -This installation guide assumes that you have [Homebrew](https://brew.sh) and Xcode installed. You need to open Xcode atleast once for it to install the required tools. +This installation guide assumes that you have [Homebrew](https://brew.sh) and Xcode installed. You need to open Xcode at least once for it to install the required tools. Before you build, you must set your command line tools to Xcode's tools instead of the ones installed via Homebrew: ```console diff --git a/Documentation/NetworkBoot.md b/Documentation/NetworkBoot.md index f8506adcf4..b3777ba600 100644 --- a/Documentation/NetworkBoot.md +++ b/Documentation/NetworkBoot.md @@ -10,7 +10,7 @@ This guide assumes several things: - The TFTP server root is `/srv/tftp/` - Bootloaders are located inside `/srv/tftp/boot/` -- SerenityOS artefacts are located inside `/srv/tftp/serenity/`: +- SerenityOS artifacts are located inside `/srv/tftp/serenity/`: - The prekernel is located at `/srv/tftp/serenity/prekernel` - You can find it at `Build/i686/Kernel/Prekernel/Prekernel` - The kernel is located at `/srv/tftp/serenity/kernel` @@ -134,7 +134,7 @@ LABEL SerenityOS ### Troubleshooting - Issues with DHCP or TFTP usually require sniffing packets on the network to figure out. -- TFTP is a slow protocol, transferring the QEMU disk image (~ 200 MiB) will take some time. Consider setting up a FTP or HTTP server for faster downloading of SerenityOS artefacts if your bootloader supports it. +- TFTP is a slow protocol, transferring the QEMU disk image (~ 200 MiB) will take some time. Consider setting up a FTP or HTTP server for faster downloading of SerenityOS artifacts if your bootloader supports it. - Remember that SerenityOS has not been extensively tested on physical hardware. - Some BIOS implementations of PXE are buggy or some machines may not have a PXE boot option at all in which case you could try using [iPXE](https://ipxe.org/). - Virtual machines can also be booted over the network. Cheat notes for QEMU on Linux, assuming `br0` is already set up: diff --git a/Documentation/Patterns.md b/Documentation/Patterns.md index 9c8f37571a..9bc4fefae3 100644 --- a/Documentation/Patterns.md +++ b/Documentation/Patterns.md @@ -234,7 +234,7 @@ See: https://en.cppreference.com/w/cpp/utility/source_location `AK::SourceLocation` is the implementation of this feature in SerenityOS. It's become the idiomatic way to capture the location when adding extra debugging instrumentation, without resorting to -litering the code with preprocessor macros. +littering the code with preprocessor macros. To use it, you can add the `AK::SourceLocation` as a default argument to any function, using `AK::SourceLocation::current()` to initialize the diff --git a/Documentation/SelfHostedRunners.md b/Documentation/SelfHostedRunners.md index 05668f1f55..c2587aa1bd 100644 --- a/Documentation/SelfHostedRunners.md +++ b/Documentation/SelfHostedRunners.md @@ -63,7 +63,7 @@ RUST_WHITELISTED_EVENT_NAME=push ```shell MAX_RUNNER_THREADS=XXX ``` -If you are setting up multiple runners on the same machine, this setting can be used to divvy up the cores, if youre only setting up one runner, this can just be set to the server's core count +If you are setting up multiple runners on the same machine, this setting can be used to divvy up the cores, if you're only setting up one runner, this can just be set to the server's core count ### Install the runner as a service ```shell sudo ./svc.sh install diff --git a/Kernel/Arch/x86/Interrupts.h b/Kernel/Arch/x86/Interrupts.h index 1da549ee12..6fafca5365 100644 --- a/Kernel/Arch/x86/Interrupts.h +++ b/Kernel/Arch/x86/Interrupts.h @@ -15,7 +15,7 @@ VALIDATE_IS_X86() namespace Kernel { -class GenericInterruptHandeler; +class GenericInterruptHandler; extern "C" void interrupt_common_asm_entry(); diff --git a/Kernel/FileSystem/TmpFS.cpp b/Kernel/FileSystem/TmpFS.cpp index 93a1fbeb26..440e63cd4c 100644 --- a/Kernel/FileSystem/TmpFS.cpp +++ b/Kernel/FileSystem/TmpFS.cpp @@ -162,7 +162,7 @@ ErrorOr<size_t> TmpFSInode::write_bytes(off_t offset, size_t size, const UserOrK if (m_content && static_cast<off_t>(m_content->capacity()) >= new_size) { m_content->set_size(new_size); } else { - // Grow the content buffer 2x the new sizeto accommodate repeating write() calls. + // Grow the content buffer 2x the new size to accommodate repeating write() calls. // Note that we're not actually committing physical memory to the buffer // until it's needed. We only grow VM here. diff --git a/Kernel/FileSystem/ext2_fs.h b/Kernel/FileSystem/ext2_fs.h index 2214b37f43..7f4194dcf5 100644 --- a/Kernel/FileSystem/ext2_fs.h +++ b/Kernel/FileSystem/ext2_fs.h @@ -138,7 +138,7 @@ struct ext2_group_desc { __u16 bg_flags; __u32 bg_reserved[2]; __u16 bg_itable_unused; /* Unused inodes count */ - __u16 bg_checksum; /* crc16(s_uuid+grouo_num+group_desc)*/ + __u16 bg_checksum; /* crc16(s_uuid+group_num+group_desc)*/ }; struct ext4_group_desc { @@ -151,7 +151,7 @@ struct ext4_group_desc { __u16 bg_flags; __u32 bg_reserved[2]; __u16 bg_itable_unused; /* Unused inodes count */ - __u16 bg_checksum; /* crc16(s_uuid+grouo_num+group_desc)*/ + __u16 bg_checksum; /* crc16(s_uuid+group_num+group_desc)*/ __u32 bg_block_bitmap_hi; /* Blocks bitmap block MSB */ __u32 bg_inode_bitmap_hi; /* Inodes bitmap block MSB */ __u32 bg_inode_table_hi; /* Inodes table block MSB */ diff --git a/Kernel/Graphics/Bochs/GraphicsAdapter.cpp b/Kernel/Graphics/Bochs/GraphicsAdapter.cpp index 9fd46427f1..f781024111 100644 --- a/Kernel/Graphics/Bochs/GraphicsAdapter.cpp +++ b/Kernel/Graphics/Bochs/GraphicsAdapter.cpp @@ -105,7 +105,7 @@ UNMAP_AFTER_INIT BochsGraphicsAdapter::BochsGraphicsAdapter(PCI::DeviceIdentifie , m_mmio_registers(PCI::get_BAR2(pci_device_identifier.address()) & 0xfffffff0) , m_registers(Memory::map_typed_writable<BochsDisplayMMIORegisters volatile>(m_mmio_registers)) { - // We assume safe resolutio is 1024x768x32 + // We assume safe resolution is 1024x768x32 m_framebuffer_console = Graphics::ContiguousFramebufferConsole::initialize(PhysicalAddress(PCI::get_BAR0(pci_device_identifier.address()) & 0xfffffff0), 1024, 768, 1024 * sizeof(u32)); // FIXME: This is a very wrong way to do this... GraphicsManagement::the().m_console = m_framebuffer_console; diff --git a/Kernel/Prekernel/Arch/aarch64/Mailbox.cpp b/Kernel/Prekernel/Arch/aarch64/Mailbox.cpp index b22cec535e..3f52002adc 100644 --- a/Kernel/Prekernel/Arch/aarch64/Mailbox.cpp +++ b/Kernel/Prekernel/Arch/aarch64/Mailbox.cpp @@ -81,7 +81,7 @@ bool Mailbox::send_queue(void* queue, u32 queue_size) const auto& mmio = MMIO::the(); - // The mailbox interface has a FIFO for message deliverly in both directions. + // The mailbox interface has a FIFO for message delivery in both directions. // Responses can be delivered out of order to requests, but we currently ever only send on request at once. // It'd be nice to have an async interface here where we send a message, then return immediately, and read the response when an interrupt arrives. // But for now, this is synchronous. diff --git a/Kernel/Process.h b/Kernel/Process.h index eef9f2c88d..75f7fc2f6f 100644 --- a/Kernel/Process.h +++ b/Kernel/Process.h @@ -438,7 +438,7 @@ public: NonnullOwnPtrVector<KString> const& arguments() const { return m_arguments; }; NonnullOwnPtrVector<KString> const& environment() const { return m_environment; }; - ErrorOr<void> exec(NonnullOwnPtr<KString> path, NonnullOwnPtrVector<KString> arguments, NonnullOwnPtrVector<KString> environment, int recusion_depth = 0); + ErrorOr<void> exec(NonnullOwnPtr<KString> path, NonnullOwnPtrVector<KString> arguments, NonnullOwnPtrVector<KString> environment, int recursion_depth = 0); ErrorOr<LoadResult> load(NonnullRefPtr<OpenFileDescription> main_program_description, RefPtr<OpenFileDescription> interpreter_description, const ElfW(Ehdr) & main_program_header); diff --git a/Meta/CMake/Superbuild/CMakeLists.txt b/Meta/CMake/Superbuild/CMakeLists.txt index 84b8183a3d..6750b2a7cc 100644 --- a/Meta/CMake/Superbuild/CMakeLists.txt +++ b/Meta/CMake/Superbuild/CMakeLists.txt @@ -33,7 +33,7 @@ get_filename_component( ABSOLUTE CACHE ) set(SERENITY_ARCH "i686" CACHE STRING "Target architecture for SerenityOS.") -set(SERENITY_TOOLCHAIN "GNU" CACHE STRING "Compliler toolchain to use for Serenity (GNU or Clang)") +set(SERENITY_TOOLCHAIN "GNU" CACHE STRING "Compiler toolchain to use for Serenity (GNU or Clang)") # FIXME: It is preferred to keep all the sub-build artifacts below the binary directory for the superbuild # However, this has an impact on developer's IDE settings and more significantly, the Ports tree. diff --git a/Meta/Lagom/CMakeLists.txt b/Meta/Lagom/CMakeLists.txt index d9bd4a9803..9033024341 100644 --- a/Meta/Lagom/CMakeLists.txt +++ b/Meta/Lagom/CMakeLists.txt @@ -293,7 +293,7 @@ if (BUILD_LAGOM) # ELF file(GLOB LIBELF_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibELF/*.cpp") - # There's no way we can reliably make the dymamic loading classes cross platform + # There's no way we can reliably make the dynamic loading classes cross platform list(FILTER LIBELF_SOURCES EXCLUDE REGEX ".*Dynamic.*.cpp$") lagom_lib(ELF elf SOURCES ${LIBELF_SOURCES} @@ -316,9 +316,9 @@ if (BUILD_LAGOM) # GL file(GLOB LIBGL_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibGL/*.cpp") - file(GLOB LIBGL_TEX_SCOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibGL/Tex/*.cpp") + file(GLOB LIBGL_TEX_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibGL/Tex/*.cpp") lagom_lib(GL gl - SOURCES ${LIBGL_SOURCES} ${LIBGL_TEX_SCOURCES} + SOURCES ${LIBGL_SOURCES} ${LIBGL_TEX_SOURCES} LIBS m LagomGfx LagomSoftGPU) # GUI-GML diff --git a/Meta/Lagom/ReadMe.md b/Meta/Lagom/ReadMe.md index edc80c8b50..390f826056 100644 --- a/Meta/Lagom/ReadMe.md +++ b/Meta/Lagom/ReadMe.md @@ -14,7 +14,7 @@ Lagom can be used to fuzz parts of SerenityOS's code base. Fuzzers can be run lo ### Fuzzing locally -Lagom can be used to fuzz parts of SerenityOS's code base. This requires buildling with `clang`, so it's convenient to use a different build directory for that. Fuzzers work best with Address Sanitizer enabled. Run CMake like this: +Lagom can be used to fuzz parts of SerenityOS's code base. This requires building with `clang`, so it's convenient to use a different build directory for that. Fuzzers work best with Address Sanitizer enabled. Run CMake like this: # From the root of the SerenityOS checkout: cmake -GNinja -S Meta/Lagom -B Build/lagom-fuzzers \ diff --git a/Meta/Lagom/Tools/CodeGenerators/LibUnicode/GeneratorUtil.h b/Meta/Lagom/Tools/CodeGenerators/LibUnicode/GeneratorUtil.h index 74621fbbc2..b1501a89f4 100644 --- a/Meta/Lagom/Tools/CodeGenerators/LibUnicode/GeneratorUtil.h +++ b/Meta/Lagom/Tools/CodeGenerators/LibUnicode/GeneratorUtil.h @@ -53,7 +53,7 @@ public: IndexType ensure(StorageType value) { // We maintain a set of unique values in two structures: a vector which stores the values in - // the order they are added, and a hash map which maps that value to its index in the vetor. + // the order they are added, and a hash map which maps that value to its index in the vector. // The vector is to ensure the values are generated in an easily known order, and the map is // to allow quickly deciding if a value is actually unique (otherwise, we'd have to linearly // search the vector for each value). diff --git a/Meta/Websites/serenityos.org/happy/3rd/index.html b/Meta/Websites/serenityos.org/happy/3rd/index.html index 0b2c5ceec2..b0bb90f32b 100644 --- a/Meta/Websites/serenityos.org/happy/3rd/index.html +++ b/Meta/Websites/serenityos.org/happy/3rd/index.html @@ -574,7 +574,7 @@ <footer> <h2>Thanks</h2> - <p>To all the awesome people who have particpated in the last year, writing code, + <p>To all the awesome people who have participated in the last year, writing code, bug reports, documentation, commenting/liking/sharing my videos, sending letters, chilling on Discord, coming to the Office Hours livestreams, telling your friends, etc, thank you all! diff --git a/Tests/AK/TestArray.cpp b/Tests/AK/TestArray.cpp index 440a9935ae..a1eab1e1f0 100644 --- a/Tests/AK/TestArray.cpp +++ b/Tests/AK/TestArray.cpp @@ -17,7 +17,7 @@ static constexpr int constexpr_sum(const Span<const int> span) return sum; } -TEST_CASE(compile_time_contructible) +TEST_CASE(compile_time_constructible) { constexpr Array<int, 4> array = { 0, 1, 2, 3 }; static_assert(array.size() == 4); diff --git a/Tests/AK/TestSpan.cpp b/Tests/AK/TestSpan.cpp index 8affd79584..c34e02b4bb 100644 --- a/Tests/AK/TestSpan.cpp +++ b/Tests/AK/TestSpan.cpp @@ -17,7 +17,7 @@ TEST_CASE(constexpr_default_constructor_is_empty) static_assert(span.is_empty(), "Default constructed span should be empty."); } -TEST_CASE(implicit_converson_to_const) +TEST_CASE(implicit_conversion_to_const) { constexpr Bytes bytes0; [[maybe_unused]] constexpr ReadonlyBytes bytes2 = bytes0; diff --git a/Tests/AK/TestTypeTraits.cpp b/Tests/AK/TestTypeTraits.cpp index 7e10af761a..59df08e38e 100644 --- a/Tests/AK/TestTypeTraits.cpp +++ b/Tests/AK/TestTypeTraits.cpp @@ -40,7 +40,7 @@ static_assert(!trait<__VA_ARGS__>) enum class Enummer : u8 { - Dummmy, + Dummy }; TEST_CASE(FundamentalTypeClassification) diff --git a/Tests/LibC/TestStackSmash.cpp b/Tests/LibC/TestStackSmash.cpp index bcea97d501..d674979cec 100644 --- a/Tests/LibC/TestStackSmash.cpp +++ b/Tests/LibC/TestStackSmash.cpp @@ -7,7 +7,7 @@ #include <AK/Format.h> #include <LibTest/TestCase.h> -// Note: Needs to be 'noline' so stack canary isn't optimized out. +// Note: Needs to be 'noinline' so stack canary isn't optimized out. static void __attribute__((noinline)) smasher(char* string) { #pragma GCC diagnostic push @@ -18,7 +18,7 @@ static void __attribute__((noinline)) smasher(char* string) #pragma GCC diagnostic pop } -// Note: Needs to be 'noline' so stack canary isn't optimized out. +// Note: Needs to be 'noinline' so stack canary isn't optimized out. static void __attribute__((noinline)) stack_to_smash() { char string[8] = {}; diff --git a/Userland/Applications/Debugger/main.cpp b/Userland/Applications/Debugger/main.cpp index 9751c28df2..66da4b426e 100644 --- a/Userland/Applications/Debugger/main.cpp +++ b/Userland/Applications/Debugger/main.cpp @@ -257,7 +257,7 @@ int main(int argc, char** argv) bool no_source_info = !source_position.has_value(); if (no_source_info || source_position.value() != previous_source_position) { if (no_source_info) - outln("No source information for current instruction! stoppoing."); + outln("No source information for current instruction! stopping."); in_step_line = false; } else { return Debug::DebugSession::DebugDecision::SingleStep; diff --git a/Userland/Applications/Spreadsheet/JSIntegration.cpp b/Userland/Applications/Spreadsheet/JSIntegration.cpp index 0015f6eff2..a14d4d7fd9 100644 --- a/Userland/Applications/Spreadsheet/JSIntegration.cpp +++ b/Userland/Applications/Spreadsheet/JSIntegration.cpp @@ -18,7 +18,7 @@ namespace Spreadsheet { Optional<FunctionAndArgumentIndex> get_function_and_argument_index(StringView source) { JS::Lexer lexer { source }; - // Track <identifier> <OpenParen>'s, and how many complete expressions are inside the parenthesised expression. + // Track <identifier> <OpenParen>'s, and how many complete expressions are inside the parenthesized expression. Vector<size_t> state; StringView last_name; Vector<StringView> names; diff --git a/Userland/Applications/Spreadsheet/Readers/XSV.h b/Userland/Applications/Spreadsheet/Readers/XSV.h index 25baaaa3d0..abd07117f5 100644 --- a/Userland/Applications/Spreadsheet/Readers/XSV.h +++ b/Userland/Applications/Spreadsheet/Readers/XSV.h @@ -44,7 +44,7 @@ struct ParserTraits { E(NonConformingColumnCount, "Header count does not match given column count") \ E(QuoteFailure, "Quoting failure") \ E(InternalError, "Internal error") \ - E(DataPastLogicalEnd, "Exrta data past the logical end of the rows") + E(DataPastLogicalEnd, "Extra data past the logical end of the rows") enum class ReadError { #define E(name, _) name, diff --git a/Userland/Applications/Spreadsheet/select_format_page.gml b/Userland/Applications/Spreadsheet/select_format_page.gml index 7010ce8e38..9e88191a99 100644 --- a/Userland/Applications/Spreadsheet/select_format_page.gml +++ b/Userland/Applications/Spreadsheet/select_format_page.gml @@ -7,7 +7,7 @@ @GUI::Label { text: "Please double-check the guessed file type\nor select the correct one below" - text_aliignment: "TopLeft" + text_alignment: "TopLeft" fixed_height: 32 } diff --git a/Userland/Demos/Fire/Fire.cpp b/Userland/Demos/Fire/Fire.cpp index 2f67491e33..6a1b9bf440 100644 --- a/Userland/Demos/Fire/Fire.cpp +++ b/Userland/Demos/Fire/Fire.cpp @@ -134,7 +134,7 @@ void Fire::timer_event(Core::TimerEvent&) if (phase > 1) phase = 0; - /* Paint our palletized buffer to screen */ + /* Paint our palettized buffer to screen */ for (int px = 0 + phase; px < FIRE_WIDTH; px += 2) { for (int py = 1; py < FIRE_HEIGHT; py++) { int rnd = rand() % 3; diff --git a/Userland/DevTools/UserspaceEmulator/ValueWithShadow.h b/Userland/DevTools/UserspaceEmulator/ValueWithShadow.h index ba1a0c2795..06733ce65b 100644 --- a/Userland/DevTools/UserspaceEmulator/ValueWithShadow.h +++ b/Userland/DevTools/UserspaceEmulator/ValueWithShadow.h @@ -13,8 +13,8 @@ namespace UserspaceEmulator { -constexpr u64 _inititalized_64 = 0x01010101'01010101LLU; -constexpr u128 _initialized_128 = u128(_inititalized_64, _inititalized_64); +constexpr u64 _initialized_64 = 0x01010101'01010101LLU; +constexpr u128 _initialized_128 = u128(_initialized_64, _initialized_64); constexpr u256 _initialized_256 = u256(_initialized_128, _initialized_128); template<typename T> @@ -43,7 +43,7 @@ public: if constexpr (sizeof(T) == 16) return (m_shadow & _initialized_128) != _initialized_128; if constexpr (sizeof(T) == 8) - return (m_shadow & _inititalized_64) != _inititalized_64; + return (m_shadow & _initialized_64) != _initialized_64; if constexpr (sizeof(T) == 4) return (m_shadow & 0x01010101) != 0x01010101; if constexpr (sizeof(T) == 2) @@ -59,7 +59,7 @@ public: if constexpr (sizeof(T) == 16) m_shadow = _initialized_128; if constexpr (sizeof(T) == 8) - m_shadow = _inititalized_64; + m_shadow = _initialized_64; if constexpr (sizeof(T) == 4) m_shadow = 0x01010101; if constexpr (sizeof(T) == 2) @@ -91,7 +91,7 @@ public: if constexpr (sizeof(T) == 16) return (m_shadow & _initialized_128) != _initialized_128; if constexpr (sizeof(T) == 8) - return (m_shadow & _inititalized_64) != _inititalized_64; + return (m_shadow & _initialized_64) != _initialized_64; if constexpr (sizeof(T) == 4) return (m_shadow & 0x01010101) != 0x01010101; if constexpr (sizeof(T) == 2) @@ -121,7 +121,7 @@ ALWAYS_INLINE ValueWithShadow<T> shadow_wrap_as_initialized(T value) if constexpr (sizeof(T) == 16) return { value, _initialized_128 }; if constexpr (sizeof(T) == 8) - return { value, _inititalized_64 }; + return { value, _initialized_64 }; if constexpr (sizeof(T) == 4) return { value, 0x01010101 }; if constexpr (sizeof(T) == 2) diff --git a/Userland/Libraries/LibC/fenv.cpp b/Userland/Libraries/LibC/fenv.cpp index eef6f4b428..a9f057f25e 100644 --- a/Userland/Libraries/LibC/fenv.cpp +++ b/Userland/Libraries/LibC/fenv.cpp @@ -7,7 +7,7 @@ #include <AK/Types.h> #include <fenv.h> -// This is the size of the floating point envinronment image in protected mode +// This is the size of the floating point environment image in protected mode static_assert(sizeof(__x87_floating_point_environment) == 28); static u16 read_status_register() diff --git a/Userland/Libraries/LibC/spawn.cpp b/Userland/Libraries/LibC/spawn.cpp index 96b7fe857a..c1ac4b5a7b 100644 --- a/Userland/Libraries/LibC/spawn.cpp +++ b/Userland/Libraries/LibC/spawn.cpp @@ -212,9 +212,9 @@ int posix_spawnattr_getschedparam(const posix_spawnattr_t* attr, struct sched_pa } // https://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_spawnattr_getschedpolicy.html -int posix_spawnattr_getschedpolicy(const posix_spawnattr_t* attr, int* out_schedpolicty) +int posix_spawnattr_getschedpolicy(const posix_spawnattr_t* attr, int* out_schedpolicy) { - *out_schedpolicty = attr->schedpolicy; + *out_schedpolicy = attr->schedpolicy; return 0; } diff --git a/Userland/Libraries/LibC/sys/auxv.h b/Userland/Libraries/LibC/sys/auxv.h index e5d6a87702..28da5da4e7 100644 --- a/Userland/Libraries/LibC/sys/auxv.h +++ b/Userland/Libraries/LibC/sys/auxv.h @@ -27,7 +27,7 @@ __BEGIN_DECLS #define AT_EGID 14 /* a_val holds effective group id of process */ #define AT_PLATFORM 15 /* a_val points to a string containing platform name */ #define AT_HWCAP 16 /* a_val contains bitmask of CPU features. Equivalent to CPUID 1.EDX*/ -#define AT_CLKTCK 17 /* a_val contains frequence at which times() increments. (Re: Spec. What is times()?) */ +#define AT_CLKTCK 17 /* a_val contains frequency at which times() increments. (Re: Spec. What is times()?) */ #define AT_SECURE 23 /* a_val holds 1 if program in secure mode (e.g. suid). Otherwise 0 */ #define AT_BASE_PLATFORM 24 /* a_ptr points to a string identifying base platform name, which might be different from platform (e.g x86_64 when in i386 compat) */ #define AT_RANDOM 25 /* a_ptr points to 16 securely generated random bytes */ diff --git a/Userland/Libraries/LibCrypto/BigInt/Algorithms/BitwiseOperations.cpp b/Userland/Libraries/LibCrypto/BigInt/Algorithms/BitwiseOperations.cpp index f0333d1940..51bc227cf6 100644 --- a/Userland/Libraries/LibCrypto/BigInt/Algorithms/BitwiseOperations.cpp +++ b/Userland/Libraries/LibCrypto/BigInt/Algorithms/BitwiseOperations.cpp @@ -237,7 +237,7 @@ ALWAYS_INLINE UnsignedBigInteger::Word UnsignedBigIntegerAlgorithms::shift_left_ size_t result_word_index) { // "<= length()" (rather than length() - 1) is intentional, - // The result inedx of length() is used when calculating the carry word + // The result index of length() is used when calculating the carry word VERIFY(result_word_index <= number.length()); VERIFY(num_bits <= UnsignedBigInteger::BITS_IN_WORD); u32 result = 0; diff --git a/Userland/Libraries/LibCrypto/BigInt/SignedBigInteger.cpp b/Userland/Libraries/LibCrypto/BigInt/SignedBigInteger.cpp index 5299e7dd5e..59aaf1933d 100644 --- a/Userland/Libraries/LibCrypto/BigInt/SignedBigInteger.cpp +++ b/Userland/Libraries/LibCrypto/BigInt/SignedBigInteger.cpp @@ -60,7 +60,7 @@ u64 SignedBigInteger::to_u64() const u64 unsigned_value = m_unsigned_data.to_u64(); if (!m_sign) return unsigned_value; - return ~(unsigned_value - 1); // equivalent to `-unsigned_value`, but doesnt trigger UBSAN + return ~(unsigned_value - 1); // equivalent to `-unsigned_value`, but doesn't trigger UBSAN } double SignedBigInteger::to_double() const diff --git a/Userland/Libraries/LibDebug/Dwarf/AbbreviationsMap.cpp b/Userland/Libraries/LibDebug/Dwarf/AbbreviationsMap.cpp index 5cd2e4f4b3..983d5f5b27 100644 --- a/Userland/Libraries/LibDebug/Dwarf/AbbreviationsMap.cpp +++ b/Userland/Libraries/LibDebug/Dwarf/AbbreviationsMap.cpp @@ -37,9 +37,9 @@ void AbbreviationsMap::populate_map() u8 has_children = 0; abbreviation_stream >> has_children; - AbbreviationEntry abbrevation_entry {}; - abbrevation_entry.tag = static_cast<EntryTag>(tag); - abbrevation_entry.has_children = (has_children == 1); + AbbreviationEntry abbreviation_entry {}; + abbreviation_entry.tag = static_cast<EntryTag>(tag); + abbreviation_entry.has_children = (has_children == 1); AttributeSpecification current_attribute_specification {}; do { @@ -58,11 +58,11 @@ void AbbreviationsMap::populate_map() } if (current_attribute_specification.attribute != Attribute::None) { - abbrevation_entry.attribute_specifications.append(current_attribute_specification); + abbreviation_entry.attribute_specifications.append(current_attribute_specification); } } while (current_attribute_specification.attribute != Attribute::None || current_attribute_specification.form != AttributeDataForm::None); - m_entries.set((u32)abbreviation_code, move(abbrevation_entry)); + m_entries.set((u32)abbreviation_code, move(abbreviation_entry)); } } diff --git a/Userland/Libraries/LibDebug/ProcessInspector.cpp b/Userland/Libraries/LibDebug/ProcessInspector.cpp index c13f78cd58..c006b2094f 100644 --- a/Userland/Libraries/LibDebug/ProcessInspector.cpp +++ b/Userland/Libraries/LibDebug/ProcessInspector.cpp @@ -27,7 +27,7 @@ Optional<ProcessInspector::SymbolicationResult> ProcessInspector::symbolicate(Fl auto* lib = library_at(address); if (!lib) return {}; - // FIXME: ELF::Image symlicate() API should return String::empty() if symbol is not found (It currently returns ??) + // FIXME: ELF::Image symbolicate() API should return String::empty() if symbol is not found (It currently returns ??) auto symbol = lib->debug_info->elf().symbolicate(address - lib->base_address); return { { lib->name, symbol } }; } diff --git a/Userland/Libraries/LibGfx/ClassicWindowTheme.h b/Userland/Libraries/LibGfx/ClassicWindowTheme.h index 0a07e63f1b..e72e9b90f1 100644 --- a/Userland/Libraries/LibGfx/ClassicWindowTheme.h +++ b/Userland/Libraries/LibGfx/ClassicWindowTheme.h @@ -48,7 +48,7 @@ private: bool uses_alpha() const { // We don't care about the title_stripes_color or title_shadow_color alpha channels because they are - // effectively rendered on top of the borders and don't mean whether the frame itself atually has + // effectively rendered on top of the borders and don't mean whether the frame itself actually has // any alpha channels that would require the entire frame to be rendered as transparency. return title_color.alpha() != 0xff || border_color.alpha() != 0xff || border_color2.alpha() != 0xff; } diff --git a/Userland/Libraries/LibJS/Runtime/Intl/ListFormat.cpp b/Userland/Libraries/LibJS/Runtime/Intl/ListFormat.cpp index 9ded0b192a..23d10e17eb 100644 --- a/Userland/Libraries/LibJS/Runtime/Intl/ListFormat.cpp +++ b/Userland/Libraries/LibJS/Runtime/Intl/ListFormat.cpp @@ -13,7 +13,7 @@ namespace JS::Intl { -// 13 ListFomat Objects, https://tc39.es/ecma402/#listformat-objects +// 13 ListFormat Objects, https://tc39.es/ecma402/#listformat-objects ListFormat::ListFormat(Object& prototype) : Object(prototype) { diff --git a/Userland/Libraries/LibJS/Runtime/Intl/NumberFormat.cpp b/Userland/Libraries/LibJS/Runtime/Intl/NumberFormat.cpp index 4561b0d933..10873eed2d 100644 --- a/Userland/Libraries/LibJS/Runtime/Intl/NumberFormat.cpp +++ b/Userland/Libraries/LibJS/Runtime/Intl/NumberFormat.cpp @@ -1589,7 +1589,7 @@ int compute_exponent(NumberFormat& number_format, double number) int magnitude = log10floor(number); // 4. Let exponent be ComputeExponentForMagnitude(numberFormat, magnitude). - int exponent = compute_exponent_for_magniude(number_format, magnitude); + int exponent = compute_exponent_for_magnitude(number_format, magnitude); // 5. Let x be x × 10^(-exponent). number *= pow(10, -exponent); @@ -1613,11 +1613,11 @@ int compute_exponent(NumberFormat& number_format, double number) } // 10. Return ComputeExponentForMagnitude(numberFormat, magnitude + 1). - return compute_exponent_for_magniude(number_format, magnitude + 1); + return compute_exponent_for_magnitude(number_format, magnitude + 1); } // 15.1.17 ComputeExponentForMagnitude ( numberFormat, magnitude ), https://tc39.es/ecma402/#sec-computeexponentformagnitude -int compute_exponent_for_magniude(NumberFormat& number_format, int magnitude) +int compute_exponent_for_magnitude(NumberFormat& number_format, int magnitude) { // 1. Let notation be numberFormat.[[Notation]]. switch (number_format.notation()) { diff --git a/Userland/Libraries/LibJS/Runtime/Intl/NumberFormat.h b/Userland/Libraries/LibJS/Runtime/Intl/NumberFormat.h index 986ce177d2..d61ab9562a 100644 --- a/Userland/Libraries/LibJS/Runtime/Intl/NumberFormat.h +++ b/Userland/Libraries/LibJS/Runtime/Intl/NumberFormat.h @@ -220,6 +220,6 @@ ThrowCompletionOr<void> set_number_format_unit_options(GlobalObject& global_obje Optional<Variant<StringView, String>> get_number_format_pattern(NumberFormat& number_format, double number, Unicode::NumberFormat& found_pattern); Optional<StringView> get_notation_sub_pattern(NumberFormat& number_format, int exponent); int compute_exponent(NumberFormat& number_format, double number); -int compute_exponent_for_magniude(NumberFormat& number_format, int magnitude); +int compute_exponent_for_magnitude(NumberFormat& number_format, int magnitude); } diff --git a/Userland/Libraries/LibJS/Runtime/RegExpPrototype.cpp b/Userland/Libraries/LibJS/Runtime/RegExpPrototype.cpp index b452e48cc7..1e7f123a22 100644 --- a/Userland/Libraries/LibJS/Runtime/RegExpPrototype.cpp +++ b/Userland/Libraries/LibJS/Runtime/RegExpPrototype.cpp @@ -563,7 +563,7 @@ JS_DEFINE_NATIVE_FUNCTION(RegExpPrototype::symbol_match) // 3. If matchStr is the empty String, then if (match_str.is_empty()) { - // Stepsp 3a-3c are implemented by increment_last_index. + // Steps 3a-3c are implemented by increment_last_index. TRY(increment_last_index(global_object, *regexp_object, string.view(), full_unicode)); } @@ -682,7 +682,7 @@ JS_DEFINE_NATIVE_FUNCTION(RegExpPrototype::symbol_replace) // 2. If matchStr is the empty String, then if (match_str.is_empty()) { - // Stepsp 2a-2c are implemented by increment_last_index. + // Steps 2a-2c are implemented by increment_last_index. TRY(increment_last_index(global_object, *regexp_object, string.view(), full_unicode)); } } diff --git a/Userland/Libraries/LibJS/Tests/builtins/Intl/DateTimeFormat/DateTimeFormat.prototype.format.js b/Userland/Libraries/LibJS/Tests/builtins/Intl/DateTimeFormat/DateTimeFormat.prototype.format.js index 592e80a408..91383b0331 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Intl/DateTimeFormat/DateTimeFormat.prototype.format.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Intl/DateTimeFormat/DateTimeFormat.prototype.format.js @@ -273,7 +273,7 @@ describe("dayPeriod", () => { describe("hour", () => { // prettier-ignore - // FIXME: The 2-digit results are supposed to include {ampm}. These results are acheived from the "HH" + // FIXME: The 2-digit results are supposed to include {ampm}. These results are achieved from the "HH" // pattern, which should only be applied to 24-hour cycles. const data = [ { hour: "2-digit", en0: "05", en1: "07", ar0: "٠٥", ar1: "٠٧" }, diff --git a/Userland/Libraries/LibJS/Tests/builtins/Object/Object.create.js b/Userland/Libraries/LibJS/Tests/builtins/Object/Object.create.js index a4d8788cdb..6f1b4e0e34 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Object/Object.create.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Object/Object.create.js @@ -3,7 +3,7 @@ test("length is 2", () => { }); describe("errors", () => { - test("non-object protpotype value", () => { + test("non-object prototype value", () => { expect(() => Object.create(42)).toThrowWithMessage( TypeError, "Prototype must be an object or null" diff --git a/Userland/Libraries/LibJS/Tests/loops/for-await-of.js b/Userland/Libraries/LibJS/Tests/loops/for-await-of.js index f590e7462f..c6e30a15e9 100644 --- a/Userland/Libraries/LibJS/Tests/loops/for-await-of.js +++ b/Userland/Libraries/LibJS/Tests/loops/for-await-of.js @@ -64,7 +64,7 @@ describe("only allowed in async functions", () => { expect("(function* () { for await (const v of []) return v; })").not.toEval(); }); - test("async genrator functions", () => { + test("async generator functions", () => { expect("async function* foo() { for await (const v of []) yield v; }").toEval(); expect("(async function* () { for await (const v of []) yield v; })").toEval(); }); diff --git a/Userland/Libraries/LibMarkdown/Text.h b/Userland/Libraries/LibMarkdown/Text.h index 7926eab8fc..c4435368e2 100644 --- a/Userland/Libraries/LibMarkdown/Text.h +++ b/Userland/Libraries/LibMarkdown/Text.h @@ -139,7 +139,7 @@ private: bool punct_before; bool punct_after; // is_run indicates that this token is a 'delimiter run'. A delimiter - // run occurs when several of the same sytactical character ('`', '_', + // run occurs when several of the same syntactical character ('`', '_', // or '*') occur in a row. bool is_run; diff --git a/Userland/Libraries/LibSoftGPU/Device.cpp b/Userland/Libraries/LibSoftGPU/Device.cpp index 8ed8c3c0e5..d01e0d9d7d 100644 --- a/Userland/Libraries/LibSoftGPU/Device.cpp +++ b/Userland/Libraries/LibSoftGPU/Device.cpp @@ -615,12 +615,12 @@ void Device::draw_primitives(PrimitiveType primitive_type, FloatMatrix4x4 const& // At this point, the user has effectively specified that they are done with defining the geometry // of what they want to draw. We now need to do a few things (https://www.khronos.org/opengl/wiki/Rendering_Pipeline_Overview): // - // 1. Transform all of the vertices in the current vertex list into eye space by mulitplying the model-view matrix + // 1. Transform all of the vertices in the current vertex list into eye space by multiplying the model-view matrix // 2. Transform all of the vertices from eye space into clip space by multiplying by the projection matrix // 3. If culling is enabled, we cull the desired faces (https://learnopengl.com/Advanced-OpenGL/Face-culling) // 4. Each element of the vertex is then divided by w to bring the positions into NDC (Normalized Device Coordinates) - // 5. The vertices are sorted (for the rasteriser, how are we doing this? 3Dfx did this top to bottom in terms of vertex y coordinates) - // 6. The vertices are then sent off to the rasteriser and drawn to the screen + // 5. The vertices are sorted (for the rasterizer, how are we doing this? 3Dfx did this top to bottom in terms of vertex y coordinates) + // 6. The vertices are then sent off to the rasterizer and drawn to the screen float scr_width = m_render_target->width(); float scr_height = m_render_target->height(); diff --git a/Userland/Libraries/LibWeb/DOM/Document.h b/Userland/Libraries/LibWeb/DOM/Document.h index c1d93e3bdf..d8277447d2 100644 --- a/Userland/Libraries/LibWeb/DOM/Document.h +++ b/Userland/Libraries/LibWeb/DOM/Document.h @@ -177,7 +177,7 @@ public: JS::Value run_javascript(StringView source, StringView filename = "(unknown)"); NonnullRefPtr<Element> create_element(const String& tag_name); - NonnullRefPtr<Element> create_element_ns(const String& namespace_, const String& qualifed_name); + NonnullRefPtr<Element> create_element_ns(const String& namespace_, const String& qualified_name); NonnullRefPtr<DocumentFragment> create_document_fragment(); NonnullRefPtr<Text> create_text_node(const String& data); NonnullRefPtr<Comment> create_comment(const String& data); diff --git a/Userland/Libraries/LibX86/Instruction.cpp b/Userland/Libraries/LibX86/Instruction.cpp index 86661312b0..4907fd72a0 100644 --- a/Userland/Libraries/LibX86/Instruction.cpp +++ b/Userland/Libraries/LibX86/Instruction.cpp @@ -546,7 +546,7 @@ static void build_sse_f3(u8 op, const char* mnemonic, InstructionFormat format, build_slash_rm(0xD9, 5, 0xED, "FLDLN2", OP_FPU, &Interpreter::FLDLN2); build_slash_rm(0xD9, 5, 0xEE, "FLDZ", OP_FPU, &Interpreter::FLDZ); build_slash(0xD9, 6, "FNSTENV", OP_FPU_RM32, &Interpreter::FNSTENV); - // FIXME: Extraodinary prefix 0x9B + 0xD9/6: FSTENV + // FIXME: Extraordinary prefix 0x9B + 0xD9/6: FSTENV build_slash_rm(0xD9, 6, 0xF0, "F2XM1", OP_FPU, &Interpreter::F2XM1); build_slash_rm(0xD9, 6, 0xF1, "FYL2X", OP_FPU, &Interpreter::FYL2X); build_slash_rm(0xD9, 6, 0xF2, "FPTAN", OP_FPU, &Interpreter::FPTAN); @@ -556,7 +556,7 @@ static void build_sse_f3(u8 op, const char* mnemonic, InstructionFormat format, build_slash_rm(0xD9, 6, 0xF6, "FDECSTP", OP_FPU, &Interpreter::FDECSTP); build_slash_rm(0xD9, 6, 0xF7, "FINCSTP", OP_FPU, &Interpreter::FINCSTP); build_slash(0xD9, 7, "FNSTCW", OP_FPU_RM16, &Interpreter::FNSTCW); - // FIXME: Extraodinary prefix 0x9B + 0xD9/7: FSTCW + // FIXME: Extraordinary prefix 0x9B + 0xD9/7: FSTCW build_slash_rm(0xD9, 7, 0xF8, "FPREM", OP_FPU, &Interpreter::FPREM); build_slash_rm(0xD9, 7, 0xF9, "FYL2XP1", OP_FPU, &Interpreter::FYL2XP1); build_slash_rm(0xD9, 7, 0xFA, "FSQRT", OP_FPU, &Interpreter::FSQRT); @@ -592,9 +592,9 @@ static void build_sse_f3(u8 op, const char* mnemonic, InstructionFormat format, build_slash_rm(0xDB, 4, 0xE0, "FNENI", OP_FPU_reg, &Interpreter::FNENI); build_slash_rm(0xDB, 4, 0xE1, "FNDISI", OP_FPU_reg, &Interpreter::FNDISI); build_slash_rm(0xDB, 4, 0xE2, "FNCLEX", OP_FPU_reg, &Interpreter::FNCLEX); - // FIXME: Extraodinary prefix 0x9B + 0xDB/4: FCLEX + // FIXME: Extraordinary prefix 0x9B + 0xDB/4: FCLEX build_slash_rm(0xDB, 4, 0xE3, "FNINIT", OP_FPU_reg, &Interpreter::FNINIT); - // FIXME: Extraodinary prefix 0x9B + 0xDB/4: FINIT + // FIXME: Extraordinary prefix 0x9B + 0xDB/4: FINIT build_slash_rm(0xDB, 4, 0xE4, "FNSETPM", OP_FPU_reg, &Interpreter::FNSETPM); build_slash(0xDB, 5, "FLD", OP_FPU_M80, &Interpreter::FLD_RM80); build_slash_reg(0xDB, 5, "FUCOMI", OP_FPU_reg, &Interpreter::FUCOMI); @@ -622,9 +622,9 @@ static void build_sse_f3(u8 op, const char* mnemonic, InstructionFormat format, build_slash(0xDD, 5, "FUCOMP", OP_FPU_reg, &Interpreter::FUCOMP); // FIXME: DD/5 E9 (...but isn't this what DD/5 does naturally, with E9 just being normal R/M?) build_slash(0xDD, 6, "FNSAVE", OP_FPU_mem, &Interpreter::FNSAVE); - // FIXME: Extraodinary prefix 0x9B + 0xDD/6: FSAVE + // FIXME: Extraordinary prefix 0x9B + 0xDD/6: FSAVE build_slash(0xDD, 7, "FNSTSW", OP_FPU_RM16, &Interpreter::FNSTSW); - // FIXME: Extraodinary prefix 0x9B + 0xDD/7: FSTSW + // FIXME: Extraordinary prefix 0x9B + 0xDD/7: FSTSW build_slash(0xDE, 0, "FIADD", OP_FPU_RM16, &Interpreter::FIADD_RM16); build_slash_reg(0xDE, 0, "FADDP", OP_FPU_reg, &Interpreter::FADDP); @@ -659,7 +659,7 @@ static void build_sse_f3(u8 op, const char* mnemonic, InstructionFormat format, build_slash_reg(0xDF, 3, "FSTP9", OP_FPU_reg, &Interpreter::FSTP_RM32); build_slash(0xDF, 4, "FBLD", OP_FPU_M80, &Interpreter::FBLD_M80); build_slash_reg(0xDF, 4, "FNSTSW", OP_FPU_AX16, &Interpreter::FNSTSW_AX); - // FIXME: Extraodinary prefix 0x9B + 0xDF/e: FSTSW_AX + // FIXME: Extraordinary prefix 0x9B + 0xDF/e: FSTSW_AX build_slash(0xDF, 5, "FILD", OP_FPU_RM64, &Interpreter::FILD_RM64); build_slash_reg(0xDF, 5, "FUCOMIP", OP_FPU_reg, &Interpreter::FUCOMIP); build_slash(0xDF, 6, "FBSTP", OP_FPU_M80, &Interpreter::FBSTP_M80); @@ -828,7 +828,7 @@ static void build_sse_f3(u8 op, const char* mnemonic, InstructionFormat format, build_0f_slash(0x18, 2, "PREFETCHT1", OP_RM8, &Interpreter::PREFETCHT1); build_0f_slash(0x18, 3, "PREFETCHT2", OP_RM8, &Interpreter::PREFETCHT2); - // FIXME: Techinically NoPrefix (sse_np_slash?) + // FIXME: Technically NoPrefix (sse_np_slash?) build_0f_slash(0xAE, 2, "LDMXCSR", OP_RM32, &Interpreter::LDMXCSR); build_0f_slash(0xAE, 3, "STMXCSR", OP_RM32, &Interpreter::STMXCSR); // FIXME: SFENCE: NP 0F AE F8 diff --git a/Userland/Services/LoginServer/LoginWindow.gml b/Userland/Services/LoginServer/LoginWindow.gml index 2dc13d9dc5..76e7533bee 100644 --- a/Userland/Services/LoginServer/LoginWindow.gml +++ b/Userland/Services/LoginServer/LoginWindow.gml @@ -5,7 +5,7 @@ @GUI::ImageWidget { name: "banner" - auto_resie: true + auto_resize: true } @GUI::Widget { diff --git a/Userland/Utilities/groupdel.cpp b/Userland/Utilities/groupdel.cpp index f9cafd3e70..3783d61fb9 100644 --- a/Userland/Utilities/groupdel.cpp +++ b/Userland/Utilities/groupdel.cpp @@ -54,7 +54,7 @@ int main(int argc, char** argv) break; } - // If pw is not NULL it means we ended prematuraly, aka. the group was found as primary group of an user + // If pw is not NULL it means we ended prematurely, aka. the group was found as primary group of an user if (pw) { warnln("cannot remove the primary group of user '{}'", pw->pw_name); endpwent(); diff --git a/Userland/Utilities/less.cpp b/Userland/Utilities/less.cpp index 756befba63..d9fbf7002a 100644 --- a/Userland/Utilities/less.cpp +++ b/Userland/Utilities/less.cpp @@ -152,7 +152,7 @@ public: size_t real_n = line_subline_add(m_line, m_subline, n); // If we are moving less than a screen down, just draw the extra lines - // for efficency and more(1) compatibility. + // for efficiency and more(1) compatibility. if (n < m_height - 1) { size_t line = m_line; size_t subline = m_subline; diff --git a/Userland/Utilities/test_env.cpp b/Userland/Utilities/test_env.cpp index d0bf3a6edf..9a1fda132d 100644 --- a/Userland/Utilities/test_env.cpp +++ b/Userland/Utilities/test_env.cpp @@ -29,7 +29,7 @@ static void test_getenv_preexisting() assert_env("HOME", "/home/anon"); } -static void test_puttenv() +static void test_putenv() { char* to_put = strdup("PUTENVTEST=HELLOPUTENV"); int rc = putenv(to_put); @@ -41,7 +41,7 @@ static void test_puttenv() // Do not free `to_put`! } -static void test_settenv() +static void test_setenv() { int rc = setenv("SETENVTEST", "HELLO SETENV!", 0); if (rc) { @@ -66,7 +66,7 @@ static void test_settenv() assert_env("SETENVTEST", "Goodbye, friend!"); } -static void test_settenv_overwrite_empty() +static void test_setenv_overwrite_empty() { int rc = setenv("EMPTYTEST", "Forcefully overwrite non-existing envvar", 1); if (rc) { @@ -85,9 +85,9 @@ int main(int, char**) outln("Success!"); \ } RUNTEST(test_getenv_preexisting); - RUNTEST(test_puttenv); - RUNTEST(test_settenv); - RUNTEST(test_settenv_overwrite_empty); + RUNTEST(test_putenv); + RUNTEST(test_setenv); + RUNTEST(test_setenv_overwrite_empty); outln("PASS"); return 0; |