Skip to content

Commit

Permalink
More misc. typos
Browse files Browse the repository at this point in the history
  • Loading branch information
luzpaz committed May 19, 2018
1 parent c4474f1 commit 7a09a57
Show file tree
Hide file tree
Showing 27 changed files with 38 additions and 38 deletions.
4 changes: 2 additions & 2 deletions ChangeLog.txt
Expand Up @@ -750,7 +750,7 @@ Version: V0.1B78 Date: Sun Nov 23 13:15:15 2003 +++++++++++++++++++++++++++++++

Version: V0.1B77 Date: Fri Nov 14 14:56:14 2003 +++++++++++++++++++++++++++++++
* Finished Setup stuff
* Removed all relativ paths
* Removed all relative paths
* config HomePath is now not in bin anymore
* all config files one dir up
* FC runs now from every directory
Expand Down Expand Up @@ -1012,7 +1012,7 @@ Version: V0.1B26 Date: Tue Jan 21 05:59:01 2003 +++++++++++++++++++++++++++++++

Version: V0.1B25 Date: Sun Jan 19 18:20:51 2003 +++++++++++++++++++++++++++++++
* Big Linux port patch from Vaclav
- some fixes on implicite type conversion (Vaclav)
- some fixes on implicit type conversion (Vaclav)
- moving all .cxx to .cpp mainly in gui
- moving DlgCusomizeImpl to Imp
- and InitGui to GuiInit
Expand Down
2 changes: 1 addition & 1 deletion src/App/ExtensionContainer.h
Expand Up @@ -59,7 +59,7 @@ namespace App {
* multiple inheritance. If added from python it is a runtime extension and not visible from type.
* Hence querying existing extensions of an object and accessing its methods works not by type
* casting but by the interface provided in ExtensionContainer. The default workflow is to query if
* an extension exists and then get the extension obejct. No matter if added from python or c++ this
* an extension exists and then get the extension object. No matter if added from python or c++ this
* interface works always the same.
* @code
* if (object->hasExtension(GroupExtension::getClassTypeId())) {
Expand Down
2 changes: 1 addition & 1 deletion src/App/PropertyGeo.h
Expand Up @@ -342,7 +342,7 @@ class AppExport PropertyPlacement: public Property
Base::Placement _cPos;
};

/** the general Link Poperty
/** the general Link Property
* Main Purpose of this property is to Link Objects and Features in a document.
*/
class AppExport PropertyPlacementLink : public PropertyLink
Expand Down
2 changes: 1 addition & 1 deletion src/App/PropertyLinks.h
Expand Up @@ -242,7 +242,7 @@ class AppExport PropertyLinkListGlobal : public PropertyLinkList
PropertyLinkListGlobal() {_pcScope = LinkScope::Global;};
};

