* This process goes on for each source port until either the target port is found, all the associated connectors have been done being searched, or a time out variable is reached.
@@ -215,12 +215,12 @@ public static void process(Project proj, File pluginDir) throws IOException {
*
*
* The index checking/correction is done so multiplicities do not need to be specified for cmd/cmdReg or com/cmdResponse (with port names of seqCmdStatus and seqCmdBuff) blocks.
- * The latter pair has the additional port name constraint because there are multiple other ports with the same cmdResponse type. Some of these port are not to be auto-indexed.
+ * The latter pair has the additional port name constraint because there are multiple other ports with the same cmdResponse type. Some of these ports are not to be auto-indexed.
* This makes it easier for the user to add and remove these ports without needing to worry about if the indexes of the pairings match.
*
*
*
- * The program redefines the indexes in numerical order. Even if initial indexes are given, for the origin of Cmd and the target of CmdReg, they are overwritten. They target index of Cmd is preserved and also is written to the source of CmdReg.
+ * The program redefines the indexes in numerical order. Even if initial indexes are given, for the origin of Cmd and the target of CmdReg, they are overwritten. The target index of Cmd is preserved and also is written to the source of CmdReg.
*
*
* METHODOLOGY
@@ -414,7 +414,7 @@ else if(qualified.equals("CDHCore::CDHSubsystem::sequenceRunner")){
*
*
*
- * If the element is an instance of a subsystem, the subsystemOwners map is updated, where each key (name of subsystem) is associated with an list of two string arrays.
+ * If the element is an instance of a subsystem, the subsystemOwners map is updated, where each key (name of subsystem) is associated with a list of two string arrays.
* The first String corresponds to the instance name and the second corresponds to the name of the owner of the subsystem.
*
* @param root Root of the system
@@ -660,9 +660,9 @@ else if (e instanceof Connector) {
*
*
*
- * Additionally, to support multiple instances of ibds, is a a source instance and target instance name is created along side every connection.
- * This name is the the root modules name followed by each subsystem which the connection's path goes through.
- * This name is used if the program detect that target or source subsystem is used more than once.
+ * Additionally, to support multiple instances of ibds, is a source instance and target instance name is created along side every connection.
+ * This name is the root modules name followed by each subsystem which the connection's path goes through.
+ * This name is used if the program detects that target or source subsystem is used more than once.
*
*
*
@@ -729,7 +729,7 @@ else if(currentConnectorEnd.getLowerValue() != null){
ArrayList targetNameList = new ArrayList();
- //Iterate through all the connectors associated with the the currPort
+ //Iterate through all the connectors associated with the currPort
while(i < 101){ //Infinite loop prevention.
String previousConnectorTargetID = ""; //Used to figure out if current connector target and previous connector target are the same
int previousConnectorTargetMult = 0;
@@ -761,7 +761,7 @@ else if(currentConnectorEnd.getLowerValue() != null){
/*
* if ( the current multiplicity is between the lower and upper multiplicities of the source connector AND the source multiplicity is not null OR
* the source multiplicity is null and the target multiplicity is null OR
- * the source multiplicity is null and the current multiplicity is equal to a counter which keeps track of how long we we have had separate connectors iterate on the same OR
+ * the source multiplicity is null and the current multiplicity is equal to a counter which keeps track of how long we have had separate connectors iterate on the same OR
* the connectors associated with this port is one and the source multiplicity is null)
*/
diff --git a/Autocoders/Python/schema/default/common_elements.rng b/Autocoders/Python/schema/default/common_elements.rng
index 61cc67c4da..0efdc87a85 100644
--- a/Autocoders/Python/schema/default/common_elements.rng
+++ b/Autocoders/Python/schema/default/common_elements.rng
@@ -118,7 +118,7 @@
- Defines a ID data type. Acceptable values formats include "10" , "0xA" , "xA".
+ Defines an ID data type. Acceptable values formats include "10" , "0xA" , "xA".
((0?x[0-9A-Fa-f]+)|\d+)
diff --git a/Autocoders/Python/schema/default/topology_schema.rng b/Autocoders/Python/schema/default/topology_schema.rng
index ecafdbe535..b1454b4e2f 100644
--- a/Autocoders/Python/schema/default/topology_schema.rng
+++ b/Autocoders/Python/schema/default/topology_schema.rng
@@ -228,7 +228,7 @@
Specifies the multiplicity or index of a port that is being connected to. Generally,
- this value will be zero unless multiple indexes on the port exists.
+ this value will be zero unless multiple indexes of the port exist.
diff --git a/Autocoders/Python/src/fprime_ac/generators/formatters.py b/Autocoders/Python/src/fprime_ac/generators/formatters.py
index 7aef7eec6d..5385a85b71 100644
--- a/Autocoders/Python/src/fprime_ac/generators/formatters.py
+++ b/Autocoders/Python/src/fprime_ac/generators/formatters.py
@@ -582,7 +582,7 @@ def function_handler_name(self, id, name):
def msgTypedefName(self, id, name, name_sep="AcMsg"):
"""
- Return the name of msg typedef from a import function name.
+ Return the name of msg typedef from an import function name.
@param id: The module id.
@param name: Original function name with '_' separation.
@param name_sep: A string placed between the id and interface name
@@ -636,7 +636,7 @@ def msgUnionArgName(self, msg_type):
def msgTokenName(self, id, name):
"""
Return the name of msg typedef
- from a input function name.
+ from an input function name.
@param id: The module id.
@param name: Original function name with '_' separation.
"""
@@ -657,7 +657,7 @@ def msgTokenName(self, id, name):
def opcodeName(self, id, name):
"""
Return the name of command opcode
- from a input function name.
+ from an input function name.
@param id: The module id.
@param name: Original function name with '_' separation.
"""
@@ -759,7 +759,7 @@ def bufferArgsPresent(self, args):
def commentInArgsPresent(self, args):
"""
Given a list of argument tuples
- return True if an comment for
+ return True if a comment for
an arg is found, else return False.
"""
for arg in args:
@@ -876,13 +876,13 @@ def formatFunCall(self, name, args, indent=0, prefix=""):
def simpleFuncDraw(self, name, args, proto=True, indent=0):
"""
- This is a simply C function formatter. The arguments are a function
+ This is a simple C function formatter. The arguments are a function
name, and its arguments. A string is returned that is a C code
function declaration. The proto flag is used to properly terminate
the function.
"""
- # Get the simply case out of the way.
+ # Get the simple case out of the way.
if len(args) == 0:
if proto == True:
diff --git a/Autocoders/Python/src/fprime_ac/generators/templates/component/hpp.tmpl b/Autocoders/Python/src/fprime_ac/generators/templates/component/hpp.tmpl
index 3c80a01298..6feb317023 100644
--- a/Autocoders/Python/src/fprime_ac/generators/templates/component/hpp.tmpl
+++ b/Autocoders/Python/src/fprime_ac/generators/templates/component/hpp.tmpl
@@ -908,7 +908,7 @@ $emit_non_port_params(8, $params)
// Parameter load hook
// ----------------------------------------------------------------------
- //! \brief Called whenever a parameters are loaded
+ //! \brief Called whenever a parameters is loaded
//!
//! This function does nothing by default. You may override it.
//!
diff --git a/Autocoders/Python/src/fprime_ac/generators/visitors/PortCppVisitor.py b/Autocoders/Python/src/fprime_ac/generators/visitors/PortCppVisitor.py
index 5583f6fbbf..82f8228371 100644
--- a/Autocoders/Python/src/fprime_ac/generators/visitors/PortCppVisitor.py
+++ b/Autocoders/Python/src/fprime_ac/generators/visitors/PortCppVisitor.py
@@ -304,7 +304,7 @@ def privateVisit(self, obj):
c = privatePortCpp.privatePortCpp()
c.name = obj.get_type()
tmp = [(a.get_name(), a.get_type(), a.get_modifier()) for a in obj.get_args()]
- # Make a enum marker list here for template to use...
+ # Make an enum marker list here for template to use...
c.enum_marker = []
for i in tmp:
if isinstance(i[1], tuple):
@@ -352,7 +352,7 @@ def finishSourceFilesVisit(self, obj):
c.args = [
(a.get_name(), a.get_type(), a.get_modifier()) for a in obj.get_args()
]
- # Make a enum marker list here for template to use...
+ # Make an enum marker list here for template to use...
c.enum_marker = []
for i in c.args:
if isinstance(i[1], tuple):
diff --git a/Autocoders/Python/src/fprime_ac/models/Event.py b/Autocoders/Python/src/fprime_ac/models/Event.py
index 5079ef65fc..efe6a0d3e0 100644
--- a/Autocoders/Python/src/fprime_ac/models/Event.py
+++ b/Autocoders/Python/src/fprime_ac/models/Event.py
@@ -1,7 +1,7 @@
# ===============================================================================
# NAME: Event.py
#
-# DESCRIPTION: This is a Eve t meta-model sort of class. It is
+# DESCRIPTION: This is a Event meta-model sort of class. It is
# contained within a Component class as a list
# of Event instances and is visited by the code
# generators.
diff --git a/Autocoders/Python/src/fprime_ac/models/Serialize.py b/Autocoders/Python/src/fprime_ac/models/Serialize.py
index 235d36cbc0..e46ba7f0bc 100644
--- a/Autocoders/Python/src/fprime_ac/models/Serialize.py
+++ b/Autocoders/Python/src/fprime_ac/models/Serialize.py
@@ -1,7 +1,7 @@
# ===============================================================================
# NAME: Serialize.py.py
#
-# DESCRIPTION: This is an Serialize meta-model class. It is
+# DESCRIPTION: This is a Serialize meta-model class. It is
# instanced for the generation of Serializable classes.
#
# USAGE:
diff --git a/Autocoders/Python/src/fprime_ac/parsers/XmlComponentParser.py b/Autocoders/Python/src/fprime_ac/parsers/XmlComponentParser.py
index d334013bb1..940c3b4936 100644
--- a/Autocoders/Python/src/fprime_ac/parsers/XmlComponentParser.py
+++ b/Autocoders/Python/src/fprime_ac/parsers/XmlComponentParser.py
@@ -1438,7 +1438,7 @@ def get_max_number(self):
class CommandArg:
"""
- Data container for an command argument
+ Data container for a command argument
"""
def __init__(self, name, type, size=None, comment=None):
diff --git a/Autocoders/Python/src/fprime_ac/parsers/XmlTopologyParser.py b/Autocoders/Python/src/fprime_ac/parsers/XmlTopologyParser.py
index ac68f46b63..a8c6620f6d 100644
--- a/Autocoders/Python/src/fprime_ac/parsers/XmlTopologyParser.py
+++ b/Autocoders/Python/src/fprime_ac/parsers/XmlTopologyParser.py
@@ -122,7 +122,7 @@ def __init__(self, xml_file=None):
self.__prepend_instance_name = True
#
# The deployment attribute added so that instance
- # dictionaries are install in the correct place.
+ # dictionaries are installed in the correct place.
#
if "deployment" in e.attrib:
self.__deployment = e.attrib["deployment"]
diff --git a/Autocoders/Python/src/fprime_ac/utils/pyparsing.py b/Autocoders/Python/src/fprime_ac/utils/pyparsing.py
index c0cd5a34a1..b0404112b3 100644
--- a/Autocoders/Python/src/fprime_ac/utils/pyparsing.py
+++ b/Autocoders/Python/src/fprime_ac/utils/pyparsing.py
@@ -1580,7 +1580,7 @@ def __init__(
"""
super().__init__()
- # remove white space from quote chars - wont work anyway
+ # remove white space from quote chars - won't work anyway
quoteChar = quoteChar.strip()
if len(quoteChar) == 0:
warnings.warn(
@@ -2767,7 +2767,7 @@ def postParse(self, instring, loc, tokenlist):
class Dict(TokenConverter):
"""Converter to return a repetitive expression as a list, but also as a dictionary.
Each element can also be referenced using the first token in the expression as its key.
- Useful for tabular report scraping when the first column can be used as a item key.
+ Useful for tabular report scraping when the first column can be used as an item key.
"""
def __init__(self, exprs):
diff --git a/Autocoders/Python/test/enum/ExampleEnumAi.xml b/Autocoders/Python/test/enum/ExampleEnumAi.xml
index 19ad7195ec..c10556e8fd 100644
--- a/Autocoders/Python/test/enum/ExampleEnumAi.xml
+++ b/Autocoders/Python/test/enum/ExampleEnumAi.xml
@@ -2,7 +2,7 @@
-
+
diff --git a/Drv/Ip/SocketReadTask.cpp b/Drv/Ip/SocketReadTask.cpp
index 3a7f4254b8..8cf7dd95d9 100644
--- a/Drv/Ip/SocketReadTask.cpp
+++ b/Drv/Ip/SocketReadTask.cpp
@@ -31,7 +31,7 @@ void SocketReadTask::startSocketTask(const Fw::StringBase &name,
FW_ASSERT(not m_task.isStarted()); // It is a coding error to start this task multiple times
FW_ASSERT(not this->m_stop); // It is a coding error to stop the thread before it is started
m_reconnect = reconnect;
- // Note: the first step is for the IP socket to open the the port
+ // Note: the first step is for the IP socket to open the port
Os::Task::TaskStatus stat = m_task.start(name, SocketReadTask::readTask, this, priority, stack, cpuAffinity);
FW_ASSERT(Os::Task::TASK_OK == stat, static_cast(stat));
}
diff --git a/Drv/Ip/SocketReadTask.hpp b/Drv/Ip/SocketReadTask.hpp
index 3e95902ca7..2412c7b9f9 100644
--- a/Drv/Ip/SocketReadTask.hpp
+++ b/Drv/Ip/SocketReadTask.hpp
@@ -112,7 +112,7 @@ class SocketReadTask {
/**
* \brief returns a buffer to fill with data
*
- * Gets a reference to the a buffer to fill with data. This allows the component to determine how to provide a
+ * Gets a reference to a buffer to fill with data. This allows the component to determine how to provide a
* buffer and the socket read task just fills said buffer.
*
* Note: this must be implemented by the inheritor
@@ -122,7 +122,7 @@ class SocketReadTask {
virtual Fw::Buffer getBuffer() = 0;
/**
- * \brief sends a buffer to filled with data
+ * \brief sends a buffer to be filled with data
*
* Sends the buffer gotten by getBuffer that has now been filled with data. This is used to delegate to the
* component how to send back the buffer.
diff --git a/Drv/Ip/UdpSocket.hpp b/Drv/Ip/UdpSocket.hpp
index e8f48b039a..afdec15378 100644
--- a/Drv/Ip/UdpSocket.hpp
+++ b/Drv/Ip/UdpSocket.hpp
@@ -47,7 +47,7 @@ class UdpSocket : public IpSocket {
* and port are configured using the `configureRecv` function call for UDP as it requires separate host/port pairs
* for outgoing and incoming transmissions. Hostname DNS translation is left up to the caller and thus hostname must
* be an IP address in dot-notation of the form "x.x.x.x". Port cannot be set to 0 as dynamic port assignment is not
- * supported. It is possible to configure the UDP port as an single-direction send port only.
+ * supported. It is possible to configure the UDP port as a single-direction send port only.
*
* Note: delegates to `IpSocket::configure`
*
@@ -67,7 +67,7 @@ class UdpSocket : public IpSocket {
* and port are configured using the `configureSend` function call for UDP as it requires separate host/port pairs
* for outgoing and incoming transmissions. Hostname DNS translation is left up to the caller and thus hostname must
* be an IP address in dot-notation of the form "x.x.x.x". Port cannot be set to 0 as dynamic port assignment is not
- * supported. It is possible to configure the UDP port as an single-direction receive port only.
+ * supported. It is possible to configure the UDP port as a single-direction receive port only.
*
* \param hostname: socket uses for incoming transmissions. Must be of form x.x.x.x
* \param port: port socket uses for incoming transmissions. Must NOT be 0.
diff --git a/Drv/Ip/test/ut/SocketTestHelper.hpp b/Drv/Ip/test/ut/SocketTestHelper.hpp
index 99b850e6e9..ec02921b63 100644
--- a/Drv/Ip/test/ut/SocketTestHelper.hpp
+++ b/Drv/Ip/test/ut/SocketTestHelper.hpp
@@ -14,7 +14,7 @@ namespace Test {
/**
- * Force a receive timeout on a socket such that it will not hang our testing despite the the normal recv behavior of
+ * Force a receive timeout on a socket such that it will not hang our testing despite the normal recv behavior of
* "block forever" until it gets data.
* @param socket: socket to make timeout
*/
diff --git a/Drv/LinuxGpioDriver/LinuxGpioDriverComponentImpl.cpp b/Drv/LinuxGpioDriver/LinuxGpioDriverComponentImpl.cpp
index cc4d0165a5..42548968fe 100644
--- a/Drv/LinuxGpioDriver/LinuxGpioDriverComponentImpl.cpp
+++ b/Drv/LinuxGpioDriver/LinuxGpioDriverComponentImpl.cpp
@@ -134,7 +134,7 @@ namespace Drv {
FW_ASSERT(fd != -1);
- // TODO make value a enum or check its value
+ // TODO make value an enum or check its value
const char *val = value ? "1" : "0";
const int len = 1;
@@ -350,7 +350,7 @@ namespace Drv {
/*
* According to this link, poll will always have POLLERR set for the sys/class/gpio subsystem
- * so cant check for it to look for error:
+ * so can't check for it to look for error:
* http://stackoverflow.com/questions/27411013/poll-returns-both-pollpri-pollerr
*/
if (stat < 0) {
diff --git a/Drv/LinuxI2cDriver/LinuxI2cDriverComponentImpl.cpp b/Drv/LinuxI2cDriver/LinuxI2cDriverComponentImpl.cpp
index 416fad0b3a..60ca2e2154 100644
--- a/Drv/LinuxI2cDriver/LinuxI2cDriverComponentImpl.cpp
+++ b/Drv/LinuxI2cDriver/LinuxI2cDriverComponentImpl.cpp
@@ -67,7 +67,7 @@ namespace Drv {
// Handler implementations for user-defined typed input ports
// ----------------------------------------------------------------------
- // Note this this port handler is guarded, so we can make the ioctl call
+ // Note this port handler is guarded, so we can make the ioctl call
Drv::I2cStatus LinuxI2cDriverComponentImpl ::
write_handler(
diff --git a/Drv/LinuxI2cDriver/LinuxI2cDriverComponentImplStub.cpp b/Drv/LinuxI2cDriver/LinuxI2cDriverComponentImplStub.cpp
index 21056c6ab0..69db63a5b0 100644
--- a/Drv/LinuxI2cDriver/LinuxI2cDriverComponentImplStub.cpp
+++ b/Drv/LinuxI2cDriver/LinuxI2cDriverComponentImplStub.cpp
@@ -54,7 +54,7 @@ namespace Drv {
// Handler implementations for user-defined typed input ports
// ----------------------------------------------------------------------
- // Note this this port handler is guarded, so we can make the ioctl call
+ // Note this port handler is guarded, so we can make the ioctl call
I2cStatus LinuxI2cDriverComponentImpl ::
write_handler(
diff --git a/Drv/LinuxSerialDriver/LinuxSerialDriverComponentImpl.cpp b/Drv/LinuxSerialDriver/LinuxSerialDriverComponentImpl.cpp
index 337592b062..4993f1db26 100644
--- a/Drv/LinuxSerialDriver/LinuxSerialDriverComponentImpl.cpp
+++ b/Drv/LinuxSerialDriver/LinuxSerialDriverComponentImpl.cpp
@@ -59,7 +59,7 @@ namespace Drv {
DEBUG_PRINT("Opening UART device %s\n", device);
- // TODO cant use O_NDELAY and block (it is same as O_NONBLOCK), so removing NDELAY for now
+ // TODO can't use O_NDELAY and block (it is same as O_NONBLOCK), so removing NDELAY for now
/*
The O_NOCTTY flag tells UNIX that this program doesn't want to be the "controlling terminal" for that port. If you don't specify this then any input (such as keyboard abort signals and so forth) will affect your process. Programs like getty(1M/8) use this feature when starting the login process, but normally a user program does not want this behavior.
diff --git a/Drv/TcpClient/TcpClientComponentImpl.hpp b/Drv/TcpClient/TcpClientComponentImpl.hpp
index 1cf2cb9b50..67bb177e56 100644
--- a/Drv/TcpClient/TcpClientComponentImpl.hpp
+++ b/Drv/TcpClient/TcpClientComponentImpl.hpp
@@ -52,7 +52,7 @@ class TcpClientComponentImpl : public ByteStreamDriverModelComponentBase, public
* \brief Configures the TcpClient settings but does not open the connection
*
* The TcpClientComponent needs to connect to a remote TCP server. This call configures the hostname, port and send
- * timeouts for that socket connection. This call should be preformed on system startup before recv or send
+ * timeouts for that socket connection. This call should be performed on system startup before recv or send
* are called. Note: hostname must be a dot-notation IP address of the form "x.x.x.x". DNS translation is left up
* to the user.
*
@@ -86,7 +86,7 @@ class TcpClientComponentImpl : public ByteStreamDriverModelComponentBase, public
/**
* \brief returns a buffer to fill with data
*
- * Gets a reference to the a buffer to fill with data. This allows the component to determine how to provide a
+ * Gets a reference to a buffer to fill with data. This allows the component to determine how to provide a
* buffer and the socket read task just fills said buffer.
*
* \return Fw::Buffer to fill with data
@@ -94,7 +94,7 @@ class TcpClientComponentImpl : public ByteStreamDriverModelComponentBase, public
Fw::Buffer getBuffer();
/**
- * \brief sends a buffer to filled with data
+ * \brief sends a buffer to be filled with data
*
* Sends the buffer gotten by getBuffer that has now been filled with data. This is used to delegate to the
* component how to send back the buffer. Ignores buffers with error status error.
diff --git a/Drv/TcpServer/TcpServerComponentImpl.hpp b/Drv/TcpServer/TcpServerComponentImpl.hpp
index 075f2f9671..004e30a589 100644
--- a/Drv/TcpServer/TcpServerComponentImpl.hpp
+++ b/Drv/TcpServer/TcpServerComponentImpl.hpp
@@ -53,7 +53,7 @@ class TcpServerComponentImpl : public ByteStreamDriverModelComponentBase, public
* \brief Configures the TcpClient settings but does not open the connection
*
* The TcpClientComponent needs to connect to a remote TCP server. This call configures the hostname, port and
- * send timeouts for that socket connection. This call should be preformed on system startup before recv or send
+ * send timeouts for that socket connection. This call should be performed on system startup before recv or send
* are called. Note: hostname must be a dot-notation IP address of the form "x.x.x.x". DNS translation is left up
* to the user.
*
@@ -106,7 +106,7 @@ class TcpServerComponentImpl : public ByteStreamDriverModelComponentBase, public
/**
* \brief returns a buffer to fill with data
*
- * Gets a reference to the a buffer to fill with data. This allows the component to determine how to provide a
+ * Gets a reference to a buffer to fill with data. This allows the component to determine how to provide a
* buffer and the socket read task just fills said buffer.
*
* \return Fw::Buffer to fill with data
@@ -114,7 +114,7 @@ class TcpServerComponentImpl : public ByteStreamDriverModelComponentBase, public
Fw::Buffer getBuffer();
/**
- * \brief sends a buffer to filled with data
+ * \brief sends a buffer to be filled with data
*
* Sends the buffer gotten by getBuffer that has now been filled with data. This is used to delegate to the
* component how to send back the buffer. Ignores buffers with error status error.
diff --git a/Drv/Udp/UdpComponentImpl.hpp b/Drv/Udp/UdpComponentImpl.hpp
index 23128fd7f2..783a37a60d 100644
--- a/Drv/Udp/UdpComponentImpl.hpp
+++ b/Drv/Udp/UdpComponentImpl.hpp
@@ -52,7 +52,7 @@ class UdpComponentImpl : public ByteStreamDriverModelComponentBase, public Socke
* \brief Configures the Udp send settings but does not open the connection
*
* The UdpComponent may need to send to a remote UDP port. This call configures the hostname, port and send
- * timeouts for that socket connection. This call should be preformed on system startup before send is called.
+ * timeouts for that socket connection. This call should be performed on system startup before send is called.
* Note: hostname must be a dot-notation IP address of the form "x.x.x.x". DNS translation is left up
* to the user.
*
@@ -72,7 +72,7 @@ class UdpComponentImpl : public ByteStreamDriverModelComponentBase, public Socke
* \brief Configures the Udp receive settings but does not open the connection
*
* The UdpComponent may need to receive from a remote udp port. This call configures the hostname and port of that
- * source. This call should be preformed on system startup before recv or send are called. Note: hostname must be a
+ * source. This call should be performed on system startup before recv or send are called. Note: hostname must be a
* dot-notation IP address of the form "x.x.x.x". DNS translation is left up to the user.
*
* \param hostname: ip address of remote tcp server in the form x.x.x.x
@@ -106,7 +106,7 @@ class UdpComponentImpl : public ByteStreamDriverModelComponentBase, public Socke
/**
* \brief returns a buffer to fill with data
*
- * Gets a reference to the a buffer to fill with data. This allows the component to determine how to provide a
+ * Gets a reference to a buffer to fill with data. This allows the component to determine how to provide a
* buffer and the socket read task just fills said buffer.
*
* \return Fw::Buffer to fill with data
@@ -114,7 +114,7 @@ class UdpComponentImpl : public ByteStreamDriverModelComponentBase, public Socke
Fw::Buffer getBuffer();
/**
- * \brief sends a buffer to filled with data
+ * \brief sends a buffer to be filled with data
*
* Sends the buffer gotten by getBuffer that has now been filled with data. This is used to delegate to the
* component how to send back the buffer. Ignores buffers with error status error.
diff --git a/Fw/Buffer/Buffer.hpp b/Fw/Buffer/Buffer.hpp
index 5b9fb76a01..ecd2da852b 100644
--- a/Fw/Buffer/Buffer.hpp
+++ b/Fw/Buffer/Buffer.hpp
@@ -37,7 +37,7 @@ namespace Fw {
//!
//! Fw::Buffer also comes with functions to return a representation of the data as a SerializeBufferBase. These two
//! functions allow easy access to the data as if it were a serialize or deserialize buffer. This can aid in writing and
-//! reading the wrapped data where as the standard serialize and deserialize methods treat the data as a pointer to
+//! reading the wrapped data whereas the standard serialize and deserialize methods treat the data as a pointer to
//! prevent excessive copying.
//!
class Buffer : public Fw::Serializable {
diff --git a/Fw/Deprecate.hpp b/Fw/Deprecate.hpp
index 15b0bae247..dfdb2afa34 100644
--- a/Fw/Deprecate.hpp
+++ b/Fw/Deprecate.hpp
@@ -1,6 +1,6 @@
// deprecate.hpp:
//
-// An minor implementation of compile-time deprecation for the fprime framework.
+// A minor implementation of compile-time deprecation for the fprime framework.
#ifndef FW_DEPRECATE_HPP
#define FW_DEPRECATE_HPP
diff --git a/Fw/Logger/test/ut/Main.cpp b/Fw/Logger/test/ut/Main.cpp
index 39a363cc42..93e1b7511a 100644
--- a/Fw/Logger/test/ut/Main.cpp
+++ b/Fw/Logger/test/ut/Main.cpp
@@ -59,7 +59,7 @@ TEST(LoggerTests, BassicGoodLogger) {
log.apply(logger);
}
/**
- * Test that null-logging works function works.
+ * Test that null-logging function works.
*/
TEST(LoggerTests, BassicBadLogger) {
// Basic discard logging
diff --git a/Fw/Obj/ObjBase.hpp b/Fw/Obj/ObjBase.hpp
index 09fe038a5c..0d81426060 100644
--- a/Fw/Obj/ObjBase.hpp
+++ b/Fw/Obj/ObjBase.hpp
@@ -25,7 +25,7 @@ namespace Fw {
//! \class ObjBase
//! \brief Brief class description
//!
- //! This class is is the base class of the ISF object class hierarchy.
+ //! This class is the base class of the ISF object class hierarchy.
//! Depending on which features of the architecture are enabled, this class:
//! 1) Stores an object name
//! 2) Provides for object registration
diff --git a/Fw/Port/InputSerializePort.cpp b/Fw/Port/InputSerializePort.cpp
index 2088db50ce..c374b0fb47 100644
--- a/Fw/Port/InputSerializePort.cpp
+++ b/Fw/Port/InputSerializePort.cpp
@@ -25,7 +25,7 @@ namespace Fw {
// The normal input ports perform deserialize() on the passed buffer,
// which is what this status is based on. This is not the case for the
- // InputSerializePort, so just return a okay status
+ // InputSerializePort, so just return an okay status
return FW_SERIALIZE_OK;
}
diff --git a/Fw/Types/Serializable.hpp b/Fw/Types/Serializable.hpp
index 5d0b890774..fcd6b14312 100644
--- a/Fw/Types/Serializable.hpp
+++ b/Fw/Types/Serializable.hpp
@@ -17,7 +17,7 @@ namespace Fw {
FW_SERIALIZE_NO_ROOM_LEFT, //!< No room left in the buffer to serialize data
FW_DESERIALIZE_BUFFER_EMPTY, //!< Deserialization buffer was empty when trying to read more data
FW_DESERIALIZE_FORMAT_ERROR, //!< Deserialization data had incorrect values (unexpected data types)
- FW_DESERIALIZE_SIZE_MISMATCH, //!< Data was left in in the buffer, but not enough to deserialize
+ FW_DESERIALIZE_SIZE_MISMATCH, //!< Data was left in the buffer, but not enough to deserialize
FW_DESERIALIZE_TYPE_MISMATCH //!< Deserialized type ID didn't match
} SerializeStatus;
diff --git a/Os/Baremetal/Queue.cpp b/Os/Baremetal/Queue.cpp
index e8a0d70820..a4534ffe1e 100644
--- a/Os/Baremetal/Queue.cpp
+++ b/Os/Baremetal/Queue.cpp
@@ -14,7 +14,7 @@
namespace Os {
/**
-* Wrapper class used to convert the the BufferQueue into a "handler" used by
+* Wrapper class used to convert the BufferQueue into a "handler" used by
* the Queue class.
*/
class BareQueueHandle {
diff --git a/Os/Pthreads/MaxHeap/MaxHeap.hpp b/Os/Pthreads/MaxHeap/MaxHeap.hpp
index 6414efbfc9..c897347d77 100644
--- a/Os/Pthreads/MaxHeap/MaxHeap.hpp
+++ b/Os/Pthreads/MaxHeap/MaxHeap.hpp
@@ -66,7 +66,7 @@ namespace Os {
bool pop(NATIVE_INT_TYPE& value, NATIVE_UINT_TYPE& id);
//! \brief Is the heap full?
//!
- //! Has the heap reach max size. No new items can be put on the
+ //! Has the heap reached max size. No new items can be put on the
//! heap if this function returns true.
//!
bool isFull();
diff --git a/Os/SimpleQueueRegistry.hpp b/Os/SimpleQueueRegistry.hpp
index bde0b9b4ca..42945dc683 100644
--- a/Os/SimpleQueueRegistry.hpp
+++ b/Os/SimpleQueueRegistry.hpp
@@ -4,9 +4,9 @@
* \brief Class declaration for a simple queue registry
*
* The simple object registry is meant to give a default implementation
- * and an example of an queue registry. When the registry is instantiated,
+ * and an example of a queue registry. When the registry is instantiated,
* it registers itself with the setQueueRegistry() static method. When
- * queues in the system are instantiated, the will register themselves.
+ * queues in the system are instantiated, they will register themselves.
* The registry can then query the instances about their names, sizes,
* and high watermarks.
*
diff --git a/Svc/ActiveRateGroup/ActiveRateGroupImpl.hpp b/Svc/ActiveRateGroup/ActiveRateGroupImpl.hpp
index 38f9573e59..d3139746fb 100644
--- a/Svc/ActiveRateGroup/ActiveRateGroupImpl.hpp
+++ b/Svc/ActiveRateGroup/ActiveRateGroupImpl.hpp
@@ -94,7 +94,7 @@ namespace Svc {
//! \brief Task preamble
//!
//! This method is called prior to entering the message loop.
- //! It issues and event indicating that the task has started.
+ //! It issues an event indicating that the task has started.
//!
void preamble(void);
diff --git a/Svc/ActiveTextLogger/ActiveTextLoggerImpl.cpp b/Svc/ActiveTextLogger/ActiveTextLoggerImpl.cpp
index a3f5f5d6f2..983740be56 100644
--- a/Svc/ActiveTextLogger/ActiveTextLoggerImpl.cpp
+++ b/Svc/ActiveTextLogger/ActiveTextLoggerImpl.cpp
@@ -108,7 +108,7 @@ namespace Svc {
id,timeTag.getTimeBase(),timeTag.getSeconds(),timeTag.getUSeconds(),severityString,text.toChar());
}
- // If there was a error then just return:
+ // If there was an error then just return:
if (stat <= 0) {
return;
}
diff --git a/Svc/ActiveTextLogger/ActiveTextLoggerImpl.hpp b/Svc/ActiveTextLogger/ActiveTextLoggerImpl.hpp
index d26db815ca..ccdcc5f024 100644
--- a/Svc/ActiveTextLogger/ActiveTextLoggerImpl.hpp
+++ b/Svc/ActiveTextLogger/ActiveTextLoggerImpl.hpp
@@ -50,7 +50,7 @@ namespace Svc {
//! \brief Set log file and max size
//!
- //! This is to create a optional log file to write all the messages to.
+ //! This is to create an optional log file to write all the messages to.
//! The file will not be written to once the max size is hit.
//!
//! \param fileName The name of the file to create. Must be less than 80 characters.
diff --git a/Svc/ActiveTextLogger/LogFile.cpp b/Svc/ActiveTextLogger/LogFile.cpp
index ea12d02df6..ad621dd4f7 100644
--- a/Svc/ActiveTextLogger/LogFile.cpp
+++ b/Svc/ActiveTextLogger/LogFile.cpp
@@ -46,7 +46,7 @@ namespace Svc {
// Print to file if there is one, and given a valid size:
if (this->m_openFile && size > 0) {
- // Make sure we wont exceed the maximum size:
+ // Make sure we won't exceed the maximum size:
// Note: second condition in if statement is true if there is overflow
// in the addition below
U32 projectedSize = this->m_currentFileSize + size;
@@ -57,7 +57,7 @@ namespace Svc {
this->m_openFile = false;
this->m_file.close();
}
- // Wont exceed max size, so write to file:
+ // Won't exceed max size, so write to file:
else {
NATIVE_INT_TYPE writeSize = static_cast(size);
diff --git a/Svc/ActiveTextLogger/LogFile.hpp b/Svc/ActiveTextLogger/LogFile.hpp
index 85bb47b7bb..ae77f8d792 100644
--- a/Svc/ActiveTextLogger/LogFile.hpp
+++ b/Svc/ActiveTextLogger/LogFile.hpp
@@ -63,7 +63,7 @@ namespace Svc {
// The max size of the text log file:
U32 m_maxFileSize;
- // True if there is currently a open file to write text logs to:
+ // True if there is currently an open file to write text logs to:
bool m_openFile;
// Current size of the file:
diff --git a/Svc/ActiveTextLogger/test/ut/Tester.cpp b/Svc/ActiveTextLogger/test/ut/Tester.cpp
index 37ce9340bc..cd55c108ff 100644
--- a/Svc/ActiveTextLogger/test/ut/Tester.cpp
+++ b/Svc/ActiveTextLogger/test/ut/Tester.cpp
@@ -171,7 +171,7 @@ namespace Svc {
U64 tmp;
printf("Testing writing text that is larger than FW_INTERNAL_INTERFACE_STRING_MAX_SIZE\n");
- // Cant test this b/c max size of TextLogString is 256 and
+ // Can't test this b/c max size of TextLogString is 256 and
// FW_INTERNAL_INTERFACE_STRING_MAX_SIZE is 512
printf("Testing writing more than the max file size\n");
diff --git a/Svc/CmdDispatcher/CommandDispatcherImpl.hpp b/Svc/CmdDispatcher/CommandDispatcherImpl.hpp
index 085a7130df..f5740c5c46 100644
--- a/Svc/CmdDispatcher/CommandDispatcherImpl.hpp
+++ b/Svc/CmdDispatcher/CommandDispatcherImpl.hpp
@@ -101,7 +101,7 @@ namespace Svc {
void CMD_NO_OP_cmdHandler(FwOpcodeType opCode, U32 cmdSeq);
//! \brief NO_OP with string command handler
//!
- //! A test command that receives a string an sends an event
+ //! A test command that receives a string and sends an event
//! with the string as an argument
//!
//! \param opCode the NO_OP_STRING opcode.
@@ -153,7 +153,7 @@ namespace Svc {
//! but are not yet complete. When a new command opcode is received,
//! the status port that would be used to report the completion status
//! is checked. If it is connected, then an entry is placed in this table.
- //! The "used" flag is set, and the "seq" member is set to the the
+ //! The "used" flag is set, and the "seq" member is set to the
//! assigned sequence number for the command. The "opCode" field is
//! used for the opcode, and the "callerPort" field is used to store
//! the port number of the caller so the status can be reported back to
diff --git a/Svc/CmdSequencer/test/ut/Immediate.hpp b/Svc/CmdSequencer/test/ut/Immediate.hpp
index d740b99b42..cec20f6499 100644
--- a/Svc/CmdSequencer/test/ut/Immediate.hpp
+++ b/Svc/CmdSequencer/test/ut/Immediate.hpp
@@ -17,7 +17,7 @@ namespace Svc {
namespace Immediate {
- //! Test sequences with immediate commands followed by an marker
+ //! Test sequences with immediate commands followed by a marker
class Tester :
public ImmediateBase::Tester
{
diff --git a/Svc/CmdSequencer/test/ut/Relative.hpp b/Svc/CmdSequencer/test/ut/Relative.hpp
index 16b3fda3f6..8631d8e475 100644
--- a/Svc/CmdSequencer/test/ut/Relative.hpp
+++ b/Svc/CmdSequencer/test/ut/Relative.hpp
@@ -17,7 +17,7 @@ namespace Svc {
namespace Relative {
- //! Test sequences with immediate commands followed by an marker
+ //! Test sequences with immediate commands followed by a marker
class Tester :
public MixedRelativeBase::Tester
{
diff --git a/Svc/FileDownlink/FileDownlink.hpp b/Svc/FileDownlink/FileDownlink.hpp
index 13572a9a5b..5d172dba12 100644
--- a/Svc/FileDownlink/FileDownlink.hpp
+++ b/Svc/FileDownlink/FileDownlink.hpp
@@ -180,7 +180,7 @@ namespace Svc {
public:
- //! Construct an Warnings object
+ //! Construct a Warnings object
Warnings(FileDownlink *const fileDownlink) :
n(0), fileDownlink(fileDownlink)
{ }
diff --git a/Svc/FileDownlink/test/ut/Tester.cpp b/Svc/FileDownlink/test/ut/Tester.cpp
index 155d4b2d80..1cc2c009e5 100644
--- a/Svc/FileDownlink/test/ut/Tester.cpp
+++ b/Svc/FileDownlink/test/ut/Tester.cpp
@@ -215,7 +215,7 @@ namespace Svc {
fileBufferOut.write(sourceFileName);
FileBuffer fileBufferOutSubset(dataSubset, sizeof(dataSubset));
- // Test send partial past end of file, should return COMMAND_OK but raise an warning event.
+ // Test send partial past end of file, should return COMMAND_OK but raise a warning event.
Fw::CommandResponse expResp = FILEDOWNLINK_COMMAND_FAILURES_DISABLED ? Fw::COMMAND_OK : Fw::COMMAND_VALIDATION_ERROR;
this->sendFilePartial(sourceFileName, destFileName, expResp, sizeof(data), length);
ASSERT_EVENTS_SIZE(1);
diff --git a/Svc/FileUplink/FileUplink.hpp b/Svc/FileUplink/FileUplink.hpp
index b75c9dbb09..dcdd9e6c9d 100644
--- a/Svc/FileUplink/FileUplink.hpp
+++ b/Svc/FileUplink/FileUplink.hpp
@@ -133,7 +133,7 @@ namespace Svc {
public:
- //! Construct an Warnings object
+ //! Construct a Warnings object
Warnings(FileUplink *const fileUplink) :
n(0), fileUplink(fileUplink)
{ }
diff --git a/Svc/Health/HealthComponentImpl.hpp b/Svc/Health/HealthComponentImpl.hpp
index f669c2115f..b2534e6d4b 100644
--- a/Svc/Health/HealthComponentImpl.hpp
+++ b/Svc/Health/HealthComponentImpl.hpp
@@ -22,7 +22,7 @@ namespace Svc {
//! \brief Health component implementation class
//!
//! The health component iterates through each entry
- //! in its table and checks its status. If an ping entry
+ //! in its table and checks its status. If a ping entry
//! tracker is enabled, it will ping its corresponding port
//! with a provided key. If a ping return is outstanding,
//! a counter is decremented, and its value is checked
diff --git a/Utils/Hash/HashBuffer.hpp b/Utils/Hash/HashBuffer.hpp
index b14c74faec..f1193574d1 100644
--- a/Utils/Hash/HashBuffer.hpp
+++ b/Utils/Hash/HashBuffer.hpp
@@ -21,7 +21,7 @@
namespace Utils {
//! \class HashBuffer
- //! \brief An container class for holding a hash buffer
+ //! \brief A container class for holding a hash buffer
//!
class HashBuffer : public Fw::SerializeBufferBase {
public:
diff --git a/Utils/Hash/libcrc/CRC32.cpp b/Utils/Hash/libcrc/CRC32.cpp
index da59d69b0b..0d0cf73d45 100644
--- a/Utils/Hash/libcrc/CRC32.cpp
+++ b/Utils/Hash/libcrc/CRC32.cpp
@@ -37,7 +37,7 @@ namespace Utils {
local_hash_handle = update_crc_32(local_hash_handle, c);
}
HashBuffer bufferOut;
- // For CRC32 we need to return the one's compliment of the result:
+ // For CRC32 we need to return the one's complement of the result:
Fw::SerializeStatus status = bufferOut.serialize(~(local_hash_handle));
FW_ASSERT( Fw::FW_SERIALIZE_OK == status );
buffer = bufferOut;
@@ -64,7 +64,7 @@ namespace Utils {
final(HashBuffer& buffer)
{
HashBuffer bufferOut;
- // For CRC32 we need to return the one's compliment of the result:
+ // For CRC32 we need to return the one's complement of the result:
Fw::SerializeStatus status = bufferOut.serialize(~(this->hash_handle));
FW_ASSERT( Fw::FW_SERIALIZE_OK == status );
buffer = bufferOut;
@@ -74,7 +74,7 @@ namespace Utils {
final(U32 &hashvalue)
{
FW_ASSERT(sizeof(this->hash_handle) == sizeof(U32));
- // For CRC32 we need to return the one's compliment of the result:
+ // For CRC32 we need to return the one's complement of the result:
hashvalue = ~(this->hash_handle);
}
diff --git a/Utils/Hash/libcrc/tst_crc.c b/Utils/Hash/libcrc/tst_crc.c
index 7ec23cc8b6..e0fb812c31 100644
--- a/Utils/Hash/libcrc/tst_crc.c
+++ b/Utils/Hash/libcrc/tst_crc.c
@@ -21,7 +21,7 @@
* The file tst_crc.c contains a small sample program which *
* demonstrates the use of the functions for calculating the *
* CRC-CCITT, CRC-16 and CRC-32 values of data. The file cal- *
- * culates the three different CRC's for a file who's name is *
+ * culates the three different CRC's for a file whose name is *
* either provided at the command line, or typed in right *
* after the program has started. *
* *
diff --git a/Utils/Types/CircularBuffer.hpp b/Utils/Types/CircularBuffer.hpp
index ecba11288c..9d641f0249 100644
--- a/Utils/Types/CircularBuffer.hpp
+++ b/Utils/Types/CircularBuffer.hpp
@@ -42,7 +42,7 @@ class CircularBuffer {
CircularBuffer(U8* const buffer, const NATIVE_UINT_TYPE size);
/**
- * Serialize a given buffer into this this circular buffer. Will not accept more data then
+ * Serialize a given buffer into this circular buffer. Will not accept more data then
* space available. This means it will not overwrite existing data.
* \param buffer: supplied buffer to be serialized.
* \param size: size of the supplied buffer.
diff --git a/cmake/support/parser/ai_parser.py b/cmake/support/parser/ai_parser.py
index 70127bf834..1231a3c734 100755
--- a/cmake/support/parser/ai_parser.py
+++ b/cmake/support/parser/ai_parser.py
@@ -164,7 +164,7 @@ def read_fprime_import(import_type, root):
def read_xml_file(root, import_base):
"""
- Reads and Ai.xml file, detects the type, and then pulls in the dependencies. Recursively looks for dependencies in
+ Reads an Ai.xml file, detects the type, and then pulls in the dependencies. Recursively looks for dependencies in
import_dictionaries by inferring dependencies for each type of dictionary.
:param root: input XML file to parsed, root of tree
diff --git a/cmake/test/src/cmake.py b/cmake/test/src/cmake.py
index fd9f252a19..0e72a0c44d 100644
--- a/cmake/test/src/cmake.py
+++ b/cmake/test/src/cmake.py
@@ -84,7 +84,7 @@ def run_cmake(build_path, options={}, capout=False):
def run_make(target):
"""
Runs the make command to ensure that the CMake system can follow through and finish the build.
- Note: this assumes that the provided application build properly. Thus, those unit tests should
+ Note: this assumes that the provided application built properly. Thus, those unit tests should
run first.
:param target: target to the make command
diff --git a/config/FpConfig.hpp b/config/FpConfig.hpp
index 4d403ebb11..0494436153 100644
--- a/config/FpConfig.hpp
+++ b/config/FpConfig.hpp
@@ -67,7 +67,7 @@
#endif
#ifndef FwEventIdType
-#define FwEventIdType U32 //!< Type representation for a event id
+#define FwEventIdType U32 //!< Type representation for an event id
#endif
#ifndef FwPrmIdType
@@ -235,7 +235,7 @@
#define FW_CMD_STRING_MAX_SIZE 40 //!< Max character size of command string arguments
#endif
-// Normally when a command is deserialized, the handler checks to see if there any any leftover
+// Normally when a command is deserialized, the handler checks to see if there are any leftover
// bytes in the buffer. If there are, it assumes that the command was corrupted somehow since
// the serialized size should match the serialized size of the argument list. In some cases,
// command buffers are padded so the data can be larger than the serialized size of the command.
@@ -341,7 +341,7 @@ enum TimeBase {
#define FW_CONTEXT_DONT_CARE 0xFF //!< Don't care value for time contexts in sequences
#endif
-// These setting configure whether or not the timebase and context values for the Fw::Time
+// These settings configure whether or not the timebase and context values for the Fw::Time
// class are used. Some systems may not use or need those fields
#ifndef FW_USE_TIME_BASE