summaryrefslogtreecommitdiffstats
path: root/src/extension
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2018-01-08 21:50:51 +0000
committerluz.paz <luzpaz@users.noreply.github.com>2018-01-08 21:50:51 +0000
commit202e75590f8200823ef0efd36cc0edbd1bf1edcc (patch)
tree1a18f646f7e49b0e1836efd6401793f6e9c38d68 /src/extension
parentRestore ability to switch mode while using spray tool (is this even useful?). (diff)
downloadinkscape-202e75590f8200823ef0efd36cc0edbd1bf1edcc.tar.gz
inkscape-202e75590f8200823ef0efd36cc0edbd1bf1edcc.zip
Misc. typos
Found via `codespell`
Diffstat (limited to 'src/extension')
-rw-r--r--src/extension/dbus/doc/inkscapeDbusRef.xml2
-rw-r--r--src/extension/dbus/doc/inkscapeDbusTerms.xml2
-rw-r--r--src/extension/dbus/document-interface.cpp4
-rw-r--r--src/extension/dbus/document-interface.xml2
-rw-r--r--src/extension/dependency.cpp2
-rw-r--r--src/extension/effect.cpp2
-rw-r--r--src/extension/extension.cpp4
-rw-r--r--src/extension/extension.h2
-rw-r--r--src/extension/input.cpp4
-rw-r--r--src/extension/internal/cdr-input.cpp2
-rw-r--r--src/extension/internal/emf-inout.cpp2
-rw-r--r--src/extension/internal/emf-print.cpp2
-rw-r--r--src/extension/internal/filter/blurs.h2
-rw-r--r--src/extension/internal/latex-text-renderer.cpp4
-rw-r--r--src/extension/internal/latex-text-renderer.h2
-rw-r--r--src/extension/internal/vsd-input.cpp2
-rw-r--r--src/extension/internal/wmf-print.cpp6
-rw-r--r--src/extension/internal/wpg-input.cpp2
-rw-r--r--src/extension/output.cpp4
-rw-r--r--src/extension/param/parameter.h2
-rw-r--r--src/extension/param/string.h2
-rw-r--r--src/extension/system.cpp2
-rw-r--r--src/extension/timer.cpp2
23 files changed, 30 insertions, 30 deletions
diff --git a/src/extension/dbus/doc/inkscapeDbusRef.xml b/src/extension/dbus/doc/inkscapeDbusRef.xml
index 6bf134a60..6b5d578d6 100644
--- a/src/extension/dbus/doc/inkscapeDbusRef.xml
+++ b/src/extension/dbus/doc/inkscapeDbusRef.xml
@@ -59,7 +59,7 @@ The guiding principles behind the design of this API were:
<partintro>
<para>
- Inkscape provides a D-Bus API for programs to interactivly script vector graphics.
+ Inkscape provides a D-Bus API for programs to interactively script vector graphics.
</para>
<para>
This API is not yet stable and is likely to change in the future.
diff --git a/src/extension/dbus/doc/inkscapeDbusTerms.xml b/src/extension/dbus/doc/inkscapeDbusTerms.xml
index 507fcbf24..45f2d63a8 100644
--- a/src/extension/dbus/doc/inkscapeDbusTerms.xml
+++ b/src/extension/dbus/doc/inkscapeDbusTerms.xml
@@ -107,7 +107,7 @@ Groups are collections of objects that are treated as a single object. Groups h
The basic idea is that things on top cover up things beneath them. The potentially confusing part is that Inkscape implements this in two ways: layers and levels. Levels are what order objects are in within a single layer. So the highest level object is still below all of the objects in the layer above it. <link linkend="document.layer_change_level">layer_change_level()</link> changes the order of layers and <link linkend="document.selection_change_level">selection_change_level()</link> changes the order of objects within a layer.
</para>
<para>
-Changing the level of a selection also deserves some explanation. The <link linkend="document.selection_change_level">selection_change_level()</link> function can work in two ways. It can be absolute, "to_top" and "to_bottom" work like you'd expect, sending the entire selection to the top or bottom of that layer. But it can also be relative. "raise" and "lower" only work if there is another shape overlaping above or beneath the selection at the moment. Also if you have two objects selected and they are both occluded by a third, raising the selection once will only raise the first object in the selection above the third object. In other words selections don't move as a group.
+Changing the level of a selection also deserves some explanation. The <link linkend="document.selection_change_level">selection_change_level()</link> function can work in two ways. It can be absolute, "to_top" and "to_bottom" work like you'd expect, sending the entire selection to the top or bottom of that layer. But it can also be relative. "raise" and "lower" only work if there is another shape overlapping above or beneath the selection at the moment. Also if you have two objects selected and they are both occluded by a third, raising the selection once will only raise the first object in the selection above the third object. In other words selections don't move as a group.
</para>
</sect1>
diff --git a/src/extension/dbus/document-interface.cpp b/src/extension/dbus/document-interface.cpp
index c85281aa4..be3fd94a5 100644
--- a/src/extension/dbus/document-interface.cpp
+++ b/src/extension/dbus/document-interface.cpp
@@ -127,7 +127,7 @@ get_object_by_name (SPDocument *doc, gchar *name, GError **error)
/*
* Tests for NULL strings and throws an appropriate error.
* Every method that takes a string parameter (other than the
- * name of an object, that's tested seperatly) should call this.
+ * name of an object, that's tested separately) should call this.
*/
gboolean
dbus_check_string (gchar *string, GError ** error, const gchar * errorstr)
@@ -183,7 +183,7 @@ selection_get_center_y (Inkscape::Selection *sel){
* original selection.
*
* This should be mostly transparent to the user who need never
- * know we never bothered to implement it seperatly. Although
+ * know we never bothered to implement it separately. Although
* they might see the selection box flicker if used in a loop.
*/
std::vector<SPObject*>
diff --git a/src/extension/dbus/document-interface.xml b/src/extension/dbus/document-interface.xml
index 2287e9c32..8d10907d2 100644
--- a/src/extension/dbus/document-interface.xml
+++ b/src/extension/dbus/document-interface.xml
@@ -1360,7 +1360,7 @@ c
<doc:para>'union': The new shape is all of the other shapes put together, even if they don't overlap (paths can have multiple non-contiguous areas.)</doc:para>
<doc:para>'intersection': The new shape is composed of the area where ALL the objects in the selection overlap. If there is no area where all shapes overlap the new shape will be empty.</doc:para>
<doc:para>'difference': The area of the second shape is subtracted from the first, only works with two objects.</doc:para>
- <doc:para>'exclusion': The new shape is the area(s) where none of the objects in the selection overlaped. Only works with two objects.</doc:para>
+ <doc:para>'exclusion': The new shape is the area(s) where none of the objects in the selection overlapped. Only works with two objects.</doc:para>
<doc:para>'division': the first object is split into multiple segments by the second object. Only works with two objects.</doc:para>
</doc:description>
</doc:doc>
diff --git a/src/extension/dependency.cpp b/src/extension/dependency.cpp
index 827475011..b83c5380f 100644
--- a/src/extension/dependency.cpp
+++ b/src/extension/dependency.cpp
@@ -90,7 +90,7 @@ Dependency::Dependency (Inkscape::XML::Node * in_repr)
}
/**
- \brief This depenency is not longer needed
+ \brief This dependency is not longer needed
Unreference the XML structure.
*/
diff --git a/src/extension/effect.cpp b/src/extension/effect.cpp
index 93b940732..b608ea59c 100644
--- a/src/extension/effect.cpp
+++ b/src/extension/effect.cpp
@@ -259,7 +259,7 @@ Effect::prefs (Inkscape::UI::View::View * doc)
\param doc The Inkscape::UI::View::View to do the effect on
This function first insures that the extension is loaded, and if not,
- loads it. It then calls the implemention to do the actual work. It
+ loads it. It then calls the implementation to do the actual work. It
also resets the last effect pointer to be this effect. Finally, it
executes a \c SPDocumentUndo::done to commit the changes to the undo
stack.
diff --git a/src/extension/extension.cpp b/src/extension/extension.cpp
index 49ae0075c..f07d334af 100644
--- a/src/extension/extension.cpp
+++ b/src/extension/extension.cpp
@@ -237,9 +237,9 @@ Extension::loaded (void)
\brief A function to check the validity of the extension
This function chekcs to make sure that there is an id, a name, a
- repr and an implemenation for this extension. Then it checks all
+ repr and an implementation for this extension. Then it checks all
of the dependencies to see if they pass. Finally, it asks the
- implmentation to do a check of itself.
+ implementation to do a check of itself.
On each check, if there is a failure, it will print a message to the
error log for that failure. It is important to note that the function
diff --git a/src/extension/extension.h b/src/extension/extension.h
index a00eca21f..d66399d59 100644
--- a/src/extension/extension.h
+++ b/src/extension/extension.h
@@ -34,7 +34,7 @@ namespace Gtk {
#define SP_MODULE_KEY_INPUT_SVGZ "org.inkscape.input.svgz"
/** Specifies the input module that should be used if none are selected */
#define SP_MODULE_KEY_INPUT_DEFAULT SP_MODULE_KEY_AUTODETECT
-/** The key for outputing standard W3C SVG */
+/** The key for outputting standard W3C SVG */
#define SP_MODULE_KEY_OUTPUT_SVG "org.inkscape.output.svg.plain"
#define SP_MODULE_KEY_OUTPUT_SVGZ "org.inkscape.output.svgz.plain"
/** This is an output file that has SVG data with the Sodipodi namespace extensions */
diff --git a/src/extension/input.cpp b/src/extension/input.cpp
index 2ba48ffda..862d4a4d3 100644
--- a/src/extension/input.cpp
+++ b/src/extension/input.cpp
@@ -114,7 +114,7 @@ Input::~Input (void)
This function checks to make sure that the input extension has
a filename extension and a MIME type. Then it calls the parent
- class' check function which also checks out the implmentation.
+ class' check function which also checks out the implementation.
*/
bool
Input::check (void)
@@ -135,7 +135,7 @@ Input::check (void)
This function acts as the first step in creating a new document
from a file. The first thing that this does is make sure that the
file actually exists. If it doesn't, a NULL is returned. If the
- file exits, then it is opened using the implmentation of this extension.
+ file exits, then it is opened using the implementation of this extension.
*/
SPDocument *
Input::open (const gchar *uri)
diff --git a/src/extension/internal/cdr-input.cpp b/src/extension/internal/cdr-input.cpp
index 2b6714908..7342ad48d 100644
--- a/src/extension/internal/cdr-input.cpp
+++ b/src/extension/internal/cdr-input.cpp
@@ -2,7 +2,7 @@
* This file came from libwpg as a source, their utility wpg2svg
* specifically. It has been modified to work as an Inkscape extension.
* The Inkscape extension code is covered by this copyright, but the
- * rest is covered by the one bellow.
+ * rest is covered by the one below.
*
* Authors:
* Fridrich Strba (fridrich.strba@bluewin.ch)
diff --git a/src/extension/internal/emf-inout.cpp b/src/extension/internal/emf-inout.cpp
index e47ce48bf..69fcd3424 100644
--- a/src/extension/internal/emf-inout.cpp
+++ b/src/extension/internal/emf-inout.cpp
@@ -3101,7 +3101,7 @@ std::cout << "BEFORE DRAW"
/* These should be JUST ASCII, but they might not be...
If it holds Utf-8 or plain ASCII the first call will succeed.
If not, assume that it holds Latin1.
- If that fails then someting is really screwed up!
+ If that fails then something is really screwed up!
*/
dup_wt = U_Utf8ToUtf32le((char *) pEmr + pEmr->emrtext.offString, pEmr->emrtext.nChars, NULL);
if(!dup_wt)dup_wt = U_Latin1ToUtf32le((char *) pEmr + pEmr->emrtext.offString, pEmr->emrtext.nChars, NULL);
diff --git a/src/extension/internal/emf-print.cpp b/src/extension/internal/emf-print.cpp
index 147324b4f..58543b67e 100644
--- a/src/extension/internal/emf-print.cpp
+++ b/src/extension/internal/emf-print.cpp
@@ -1713,7 +1713,7 @@ unsigned int PrintEmf::image(
unsigned int w, /** width of bitmap */
unsigned int h, /** height of bitmap */
unsigned int rs, /** row stride (normally w*4) */
- Geom::Affine const &tf_rect, /** affine transform only used for defining location and size of rect, for all other tranforms, use the one from m_tr_stack */
+ Geom::Affine const &tf_rect, /** affine transform only used for defining location and size of rect, for all other transforms, use the one from m_tr_stack */
SPStyle const *style) /** provides indirect link to image object */
{
double x1, y1, dw, dh;
diff --git a/src/extension/internal/filter/blurs.h b/src/extension/internal/filter/blurs.h
index 77581ed96..859fadb87 100644
--- a/src/extension/internal/filter/blurs.h
+++ b/src/extension/internal/filter/blurs.h
@@ -164,7 +164,7 @@ CleanEdges::get_filter_text (Inkscape::Extension::Extension * ext)
Combine vertical and horizontal blur
Filter's parameters:
- * Brighness (0.->10., default 0) -> composite (k3)
+ * Brightness (0.->10., default 0) -> composite (k3)
* Fading (0.->1., default 0) -> composite (k4)
* Horizontal blur (0.01->20., default 5) -> blur (stdDeviation)
* Vertical blur (0.01->20., default 5) -> blur (stdDeviation)
diff --git a/src/extension/internal/latex-text-renderer.cpp b/src/extension/internal/latex-text-renderer.cpp
index 960aec7a9..b96025ab8 100644
--- a/src/extension/internal/latex-text-renderer.cpp
+++ b/src/extension/internal/latex-text-renderer.cpp
@@ -131,7 +131,7 @@ LaTeXTextRenderer::~LaTeXTextRenderer(void)
}
/** This should create the output LaTeX file, and assign it to _stream.
- * @return Returns true when succesfull
+ * @return Returns true when successful
*/
bool
LaTeXTextRenderer::setTargetFile(gchar const *filename) {
@@ -276,7 +276,7 @@ void LaTeXTextRenderer::sp_text_render(SPText *textobj)
SPStyle *style = textobj->style;
// get position and alignment
- // Align vertically on the baseline of the font (retreived from the anchor point)
+ // Align vertically on the baseline of the font (retrieved from the anchor point)
// Align horizontally on anchorpoint
gchar const *alignment = NULL;
gchar const *alignstack = NULL;
diff --git a/src/extension/internal/latex-text-renderer.h b/src/extension/internal/latex-text-renderer.h
index b9563b53b..7f0dd9cd9 100644
--- a/src/extension/internal/latex-text-renderer.h
+++ b/src/extension/internal/latex-text-renderer.h
@@ -60,7 +60,7 @@ protected:
FILE * _stream;
gchar * _filename;
- bool _pdflatex; /** true if ouputting for pdfLaTeX*/
+ bool _pdflatex; /** true if outputting for pdfLaTeX*/
LaTeXOmitTextPageState _omittext_state;
gulong _omittext_page;
diff --git a/src/extension/internal/vsd-input.cpp b/src/extension/internal/vsd-input.cpp
index 0d7a467f0..cf5dd64f4 100644
--- a/src/extension/internal/vsd-input.cpp
+++ b/src/extension/internal/vsd-input.cpp
@@ -2,7 +2,7 @@
* This file came from libwpg as a source, their utility wpg2svg
* specifically. It has been modified to work as an Inkscape extension.
* The Inkscape extension code is covered by this copyright, but the
- * rest is covered by the one bellow.
+ * rest is covered by the one below.
*
* Authors:
* Fridrich Strba (fridrich.strba@bluewin.ch)
diff --git a/src/extension/internal/wmf-print.cpp b/src/extension/internal/wmf-print.cpp
index 29dfa2716..3df237ce3 100644
--- a/src/extension/internal/wmf-print.cpp
+++ b/src/extension/internal/wmf-print.cpp
@@ -1123,7 +1123,7 @@ unsigned int PrintWmf::image(
unsigned int w, /** width of bitmap */
unsigned int h, /** height of bitmap */
unsigned int rs, /** row stride (normally w*4) */
- Geom::Affine const &tf_rect, /** affine transform only used for defining location and size of rect, for all other tranforms, use the one from m_tr_stack */
+ Geom::Affine const &tf_rect, /** affine transform only used for defining location and size of rect, for all other transforms, use the one from m_tr_stack */
SPStyle const * /*style*/) /** provides indirect link to image object */
{
double x1, y1, dw, dh;
@@ -1245,7 +1245,7 @@ unsigned int PrintWmf::print_pathv(Geom::PathVector const &pathv, const Geom::Af
/** For each segment in the subpath */
- Geom::Point p1 = pit->initialPoint(); // This point is special, it isn't in the interator
+ Geom::Point p1 = pit->initialPoint(); // This point is special, it isn't in the iterator
p1[X] = (p1[X] * PX2WORLD);
p1[Y] = (p1[Y] * PX2WORLD);
@@ -1289,7 +1289,7 @@ unsigned int PrintWmf::print_pathv(Geom::PathVector const &pathv, const Geom::Af
/** For each segment in the subpath */
- Geom::Point p1 = pit->initialPoint(); // This point is special, it isn't in the interator
+ Geom::Point p1 = pit->initialPoint(); // This point is special, it isn't in the iterator
p1[X] = (p1[X] * PX2WORLD);
p1[Y] = (p1[Y] * PX2WORLD);
diff --git a/src/extension/internal/wpg-input.cpp b/src/extension/internal/wpg-input.cpp
index 299614c94..37f26c4bb 100644
--- a/src/extension/internal/wpg-input.cpp
+++ b/src/extension/internal/wpg-input.cpp
@@ -2,7 +2,7 @@
* This file came from libwpg as a source, their utility wpg2svg
* specifically. It has been modified to work as an Inkscape extension.
* The Inkscape extension code is covered by this copyright, but the
- * rest is covered by the one bellow.
+ * rest is covered by the one below.
*
* Authors:
* Ted Gould <ted@gould.cx>
diff --git a/src/extension/output.cpp b/src/extension/output.cpp
index ccfee2c14..50b00f972 100644
--- a/src/extension/output.cpp
+++ b/src/extension/output.cpp
@@ -110,7 +110,7 @@ Output::~Output (void)
This function checks to make sure that the output extension has
a filename extension and a MIME type. Then it calls the parent
- class' check function which also checks out the implmentation.
+ class' check function which also checks out the implementation.
*/
bool
Output::check (void)
@@ -202,7 +202,7 @@ Output::prefs (void)
\param filename File to save the document as
This function does a little of the dirty work involved in saving
- a document so that the implementation only has to worry about geting
+ a document so that the implementation only has to worry about getting
bits on the disk.
The big thing that it does is remove and read the fields that are
diff --git a/src/extension/param/parameter.h b/src/extension/param/parameter.h
index b1825d444..829085cf6 100644
--- a/src/extension/param/parameter.h
+++ b/src/extension/param/parameter.h
@@ -154,7 +154,7 @@ public:
const static int GUI_BOX_MARGIN = 10;
/** Recommended spacing between multiple Parameters packed into a box (in px) */
const static int GUI_BOX_SPACING = 4;
- /** Recommended spacing between the widgets making up a signle Parameter (e.g. label and input) (in px) */
+ /** Recommended spacing between the widgets making up a single Parameter (e.g. label and input) (in px) */
const static int GUI_PARAM_WIDGETS_SPACING = 4;
/** Recommended indentation width of parameters (in px) */
const static int GUI_INDENTATION = 12;
diff --git a/src/extension/param/string.h b/src/extension/param/string.h
index d338f83b9..82eebee7f 100644
--- a/src/extension/param/string.h
+++ b/src/extension/param/string.h
@@ -19,7 +19,7 @@ private:
/** \brief Internal value. This should point to a string that has
been allocated in memory. And should be free'd. */
gchar * _value;
- /** \brief Internal value. This indicates the maximum lenth of the string. Zero meaning unlimited.
+ /** \brief Internal value. This indicates the maximum length of the string. Zero meaning unlimited.
*/
gint _max_length;
public:
diff --git a/src/extension/system.cpp b/src/extension/system.cpp
index 888a1076a..f438d84b9 100644
--- a/src/extension/system.cpp
+++ b/src/extension/system.cpp
@@ -411,7 +411,7 @@ get_print(gchar const *key)
* \param doc The XML description of the module
*
* This function basically has two segments. The first is that it goes through the Repr tree
- * provided, and determines what kind of of module this is, and what kind of implementation to use.
+ * provided, and determines what kind of module this is, and what kind of implementation to use.
* All of these are then stored in two enums that are defined in this function. This makes it
* easier to add additional types (which will happen in the future, I'm sure).
*
diff --git a/src/extension/timer.cpp b/src/extension/timer.cpp
index e4e8632d2..b32c04f30 100644
--- a/src/extension/timer.cpp
+++ b/src/extension/timer.cpp
@@ -156,7 +156,7 @@ ExpirationTimer::idle_func (void)
return false;
}
- /* evalutate current */
+ /* evaluate current */
if (timer_list->expired()) {
timer_list->extension->set_state(Extension::STATE_UNLOADED);
}