/** the Link Poperty with sub elements
/** the Link Property with sub elements
* This property links an object and a defined sequence of
* sub elements. These subelements (like Edges of a Shape)
* are stored as names, which can be resolved by the
Expand Down
6 changes: 3 additions & 3 deletions src/Base/Parameter.cpp
Expand Up @@ -411,7 +411,7 @@ void ParameterGrp::SetBool(const char* Name, bool bValue)
{
// find or create the Element
DOMElement *pcElem = FindOrCreateElement(_pGroupNode,"FCBool",Name);
// and set the vaue
// and set the value
pcElem->setAttribute(XStr("Value").unicodeForm(), XStr(bValue?"1":"0").unicodeForm());
// trigger observer
Notify(Name);
Expand Down Expand Up @@ -476,7 +476,7 @@ void ParameterGrp::SetInt(const char* Name, long lValue)
char cBuf[256];
// find or create the Element
DOMElement *pcElem = FindOrCreateElement(_pGroupNode,"FCInt",Name);
// and set the vaue
// and set the value
sprintf(cBuf,"%li",lValue);
pcElem->setAttribute(XStr("Value").unicodeForm(), XStr(cBuf).unicodeForm());
// trigger observer
Expand Down Expand Up @@ -537,7 +537,7 @@ void ParameterGrp::SetUnsigned(const char* Name, unsigned long lValue)
char cBuf[256];
// find or create the Element
DOMElement *pcElem = FindOrCreateElement(_pGroupNode,"FCUInt",Name);
// and set the vaue
// and set the value
sprintf(cBuf,"%lu",lValue);
pcElem->setAttribute(XStr("Value").unicodeForm(), XStr(cBuf).unicodeForm());
// trigger observer
Expand Down
2 changes: 1 addition & 1 deletion src/Gui/DocumentPy.xml
Expand Up @@ -121,7 +121,7 @@
</Attribute>
<Attribute Name="Modified" ReadOnly="true">
<Documentation>
<UserDocu>Returns True if the document is marked as modified, and False otherwse</UserDocu>
<UserDocu>Returns True if the document is marked as modified, and False otherwise</UserDocu>
</Documentation>
<Parameter Name="Modified" Type="Boolean" />
</Attribute>
Expand Down
4 changes: 2 additions & 2 deletions src/Gui/Stylesheets/Dark-blue.qss
Expand Up @@ -64,7 +64,7 @@ KNOWN BUGS and TO DO
/*==================================================================================================
Reset elements
==================================================================================================*/
/* Reseting everything helps to unify styles across different operating systems */
/* Resetting everything helps to unify styles across different operating systems */
* {
padding: 0px;
margin: 0px;
Expand Down Expand Up @@ -497,7 +497,7 @@ QTabBar {
background-color: transparent;
}

/* Workaround for QTabBars created from docked QDockWidgets which don't draw the border if not set and reseted as follows: */
/* Workaround for QTabBars created from docked QDockWidgets which don't draw the border if not set and reset as follows: */
QTabBar {
border-top: 1px solid #5a5a5a; /* set color for all QTabBars */
}
Expand Down
4 changes: 2 additions & 2 deletions src/Gui/Stylesheets/Dark-green.qss
Expand Up @@ -64,7 +64,7 @@ KNOWN BUGS and TO DO
/*==================================================================================================
Reset elements
==================================================================================================*/
/* Reseting everything helps to unify styles across different operating systems */
/* Resetting everything helps to unify styles across different operating systems */
* {
padding: 0px;
margin: 0px;
Expand Down Expand Up @@ -497,7 +497,7 @@ QTabBar {
background-color: transparent;
}

/* Workaround for QTabBars created from docked QDockWidgets which don't draw the border if not set and reseted as follows: */
/* Workaround for QTabBars created from docked QDockWidgets which don't draw the border if not set and reset as follows: */
QTabBar {
border-top: 1px solid #5a5a5a; /* set color for all QTabBars */
}
Expand Down
4 changes: 2 additions & 2 deletions src/Gui/Stylesheets/Dark-orange.qss
Expand Up @@ -64,7 +64,7 @@ KNOWN BUGS and TO DO
/*==================================================================================================
Reset elements
==================================================================================================*/
/* Reseting everything helps to unify styles across different operating systems */
/* Resetting everything helps to unify styles across different operating systems */
* {
padding: 0px;
margin: 0px;
Expand Down Expand Up @@ -497,7 +497,7 @@ QTabBar {
background-color: transparent;
}

/* Workaround for QTabBars created from docked QDockWidgets which don't draw the border if not set and reseted as follows: */
/* Workaround for QTabBars created from docked QDockWidgets which don't draw the border if not set and reset as follows: */
QTabBar {
border-top: 1px solid #5a5a5a; /* set color for all QTabBars */
}
Expand Down
4 changes: 2 additions & 2 deletions src/Gui/Stylesheets/Light-blue.qss
Expand Up @@ -64,7 +64,7 @@ KNOWN BUGS and TO DO
/*==================================================================================================
Reset elements
==================================================================================================*/
/* Reseting everything helps to unify styles across different operating systems */
/* Resetting everything helps to unify styles across different operating systems */
* {
padding: 0px;
margin: 0px;
Expand Down Expand Up @@ -497,7 +497,7 @@ QTabBar {
background-color: transparent;
}

/* Workaround for QTabBars created from docked QDockWidgets which don't draw the border if not set and reseted as follows: */
/* Workaround for QTabBars created from docked QDockWidgets which don't draw the border if not set and reset as follows: */
QTabBar {
border-top: 1px solid #d2d2d2; /* set color for all QTabBars */
}
Expand Down
4 changes: 2 additions & 2 deletions src/Gui/Stylesheets/Light-green.qss
Expand Up @@ -64,7 +64,7 @@ KNOWN BUGS and TO DO
/*==================================================================================================
Reset elements
==================================================================================================*/
/* Reseting everything helps to unify styles across different operating systems */
/* Resetting everything helps to unify styles across different operating systems */
* {
padding: 0px;
margin: 0px;
Expand Down Expand Up @@ -497,7 +497,7 @@ QTabBar {
background-color: transparent;
}

/* Workaround for QTabBars created from docked QDockWidgets which don't draw the border if not set and reseted as follows: */
/* Workaround for QTabBars created from docked QDockWidgets which don't draw the border if not set and reset as follows: */
QTabBar {
border-top: 1px solid #d2d2d2; /* set color for all QTabBars */
}
Expand Down
4 changes: 2 additions & 2 deletions src/Gui/Stylesheets/Light-orange.qss
Expand Up @@ -64,7 +64,7 @@ KNOWN BUGS and TO DO
/*==================================================================================================
Reset elements
==================================================================================================*/
/* Reseting everything helps to unify styles across different operating systems */
/* Resetting everything helps to unify styles across different operating systems */
* {
padding: 0px;
margin: 0px;
Expand Down Expand Up @@ -497,7 +497,7 @@ QTabBar {
background-color: transparent;
}

/* Workaround for QTabBars created from docked QDockWidgets which don't draw the border if not set and reseted as follows: */
/* Workaround for QTabBars created from docked QDockWidgets which don't draw the border if not set and reset as follows: */
QTabBar {
border-top: 1px solid #d2d2d2; /* set color for all QTabBars */
}
Expand Down
4 changes: 2 additions & 2 deletions src/Gui/View3DViewerPy.cpp
Expand Up @@ -63,9 +63,9 @@ void View3DInventorViewerPy::init_type()
add_varargs_method("seekToPoint",&View3DInventorViewerPy::seekToPoint,"seekToPoint(tuple) -> None\n"
"Initiate a seek action towards the 3D intersection of the scene and the\n"
"ray from the screen coordinate's point and in the same direction as the\n"
"camera is pointing. If the tuple has two entries it is interpretet as the\n"
"camera is pointing. If the tuple has two entries it is interpreted as the\n"
"screen coordinates xy and the intersection point with the scene is\n"
"calculated. If three entries are given it is interpretet as the intersection\n"
"calculated. If three entries are given it is interpreted as the intersection\n"
"point xyz and the seek is done towards this point"
);
add_varargs_method("setFocalDistance",&View3DInventorViewerPy::setFocalDistance,"setFocalDistance(float) -> None\n");
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Fem/feminout/writeFenicsXDMF.py
Expand Up @@ -246,7 +246,7 @@ def write_fenics_mesh_xdmf(fem_mesh_obj, outputfile, group_values_dict={}, encod
base_geometry = ET.SubElement(base_grid, "Geometry")

# TODO: for the general mesh: write out topology and geometry in grid node
# TOOD: for every marked group write own grid node with topology (ref if cells)
# TODO: for every marked group write own grid node with topology (ref if cells)
# geometry ref, attribute

#####################################
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Mesh/App/Core/Elements.cpp
Expand Up @@ -810,7 +810,7 @@ int MeshGeomFacet::IntersectWithFacet (const MeshGeomFacet& rclFacet,

// With extremely acute-angled triangles it may happen that the algorithm
// claims an intersection but the intersection points are far outside the
// model. So, a plausability check is to verify that the intersection points
// model. So, a plausibility check is to verify that the intersection points
// are inside the bounding boxes of both triangles.
Base::BoundBox3f box1 = this->GetBoundBox();
if (!box1.IsInBox(rclPt0) || !box1.IsInBox(rclPt1))
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Mesh/App/Core/Triangulation.cpp
Expand Up @@ -382,7 +382,7 @@ bool EarClippingTriangulator::Triangulate::Process(const std::vector<Base::Vecto

nv--;

/* resest error detection counter */
/* reset error detection counter */
count = 2*nv;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Part/App/Attacher.cpp
Expand Up @@ -1205,7 +1205,7 @@ Base::Placement AttachEngine3D::calculateAttachedPlacement(Base::Placement origP
case mmFrenetTN:
case mmFrenetTB:
case mmRevolutionSection:
case mmConcentric: {//all alignments to poing on curve
case mmConcentric: {//all alignments to point on curve
if (shapes.size() < 1)
throw Base::ValueError("AttachEngine3D::calculateAttachedPlacement: no subshapes specified (need one edge, and an optional vertex).");

Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Part/App/Attacher.h
Expand Up @@ -189,7 +189,7 @@ struct SuggestResult{
std::set<eRefType> nextRefTypeHint;

/**
* @brief reachableModes. List of modes that can be reached by selecing
* @brief reachableModes. List of modes that can be reached by selecting
* more references. Is a map, where key is the mode that can be reached,
* and value is a list of reference sequences that can be added to reach
* the mode (stuff already linked is omitted from these lists; only extra
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/PartDesign/Gui/CommandBody.cpp
Expand Up @@ -609,7 +609,7 @@ void CmdPartDesignMoveTip::activated(int iMsg)
doCommand(Gui,"Gui.activeDocument().show(\"%s\")", selFeature->getNameInDocument());
}

// TOOD: Hide all datum features after the Tip feature? But the user might have already hidden some and wants to see
// TODO: Hide all datum features after the Tip feature? But the user might have already hidden some and wants to see
// others, so we would have to remember their state somehow
updateActive();
}
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/PartDesign/Gui/TaskPrimitiveParameters.cpp
Expand Up @@ -639,7 +639,7 @@ void TaskBoxPrimitives::setPrimitive(QString name)

// Execute the Python block
// No need to open a transaction because this is already done in the command
// class or when starting to edit a primitve.
// class or when starting to edit a primitive.
Gui::Command::runCommand(Gui::Command::Doc, cmd.toUtf8());
Gui::Command::runCommand(Gui::Command::Doc, "App.ActiveDocument.recompute()");
}
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/PartDesign/Gui/TaskTransformedParameters.h
Expand Up @@ -151,7 +151,7 @@ protected Q_SLOTS:
PartDesignGui::ViewProviderTransformed *getTopTransformedView () const;

/**
* Returns the base transformated object
* Returns the base transformed object
* For stand alone features it will be objects associated with this object
* For features inside multitransform it will be the base multitransform object
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Mod/Path/App/Area.cpp
Expand Up @@ -3213,7 +3213,7 @@ void Area::toPath(Toolpath &path, const std::list<TopoDS_Shape> &shapes,
(pstart.*setter)(resume_height);

gp_Pnt plast,p;
// initial vertial rapid pull up to retraction (or start Z height if higher)
// initial vertical rapid pull up to retraction (or start Z height if higher)
(p.*setter)(std::max(retraction,(pstart.*getter)()));
addGCode(false,path,plast,p,"G0");
plast = p;
Expand All @@ -3225,7 +3225,7 @@ void Area::toPath(Toolpath &path, const std::list<TopoDS_Shape> &shapes,
plast = p;
p = pstart;
}
// vertial rapid down to feed start
// vertical rapid down to feed start
addGCode(false,path,plast,p,"G0");

plast = p;
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Path/libarea/kurve/offset.cpp
Expand Up @@ -69,7 +69,7 @@ namespace geoff_geometry {
bool bClosed = Closed();
int nspans = nSpans();
if(bClosed) {
Get(nspans, curSpan, true); // assign previus span for closed
Get(nspans, curSpan, true); // assign previous span for closed

prevSpanOff = curSpan.Offset(offset);
nspans++; // read first again
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Robot/App/Simulation.h
Expand Up @@ -55,7 +55,7 @@ class RobotExport Simulation
void step(double tick);
void setToWaypoint(unsigned int n);
void setToTime(float t);
// apply the start axis angles and set to time 0. Restors the exact start position
// apply the start axis angles and set to time 0. Restores the exact start position
void reset(void);

double Pos;
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Sandbox/Gui/GLGraphicsView.cpp
Expand Up @@ -115,7 +115,7 @@ void GraphicsView::resizeEvent(QResizeEvent *event)
//QDialog *dialog = new QDialog(0, Qt::Window | Qt::CustomizeWindowHint | Qt::WindowTitleHint);

////dialog->setWindowOpacity(0.8);
//dialog->setWindowTitle(tr("Titel"));
//dialog->setWindowTitle(tr("Title"));
//dialog->setLayout(new QVBoxLayout);
//dialog->layout()->addWidget(new QLabel(tr("Use mouse wheel to zoom model, and click and drag to rotate model")));
//dialog->layout()->addWidget(new QLabel(tr("Move the sun around to change the light position")));
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Spreadsheet/App/Spreadsheet_legacy.py
Expand Up @@ -832,7 +832,7 @@ def update(self):
self.table.item(r,c).setBackground(brush)

def changeCell(self,r,c,value=None):
"changes the contens of a cell"
"changes the contents of a cell"
if self.doNotChange:
if DEBUG: print("DoNotChange flag is set")
self.doNotChange = False
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/TechDraw/App/DrawViewDimension.cpp
Expand Up @@ -166,7 +166,7 @@ void DrawViewDimension::onChanged(const App::Property* prop)
}
if (prop == &Arbitrary) {
if (!Arbitrary.getValue()) {
FormatSpec.setValue(getDefaultFormatSpec().c_str()); //restore a useable FormatSpec
FormatSpec.setValue(getDefaultFormatSpec().c_str()); //restore a usable FormatSpec
}
}

Expand Down

0 comments on commit 7a09a57

Please sign in to comment.