summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2018-06-24 08:45:02 (GMT)
committerGitHub <noreply@github.com>2018-06-24 08:45:02 (GMT)
commit9502844d67323ca12bb8c46f3a352c5990d44d74 (patch)
tree2cd231a866f17f13de40d70b33030d72a8505917
parent8e767d891c68f9ac71c9d75ea963f0ae5cc0edce (diff)
parent8332bb2b04312c21897000c78a602eca09597f7d (diff)
downloadDoxygen-9502844d67323ca12bb8c46f3a352c5990d44d74.zip
Doxygen-9502844d67323ca12bb8c46f3a352c5990d44d74.tar.gz
Doxygen-9502844d67323ca12bb8c46f3a352c5990d44d74.tar.bz2
Merge pull request #774 from arm-in/master
Typos found by running "codespell"
-rw-r--r--qtools/qdict.doc2
-rw-r--r--qtools/qgdict.cpp2
-rw-r--r--qtools/qintdict.doc2
-rw-r--r--qtools/qptrdict.doc2
-rw-r--r--qtools/qstring.cpp2
-rw-r--r--qtools/qvaluelist.doc2
-rw-r--r--src/doxygen.cpp2
-rw-r--r--src/doxygen.md2
-rw-r--r--src/rtfdocvisitor.cpp2
-rw-r--r--src/scanner.l6
10 files changed, 12 insertions, 12 deletions
diff --git a/qtools/qdict.doc b/qtools/qdict.doc
index d2e26c0..a414d3f 100644
--- a/qtools/qdict.doc
+++ b/qtools/qdict.doc
@@ -171,7 +171,7 @@
Setting \e size to a suitably large \link primes.html prime
number\endlink (equal to or greater than the expected number of entries)
- makes the hash distribution better and hence the loopup faster.
+ makes the hash distribution better and hence the lookup faster.
Setting \e caseSensitive to TRUE will treat "abc" and "Abc" as different
keys. Setting it to FALSE will make the dictionary ignore case.
diff --git a/qtools/qgdict.cpp b/qtools/qgdict.cpp
index 4fe1a26..c8d8fbd 100644
--- a/qtools/qgdict.cpp
+++ b/qtools/qgdict.cpp
@@ -1101,7 +1101,7 @@ QDataStream& QGDict::write( QDataStream &s ) const
QGDictIterator::QGDictIterator( const QGDict &d )
{
dict = (QGDict *)&d; // get reference to dict
- toFirst(); // set to first noe
+ toFirst(); // set to first node
if ( !dict->iterators ) {
dict->iterators = new QGDItList; // create iterator list
CHECK_PTR( dict->iterators );
diff --git a/qtools/qintdict.doc b/qtools/qintdict.doc
index e027fb2..90625da 100644
--- a/qtools/qintdict.doc
+++ b/qtools/qintdict.doc
@@ -166,7 +166,7 @@
Setting \e size to a suitably large \link primes.html prime number\endlink
(equal to or greater than the expected number of entries) makes the hash
- distribution better and hence the loopup faster.
+ distribution better and hence the lookup faster.
*/
/*!
diff --git a/qtools/qptrdict.doc b/qtools/qptrdict.doc
index bff6a15..633536c 100644
--- a/qtools/qptrdict.doc
+++ b/qtools/qptrdict.doc
@@ -172,7 +172,7 @@
Setting \e size to a suitably large \link primes.html prime number\endlink
(equal to or greater than the expected number of entries) makes the hash
- distribution better and hence the loopup faster.
+ distribution better and hence the lookup faster.
*/
/*!
diff --git a/qtools/qstring.cpp b/qtools/qstring.cpp
index 30bb05b..fe478bd 100644
--- a/qtools/qstring.cpp
+++ b/qtools/qstring.cpp
@@ -10768,7 +10768,7 @@ otherwise.
These functions are: isNull() (returns TRUE if the character is
U+0000), isPrint() (TRUE if the character is any sort of printable
-character, including whitespace), isPunct() (any sort of punctation),
+character, including whitespace), isPunct() (any sort of punctuation),
isMark() (Unicode Marks), isLetter (letters), isNumber() (any sort of
numeric characters), isLetterOrNumber(), and isDigit() (decimal digits).
All of these are wrappers around category(), which returns the
diff --git a/qtools/qvaluelist.doc b/qtools/qvaluelist.doc
index 918d08e..f7a0dde 100644
--- a/qtools/qvaluelist.doc
+++ b/qtools/qvaluelist.doc
@@ -199,7 +199,7 @@
\fn QValueList::~QValueList()
Destroys the list. References to the values in the list and all iterators
of this list become invalidated. Since QValueList is highly tuned for performance
- you wont see warnings if you use invalid iterators,
+ you won't see warnings if you use invalid iterators,
because it is impossible for
an iterator to check whether it is valid or not.
*/
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index bc244b7..29b889e 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -9574,7 +9574,7 @@ int readDir(QFileInfo *fi,
if (fi->isSymLink())
{
dirName = resolveSymlink(dirName.data());
- if (dirName.isEmpty()) return 0; // recusive symlink
+ if (dirName.isEmpty()) return 0; // recursive symlink
if (g_pathsVisited.find(dirName)) return 0; // already visited path
g_pathsVisited.insert(dirName,(void*)0x8);
}
diff --git a/src/doxygen.md b/src/doxygen.md
index ccb47b9..17144ec 100644
--- a/src/doxygen.md
+++ b/src/doxygen.md
@@ -9,7 +9,7 @@ links to the relevant parts of the code. This document is intended for
developers who want to work on doxygen. Users of doxygen are referred to the
[User Manual](http://www.doxygen.org/manual.html).
-The generic starting point of the application is of cource the main() function.
+The generic starting point of the application is of course the main() function.
Configuration options
---------------------
diff --git a/src/rtfdocvisitor.cpp b/src/rtfdocvisitor.cpp
index 7e3f104..ec6d015 100644
--- a/src/rtfdocvisitor.cpp
+++ b/src/rtfdocvisitor.cpp
@@ -1079,7 +1079,7 @@ void RTFDocVisitor::visitPost(DocHtmlHeader *)
{
if (m_hide) return;
DBG_RTF("{\\comment RTFDocVisitor::visitPost(DocHtmlHeader)}\n");
- // close open table of contens entry
+ // close open table of contents entry
m_t << "} \\par";
m_t << "}" << endl; // end section
m_lastIsPara=TRUE;
diff --git a/src/scanner.l b/src/scanner.l
index 3609d32..21b845f 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -4793,7 +4793,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
<FuncQual>{ID} { // typically a K&R style C function
if (insideCS && qstrcmp(yytext,"where")==0)
{
- // type contraint for a method
+ // type constraint for a method
delete current->typeConstr;
current->typeConstr = new ArgumentList;
current->typeConstr->append(new Argument);
@@ -5535,7 +5535,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
baseName.resize(0);
BEGIN( BasesProt ) ;
}
- else if (insideCS && qstrcmp(yytext,"where")==0) // C# type contraint
+ else if (insideCS && qstrcmp(yytext,"where")==0) // C# type constraint
{
delete current->typeConstr;
current->typeConstr = new ArgumentList;
@@ -5815,7 +5815,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
QCString baseScope = yytext;
if (insideCS && baseScope.stripWhiteSpace()=="where")
{
- // type contraint for a class
+ // type constraint for a class
delete current->typeConstr;
current->typeConstr = new ArgumentList;
current->typeConstr->append(new Argument);