Skip to content

Commit dabbe05

Browse files
Fixed typos found with codespell.
1 parent 47578c5 commit dabbe05

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+80
-80
lines changed

BUGS.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
(Like for instance .pdb files.)
3939

4040
One way to fix this could be to hook into ``make clean'' (how can
41-
that be done wtih Automake) with something like this:
41+
that be done with Automake) with something like this:
4242

4343
clean-local:
4444
@for file in $(noinst_PROGRAMS); do \
@@ -175,7 +175,7 @@
175175
I get coin warning SbTime:getMsecValue():timer overflow, during
176176
startup, but they seem to run fine. In addition, when running
177177
Smiley, I get a SoNode::GlRenderS(): GL_ERROR:
178-
GL_INVALID_OPERATION; nodetype:Seperator too. Even though I try to
178+
GL_INVALID_OPERATION; nodetype:Separator too. Even though I try to
179179
set the envvar COIN_GLERROR_DEBUGGING=1, I get the same message
180180
(with no more information as it promises). The app runs fine.
181181
----8<------ [snip] ----------8<------ [snip] ------
@@ -190,7 +190,7 @@
190190
examples:
191191

192192
----8<------ [snip] ----------8<------ [snip] ------
193-
During startup I get sbvec3::Normalize(): lenght
193+
During startup I get sbvec3::Normalize(): length
194194
must be > 0, And the applications renders only black.
195195
----8<------ [snip] ----------8<------ [snip] ------
196196

FAQs/Q-and-A.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ Frequently Asked Questions for Coin related to implementation
22
techniques / programming idioms.
33

44

5-
Section 1. Tranformations
6-
=========================
5+
Section 1. Transformations
6+
==========================
77

88
Q1.1: I have a vector v=(x,y,z). I want to instantiate some geometry,
9-
for instance a SoCylinder that is parallell with vector
9+
for instance a SoCylinder that is parallel with vector
1010
v. What's the "by the book" procedure for this?
1111

1212
A: See the parallel.cpp.in code example.

SIMCMakeMacros/FindCoin.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS True)
1414

1515
IF(USE_SIM_FIND)
1616
# FIXME: Experimental find mechanism. Should be tested on several platforms with several
17-
# configurations and someone extended before becomming the one and only thing. 20081105 larsm
17+
# configurations and someone extended before becoming the one and only thing. 20081105 larsm
1818
INCLUDE(SimFind)
1919
SIM_FIND(Coin RELEASELIBNAMES Coin Coin3 Coin3s Coin4
2020
DEBUGLIBNAMES Coind Coin3d Coin4d

SIMCMakeMacros/FindSIMVoleon.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS True)
1414

1515
IF(USE_SIM_FIND)
1616
# FIXME: Experimental find mechanism. Should be tested on several platforms with several
17-
# configurations and someone extended before becomming the one and only thing. 20081105 larsm
17+
# configurations and someone extended before becoming the one and only thing. 20081105 larsm
1818
INCLUDE(SimFind)
1919
SIM_FIND(SIMVoleon RELEASELIBNAMES simvoleon simvoleon2
2020
DEBUGLIBNAMES simvoleond simvoleon2d

SIMCMakeMacros/FindSmallChange.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS True)
1414

1515
IF(USE_SIM_FIND)
1616
# FIXME: Experimental find mechanism. Should be tested on several platforms with several
17-
# configurations and someone extended before becomming the one and only thing. 20081105 larsm
17+
# configurations and someone extended before becoming the one and only thing. 20081105 larsm
1818
INCLUDE(SimFind)
1919
SIM_FIND(SmallChange RELEASELIBNAMES SmallChange SmallChange1
2020
DEBUGLIBNAMES SmallChanged SmallChange1d

SIMCMakeMacros/FindSoQt.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS True)
1414

