summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-05-31 14:25:03 +0200
committerGitHub <noreply@github.com>2021-05-31 14:25:03 +0200
commit7d729005f9275524c1a5881a8690de57f47b3b36 (patch)
treefc5af483943a4d365846c4f2994f3476766252ca
parentaba503f76bbb08fe317a22e8bd89246df36697a2 (diff)
parent9137f51ca53d2958a8f4ab538ef76fa71eb22de7 (diff)
downloadMPC-7d729005f9275524c1a5881a8690de57f47b3b36.tar.gz
Merge pull request #135 from jwillemsen/jwi-typos
Fixed typos using https://github.com/crate-ci/typos
-rw-r--r--ChangeLog4
-rw-r--r--_typos.toml5
-rwxr-xr-xclone_build_tree.pl4
-rwxr-xr-xcreate_base.pl2
-rw-r--r--docs/html/MakeProjectCreator.html4
-rw-r--r--modules/Depgen/Preprocessor.pm2
-rw-r--r--modules/OutputMessage.pm2
-rw-r--r--modules/ProjectCreator.pm2
-rw-r--r--modules/StringProcessor.pm2
-rw-r--r--modules/WorkspaceCreator.pm8
-rwxr-xr-xprj_install.pl2
11 files changed, 21 insertions, 16 deletions
diff --git a/ChangeLog b/ChangeLog
index e278630f..6d32c8df 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,7 +11,7 @@ Mon Jan 6 06:21:29 UTC 2020 Chad Elliott <elliottc@objectcomputing.com>
* modules/ProjectCreator.pm:
Make a copy of the flag override hash when connecting it to a
- file so that we do not inadvertantly modify multiple flag overrides
+ file so that we do not inadvertently modify multiple flag overrides
when modifying flag overrides for a single file.
Mon Jul 1 18:35:43 UTC 2019 Chad Elliott <elliottc@objectcomputing.com>
@@ -155,7 +155,7 @@ Thu Apr 18 22:18:20 UTC 2019 Chad Elliott <elliott_c@ociweb.com>
* templates/iar.mpt:
Added an initial, simplistic IAR workspace/project generator.
- There will be more changes to fully suport this IDE.
+ There will be more changes to fully support this IDE.
Mon May 21 14:33:24 UTC 2018 Adam Mitz <mitza@objectcomputing.com>
diff --git a/_typos.toml b/_typos.toml
new file mode 100644
index 00000000..5a6e92e7
--- /dev/null
+++ b/_typos.toml
@@ -0,0 +1,5 @@
+[default.extend-words]
+mosquitto = "mosquitto"
+
+[files]
+extend-exclude = ["templates/*.*", "history/*"]
diff --git a/clone_build_tree.pl b/clone_build_tree.pl
index fdefc0e1..8a64a44c 100755
--- a/clone_build_tree.pl
+++ b/clone_build_tree.pl
@@ -269,7 +269,7 @@ sub symlinkFiles {
}
}
- ## Remove links that point to non-existant files. The subroutine is
+ ## Remove links that point to non-existent files. The subroutine is
## now anonymous to avoid the "will not stay shared" warning for %dirs.
my %dirs;
File::Find::find({wanted => sub {
@@ -334,7 +334,7 @@ sub hardlinkFiles {
}
}
- ## Remove links that point to non-existant files
+ ## Remove links that point to non-existent files
my $lfh = new FileHandle();
my $txt = "$fullbuild/clone_build_tree.links";
if (open($lfh, $txt)) {
diff --git a/create_base.pl b/create_base.pl
index 24c9763a..a87c0199 100755
--- a/create_base.pl
+++ b/create_base.pl
@@ -150,7 +150,7 @@ sub usageAndExit {
"directory>\n\nThis script will create a base project ",
"based on the contents of the\nsupplied MPC file. ",
"This is only useful if the project ",
- "explictly sets\nsharedname or staticname.\n";
+ "explicitly sets\nsharedname or staticname.\n";
exit(0);
}
diff --git a/docs/html/MakeProjectCreator.html b/docs/html/MakeProjectCreator.html
index 9d0f724e..d2d8dc92 100644
--- a/docs/html/MakeProjectCreator.html
+++ b/docs/html/MakeProjectCreator.html
@@ -5815,7 +5815,7 @@ class="Code">specific</em> clause.
A project and platform
non-specific command separator which always runs
right-hand side of the command. For example, in the
- following psuedo command string, both the <em class=
+ following pseudo command string, both the <em class=
"Code">&lt;%cat%&gt;</em> and <em class=
"Code">&lt;%mv%&gt;</em> commands would be run.
<em class="Code">
@@ -8439,7 +8439,7 @@ class="Code">specific</em> clause.
non-empty. If it isn't empty, the values in it can be iterated
over with a <em class="Code">&lt;%foreach%&gt;</em>. During that
iteration, the following values can be obtained by the template.
- Each one would appear in the template preceeded by
+ Each one would appear in the template preceded by
<em class="Code">custom_type-&gt;input_file-&gt;</em>
</p>
diff --git a/modules/Depgen/Preprocessor.pm b/modules/Depgen/Preprocessor.pm
index 4c8d4a48..dc9de901 100644
--- a/modules/Depgen/Preprocessor.pm
+++ b/modules/Depgen/Preprocessor.pm
@@ -123,7 +123,7 @@ sub process {
}
## This has to be outside the if (open(...
- ## If the last file to be processed isn't accessable then
+ ## If the last file to be processed isn't accessible then
## we still need to return the array reference of includes.
if (!$noincs) {
my @files = ($file);
diff --git a/modules/OutputMessage.pm b/modules/OutputMessage.pm
index f37b84fc..31ea320a 100644
--- a/modules/OutputMessage.pm
+++ b/modules/OutputMessage.pm
@@ -49,7 +49,7 @@ sub set_levels {
}
}
-## Accessor for the debug setting. No parameters are necesary.
+## Accessor for the debug setting. No parameters are necessary.
sub get_debug_level {
return $debug;
}
diff --git a/modules/ProjectCreator.pm b/modules/ProjectCreator.pm
index f4977a65..87de6547 100644
--- a/modules/ProjectCreator.pm
+++ b/modules/ProjectCreator.pm
@@ -4306,7 +4306,7 @@ sub convert_command_parameters {
}
## Check for the gendir setting associated with this input file. We
- ## have to check at so many levels so we don't inadvertantly create
+ ## have to check at so many levels so we don't inadvertently create
## intermediate hash tables.
if (defined $self->{'flag_overrides'}->{$ktype} &&
defined $self->{'flag_overrides'}->{$ktype}->{$input} &&
diff --git a/modules/StringProcessor.pm b/modules/StringProcessor.pm
index 9544f2bb..f6da1934 100644
--- a/modules/StringProcessor.pm
+++ b/modules/StringProcessor.pm
@@ -117,7 +117,7 @@ sub crlf {
sub windows_crlf {
## Windows and cygwin require a carriage return and line feed.
## However, at some point cygwin changed the way it does output and can
- ## be controled through an environment variable.
+ ## be controlled through an environment variable.
return ($^O eq 'MSWin32' ||
($^O eq 'cygwin' &&
($] < 5.008 || (defined $ENV{PERLIO} && $ENV{PERLIO} eq 'crlf'))) ?
diff --git a/modules/WorkspaceCreator.pm b/modules/WorkspaceCreator.pm
index f41f6520..b6be9879 100644
--- a/modules/WorkspaceCreator.pm
+++ b/modules/WorkspaceCreator.pm
@@ -1352,7 +1352,7 @@ sub generate_hierarchy {
}
elsif ($top ne $current) {
if ($current ne '.') {
- ## Write out the hierachical workspace
+ ## Write out the hierarchical workspace
$self->cd($current);
($status, $errorString) = $self->generate_hierarchy($creator, \@saved, \%sinfo);
@@ -1535,7 +1535,7 @@ sub generate_project_files {
}
- ## Add implict project dependencies based on source files
+ ## Add implicit project dependencies based on source files
## that have been used by multiple projects. If we do it here
## before we call generate_hierarchy(), we don't have to call it
## in generate_hierarchy() for each workspace.
@@ -1846,7 +1846,7 @@ sub generate_project_files_fork {
}
}
- ## Add implict project dependencies based on source files
+ ## Add implicit project dependencies based on source files
## that have been used by multiple projects. If we do it here
## before we call generate_hierarchy(), we don't have to call it
## in generate_hierarchy() for each workspace.
@@ -2269,7 +2269,7 @@ sub generate_project_files_fork_socket {
}
}
- ## Add implict project dependencies based on source files
+ ## Add implicit project dependencies based on source files
## that have been used by multiple projects. If we do it here
## before we call generate_hierarchy(), we don't have to call it
## in generate_hierarchy() for each workspace.
diff --git a/prj_install.pl b/prj_install.pl
index fed441fa..4d7d4002 100755
--- a/prj_install.pl
+++ b/prj_install.pl
@@ -469,7 +469,7 @@ for(my $i = 0; $i <= $#ARGV; ++$i) {
}
}
else {
- usageAndExit('Unkown option: ' . $arg);
+ usageAndExit('Unknown option: ' . $arg);
}
}
elsif (!defined $insdir) {