Misc. typos

Found via `codespell`
This commit is contained in:
luz.paz
2018-04-23 13:21:12 -04:00
committed by Yorik van Havre
parent 8f29943462
commit 9167064fc1
83 changed files with 112 additions and 112 deletions

View File

@@ -41,14 +41,14 @@
#include <chrono>
//**************************************************************************
// Loging levels
// Logging levels
#ifdef FC_DEBUG
/// switch on the loging of python object creation and destruction
/// switch on the logging of python object creation and destruction
# undef FC_LOGPYOBJECTS
/// switch on the loging of Feature update and execution
/// switch on the logging of Feature update and execution
# define FC_LOGFEATUREUPDATE
/// switch on the loging of the Update execution through Doc, App, GuiApp and GuiDoc
/// switch on the logging of the Update execution through Doc, App, GuiApp and GuiDoc
# undef FC_LOGUPDATECHAIN
#endif
@@ -288,7 +288,7 @@
* You can also use <tt>FC_DURATION_MSG, FC_DURATION_TRACE</tt> as usual.
*
* If you use only macros provided here to do timing, the entire timing code
* can be complied out by defining \c FC_LOG_NO_TIMING before including
* can be compiled out by defining \c FC_LOG_NO_TIMING before including
* \c App/Console.h.
*
* \section Customization
@@ -460,13 +460,13 @@ public:
ConsoleObserver()
:bErr(true),bMsg(true),bLog(true),bWrn(true) {}
virtual ~ConsoleObserver() {}
/// get calles when a Warning is issued
/// get calls when a Warning is issued
virtual void Warning(const char *){}
/// get calles when a Message is issued
/// get calls when a Message is issued
virtual void Message(const char *){}
/// get calles when a Error is issued
/// get calls when a Error is issued
virtual void Error (const char *)=0;
/// get calles when a Log Message is issued
/// get calls when a Log Message is issued
virtual void Log (const char *){}
virtual const char *Name(void){return 0L;}

View File

@@ -145,7 +145,7 @@ const std::string &FileInfo::getTempPath(void)
std::string FileInfo::getTempFileName(const char* FileName, const char* Path)
{
//FIXME: To avoid race conditons we should rather return a file pointer
//FIXME: To avoid race conditions we should rather return a file pointer
//than a file name.
#ifdef FC_OS_WIN32
wchar_t buf[MAX_PATH + 2];

View File

@@ -102,7 +102,7 @@ public:
//@{
/// make a deep copy to the other group
void copyTo(Base::Reference<ParameterGrp>);
/// overwrite everithing similar, leaf the others allone
/// overwrite everything similar, leave the others alone
void insertTo(Base::Reference<ParameterGrp>);
/// export this group to a file
void exportTo(const char* FileName);
@@ -126,7 +126,7 @@ public:
typedef Base::Reference<ParameterGrp> handle;
/// remove a sub group from this group
void RemoveGrp(const char* Name);
/// clears everithing in this group (all types)
/// clears everything in this group (all types)
void Clear(void);
//@}
@@ -240,15 +240,15 @@ protected:
XERCES_CPP_NAMESPACE_QUALIFIER DOMElement *FindNextElement(XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *Prev, const char* Type) const;
/** Find an element specified by Type and Name
* Search in the parent element Start for the first occourrence of an
* Search in the parent element Start for the first occurrence of an
* element of Type and with the attribute Name=Name. On success it returns
* the pointer to that element, otherwise NULL
* If the names not given he returns the first occourence fo Type.
* If the names not given it returns the first occurrence of Type.
*/
XERCES_CPP_NAMESPACE_QUALIFIER DOMElement *FindElement(XERCES_CPP_NAMESPACE_QUALIFIER DOMElement *Start, const char* Type, const char* Name=0L) const;
/** Find an element specified by Type and Name or create it if not found
* Search in the parent element Start for the first occourrence of an
* Search in the parent element Start for the first occurrence of an
* element of Type and with the attribute Name=Name. On success it returns
* the pointer to that element, otherwise it creates the element and returns the pointer.
*/

View File

@@ -65,7 +65,7 @@ class SequencerLauncher;
*
* The implementation of this class also supports several nested instances
* at a time. But note, that only the first instance has an effect. Any further
* sequencer instance doesn't influence the total numer of iteration steps. This
* sequencer instance doesn't influence the total number of iteration steps. This
* is simply because it's impossible to get the exact number of iteration steps
* for nested instances and thus we have either too few steps estimated then the
* sequencer may indicate 100% but the algorithm still running or we have too many

View File

@@ -160,7 +160,7 @@ void UnitsApi::setSchema(UnitSystem s)
//}
//
// === static translation methodes ==========================================
// === static translation methods ==========================================
QString UnitsApi::schemaTranslate(const Base::Quantity& quant, double &factor, QString &unitString)
{

View File

@@ -99,7 +99,7 @@ protected:
// do the real work
//static double parse(const char*,bool &UsedUnit);
protected: // the python API wrapper methodes
protected: // the python API wrapper methods
//static PyObject *sTranslateUnit (PyObject *self,PyObject *args,PyObject *kwd);
//static PyObject *sGetWithPrefs (PyObject *self,PyObject *args,PyObject *kwd);
static PyObject *sParseQuantity (PyObject *self,PyObject *args,PyObject *kwd);

View File

@@ -33,7 +33,7 @@ namespace Base {
/** The schema class for the imperial unit system
* Here are the definitons for the imperial unit system.
* Here are the definitions for the imperial unit system.
* It also defines how the value/units get printed.
*/
class UnitsSchemaImperial1: public UnitsSchema
@@ -45,7 +45,7 @@ public:
};
/** The schema class for the imperial unit system
* Here are the definitons for the imperial unit system.
* Here are the definitions for the imperial unit system.
* It also defines how the value/units get printed.
*/
class UnitsSchemaImperialDecimal: public UnitsSchema
@@ -57,7 +57,7 @@ public:
};
/** The schema class for the imperial unit system
* Here are the definitons for the imperial unit system.
* Here are the definitions for the imperial unit system.
* It also defines how the value/units get printed.
*/
class UnitsSchemaImperialBuilding: public UnitsSchema