1515
IF(USE_SIM_FIND)
1616
# FIXME: Experimental find mechanism. Should be tested on several platforms with several
17-
# configurations and someone extended before becomming the one and only thing. 20081105 larsm
17+
# configurations and someone extended before becoming the one and only thing. 20081105 larsm
1818
INCLUDE(SimFind)
1919
SIM_FIND(SoQt RELEASELIBNAMES SoQt soqt1
2020
DEBUGLIBNAMES SoQtd soqt1d

SIMCMakeMacros/SimArguments.cmake

+5-5
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
# SIM_HAS_ARGUMENT(hasargument keyword argumentstoparse)
1515
# Smart argument parsing for using arguments in a CMake way, e.g
1616
# MY_MAGIC_MACRO(ARGUMENT1 value1 ARGUMENT2 value2 ARGUMENTLIST value31 value 32)
17-
# This macro checks wheter a list of arguments contains the given argument or not.
17+
# This macro checks whether a list of arguments contains the given argument or not.
1818
# Usage example:
1919
# A user calls the macro MY_MACRO(DESTINATION "lib/" FILES lib1.lib lib2.lib lib3.lib)
2020
# MY_MACRO calls SIM_HAS_ARGUMENT() to check if has a couple of arguments:
2121
# SIM_HAS_ARGUMENT(Destination DESTINATION ${ARGV})
2222
# SIM_HAS_ARGUMENT(Files FILES ${ARGV})
23-
# SIM_HAS_ARGUMENT(Nonexistant NONEXISTANT ${ARGV}
23+
# SIM_HAS_ARGUMENT(Nonexistent NONEXISTENT ${ARGV}
2424
#
25-
# ${Destination} and ${Files} is now TRUE, while ${Nonexistant} is FALSE.
25+
# ${Destination} and ${Files} is now TRUE, while ${Nonexistent} is FALSE.
2626
# Note that the result will be true regardless of if the argument has a value or not.
2727
MACRO(SIM_HAS_ARGUMENT hasargument keyword)
2828
SET(${hasargument} FALSE)
@@ -53,7 +53,7 @@ ENDMACRO(SIM_HAS_ARGUMENT)
5353
# Smart argument parsing for using arguments in a CMake way, e.g
5454
# MY_MAGIC_MACRO(ARGUMENT1 value1 ARGUMENT2 value2 ARGUMENTLIST value31 value 32)
5555
# This macro fetches one list of arguments after a given keyword (should be uppercase),
56-
# untill an all uppercase word is encountered.
56+
# until an all uppercase word is encountered.
5757
#
5858
# Usage example:
5959
# A user calls the macro MY_MACRO(DESTINATION "lib/" FILES lib1.lib lib2.lib lib3.lib)
@@ -112,7 +112,7 @@ ENDMACRO(SIM_FETCH_ARGUMENTS)
112112
# Checks if arguments given by the last argument contains the required
113113
# arguments, and that all arguments are allowed.
114114
#
115-
# Outputs a ERROR message if one of the required arguments wasnt found,
115+
# Outputs an ERROR message if one of the required arguments wasn't found,
116116
# and sets Result to TRUE or FALSE.
117117
MACRO(SIM_VALIDATE_ARGUMENTS success method required allowed args)
118118
SET(${success} TRUE)

SIMCMakeMacros/SimFind.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# variables ${INCLUDE_DIR_VAR} which will be set to
1212
# "Library_INCLUDE_DIR".
1313
#
14-
# Should be extended with more functionallity, such as
14+
# Should be extended with more functionality, such as
1515
# integration with NSIS installers and pkgconfig support.
1616
# -------------------------------------------------------
1717

SIMCMakeMacros/SimMSVC.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ MACRO(SIM_GENERATE_MSVC_PROJECT GroupPrefix)
6262
SOURCE_GROUP("${RelativePath}" FILES ${Source})
6363
ENDFOREACH(Source)
6464

65-
# Put all generated stuff in a seperate folder
65+
# Put all generated stuff in a separate folder
6666
IF(HasGeneratedSources)
6767
SOURCE_GROUP(".generated" FILES ${GeneratedSources})
6868
ENDIF(HasGeneratedSources)

SIMCMakeMacros/SimQtMacros.cmake

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ INCLUDE(SimMSVC)
22

33
# SIM_QT4_WRAP_CPP(outfiles infiles ... )
44
MACRO(SIM_QT4_AUTO_WRAP_CPP outfiles )
5-
# Clear list to be sure - QT4_WRAP_CPP doesnt do it
5+
# Clear list to be sure - QT4_WRAP_CPP doesn't do it
66
# FIXME: Is this what we want, really? Several of the built-in macros
77
# behave as "append", not "set" - rolvs
88
SET(${outfiles} )
@@ -28,7 +28,7 @@ ENDMACRO(SIM_QT4_AUTO_WRAP_CPP)
2828
# SIM_QT4_WRAP_ALL(outfile SOURCE infiles ... [OUTFILENAME outfilename])
2929
# Optimized version of SIM_QT4_WRAP_CPP(). This file
3030
# concats all mocs together before compiling, potentially reducing the
31-
# compiletime. Note that this macro requires Python.
31+
# compile time. Note that this macro requires Python.
3232
MACRO(SIM_QT4_AUTO_WRAP_ALL outfile)
3333
SIM_VALIDATE_ARGUMENTS(ValidArguments SIM_QT4_AUTO_WRAP_ALL
3434
"SOURCES" # Required
@@ -221,7 +221,7 @@ ENDMACRO(SIM_CREATE_QT4_END_JOINTRUNNER)
221221

222222
# - Set up a simple unittest, with name header and source
223223
# SIM_CREATE_QT4_UNITTEST(NAME HEADER SOURCE LIBRARIES...)
224-
# NAME - the name of the unittest as it will be registred
224+
# NAME - the name of the unittest as it will be registered
225225
# HEADER - Headerfile of the testrunner
226226
# SOURCE - Sourcefile, with main().
227227
#
@@ -256,15 +256,15 @@ ENDMACRO(SIM_CREATE_QT4_UNITTEST)
256256
# "basename", from the files basename.h and basename.cpp, which must exist,
257257
# QtTest tests, using QTEST_MAIN().
258258
MACRO(SIM_CREATE_QT4_UNITTEST2 name)
259-
# FIXME: We are not guarranteed that the filename is .cpp - could perhaps
259+
# FIXME: We are not guaranteed that the filename is .cpp - could perhaps
260260
# check for the other c++ extensions.
261261
SIM_CREATE_QT4_UNITTEST(${name} ${name}.h ${name}.cpp ${ARGN})
262262
ENDMACRO(SIM_CREATE_QT4_UNITTEST2)
263263

264264
# Creates a plugin from one header and cpp file.
265265
# SIM_CREATE_QT_PLUGIN(targetname ...)
266266
# - targetname is the name of the plugin. There must be a header and a cpp
267-
# file correspoding to the targetname given.
267+
# file corresponding to the targetname given.
268268
# - remaining params are libraries that the plugin is to be linked against
269269
MACRO(SIM_CREATE_QT_PLUGIN targetname)
270270
SET(Source ${targetname}.cpp)

actions/intersection.cpp.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ intersectionCB(void * closure, const SoIntersectingPrimitive * pr1, const SoInte
173173
SbBool
174174
filterCB(void * closure, const SoPath * p1, const SoPath * p2)
175175
{
176-
// the overlayed polygons must be ignored...
176+
// the overlaid polygons must be ignored...
177177
if ( p1->getTail() == faces || p2->getTail() == faces ) return FALSE;
178178
return TRUE;
179179
}

cfg/depcomp

+3-3
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ tru64)
284284

285285
dashmstdout)
286286
# Important note: in order to support this mode, a compiler *must*
287-
# always write the proprocessed file to stdout, regardless of -o.
287+
# always write the preprocessed file to stdout, regardless of -o.
288288
"$@" || exit $?
289289

290290
# Remove the call to Libtool.
@@ -380,7 +380,7 @@ makedepend)
380380

