summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authormjz19910 <matthias291999@gmail.com>2022-01-07 05:04:05 -0700
committerLinus Groh <mail@linusgroh.de>2022-01-07 15:44:42 +0100
commit10ec98dd3852369834b6367da5615ec2a21846a3 (patch)
treeabbff764b730536f3595cae937f7b8ca86b44e2e /Userland
parent168063819d009b34d43286c0367129592809a79d (diff)
downloadserenity-10ec98dd3852369834b6367da5615ec2a21846a3.zip
Everywhere: Fix spelling mistakes
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Applications/Debugger/main.cpp2
-rw-r--r--Userland/Applications/Spreadsheet/JSIntegration.cpp2
-rw-r--r--Userland/Applications/Spreadsheet/Readers/XSV.h2
-rw-r--r--Userland/Applications/Spreadsheet/select_format_page.gml2
-rw-r--r--Userland/Demos/Fire/Fire.cpp2
-rw-r--r--Userland/DevTools/UserspaceEmulator/ValueWithShadow.h12
-rw-r--r--Userland/Libraries/LibC/fenv.cpp2
-rw-r--r--Userland/Libraries/LibC/spawn.cpp4
-rw-r--r--Userland/Libraries/LibC/sys/auxv.h2
-rw-r--r--Userland/Libraries/LibCrypto/BigInt/Algorithms/BitwiseOperations.cpp2
-rw-r--r--Userland/Libraries/LibCrypto/BigInt/SignedBigInteger.cpp2
-rw-r--r--Userland/Libraries/LibDebug/Dwarf/AbbreviationsMap.cpp10
-rw-r--r--Userland/Libraries/LibDebug/ProcessInspector.cpp2
-rw-r--r--Userland/Libraries/LibGfx/ClassicWindowTheme.h2
-rw-r--r--Userland/Libraries/LibJS/Runtime/Intl/ListFormat.cpp2
-rw-r--r--Userland/Libraries/LibJS/Runtime/Intl/NumberFormat.cpp6
-rw-r--r--Userland/Libraries/LibJS/Runtime/Intl/NumberFormat.h2
-rw-r--r--Userland/Libraries/LibJS/Runtime/RegExpPrototype.cpp4
-rw-r--r--Userland/Libraries/LibJS/Tests/builtins/Intl/DateTimeFormat/DateTimeFormat.prototype.format.js2
-rw-r--r--Userland/Libraries/LibJS/Tests/builtins/Object/Object.create.js2
-rw-r--r--Userland/Libraries/LibJS/Tests/loops/for-await-of.js2
-rw-r--r--Userland/Libraries/LibMarkdown/Text.h2
-rw-r--r--Userland/Libraries/LibSoftGPU/Device.cpp6
-rw-r--r--Userland/Libraries/LibWeb/DOM/Document.h2
-rw-r--r--Userland/Libraries/LibX86/Instruction.cpp16
-rw-r--r--Userland/Services/LoginServer/LoginWindow.gml2
-rw-r--r--Userland/Utilities/groupdel.cpp2
-rw-r--r--Userland/Utilities/less.cpp2
-rw-r--r--Userland/Utilities/test_env.cpp12
29 files changed, 56 insertions, 56 deletions
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;