From 202e75590f8200823ef0efd36cc0edbd1bf1edcc Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Mon, 8 Jan 2018 16:50:51 -0500 Subject: Misc. typos Found via `codespell` --- doc/architecture.txt | 2 +- doc/spsvgview.txt | 2 +- packaging/win32/inkscape.nsi | 2 +- packaging/wix/files.py | 4 ++-- packaging/wix/helpers.py | 2 +- po/_README | 2 +- share/extensions/Barcode/Upce.py | 2 +- share/extensions/hpgl_encoder.py | 2 +- share/extensions/jessyInk.js | 2 +- share/extensions/jessyInk_install.py | 2 +- share/extensions/markers_strokepaint.py | 2 +- share/extensions/nicechart.py | 2 +- share/extensions/polyhedron_3d.py | 2 +- share/extensions/printing_marks.py | 2 +- share/extensions/svg2fxg.xsl | 4 ++-- share/extensions/synfig_output.py | 2 +- share/keys/macromedia-freehand-mx.xml | 2 +- share/tutorials/edge3d.svg | 2 +- src/display/grayscale.cpp | 2 +- src/display/nr-filter.h | 2 +- src/display/nr-svgfonts.cpp | 2 +- src/extension/dbus/doc/inkscapeDbusRef.xml | 2 +- src/extension/dbus/doc/inkscapeDbusTerms.xml | 2 +- src/extension/dbus/document-interface.cpp | 4 ++-- src/extension/dbus/document-interface.xml | 2 +- src/extension/dependency.cpp | 2 +- src/extension/effect.cpp | 2 +- src/extension/extension.cpp | 4 ++-- src/extension/extension.h | 2 +- src/extension/input.cpp | 4 ++-- src/extension/internal/cdr-input.cpp | 2 +- src/extension/internal/emf-inout.cpp | 2 +- src/extension/internal/emf-print.cpp | 2 +- src/extension/internal/filter/blurs.h | 2 +- src/extension/internal/latex-text-renderer.cpp | 4 ++-- src/extension/internal/latex-text-renderer.h | 2 +- src/extension/internal/vsd-input.cpp | 2 +- src/extension/internal/wmf-print.cpp | 6 +++--- src/extension/internal/wpg-input.cpp | 2 +- src/extension/output.cpp | 4 ++-- src/extension/param/parameter.h | 2 +- src/extension/param/string.h | 2 +- src/extension/system.cpp | 2 +- src/extension/timer.cpp | 2 +- src/filters/composite.h | 2 +- src/gradient-drag.cpp | 2 +- src/helper/geom-satellite.cpp | 4 ++-- src/inkgc/gc-alloc.h | 2 +- src/live_effects/lpe-clone-original.cpp | 2 +- src/live_effects/lpe-powermask.cpp | 2 +- src/live_effects/parameter/path.cpp | 2 +- src/live_effects/parameter/powerstrokepointarray.cpp | 4 ++-- src/main.cpp | 2 +- src/path-chemistry.cpp | 6 +++--- src/selection-chemistry.cpp | 4 ++-- src/snap.cpp | 2 +- src/sp-conn-end.cpp | 2 +- src/sp-font.cpp | 2 +- src/sp-item-group.cpp | 2 +- src/sp-lpe-item.cpp | 2 +- src/sp-mesh-array.cpp | 2 +- src/sp-object.h | 2 +- src/sp-path.cpp | 2 +- src/sp-text.cpp | 2 +- src/style-internal.cpp | 2 +- src/style.cpp | 2 +- src/svg/svg-length-test.h | 2 +- src/svg/svg-length.cpp | 4 ++-- src/text-chemistry.cpp | 2 +- src/ui/clipboard.cpp | 2 +- src/ui/dialog/dialog-manager.cpp | 2 +- src/ui/dialog/export.cpp | 2 +- src/ui/dialog/xml-tree.h | 2 +- src/ui/tool/control-point.h | 2 +- src/ui/tool/node.cpp | 4 ++-- src/ui/tools/spray-tool.cpp | 2 +- src/ui/widget/layer-selector.cpp | 2 +- src/ui/widget/registered-widget.cpp | 2 +- src/util/enums.h | 2 +- src/util/expression-evaluator.cpp | 2 +- src/util/ziptool.cpp | 2 +- src/verbs.cpp | 2 +- src/verbs.h | 4 ++-- src/widgets/font-selector.cpp | 2 +- src/widgets/measure-toolbar.cpp | 2 +- src/widgets/text-toolbar.cpp | 2 +- src/xml/event.h | 2 +- src/xml/repr-css.cpp | 2 +- 88 files changed, 105 insertions(+), 105 deletions(-) diff --git a/doc/architecture.txt b/doc/architecture.txt index 4f4c859f7..4303a4d2b 100644 --- a/doc/architecture.txt +++ b/doc/architecture.txt @@ -403,7 +403,7 @@ similar views. The SPView base class has very little functionality of its own. SPViewWidget is a GUI widget that contain a single SPView. It is also -an abstract base class with little funtionality of its own. +an abstract base class with little functionality of its own. 2.6. SPDesktop diff --git a/doc/spsvgview.txt b/doc/spsvgview.txt index f3f7d8892..ff4894708 100644 --- a/doc/spsvgview.txt +++ b/doc/spsvgview.txt @@ -1,4 +1,4 @@ -Both spsvgview and sodipodi are mostly built frome set of common +Both spsvgview and sodipodi are mostly built from a set of common libraries (these are static of course, to save people from versioning pain, but can in theory function as dynamic libs as well). diff --git a/packaging/win32/inkscape.nsi b/packaging/win32/inkscape.nsi index 3f804264c..20fc5cf68 100644 --- a/packaging/win32/inkscape.nsi +++ b/packaging/win32/inkscape.nsi @@ -998,7 +998,7 @@ Section Uninstall ; do the uninstalling {{{ ; Remove File ClearErrors Delete $filename - ;now recursivly remove the path + ;now recursively remove the path ${Do} ClearErrors ${un.GetParent} $filename $filename diff --git a/packaging/wix/files.py b/packaging/wix/files.py index dd5d72381..354aac242 100755 --- a/packaging/wix/files.py +++ b/packaging/wix/files.py @@ -31,7 +31,7 @@ def valid_id(identifier): def directory(root, breadcrumb, level, exclude=[]): """ - list all files and directory recursivly + list all files and directory recursively create the file_ids dictionary to be used in ComponentGroup references """ global file_ids @@ -62,7 +62,7 @@ def directory(root, breadcrumb, level, exclude=[]): def test_conditions(value, conditions): """ - check if "value" fullfills any of the "conditions", where a condition can be + check if "value" fulfills any of the "conditions", where a condition can be - a string that has to be a substring of "value" - a compiled regex pattern which has to match in "value" """ diff --git a/packaging/wix/helpers.py b/packaging/wix/helpers.py index 4e8ef4547..becff5e71 100755 --- a/packaging/wix/helpers.py +++ b/packaging/wix/helpers.py @@ -13,7 +13,7 @@ from io import open # needed for support of encoding parameter in Python 2 # - btool builds used [root]/inkscape # - cmake builds use [root]/build/inkscape unless "DESTDIR" is specified def get_inkscape_dist_dir(): - # fisrt check the environment variable + # first check the environment variable sourcedir = os.getenv('INKSCAPE_DIST_PATH') if sourcedir is None: sourcedir = '' diff --git a/po/_README b/po/_README index 984b493c7..488ac0a15 100644 --- a/po/_README +++ b/po/_README @@ -22,7 +22,7 @@ TODO: - consider dropping intltool-update and use xgettext with proper options (it should be able to handle most of our source files nowadays) - clean up this directory, evaluate which files are still useful (and document them / add targets to CMake), see - check-markup (and dependecies bad.po.test, bad.po.test.exp) + check-markup (and dependencies bad.po.test, bad.po.test.exp) check_for_tutorial_problems.sh language_statistics.sh (and dependency LINGUAS) update_po_files.sh diff --git a/share/extensions/Barcode/Upce.py b/share/extensions/Barcode/Upce.py index 193d605a0..2ee9d8db2 100644 --- a/share/extensions/Barcode/Upce.py +++ b/share/extensions/Barcode/Upce.py @@ -61,7 +61,7 @@ class Upce(EanBarcode): # There are 4 cases to convert: if maker[2:] == '000' or maker[2:] == '100' or maker[2:] == '200': - # Maxium number product code digits can be encoded + # Maximum number product code digits can be encoded if product[:2] == '00': return maker[:2] + product[2:] + maker[2] elif maker[3:5] == '00': diff --git a/share/extensions/hpgl_encoder.py b/share/extensions/hpgl_encoder.py index 353b8aa0a..e8c7a6151 100644 --- a/share/extensions/hpgl_encoder.py +++ b/share/extensions/hpgl_encoder.py @@ -293,7 +293,7 @@ class hpglEncoder: oldPosY = posY def getLength(self, x1, y1, x2, y2, absolute=True): - # calc absoulute or relative length between two points + # calc absolute or relative length between two points length = math.sqrt((x2 - x1) ** 2.0 + (y2 - y1) ** 2.0) if absolute: length = math.fabs(length) diff --git a/share/extensions/jessyInk.js b/share/extensions/jessyInk.js index e4758899e..3ccf707d3 100644 --- a/share/extensions/jessyInk.js +++ b/share/extensions/jessyInk.js @@ -557,7 +557,7 @@ function jessyInkInit() jessyInkInitialised = true; } -/** Function to subtitute the auto-texts. +/** Function to substitute the auto-texts. * * @param node the node * @param slideName name of the slide the node is on diff --git a/share/extensions/jessyInk_install.py b/share/extensions/jessyInk_install.py index f1e951ec6..5183cc14f 100755 --- a/share/extensions/jessyInk_install.py +++ b/share/extensions/jessyInk_install.py @@ -102,7 +102,7 @@ class JessyInk_Install(inkex.Effect): for node in self.document.xpath("//*[@jessyink:masterSlide]", namespaces=inkex.NSS): node.attrib["{" + inkex.NSS["jessyink"] + "}masterSlide"] = node.attrib["{" + inkex.NSS["jessyink"] + "}masterSlide"].replace("=", ":") - # Udpate transitions. + # Update transitions. for node in self.document.xpath("//*[@jessyInk_transitionIn]", namespaces=inkex.NSS): node.attrib["{" + inkex.NSS["jessyink"] + "}transitionIn"] = node.attrib["jessyInk_transitionIn"] del node.attrib["jessyInk_transitionIn"] diff --git a/share/extensions/markers_strokepaint.py b/share/extensions/markers_strokepaint.py index d922ef474..2d0d3e44b 100755 --- a/share/extensions/markers_strokepaint.py +++ b/share/extensions/markers_strokepaint.py @@ -67,7 +67,7 @@ class MyEffect(inkex.Effect): self.OptionParser.add_option("--colortab", action="store", type="string", dest="colortab", - help="The selected cutom color tab when OK was pressed") + help="The selected custom color tab when OK was pressed") def effect(self): defs = self.xpathSingle('/svg:svg//svg:defs') diff --git a/share/extensions/nicechart.py b/share/extensions/nicechart.py index d4a819ccc..3c46a6143 100755 --- a/share/extensions/nicechart.py +++ b/share/extensions/nicechart.py @@ -273,7 +273,7 @@ class NiceChart(inkex.Effect): # Get access to main SVG document element and get its dimensions. svg = self.document.getroot() - # Get the page attibutes: + # Get the page attributes: width = self.getUnittouu(svg.get('width')) height = self.getUnittouu(svg.attrib['height']) diff --git a/share/extensions/polyhedron_3d.py b/share/extensions/polyhedron_3d.py index a74a64e69..4f8462782 100755 --- a/share/extensions/polyhedron_3d.py +++ b/share/extensions/polyhedron_3d.py @@ -219,7 +219,7 @@ def get_normal( pts, face): #returns the normal vector for the plane passing tho def get_unit_normal(pts, face, cw_wound): #returns the unit normal for the plane passing through the first three points of face, taking account of winding if cw_wound: - winding = -1 #if it is clockwise wound, reverse the vecotr direction + winding = -1 #if it is clockwise wound, reverse the vector direction else: winding = 1 #else leave alone diff --git a/share/extensions/printing_marks.py b/share/extensions/printing_marks.py index 6c718da01..4f0158e8c 100755 --- a/share/extensions/printing_marks.py +++ b/share/extensions/printing_marks.py @@ -68,7 +68,7 @@ class Printing_Marks (inkex.Effect): self.OptionParser.add_option("--unit", action="store", type="string", dest="unit", default="px", - help="Draw measurment") + help="Draw measurement") self.OptionParser.add_option("--crop_offset", action="store", type="float", dest="crop_offset", default=0, diff --git a/share/extensions/svg2fxg.xsl b/share/extensions/svg2fxg.xsl index d459dd123..fee5a858f 100644 --- a/share/extensions/svg2fxg.xsl +++ b/share/extensions/svg2fxg.xsl @@ -901,7 +901,7 @@ extension-element-prefixes="math"> @@ -2257,7 +2257,7 @@ extension-element-prefixes="math"> * Generic fonts. * Embedded fonts (in defs). * Character rotation. - * Character positionning (x and y). + * Character positioning (x and y). * Text-anchor. * Text stroke. diff --git a/share/extensions/synfig_output.py b/share/extensions/synfig_output.py index 06a9c6e72..a69981bc8 100755 --- a/share/extensions/synfig_output.py +++ b/share/extensions/synfig_output.py @@ -1000,7 +1000,7 @@ def path_to_bline_list(path_d, nodetypes=None, mtx=[[1.0, 0.0, 0.0], [0.0, 1.0, def extract_style(node, style_attrib="style"): #return simplestyle.parseStyle(node.get("style")) - # Work around a simplestyle bug in older verions of Inkscape + # Work around a simplestyle bug in older versions of Inkscape # that leaves spaces at the beginning and end of values s = node.get(style_attrib) if s is None: diff --git a/share/keys/macromedia-freehand-mx.xml b/share/keys/macromedia-freehand-mx.xml index 89069a217..54322fd85 100644 --- a/share/keys/macromedia-freehand-mx.xml +++ b/share/keys/macromedia-freehand-mx.xml @@ -38,7 +38,7 @@ File, Edit, View, Modify, Text, Xtras, Window, Help. - +