381381
cpp)
382382
# Important note: in order to support this mode, a compiler *must*
383-
# always write the proprocessed file to stdout.
383+
# always write the preprocessed file to stdout.
384384
"$@" || exit $?
385385

386386
# Remove the call to Libtool.
@@ -422,7 +422,7 @@ cpp)
422422

423423
msvisualcpp)
424424
# Important note: in order to support this mode, a compiler *must*
425-
# always write the proprocessed file to stdout, regardless of -o,
425+
# always write the preprocessed file to stdout, regardless of -o,
426426
# because we must use -o when running libtool.
427427
"$@" || exit $?
428428
IFS=" "

cfg/gendspex.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/bash
22
# **************************************************************************
3-
# This script generats a Microsoft Developer Studio project
3+
# This script generates a Microsoft Developer Studio project
44
# and workspace files (.dsp/.dsw) for simple projects. It hooks into
55
# the Automake process as a fake compiler, building the project file
66
# instead of the sources.

coin-competitions/README.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
The subdirectories below this directory contains the entries of our
22
constantly running internal Coin programming contest at Systems in
33
Motion. Every 3 weeks we collect entries submitted to the maintainer
4-
of the SoGuiExamples CVS module and let our non-programming personell
4+
of the SoGuiExamples CVS module and let our non-programming personnel
55
decide upon a winner. The author receives a prize, which is usually
66
some expensive booze. :-)
77

