From 09c4b371953a3f2e05f575238bdc77a5305fa4ff Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Sat, 12 May 2018 09:21:33 +0100 Subject: [PATCH 1/3] Fix some more codespell errors --- common/base/Init.cpp | 2 +- common/utils/Clock.cpp | 2 +- include/ola/rdm/PidStore.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/base/Init.cpp b/common/base/Init.cpp index 98a3cad4bc..e327f04ec1 100644 --- a/common/base/Init.cpp +++ b/common/base/Init.cpp @@ -137,7 +137,7 @@ bool SetThreadScheduling() { OLA_WARN << "Maximum value for --scheduler-priority is " << max; return false; } -#endif // _POSIX_PRORITY_SCHEDULING +#endif // _POSIX_PRIORITY_SCHEDULING // Set the scheduling parameters. struct sched_param param; diff --git a/common/utils/Clock.cpp b/common/utils/Clock.cpp index 7ca76ec424..bc1544905a 100644 --- a/common/utils/Clock.cpp +++ b/common/utils/Clock.cpp @@ -23,7 +23,7 @@ * provide timersub. * - Reduces bugs by using the compiler to check if the value was supposed * to be an interval or absolute time. For example, passing an absolute - * time intstead of an Interval to RegisterTimeout would be bad. + * time instead of an Interval to RegisterTimeout would be bad. */ #include diff --git a/include/ola/rdm/PidStore.h b/include/ola/rdm/PidStore.h index a47ab5c08b..fbb361806d 100644 --- a/include/ola/rdm/PidStore.h +++ b/include/ola/rdm/PidStore.h @@ -44,7 +44,7 @@ namespace rdm { class PidStore; class PidDescriptor; -// The following % before Device is to stop Doxygen interpretting it as a class +// The following % before Device is to stop Doxygen interpreting it as a class /** * @brief The root of the RDM parameter descriptor store. * From cdcb0379f7758b6b65c4680713c81e64970d6a2c Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Sat, 12 May 2018 10:19:32 +0100 Subject: [PATCH 2/3] Ignore config.log when checking spelling --- .travis-ci.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis-ci.sh b/.travis-ci.sh index 40fde1aa75..ad9a710d22 100755 --- a/.travis-ci.sh +++ b/.travis-ci.sh @@ -22,6 +22,7 @@ SPELLINGBLACKLIST=$(cat <<-BLACKLIST -wholename "./config/ltsugar.m4" -or \ -wholename "./config/missing" -or \ -wholename "./libtool" -or \ + -wholename "./config.log" -or \ -wholename "./config.status" -or \ -wholename "./Makefile" -or \ -wholename "./Makefile.in" -or \ From a5cd7d088f34b8009cfd5fae5ef6b11eda3d200a Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Sat, 12 May 2018 10:53:12 +0100 Subject: [PATCH 3/3] Fix a few more minor codespell issues --- NEWS | 2 +- include/ola/Clock.h | 2 +- javascript/ola/common/server_stats.js | 2 +- javascript/ola/mobile/plugin_tab.js | 2 +- javascript/ola/mobile/universe_tab.js | 2 +- plugins/espnet/EspNetPackets.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/NEWS b/NEWS index f1da4f0fdb..25e8c36d71 100644 --- a/NEWS +++ b/NEWS @@ -826,7 +826,7 @@ Documentation: Improved USB Pro handling Added port priorities & multi source merging TX support for the DMX-TRI - Support for the Ardiuno RGB Mixer + Support for the Arduino RGB Mixer DSCP for E1.31 Support for using the OSSP uuid library Removal of run-time loadable plugins. diff --git a/include/ola/Clock.h b/include/ola/Clock.h index 2b10af8bab..02363ae457 100644 --- a/include/ola/Clock.h +++ b/include/ola/Clock.h @@ -23,7 +23,7 @@ * provide timeradd and timersub. * - Reduces bugs by using the compiler to check if the value was supposed * to be an interval or absolute time. For example, passing an absolute - * time intstead of an Interval to RegisterTimeout would be bad. + * time instead of an Interval to RegisterTimeout would be bad. */ #ifndef INCLUDE_OLA_CLOCK_H_ diff --git a/javascript/ola/common/server_stats.js b/javascript/ola/common/server_stats.js index 8c5fbda804..cd63dee6bc 100644 --- a/javascript/ola/common/server_stats.js +++ b/javascript/ola/common/server_stats.js @@ -51,7 +51,7 @@ ola.common.ServerStats.prototype.title = function() { /** - * Called when the tab loses focuse + * Called when the tab loses focus */ ola.common.ServerStats.prototype.blur = function() {}; diff --git a/javascript/ola/mobile/plugin_tab.js b/javascript/ola/mobile/plugin_tab.js index 1d8ef87a91..65cd806aeb 100644 --- a/javascript/ola/mobile/plugin_tab.js +++ b/javascript/ola/mobile/plugin_tab.js @@ -64,7 +64,7 @@ ola.mobile.PluginTab.prototype.title = function() { /** - * Called when the tab loses focuse + * Called when the tab loses focus */ ola.mobile.PluginTab.prototype.blur = function() {}; diff --git a/javascript/ola/mobile/universe_tab.js b/javascript/ola/mobile/universe_tab.js index 30519ae945..c494b5a19d 100644 --- a/javascript/ola/mobile/universe_tab.js +++ b/javascript/ola/mobile/universe_tab.js @@ -74,7 +74,7 @@ ola.mobile.UniverseTab.prototype.title = function() { /** - * Called when the tab loses focuse + * Called when the tab loses focus */ ola.mobile.UniverseTab.prototype.blur = function() {}; diff --git a/plugins/espnet/EspNetPackets.h b/plugins/espnet/EspNetPackets.h index 1a03f68e20..d0adaccd4b 100644 --- a/plugins/espnet/EspNetPackets.h +++ b/plugins/espnet/EspNetPackets.h @@ -73,7 +73,7 @@ typedef struct espnet_poll_s espnet_poll_t; struct espnet_node_config_s { uint8_t listen; uint8_t ip[4]; - uint8_t universe; // bit bizare that nodes only listen to one universe?? + uint8_t universe; // bit bizarre that nodes only listen to one universe?? }; typedef struct espnet_node_config_s espnet_node_config_t;