From 09265704c07b5232e09817f2a40deca284cbd052 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:22 -0400 Subject: [PATCH 01/37] spelling: absolutely Signed-off-by: Josh Soref --- src/lib/platform/MSWindowsUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/platform/MSWindowsUtil.cpp b/src/lib/platform/MSWindowsUtil.cpp index 5a0778e4640..58fa5c8b03c 100644 --- a/src/lib/platform/MSWindowsUtil.cpp +++ b/src/lib/platform/MSWindowsUtil.cpp @@ -65,7 +65,7 @@ std::string MSWindowsUtil::getErrorString(HINSTANCE hinstance, DWORD error, DWOR This is a quick and dirty iterative CreateDirectory() wrapper that does zero error checking. A much better cross-platform option exists in C++17 via std::filesystem. If/when the project is updated to use 17 this function should -absolutley be replaced! +absolutely be replaced! */ From a55ae16e75088444b92b7ae6c42d3d9eb8c6889d Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:22 -0400 Subject: [PATCH 02/37] spelling: attempts Signed-off-by: Josh Soref --- src/gui/src/SetupWizard.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/src/SetupWizard.h b/src/gui/src/SetupWizard.h index 73223b20740..340cecf8f77 100644 --- a/src/gui/src/SetupWizard.h +++ b/src/gui/src/SetupWizard.h @@ -30,7 +30,7 @@ class SetupWizard : public QWizard, public Ui::SetupWizardBase Q_OBJECT public: enum { - kMaximiumLoginAttemps = 3 + kMaximiumLoginAttempts = 3 }; public: From f8a107eaeb679a6a41d89fc3ff1f29e0455b9fbb Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:22 -0400 Subject: [PATCH 03/37] spelling: azure Signed-off-by: Josh Soref --- debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 32a49b92a99..219b0c9ffed 100644 --- a/debian/changelog +++ b/debian/changelog @@ -347,7 +347,7 @@ barrier (2.3.2) disco; urgency=medium * Feature: CMake now generates compile_commands.json [ Thomas Thorne ] - * Reference Only Microsoft Azue Pipelines In Readme.md + * Reference Only Microsoft Azure Pipelines In Readme.md * Delete .travis.yml As We Switch To Azure Pipelines [ Evan Maddock ] From 5e6cc0ae1935c958c571e6255f61b42e968ff201 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:23 -0400 Subject: [PATCH 04/37] spelling: capitalized Signed-off-by: Josh Soref --- src/lib/platform/XWindowsKeyState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/platform/XWindowsKeyState.cpp b/src/lib/platform/XWindowsKeyState.cpp index 088adc6d0a0..0d86a77a0ad 100644 --- a/src/lib/platform/XWindowsKeyState.cpp +++ b/src/lib/platform/XWindowsKeyState.cpp @@ -637,7 +637,7 @@ XWindowsKeyState::updateKeysymMapXKB(barrier::KeyMap& keyMap) (type->preserve[j].mask & LockMask) != 0) { // sensitive caps lock and we preserve caps-lock. // preserving caps-lock means we Xlib functions would - // yield the capitialized KeySym so we'll adjust the + // yield the capitalized KeySym so we'll adjust the // level accordingly. if ((level ^ 1) < type->num_levels) { level ^= 1; From 0cfcf4b5f3e16529a1510a9a3c89d5d51ee1fd21 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:23 -0400 Subject: [PATCH 05/37] spelling: characters Signed-off-by: Josh Soref --- src/test/unittests/base/StringTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/unittests/base/StringTests.cpp b/src/test/unittests/base/StringTests.cpp index cc8e4fc641a..084d3966144 100644 --- a/src/test/unittests/base/StringTests.cpp +++ b/src/test/unittests/base/StringTests.cpp @@ -99,7 +99,7 @@ TEST(StringTests, uppercase_lowercaseInput_uppercaseOutput) EXPECT_EQ("12FOO3BAR", subject); } -TEST(StringTests, removeChar_inputString_removeAllSpecifiedCharactors) +TEST(StringTests, removeChar_inputString_removeAllSpecifiedCharacters) { String subject = "foobar"; const char c = 'o'; From c3cbbb991cb9a3dda50c608a9787a1158a32f275 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:24 -0400 Subject: [PATCH 06/37] spelling: cyrillic Signed-off-by: Josh Soref --- res/doxygen.cfg.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/doxygen.cfg.in b/res/doxygen.cfg.in index e8233a2af9f..2742f4a84ac 100644 --- a/res/doxygen.cfg.in +++ b/res/doxygen.cfg.in @@ -57,7 +57,7 @@ CREATE_SUBDIRS = NO # Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German, # Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English # messages), Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian, -# Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrilic, Slovak, +# Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrillic, Slovak, # Slovene, Spanish, Swedish, Ukrainian, and Vietnamese. OUTPUT_LANGUAGE = English From 3e8f5151deeb2e690c0c680b33986b5dad333561 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:25 -0400 Subject: [PATCH 07/37] spelling: daemon Signed-off-by: Josh Soref --- .../unittests/barrier/GenericArgsParsingTests.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/test/unittests/barrier/GenericArgsParsingTests.cpp b/src/test/unittests/barrier/GenericArgsParsingTests.cpp index 7f199180a0d..701e59f8df0 100644 --- a/src/test/unittests/barrier/GenericArgsParsingTests.cpp +++ b/src/test/unittests/barrier/GenericArgsParsingTests.cpp @@ -95,33 +95,33 @@ TEST(GenericArgsParsingTests, parseGenericArgs_logFileCmdWithSpace_saveLogFilena EXPECT_EQ(2, i); } -TEST(GenericArgsParsingTests, parseGenericArgs_noDeamonCmd_daemonFalse) +TEST(GenericArgsParsingTests, parseGenericArgs_noDaemonCmd_daemonFalse) { int i = 1; const int argc = 2; - const char* kNoDeamonCmd[argc] = { "stub", "-f" }; + const char* kNoDaemonCmd[argc] = { "stub", "-f" }; ArgParser argParser(NULL); ArgsBase argsBase; argParser.setArgsBase(argsBase); - argParser.parseGenericArgs(argc, kNoDeamonCmd, i); + argParser.parseGenericArgs(argc, kNoDaemonCmd, i); EXPECT_FALSE(argsBase.m_daemon); EXPECT_EQ(1, i); } -TEST(GenericArgsParsingTests, parseGenericArgs_deamonCmd_daemonTrue) +TEST(GenericArgsParsingTests, parseGenericArgs_daemonCmd_daemonTrue) { int i = 1; const int argc = 2; - const char* kDeamonCmd[argc] = { "stub", "--daemon" }; + const char* kDaemonCmd[argc] = { "stub", "--daemon" }; ArgParser argParser(NULL); ArgsBase argsBase; argParser.setArgsBase(argsBase); - argParser.parseGenericArgs(argc, kDeamonCmd, i); + argParser.parseGenericArgs(argc, kDaemonCmd, i); EXPECT_EQ(true, argsBase.m_daemon); EXPECT_EQ(1, i); From eef8f9948f919afa19033bccf17220ccaffbfd11 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:24 -0400 Subject: [PATCH 08/37] spelling: daemons Signed-off-by: Josh Soref --- src/lib/arch/IArchDaemon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/arch/IArchDaemon.h b/src/lib/arch/IArchDaemon.h index 6a4fb67390b..a94749040a3 100644 --- a/src/lib/arch/IArchDaemon.h +++ b/src/lib/arch/IArchDaemon.h @@ -24,7 +24,7 @@ //! Interface for architecture dependent daemonizing /*! This interface defines the operations required by barrier for installing -uninstalling daeamons and daemonizing a process. Each architecture must +uninstalling daemons and daemonizing a process. Each architecture must implement this interface. */ class IArchDaemon : public IInterface { From bbd63072dd1952f0cefe716122de520fe1229612 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:25 -0400 Subject: [PATCH 09/37] spelling: destination Signed-off-by: Josh Soref --- src/lib/platform/OSXScreen.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/platform/OSXScreen.mm b/src/lib/platform/OSXScreen.mm index d41e321b83b..b7a0b0b96f8 100644 --- a/src/lib/platform/OSXScreen.mm +++ b/src/lib/platform/OSXScreen.mm @@ -588,7 +588,7 @@ #if defined(MAC_OS_X_VERSION_10_7) char* cstr = NULL; - // wait for 5 secs for the drop destinaiton string to be filled. + // wait for 5 secs for the drop destination string to be filled. UInt32 timeout = ARCH->time() + 5; while (ARCH->time() < timeout) { From c3d6c7a111ff6f3312c461649ea45258f88a8f38 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:26 -0400 Subject: [PATCH 10/37] spelling: disadvantages Signed-off-by: Josh Soref --- res/doxygen.cfg.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/doxygen.cfg.in b/res/doxygen.cfg.in index 2742f4a84ac..d95e1c25df0 100644 --- a/res/doxygen.cfg.in +++ b/res/doxygen.cfg.in @@ -1078,7 +1078,7 @@ SEARCHENGINE = NO # using Javascript. Doxygen will generate the search PHP script and index # file to put on the web server. The advantage of the server # based approach is that it scales better to large projects and allows -# full text search. The disadvances is that it is more difficult to setup +# full text search. The disadvantages is that it is more difficult to setup # and does not have live searching capabilities. SERVER_BASED_SEARCH = NO From 12b499d5396b010e2d7f525144028d8ab57ec435 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:26 -0400 Subject: [PATCH 11/37] spelling: exception Signed-off-by: Josh Soref --- src/lib/barrier/XBarrier.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/barrier/XBarrier.h b/src/lib/barrier/XBarrier.h index b7a38912dcb..60c55bb4735 100644 --- a/src/lib/barrier/XBarrier.h +++ b/src/lib/barrier/XBarrier.h @@ -111,7 +111,7 @@ class XUnknownClient : public XBarrier { std::string m_name; }; -//! Generic exit eception +//! Generic exit exception /*! Thrown when we want to abort, with the opportunity to clean up. This is a little bit of a hack, but it's a better way of exiting, than just calling From d180a831f92619a4859a02df031d0b4b1eeb6255 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 22:12:52 -0400 Subject: [PATCH 12/37] spelling: github Signed-off-by: Josh Soref --- RELEASING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RELEASING.md b/RELEASING.md index 6cfbafaa5f1..6a8d0257938 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -58,7 +58,7 @@ Push the tag: git push origin master --tags -Step 6: Draft a new release on Github +Step 6: Draft a new release on GitHub ------------------------------------- Go to https://github.com/buildbot/buildbot/releases and draft a new release. @@ -68,7 +68,7 @@ Use git tag as the title of the release: `vX.Y.Z`. Use the release notes generated by the `towncrier` tool as the description of the releases. Upload the artifacts created by Azure pipelines as the binaries of the release. The following -artifacts should be uploaded to Github: +artifacts should be uploaded to GitHub: - the Barrier-X.Y.Z-release.dmg created by the newest Mac OS task (artifact name is "Mac Release Disk Image and App XYZ"). From 11bce11278befe5d99d9cd7d3c87a16b1fab1386 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:51:39 -0400 Subject: [PATCH 13/37] spelling: hexadecimal Signed-off-by: Josh Soref --- src/lib/base/String.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/base/String.h b/src/lib/base/String.h index 9c5a53bac48..1fb5ba79cd9 100644 --- a/src/lib/base/String.h +++ b/src/lib/base/String.h @@ -71,9 +71,9 @@ Finds the last dot and remove all characters from the dot to the end */ std::string removeFileExt(std::string filename); -//! Convert into hexdecimal +//! Convert into hexadecimal /*! -Convert each character in \c subject into hexdecimal form with \c width +Convert each character in \c subject into hexadecimal form with \c width */ std::string to_hex(const std::vector& subject, int width, const char fill = '0'); From b2df3991d2aa588aa866590f991ba8f1dbfd1f40 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:26 -0400 Subject: [PATCH 14/37] spelling: increment Signed-off-by: Josh Soref --- src/gui/src/AppConfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/src/AppConfig.h b/src/gui/src/AppConfig.h index 0dabb182432..9bc6ebf68ee 100644 --- a/src/gui/src/AppConfig.h +++ b/src/gui/src/AppConfig.h @@ -27,7 +27,7 @@ // this should be incremented each time a new page is added. this is // saved to settings when the user finishes running the wizard. if // the saved wizard version is lower than this number, the wizard -// will be displayed. each version incrememnt should be described +// will be displayed. each version increment should be described // here... // // 1: first version From fdada4bf20e489114d4547efcf867dc7ef666ac9 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:27 -0400 Subject: [PATCH 15/37] spelling: insensitive Signed-off-by: Josh Soref --- src/lib/base/String.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/base/String.h b/src/lib/base/String.h index 1fb5ba79cd9..b2c40026112 100644 --- a/src/lib/base/String.h +++ b/src/lib/base/String.h @@ -112,7 +112,7 @@ std::vector splitString(std::string string, const char c); //! Case-insensitive comparisons /*! -This class provides case-insensitve comparison functions. +This class provides case-insensitive comparison functions. */ class CaselessCmp { public: From 15fa14d9f6dc770b034daed1c9d17cff72e80906 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:27 -0400 Subject: [PATCH 16/37] spelling: intended Signed-off-by: Josh Soref --- RELEASING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASING.md b/RELEASING.md index 6a8d0257938..bd1281987d8 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -1,7 +1,7 @@ Creating a release ================== -This document is documentation intednded for maintainers of Barrier. +This document is documentation intended for maintainers of Barrier. It documents the release process of Barrier. Step 1: Setup environment variables From 915d2f8f4b69f65d85686d96b4b9c2ac96ec9b27 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:28 -0400 Subject: [PATCH 17/37] spelling: maximum Signed-off-by: Josh Soref --- src/gui/src/SetupWizard.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/src/SetupWizard.h b/src/gui/src/SetupWizard.h index 340cecf8f77..2ea00345205 100644 --- a/src/gui/src/SetupWizard.h +++ b/src/gui/src/SetupWizard.h @@ -30,7 +30,7 @@ class SetupWizard : public QWizard, public Ui::SetupWizardBase Q_OBJECT public: enum { - kMaximiumLoginAttempts = 3 + kMaximumLoginAttempts = 3 }; public: From 57a9a87a86c9137f4b8982b0e610bdee962f03bb Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:28 -0400 Subject: [PATCH 18/37] spelling: message Signed-off-by: Josh Soref --- src/lib/base/log_outputters.cpp | 14 +++++++------- src/lib/base/log_outputters.h | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/lib/base/log_outputters.cpp b/src/lib/base/log_outputters.cpp index 176af2dfc12..f35afb13c19 100644 --- a/src/lib/base/log_outputters.cpp +++ b/src/lib/base/log_outputters.cpp @@ -290,39 +290,39 @@ void FileLogOutputter::show(bool showIfEmpty) {} // -// MesssageBoxLogOutputter +// MessageBoxLogOutputter // -MesssageBoxLogOutputter::MesssageBoxLogOutputter() +MessageBoxLogOutputter::MessageBoxLogOutputter() { // do nothing } -MesssageBoxLogOutputter::~MesssageBoxLogOutputter() +MessageBoxLogOutputter::~MessageBoxLogOutputter() { // do nothing } void -MesssageBoxLogOutputter::open(const char* title) +MessageBoxLogOutputter::open(const char* title) { // do nothing } void -MesssageBoxLogOutputter::close() +MessageBoxLogOutputter::close() { // do nothing } void -MesssageBoxLogOutputter::show(bool showIfEmpty) +MessageBoxLogOutputter::show(bool showIfEmpty) { // do nothing } bool -MesssageBoxLogOutputter::write(ELevel level, const char* msg) +MessageBoxLogOutputter::write(ELevel level, const char* msg) { // don't spam user with messages. if (level > kERROR) { diff --git a/src/lib/base/log_outputters.h b/src/lib/base/log_outputters.h index 2a84170e34d..541bcce44f7 100644 --- a/src/lib/base/log_outputters.h +++ b/src/lib/base/log_outputters.h @@ -159,10 +159,10 @@ class BufferedLogOutputter : public ILogOutputter { /*! The level for each message is ignored. */ -class MesssageBoxLogOutputter : public ILogOutputter { +class MessageBoxLogOutputter : public ILogOutputter { public: - MesssageBoxLogOutputter(); - virtual ~MesssageBoxLogOutputter(); + MessageBoxLogOutputter(); + virtual ~MessageBoxLogOutputter(); // ILogOutputter overrides virtual void open(const char* title); From a9a31bb7d2e99d60648bfc0ff0c07fbfd429359b Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:29 -0400 Subject: [PATCH 19/37] spelling: modifiers Signed-off-by: Josh Soref --- src/lib/platform/OSXKeyState.cpp | 2 +- src/test/unittests/barrier/KeyStateTests.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/platform/OSXKeyState.cpp b/src/lib/platform/OSXKeyState.cpp index aad207290e0..2278fe303dd 100644 --- a/src/lib/platform/OSXKeyState.cpp +++ b/src/lib/platform/OSXKeyState.cpp @@ -617,7 +617,7 @@ OSXKeyState::fakeKey(const Keystroke& keystroke) void OSXKeyState::getKeyMapForSpecialKeys(barrier::KeyMap& keyMap, SInt32 group) const { - // special keys are insensitive to modifers and none are dead keys + // special keys are insensitive to modifiers and none are dead keys barrier::KeyMap::KeyItem item; for (size_t i = 0; i < sizeof(s_controlKeys) / sizeof(s_controlKeys[0]); ++i) { diff --git a/src/test/unittests/barrier/KeyStateTests.cpp b/src/test/unittests/barrier/KeyStateTests.cpp index bc419334428..cc6da8f801e 100644 --- a/src/test/unittests/barrier/KeyStateTests.cpp +++ b/src/test/unittests/barrier/KeyStateTests.cpp @@ -216,7 +216,7 @@ TEST(KeyStateTests, updateKeyState_activeModifiers_maskNotSet) ASSERT_EQ(0, actual); } -TEST(KeyStateTests, updateKeyState_activeModifiers_keyMapGotModifers) +TEST(KeyStateTests, updateKeyState_activeModifiers_keyMapGotModifiers) { MockKeyMap keyMap; MockEventQueue eventQueue; From 6e80c8013ee54dce12ebb138d76c0146bcac40c9 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 22:16:21 -0400 Subject: [PATCH 20/37] spelling: need Signed-off-by: Josh Soref --- res/doxygen.cfg.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/doxygen.cfg.in b/res/doxygen.cfg.in index d95e1c25df0..f4a79cac268 100644 --- a/res/doxygen.cfg.in +++ b/res/doxygen.cfg.in @@ -1479,7 +1479,7 @@ DOT_NUM_THREADS = 0 # directory and reference it in all dot files that doxygen generates. This # font does not include all possible unicode characters however, so when you need # these (or just want a differently looking font) you can specify the font name -# using DOT_FONTNAME. You need need to make sure dot is able to find the font, +# using DOT_FONTNAME. You need to make sure dot is able to find the font, # which can be done by putting it in a standard location or by setting the # DOTFONTPATH environment variable or by setting DOT_FONTPATH to the directory # containing the font. From 49dd16e5e9fc081b198337b0e27d61ced3cc3e7d Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:29 -0400 Subject: [PATCH 21/37] spelling: never Signed-off-by: Josh Soref --- src/lib/arch/IArchMultithread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/arch/IArchMultithread.h b/src/lib/arch/IArchMultithread.h index 6a57694d64b..8f615a97660 100644 --- a/src/lib/arch/IArchMultithread.h +++ b/src/lib/arch/IArchMultithread.h @@ -187,7 +187,7 @@ class IArchMultithread : public IInterface { //! Force a thread to exit /*! Causes \c thread to exit when it next calls a cancellation point. - A thread avoids cancellation as long as it nevers calls a + A thread avoids cancellation as long as it never calls a cancellation point. Once it begins the cancellation process it must always let cancellation go to completion but may take as long as necessary to clean up. From 0216a8e10ade1409eca759d9e559105593da5af3 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:30 -0400 Subject: [PATCH 22/37] spelling: no longer Signed-off-by: Josh Soref --- src/lib/barrier/ClientApp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/barrier/ClientApp.cpp b/src/lib/barrier/ClientApp.cpp index 4b0ef61b7e2..b39975ab462 100644 --- a/src/lib/barrier/ClientApp.cpp +++ b/src/lib/barrier/ClientApp.cpp @@ -193,7 +193,7 @@ ClientApp::updateStatus(const String& msg) void ClientApp::resetRestartTimeout() { - // retry time can nolonger be changed + // retry time can no longer be changed //s_retryTime = 0.0; } From b00fa075e32f3586507f6a6c1f378fb8ee8182ac Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:30 -0400 Subject: [PATCH 23/37] spelling: occurred Signed-off-by: Josh Soref --- dist/inno/scripts/lang/english.iss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/inno/scripts/lang/english.iss b/dist/inno/scripts/lang/english.iss index fa32fc062c8..e7f5afa62bb 100644 --- a/dist/inno/scripts/lang/english.iss +++ b/dist/inno/scripts/lang/english.iss @@ -11,7 +11,7 @@ en.depinstall_title=Installing dependencies en.depinstall_description=Please wait while Setup installs dependencies on your computer. en.depinstall_status=Installing %1... en.depinstall_missing=%1 must be installed before setup can continue. Please install %1 and run Setup again. -en.depinstall_error=An error occured while installing the dependencies. Please restart the computer and run the setup again or install the following dependencies manually:%n +en.depinstall_error=An error occurred while installing the dependencies. Please restart the computer and run the setup again or install the following dependencies manually:%n en.isxdl_langfile= From 754d854fb37feb2e585bf2e84c133011c6456fcb Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:30 -0400 Subject: [PATCH 24/37] spelling: receive Signed-off-by: Josh Soref --- src/lib/base/EventTypes.cpp | 2 +- src/lib/base/EventTypes.h | 6 ++-- src/lib/client/Client.cpp | 10 +++--- src/lib/client/Client.h | 4 +-- src/lib/client/ServerProxy.cpp | 2 +- src/lib/server/ClientProxy1_5.cpp | 2 +- src/lib/server/Server.cpp | 10 +++--- src/lib/server/Server.h | 4 +-- src/test/integtests/net/NetworkTests.cpp | 40 ++++++++++++------------ 9 files changed, 40 insertions(+), 40 deletions(-) diff --git a/src/lib/base/EventTypes.cpp b/src/lib/base/EventTypes.cpp index 173a0a976c8..c0cbcfdd0c2 100644 --- a/src/lib/base/EventTypes.cpp +++ b/src/lib/base/EventTypes.cpp @@ -201,5 +201,5 @@ REGISTER_EVENT(Clipboard, clipboardSending) // REGISTER_EVENT(File, fileChunkSending) -REGISTER_EVENT(File, fileRecieveCompleted) +REGISTER_EVENT(File, fileReceiveCompleted) REGISTER_EVENT(File, keepAlive) diff --git a/src/lib/base/EventTypes.h b/src/lib/base/EventTypes.h index 995490e9763..2d63b85ca60 100644 --- a/src/lib/base/EventTypes.h +++ b/src/lib/base/EventTypes.h @@ -745,7 +745,7 @@ class FileEvents : public EventTypes { public: FileEvents() : m_fileChunkSending(Event::kUnknown), - m_fileRecieveCompleted(Event::kUnknown), + m_fileReceiveCompleted(Event::kUnknown), m_keepAlive(Event::kUnknown) { } //! @name accessors @@ -755,7 +755,7 @@ class FileEvents : public EventTypes { Event::Type fileChunkSending(); //! Completed receiving a file - Event::Type fileRecieveCompleted(); + Event::Type fileReceiveCompleted(); //! Send a keep alive Event::Type keepAlive(); @@ -764,6 +764,6 @@ class FileEvents : public EventTypes { private: Event::Type m_fileChunkSending; - Event::Type m_fileRecieveCompleted; + Event::Type m_fileReceiveCompleted; Event::Type m_keepAlive; }; diff --git a/src/lib/client/Client.cpp b/src/lib/client/Client.cpp index a7b15cf5a39..65cf3a56aec 100644 --- a/src/lib/client/Client.cpp +++ b/src/lib/client/Client.cpp @@ -90,10 +90,10 @@ Client::Client(IEventQueue* events, const std::string& name, const NetworkAddres this, new TMethodEventJob(this, &Client::handleFileChunkSending)); - m_events->adoptHandler(m_events->forFile().fileRecieveCompleted(), + m_events->adoptHandler(m_events->forFile().fileReceiveCompleted(), this, new TMethodEventJob(this, - &Client::handleFileRecieveCompleted)); + &Client::handleFileReceiveCompleted)); } } @@ -750,13 +750,13 @@ Client::handleFileChunkSending(const Event& event, void*) } void -Client::handleFileRecieveCompleted(const Event& event, void*) +Client::handleFileReceiveCompleted(const Event& event, void*) { - onFileRecieveCompleted(); + onFileReceiveCompleted(); } void -Client::onFileRecieveCompleted() +Client::onFileReceiveCompleted() { if (isReceivedFileSizeValid()) { m_writeToDropDirThread = new Thread([this](){ write_to_drop_dir_thread(); }); diff --git a/src/lib/client/Client.h b/src/lib/client/Client.h index c172af22e3c..42972a3ad77 100644 --- a/src/lib/client/Client.h +++ b/src/lib/client/Client.h @@ -189,9 +189,9 @@ class Client : public IClient, public INode { void handleSuspend(const Event& event, void*); void handleResume(const Event& event, void*); void handleFileChunkSending(const Event&, void*); - void handleFileRecieveCompleted(const Event&, void*); + void handleFileReceiveCompleted(const Event&, void*); void handleStopRetry(const Event&, void*); - void onFileRecieveCompleted(); + void onFileReceiveCompleted(); void sendClipboardThread(void*); public: diff --git a/src/lib/client/ServerProxy.cpp b/src/lib/client/ServerProxy.cpp index c6e357660f8..a48a0732b4d 100644 --- a/src/lib/client/ServerProxy.cpp +++ b/src/lib/client/ServerProxy.cpp @@ -879,7 +879,7 @@ ServerProxy::fileChunkReceived() m_client->getExpectedFileSize()); if (result == kFinish) { - m_events->addEvent(Event(m_events->forFile().fileRecieveCompleted(), m_client)); + m_events->addEvent(Event(m_events->forFile().fileReceiveCompleted(), m_client)); } else if (result == kStart) { if (m_client->getDragFileList().size() > 0) { diff --git a/src/lib/server/ClientProxy1_5.cpp b/src/lib/server/ClientProxy1_5.cpp index 72c0bf81ba4..42653bf3a86 100644 --- a/src/lib/server/ClientProxy1_5.cpp +++ b/src/lib/server/ClientProxy1_5.cpp @@ -89,7 +89,7 @@ ClientProxy1_5::fileChunkReceived() if (result == kFinish) { - m_events->addEvent(Event(m_events->forFile().fileRecieveCompleted(), server)); + m_events->addEvent(Event(m_events->forFile().fileReceiveCompleted(), server)); } else if (result == kStart) { if (server->getFakeDragFileList().size() > 0) { diff --git a/src/lib/server/Server.cpp b/src/lib/server/Server.cpp index a169db165c2..b02a1930735 100644 --- a/src/lib/server/Server.cpp +++ b/src/lib/server/Server.cpp @@ -191,10 +191,10 @@ Server::Server( this, new TMethodEventJob(this, &Server::handleFileChunkSendingEvent)); - m_events->adoptHandler(m_events->forFile().fileRecieveCompleted(), + m_events->adoptHandler(m_events->forFile().fileReceiveCompleted(), this, new TMethodEventJob(this, - &Server::handleFileRecieveCompletedEvent)); + &Server::handleFileReceiveCompletedEvent)); } // add connection @@ -1528,9 +1528,9 @@ Server::handleFileChunkSendingEvent(const Event& event, void*) } void -Server::handleFileRecieveCompletedEvent(const Event& event, void*) +Server::handleFileReceiveCompletedEvent(const Event& event, void*) { - onFileRecieveCompleted(); + onFileReceiveCompleted(); } void @@ -2078,7 +2078,7 @@ Server::onFileChunkSending(const void* data) } void -Server::onFileRecieveCompleted() +Server::onFileReceiveCompleted() { if (isReceivedFileSizeValid()) { m_writeToDropDirThread = new Thread([this]() { write_to_drop_dir_thread(); }); diff --git a/src/lib/server/Server.h b/src/lib/server/Server.h index ae8b2bd5ab2..edc83f2fbc2 100644 --- a/src/lib/server/Server.h +++ b/src/lib/server/Server.h @@ -315,7 +315,7 @@ class Server : public INode { void handleFakeInputBeginEvent(const Event&, void*); void handleFakeInputEndEvent(const Event&, void*); void handleFileChunkSendingEvent(const Event&, void*); - void handleFileRecieveCompletedEvent(const Event&, void*); + void handleFileReceiveCompletedEvent(const Event&, void*); // event processing void onClipboardChanged(BaseClientProxy* sender, @@ -332,7 +332,7 @@ class Server : public INode { void onMouseMoveSecondary(SInt32 dx, SInt32 dy); void onMouseWheel(SInt32 xDelta, SInt32 yDelta); void onFileChunkSending(const void* data); - void onFileRecieveCompleted(); + void onFileReceiveCompleted(); // add client to list and attach event handlers for client bool addClient(BaseClientProxy*); diff --git a/src/test/integtests/net/NetworkTests.cpp b/src/test/integtests/net/NetworkTests.cpp index 92767bfab47..5dae22de0e4 100644 --- a/src/test/integtests/net/NetworkTests.cpp +++ b/src/test/integtests/net/NetworkTests.cpp @@ -85,16 +85,16 @@ class NetworkTests : public ::testing::Test void sendMockData(void* eventTarget); void sendToClient_mockData_handleClientConnected(const Event&, void* vlistener); - void sendToClient_mockData_fileRecieveCompleted(const Event&, void*); + void sendToClient_mockData_fileReceiveCompleted(const Event&, void*); void sendToClient_mockFile_handleClientConnected(const Event&, void* vlistener); - void sendToClient_mockFile_fileRecieveCompleted(const Event& event, void*); + void sendToClient_mockFile_fileReceiveCompleted(const Event& event, void*); void sendToServer_mockData_handleClientConnected(const Event&, void* vlistener); - void sendToServer_mockData_fileRecieveCompleted(const Event& event, void*); + void sendToServer_mockData_fileReceiveCompleted(const Event& event, void*); void sendToServer_mockFile_handleClientConnected(const Event&, void* vlistener); - void sendToServer_mockFile_fileRecieveCompleted(const Event& event, void*); + void sendToServer_mockFile_fileReceiveCompleted(const Event& event, void*); public: TestEventQueue m_events; @@ -150,16 +150,16 @@ TEST_F(NetworkTests, sendToClient_mockData) Client client(&m_events, "stub", serverAddress, clientSocketFactory, &clientScreen, clientArgs); m_events.adoptHandler( - m_events.forFile().fileRecieveCompleted(), &client, + m_events.forFile().fileReceiveCompleted(), &client, new TMethodEventJob( - this, &NetworkTests::sendToClient_mockData_fileRecieveCompleted)); + this, &NetworkTests::sendToClient_mockData_fileReceiveCompleted)); client.connect(); m_events.initQuitTimeout(10); m_events.loop(); m_events.removeHandler(m_events.forClientListener().connected(), &listener); - m_events.removeHandler(m_events.forFile().fileRecieveCompleted(), &client); + m_events.removeHandler(m_events.forFile().fileReceiveCompleted(), &client); m_events.cleanupQuitTimeout(); } @@ -209,16 +209,16 @@ TEST_F(NetworkTests, sendToClient_mockFile) Client client(&m_events, "stub", serverAddress, clientSocketFactory, &clientScreen, clientArgs); m_events.adoptHandler( - m_events.forFile().fileRecieveCompleted(), &client, + m_events.forFile().fileReceiveCompleted(), &client, new TMethodEventJob( - this, &NetworkTests::sendToClient_mockFile_fileRecieveCompleted)); + this, &NetworkTests::sendToClient_mockFile_fileReceiveCompleted)); client.connect(); m_events.initQuitTimeout(10); m_events.loop(); m_events.removeHandler(m_events.forClientListener().connected(), &listener); - m_events.removeHandler(m_events.forFile().fileRecieveCompleted(), &client); + m_events.removeHandler(m_events.forFile().fileReceiveCompleted(), &client); m_events.cleanupQuitTimeout(); } @@ -266,16 +266,16 @@ TEST_F(NetworkTests, sendToServer_mockData) this, &NetworkTests::sendToServer_mockData_handleClientConnected, &client)); m_events.adoptHandler( - m_events.forFile().fileRecieveCompleted(), &server, + m_events.forFile().fileReceiveCompleted(), &server, new TMethodEventJob( - this, &NetworkTests::sendToServer_mockData_fileRecieveCompleted)); + this, &NetworkTests::sendToServer_mockData_fileReceiveCompleted)); client.connect(); m_events.initQuitTimeout(10); m_events.loop(); m_events.removeHandler(m_events.forClientListener().connected(), &listener); - m_events.removeHandler(m_events.forFile().fileRecieveCompleted(), &server); + m_events.removeHandler(m_events.forFile().fileReceiveCompleted(), &server); m_events.cleanupQuitTimeout(); } @@ -324,16 +324,16 @@ TEST_F(NetworkTests, sendToServer_mockFile) this, &NetworkTests::sendToServer_mockFile_handleClientConnected, &client)); m_events.adoptHandler( - m_events.forFile().fileRecieveCompleted(), &server, + m_events.forFile().fileReceiveCompleted(), &server, new TMethodEventJob( - this, &NetworkTests::sendToServer_mockFile_fileRecieveCompleted)); + this, &NetworkTests::sendToServer_mockFile_fileReceiveCompleted)); client.connect(); m_events.initQuitTimeout(10); m_events.loop(); m_events.removeHandler(m_events.forClientListener().connected(), &listener); - m_events.removeHandler(m_events.forFile().fileRecieveCompleted(), &server); + m_events.removeHandler(m_events.forFile().fileReceiveCompleted(), &server); m_events.cleanupQuitTimeout(); } @@ -356,7 +356,7 @@ NetworkTests::sendToClient_mockData_handleClientConnected(const Event&, void* vl } void -NetworkTests::sendToClient_mockData_fileRecieveCompleted(const Event& event, void*) +NetworkTests::sendToClient_mockData_fileReceiveCompleted(const Event& event, void*) { Client* client = static_cast(event.getTarget()); EXPECT_TRUE(client->isReceivedFileSizeValid()); @@ -383,7 +383,7 @@ NetworkTests::sendToClient_mockFile_handleClientConnected(const Event&, void* vl } void -NetworkTests::sendToClient_mockFile_fileRecieveCompleted(const Event& event, void*) +NetworkTests::sendToClient_mockFile_fileReceiveCompleted(const Event& event, void*) { Client* client = static_cast(event.getTarget()); EXPECT_TRUE(client->isReceivedFileSizeValid()); @@ -399,7 +399,7 @@ NetworkTests::sendToServer_mockData_handleClientConnected(const Event&, void* vc } void -NetworkTests::sendToServer_mockData_fileRecieveCompleted(const Event& event, void*) +NetworkTests::sendToServer_mockData_fileReceiveCompleted(const Event& event, void*) { Server* server = static_cast(event.getTarget()); EXPECT_TRUE(server->isReceivedFileSizeValid()); @@ -415,7 +415,7 @@ NetworkTests::sendToServer_mockFile_handleClientConnected(const Event&, void* vc } void -NetworkTests::sendToServer_mockFile_fileRecieveCompleted(const Event& event, void*) +NetworkTests::sendToServer_mockFile_fileReceiveCompleted(const Event& event, void*) { Server* server = static_cast(event.getTarget()); EXPECT_TRUE(server->isReceivedFileSizeValid()); From f02ffd229e5cd6feea594872b0281d52477348c3 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:31 -0400 Subject: [PATCH 25/37] spelling: reported Signed-off-by: Josh Soref --- src/lib/net/SecureSocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/net/SecureSocket.cpp b/src/lib/net/SecureSocket.cpp index 85e1d383e0e..c12cb12c17e 100644 --- a/src/lib/net/SecureSocket.cpp +++ b/src/lib/net/SecureSocket.cpp @@ -634,7 +634,7 @@ SecureSocket::checkResult(int status, int& retry) LOG((CLOG_ERR "eof violates ssl protocol")); } else if (status == -1) { - // underlying socket I/O reproted an error + // underlying socket I/O reported an error try { ARCH->throwErrorOnSocket(getSocket()); } From 982e0969abf41b2e48368130c4ef7cc7aced35d6 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:31 -0400 Subject: [PATCH 26/37] spelling: resolved Signed-off-by: Josh Soref --- src/lib/client/Client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/client/Client.cpp b/src/lib/client/Client.cpp index 65cf3a56aec..384e7d38f8e 100644 --- a/src/lib/client/Client.cpp +++ b/src/lib/client/Client.cpp @@ -140,7 +140,7 @@ Client::connect() // Priddy. m_serverAddress.resolve(); - // m_serverAddress will be null if the hostname address is not reolved + // m_serverAddress will be null if the hostname address is not resolved if (m_serverAddress.getAddress() != NULL) { // to help users troubleshoot, show server host name (issue: 60) LOG((CLOG_NOTE "connecting to '%s': %s:%i", From fa30ceaf04f372e3e82d9de138f2a77fca22dae6 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:32 -0400 Subject: [PATCH 27/37] spelling: roughly Signed-off-by: Josh Soref --- res/doxygen.cfg.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/doxygen.cfg.in b/res/doxygen.cfg.in index f4a79cac268..713832ac247 100644 --- a/res/doxygen.cfg.in +++ b/res/doxygen.cfg.in @@ -282,7 +282,7 @@ TYPEDEF_HIDES_STRUCT = NO # causing a significant performance penality. # If the system has enough physical memory increasing the cache will improve the # performance by keeping more symbols in memory. Note that the value works on -# a logarithmic scale so increasing the size by one will rougly double the +# a logarithmic scale so increasing the size by one will roughly double the # memory usage. The cache size is given by this formula: # 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0, # corresponding to a cache size of 2^16 = 65536 symbols From 7250bbca1615fb59e0833e45dfd2103f79cc2a96 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:32 -0400 Subject: [PATCH 28/37] spelling: running Signed-off-by: Josh Soref --- src/gui/src/MainWindow.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/src/MainWindow.h b/src/gui/src/MainWindow.h index 0c582c9fd51..4d13c7f2455 100644 --- a/src/gui/src/MainWindow.h +++ b/src/gui/src/MainWindow.h @@ -83,7 +83,7 @@ class MainWindow : public QMainWindow, public Ui::MainWindowBase Info }; - enum qRuningState { + enum qRunningState { kStarted, kStopped }; @@ -193,7 +193,7 @@ public slots: bool m_SuppressAutoConfigWarning; CommandProcess* m_BonjourInstall; bool m_SuppressEmptyServerWarning; - qRuningState m_ExpectedRunningState; + qRunningState m_ExpectedRunningState; QMutex m_StopDesktopMutex; SslCertificate* m_pSslCertificate; QStringList m_PendingClientNames; From 0952ce78ec3fa27be47e648678093bd1f8e86d2f Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:33 -0400 Subject: [PATCH 29/37] spelling: scroll Signed-off-by: Josh Soref --- src/test/unittests/barrier/KeyStateTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/unittests/barrier/KeyStateTests.cpp b/src/test/unittests/barrier/KeyStateTests.cpp index cc6da8f801e..f75adbc8ed6 100644 --- a/src/test/unittests/barrier/KeyStateTests.cpp +++ b/src/test/unittests/barrier/KeyStateTests.cpp @@ -252,7 +252,7 @@ TEST(KeyStateTests, setHalfDuplexMask_numLock_halfDuplexNumLockAdded) keyState.setHalfDuplexMask(KeyModifierNumLock); } -TEST(KeyStateTests, setHalfDuplexMask_scrollLock_halfDuplexScollLockAdded) +TEST(KeyStateTests, setHalfDuplexMask_scrollLock_halfDuplexScrollLockAdded) { MockKeyMap keyMap; MockEventQueue eventQueue; From c677f06946ecb9aa3ed134aa69bc4506a052255a Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:33 -0400 Subject: [PATCH 30/37] spelling: separate Signed-off-by: Josh Soref --- src/lib/barrier/ArgParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/barrier/ArgParser.cpp b/src/lib/barrier/ArgParser.cpp index 99cd803b16f..9e5e8d80eb7 100644 --- a/src/lib/barrier/ArgParser.cpp +++ b/src/lib/barrier/ArgParser.cpp @@ -473,7 +473,7 @@ ArgParser::assembleCommand(std::vector& argsArray, String ignoreArg, in } result.append(*it); - // add space to saperate args + // add space to separate args result.append(" "); } From c654415e74ac43a205c763b853b58f6e3ca6b2ac Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:33 -0400 Subject: [PATCH 31/37] spelling: subclasses Signed-off-by: Josh Soref --- src/lib/arch/IArchTaskBarReceiver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/arch/IArchTaskBarReceiver.h b/src/lib/arch/IArchTaskBarReceiver.h index b4f0d3038d0..74cc7dbeda6 100644 --- a/src/lib/arch/IArchTaskBarReceiver.h +++ b/src/lib/arch/IArchTaskBarReceiver.h @@ -85,7 +85,7 @@ class IArchTaskBarReceiver : public IInterface { //! Get tooltip /*! Returns the tool tip to display in the task bar. The interface - to set the tooltip is left to sublclasses. Getting and setting + to set the tooltip is left to subclasses. Getting and setting the icon must be thread safe. */ virtual std::string getToolTip() const = 0; From 8414713ad84fb76ab64a6be28386ebc58fea5e6d Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:34 -0400 Subject: [PATCH 32/37] spelling: subject Signed-off-by: Josh Soref --- src/lib/base/String.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/base/String.h b/src/lib/base/String.h index b2c40026112..4b36b1ec5b0 100644 --- a/src/lib/base/String.h +++ b/src/lib/base/String.h @@ -86,9 +86,9 @@ Convert each character in \c subject to uppercase */ void uppercase(std::string& subject); -//! Remove all specific char in suject +//! Remove all specific char in subject /*! -Remove all specific \c c in \c suject +Remove all specific \c c in \c subject */ void removeChar(std::string& subject, const char c); From 1ccc2ea9bf7d65a783e1f14c5ca0bf5408b9e09c Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:34 -0400 Subject: [PATCH 33/37] spelling: subsequent Signed-off-by: Josh Soref --- src/lib/platform/MSWindowsWatchdog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/platform/MSWindowsWatchdog.cpp b/src/lib/platform/MSWindowsWatchdog.cpp index 2d9a61c0e66..7cdd36cbcea 100644 --- a/src/lib/platform/MSWindowsWatchdog.cpp +++ b/src/lib/platform/MSWindowsWatchdog.cpp @@ -525,7 +525,7 @@ MSWindowsWatchdog::shutdownExistingProcesses() if (err != ERROR_NO_MORE_FILES) { // only worry about error if it's not the end of the snapshot - LOG((CLOG_ERR "could not get subsiquent process entry")); + LOG((CLOG_ERR "could not get subsequent process entry")); throw XArch(new XArchEvalWindows); } } From 1466976a3663bec209584f2dbd9fa352eb08d1ba Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:35 -0400 Subject: [PATCH 34/37] spelling: suppression Signed-off-by: Josh Soref --- src/lib/platform/OSXScreen.mm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/lib/platform/OSXScreen.mm b/src/lib/platform/OSXScreen.mm index b7a0b0b96f8..d5d99943f37 100644 --- a/src/lib/platform/OSXScreen.mm +++ b/src/lib/platform/OSXScreen.mm @@ -58,7 +58,7 @@ // TODO: upgrade deprecated function usage in these functions. void setZeroSuppressionInterval(); -void avoidSupression(); +void avoidSuppression(); void logCursorVisibility(); void avoidHesitatingCursor(); @@ -848,7 +848,7 @@ IOObjectRelease(entry); } - avoidSupression(); + avoidSuppression(); } // now on screen @@ -2124,17 +2124,17 @@ } void -avoidSupression() +avoidSuppression() { // avoid suppression of local hardware events // stkamp@users.sourceforge.net - CGSetLocalEventsFilterDuringSupressionState( + CGSetLocalEventsFilterDuringSuppressionState( kCGEventFilterMaskPermitAllEvents, - kCGEventSupressionStateSupressionInterval); - CGSetLocalEventsFilterDuringSupressionState( + kCGEventSuppressionStateSuppressionInterval); + CGSetLocalEventsFilterDuringSuppressionState( (kCGEventFilterMaskPermitLocalKeyboardEvents | kCGEventFilterMaskPermitSystemDefinedEvents), - kCGEventSupressionStateRemoteMouseDrag); + kCGEventSuppressionStateRemoteMouseDrag); } void From 769e4f3f604dfa552492bf056e763cef81324d17 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:35 -0400 Subject: [PATCH 35/37] spelling: system Signed-off-by: Josh Soref --- debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 219b0c9ffed..494eaa7b838 100644 --- a/debian/changelog +++ b/debian/changelog @@ -254,7 +254,7 @@ barrier (2.3.2) disco; urgency=medium * add checks to osx_environment.sh [ Thomas A. F. Thorne ] - * Reduce Sysmtem Tray Retry Attempts + * Reduce System Tray Retry Attempts * Do Not Warn About Missing System Tray [ jwestfall ] From ff56faa8a9d9e8c89e7c263aee612bc60238b9e7 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 22:13:20 -0400 Subject: [PATCH 36/37] spelling: the Signed-off-by: Josh Soref --- src/lib/barrier/KeyMap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/barrier/KeyMap.cpp b/src/lib/barrier/KeyMap.cpp index 7d53deb87fd..8644cfb8a63 100644 --- a/src/lib/barrier/KeyMap.cpp +++ b/src/lib/barrier/KeyMap.cpp @@ -735,7 +735,7 @@ KeyMap::keyForModifier(KeyButton button, SInt32 group, // find a key that generates the given modifier in the given group // but doesn't use the given button, presumably because we're trying - // to generate a KeyID that's only bound the the given button. + // to generate a KeyID that's only bound the given button. // this is important when a shift button is modified by shift; we // must use the other shift button to do the shifting. const ModifierKeyItemList& items = From 4da8adb4b1f009bbc1a3caf821b4f0738b348020 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:36 -0400 Subject: [PATCH 37/37] spelling: writability Signed-off-by: Josh Soref --- src/lib/arch/IArchNetwork.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/arch/IArchNetwork.h b/src/lib/arch/IArchNetwork.h index 7eae63ec964..10a4b225a7b 100644 --- a/src/lib/arch/IArchNetwork.h +++ b/src/lib/arch/IArchNetwork.h @@ -178,7 +178,7 @@ class IArchNetwork : public IInterface { Waits up to \c timeout seconds for some socket to become readable and/or writable (or indefinitely if \c timeout < 0). Returns the number of sockets that were readable (if readability was being - queried) or writable (if writablility was being queried) and sets + queried) or writable (if writability was being queried) and sets the \c m_revents members of the entries. \c kPOLLERR and \c kPOLLNVAL are set in \c m_revents as appropriate. If a socket indicates \c kPOLLERR then \c throwErrorOnSocket() can be used to determine