coin-competitions/SIM-20010803/plasmafun.cpp.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ typedef struct
9090
unsigned char r,g,b,a;
9191
} myrgb;
9292

93-
// yeah, statics :)
93+
// yeah, static variables :)
9494
static int * plasma;
9595
static unsigned int palette[256];
9696
static myrgb colors[256];

coin-competitions/SIM-20010824/plasmaball.cpp.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ typedef struct
7878
unsigned char r,g,b,a;
7979
} myrgb;
8080

81-
// yeah, statics :)
81+
// yeah, static variables :)
8282
static int * plasma;
8383
static unsigned int palette[256];
8484
static myrgb colors[256];

coin-competitions/SIM-20010914/MooString.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ class MooString
4747
MooString( const char * string ); // constructor
4848
~MooString( void ); // destructor
4949

50-
//void append( const char * string ); // concatinate string
51-
//void append( MooString & string ); // concatinate to string
50+
//void append( const char * string ); // concatenate string
51+
//void append( MooString & string ); // concatenate to string
5252
void append( char c ); // append char to string
5353
void remove( void ); // remove last char
5454
void clear( void ); // delete char list

coin-competitions/SIM-20010914/Moolah.cpp.in

+3-3
Original file line numberDiff line numberDiff line change
@@ -507,20 +507,20 @@ main( int argc, char ** argv )
507507

508508
root->addChild( consol_texture );
509509

510-
// Define the consol's spatial coordinates ( 4:3 )
510+
// Define the console's spatial coordinates ( 4:3 )
511511
SoCoordinate3 * coord = new SoCoordinate3;
512512
root->addChild(coord);
513513
coord->point.set1Value(0, SbVec3f(-4, -3, 0));
514514
coord->point.set1Value(1, SbVec3f( 4, -3, 0));
515515
coord->point.set1Value(2, SbVec3f( 4, 3, 0));
516516
coord->point.set1Value(3, SbVec3f(-4, 3, 0));
517517

518-
// Define the consol normal
518+
// Define the console's normal
519519
SoNormal * normal = new SoNormal;
520520
root->addChild( normal );
521521
normal->vector.set1Value( 0, SbVec3f( 0, 0, 1 ) );
522522

523-
// Define the consol texture coordinates
523+
// Define the console's texture coordinates
524524
SoTextureCoordinate2 * tex_coord = new SoTextureCoordinate2;
525525
root->addChild( tex_coord );
526526
tex_coord->point.set1Value( 0, SbVec2f( 0.0f, 300.0f/512.0f ) );

coin-competitions/SIM-20010914/rec.cpp.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ void myKeyPressCB(void *userData, SoEventCallback *eventCB){
264264
maxRekDepth++;
265265
redraw=true;
266266
}
267-
else printf("detailled enough!\n");
267+
else printf("detailed enough!\n");
268268
eventCB->setHandled();
269269
}
270270

coin-competitions/SIM-20011005/Board.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ Board::getSolution(int sol, int& i0, int& i1, int& i2, int& i3)
348348
}
349349

350350
//
351-
// Checks if a winning condition occured after placing a token of
351+
// Checks if a winning condition occurred after placing a token of
352352
// color col at position x,y,z. Returns the solution index in solution.
353353
//
354354
bool

coin-competitions/SIM-20011005/Minimax.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Minimax::buildTree(Token col)
8080
int s = newnode->evaluate(col,i,j,k);
8181
newnode->depth = this->depth+1;
8282
this->children[j*4+i]=newnode;
83-
if (abs(s)>=HEUR_FORCED) { //Pre-empt winner/blocker
83+
if (abs(s)>=HEUR_FORCED) { //Preempt winner/blocker
8484
forcedMove = newnode;
8585
break;
8686
}

coin-competitions/SIM-20011005/cubes.cpp.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ SoSeparator *create_helpscene()
754754
coord->point.set1Value(2, SbVec3f( 1.0f*aspect, 1.0f, 0));
755755
coord->point.set1Value(3, SbVec3f(-1.0f*aspect, 1.0f, 0));
756756

757-
// Define the consol texture coordinates
757+
// Define the console's texture coordinates
758758
SoTextureCoordinate2 *tex_coord = new SoTextureCoordinate2;
759759
instructsep->addChild( tex_coord );
760760
tex_coord->point.set1Value(0, SbVec2f(0.0f, 1.0f));

coin-competitions/SIM-20011005/lorenz.cpp.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
static const char * info =
5454
"-------------------------------- Lorenz Attractor ------------------------------\n\
5555
The so called \"lorenz attractor\" was first studied by Ed N. Lorenz, \n\
56-
a meterologist, around 1963. It was derived from a simplified model \n\
56+
a meteorologist, around 1963. It was derived from a simplified model \n\
5757
of convention in the earths atmosphere. It also arises naturally in \n\
5858
models of lasers and dynamos. The system is most commonly expressed \n\
5959
as 3 coupled non-linear differential equations. \n\
@@ -67,7 +67,7 @@ where a = 10, b = 28, c = 8 / 3.\n\
6767
\n\
6868
\"a\" is sometimes known as the Prandtl number and \"b\" the Rayleigh number. \n\
6969
\n\
70-
The series does not form limit cyles nor does it ever reach a steady state.\n\
70+
The series does not form limit cycles nor does it ever reach a steady state.\n\
7171
Instead it is an example of deterministic chaos. As with other chaotic systems\n\
7272
the Lorenz system is sensitive to the initial conditions, two initial states no\n\
7373
matter how close will diverge, usually sooner rather than later.\n\n";

components/backgroundimg.cpp.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ MyExaminerViewer::MyExaminerViewer(@WIDGET@ parent, const char * filename)
158158
#endif // !HAVE_SOIMAGE
159159

160160

161-
// Set up foreground, overlayed scenegraph.
161+
// Set up foreground, overlaid scenegraph.
162162

163163
this->foregroundroot = new SoSeparator;
164164
this->foregroundroot->ref();

configure

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/ChangeLog.1

+2-2
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ cvs2cl script used to generate this file.
122122
* sensors/timersensor.cpp.in:
123123

124124
Changes: from a 256x256 texture to a 128x128, in addition the Julia
125-
set only runs 64 itterations instead of 128 for each pixel. Fixed
125+
set only runs 64 iterations instead of 128 for each pixel. Fixed
126126
by torgunna.
127127

128128
2000-06-22 17:37 mortene
@@ -152,7 +152,7 @@ cvs2cl script used to generate this file.
152152

153153
Removed the loading of model and texture from file, and added a
154154
Julia set function that generates a bitmap instead. Other major
155-
improvments, so this is actually a new example.
155+
improvements, so this is actually a new example.
156156

157157
Done by torgunna.
158158

0 commit comments

Comments
 (0)