summaryrefslogtreecommitdiffstats
path: root/src/extension
diff options
context:
space:
mode:
authorUnknown <kunda@scribus.net>2017-11-07 18:55:26 +0000
committerUnknown <kunda@scribus.net>2017-11-07 18:55:26 +0000
commit2659ce5a325688a3db9900d6d662e92048f0539e (patch)
treef55a967bd07fcef78b1834ea9c21f6bd93b00cb0 /src/extension
parentSet primitive filter area in feComposite and feMerge. Needed for tiling. (diff)
downloadinkscape-2659ce5a325688a3db9900d6d662e92048f0539e.tar.gz
inkscape-2659ce5a325688a3db9900d6d662e92048f0539e.zip
Misc. typos
Found using `codespell -q 3 -w --skip="*.svg,*.po,*.ts,./share/tutorials,./src/libavoid,./packaging/win32/languages,./man,./src/2geom" -I ../inkscape-whitelist.txt` whereby whitelist file contained: ``` dum iff glight substract te upto ```
Diffstat (limited to 'src/extension')
-rw-r--r--src/extension/dbus/document-interface.cpp2
-rw-r--r--src/extension/dbus/document-interface.h2
-rw-r--r--src/extension/dbus/document-interface.xml2
-rw-r--r--src/extension/dbus/proposed-interface.xml2
-rw-r--r--src/extension/dependency.h2
-rw-r--r--src/extension/error-file.cpp4
-rw-r--r--src/extension/execution-env.cpp2
-rw-r--r--src/extension/execution-env.h2
-rw-r--r--src/extension/extension.cpp2
-rw-r--r--src/extension/implementation/script.cpp8
-rw-r--r--src/extension/init.cpp2
-rw-r--r--src/extension/internal/bluredge.cpp2
-rw-r--r--src/extension/internal/cairo-render-context.cpp4
-rw-r--r--src/extension/internal/gimpgrad.cpp8
-rw-r--r--src/extension/internal/grid.cpp2
-rw-r--r--src/extension/internal/image-resolution.cpp2
-rw-r--r--src/extension/internal/javafx-out.cpp2
-rw-r--r--src/extension/internal/odf.cpp4
-rw-r--r--src/extension/internal/text_reassemble.c2
-rw-r--r--src/extension/internal/text_reassemble.h2
-rw-r--r--src/extension/param/parameter.h2
-rw-r--r--src/extension/plugins/grid2/grid.cpp2
-rw-r--r--src/extension/system.cpp2
23 files changed, 32 insertions, 32 deletions
diff --git a/src/extension/dbus/document-interface.cpp b/src/extension/dbus/document-interface.cpp
index 513ec2f5c..c85281aa4 100644
--- a/src/extension/dbus/document-interface.cpp
+++ b/src/extension/dbus/document-interface.cpp
@@ -151,7 +151,7 @@ get_name_from_object (SPObject * obj)
/*
* Some verbs (cut, paste) only work on the active layer.
- * This makes sure that the document that is about to recive a command is active.
+ * This makes sure that the document that is about to receive a command is active.
*/
void
desktop_ensure_active (SPDesktop* desk) {
diff --git a/src/extension/dbus/document-interface.h b/src/extension/dbus/document-interface.h
index 27460de52..0150dae7e 100644
--- a/src/extension/dbus/document-interface.h
+++ b/src/extension/dbus/document-interface.h
@@ -125,7 +125,7 @@ document_interface_node (DocumentInterface *doc_interface, gchar *svgtype,
/****************************************************************************
- ENVIORNMENT FUNCTIONS
+ ENVIRONMENT FUNCTIONS
****************************************************************************/
gdouble
document_interface_document_get_width (DocumentInterface *doc_interface);
diff --git a/src/extension/dbus/document-interface.xml b/src/extension/dbus/document-interface.xml
index 7481c0893..2287e9c32 100644
--- a/src/extension/dbus/document-interface.xml
+++ b/src/extension/dbus/document-interface.xml
@@ -763,7 +763,7 @@ c
</arg>
<doc:doc>
<doc:description>
- <doc:para>Get the path value of an object. Equivilent to calling <doc:ref type="method" to="document.get_attribute">get_attribte()</doc:ref> with argument "d". Will not turn object into a path if it is not already.</doc:para>
+ <doc:para>Get the path value of an object. Equivalent to calling <doc:ref type="method" to="document.get_attribute">get_attribte()</doc:ref> with argument "d". Will not turn object into a path if it is not already.</doc:para>
</doc:description>
<doc:seealso><doc:ref type="interface" to="Paths">Paths</doc:ref></doc:seealso>
</doc:doc>
diff --git a/src/extension/dbus/proposed-interface.xml b/src/extension/dbus/proposed-interface.xml
index ac74b64f9..2a45c1d52 100644
--- a/src/extension/dbus/proposed-interface.xml
+++ b/src/extension/dbus/proposed-interface.xml
@@ -105,7 +105,7 @@
</arg>
<arg type="s" name="type" direction="in" >
<doc:doc>
- <doc:summary>A single letter denoting what type of node is beeing appended.</doc:summary>
+ <doc:summary>A single letter denoting what type of node is being appended.</doc:summary>
</doc:doc>
</arg>
<arg type="ad" name="arguments" direction="in" >
diff --git a/src/extension/dependency.h b/src/extension/dependency.h
index 8f5dcc0c8..5e58fe06b 100644
--- a/src/extension/dependency.h
+++ b/src/extension/dependency.h
@@ -39,7 +39,7 @@ class Dependency {
/** \brief All of the possible locations to look for the dependency. */
enum location_t {
- LOCATION_PATH, /**< Look in the PATH for this depdendency */
+ LOCATION_PATH, /**< Look in the PATH for this dependency */
LOCATION_EXTENSIONS, /**< Look in the extensions directory */
LOCATION_ABSOLUTE, /**< This dependency is already defined in absolute terms */
LOCATION_CNT /**< Number of locations to look */
diff --git a/src/extension/error-file.cpp b/src/extension/error-file.cpp
index 063e43f42..20dcc0f5f 100644
--- a/src/extension/error-file.cpp
+++ b/src/extension/error-file.cpp
@@ -50,7 +50,7 @@ ErrorFileNotice::ErrorFileNotice (void) :
{
// \FIXME change this
- /* This is some filler text, needs to change before relase */
+ /* This is some filler text, needs to change before release */
Glib::ustring dialog_text(_("<span weight=\"bold\" size=\"larger\">One or more extensions failed to load</span>\n\nThe failed extensions have been skipped. Inkscape will continue to run normally but those extensions will be unavailable. For details to troubleshoot this problem, please refer to the error log located at: "));
gchar * ext_error_file = Inkscape::IO::Resource::log_path(EXTENSION_ERROR_LOG_FILENAME);
dialog_text += ext_error_file;
@@ -59,7 +59,7 @@ ErrorFileNotice::ErrorFileNotice (void) :
auto vbox = get_content_area();
- /* This is some filler text, needs to change before relase */
+ /* This is some filler text, needs to change before release */
Inkscape::Preferences *prefs = Inkscape::Preferences::get();
checkbutton = Gtk::manage(new Gtk::CheckButton(_("Show dialog on startup")));
vbox->pack_start(*checkbutton, true, false, 5);
diff --git a/src/extension/execution-env.cpp b/src/extension/execution-env.cpp
index 624813863..f75b06937 100644
--- a/src/extension/execution-env.cpp
+++ b/src/extension/execution-env.cpp
@@ -97,7 +97,7 @@ ExecutionEnv::genDocCache (void) {
return;
}
-/** \brief Destory a document cache
+/** \brief Destroy a document cache
Just delete it.
*/
diff --git a/src/extension/execution-env.h b/src/extension/execution-env.h
index 795f5a65a..a57c7b8c9 100644
--- a/src/extension/execution-env.h
+++ b/src/extension/execution-env.h
@@ -69,7 +69,7 @@ private:
bool _show_errors;
public:
- /** \brief Create a new context for exection of an effect
+ /** \brief Create a new context for execution of an effect
\param effect The effect to execute
\param doc The document to execute the effect on
\param docCache The implementation cache of the document. May be
diff --git a/src/extension/extension.cpp b/src/extension/extension.cpp
index d9ea5eca7..240d28a59 100644
--- a/src/extension/extension.cpp
+++ b/src/extension/extension.cpp
@@ -365,7 +365,7 @@ Extension::get_name (void)
mark to the world that it has been deactivated. It also removes
the current implementation and replaces it with a standard one. This
makes it so that we don't have to continually check if there is an
- implementation, but we are gauranteed to have a benign one.
+ implementation, but we are guaranteed to have a benign one.
\warning It is important to note that there is no 'activate' function.
Running this function is irreversable.
diff --git a/src/extension/implementation/script.cpp b/src/extension/implementation/script.cpp
index 2901655f1..eb98711bc 100644
--- a/src/extension/implementation/script.cpp
+++ b/src/extension/implementation/script.cpp
@@ -426,7 +426,7 @@ ImplementationDocumentCache *Script::newDocCache( Inkscape::Extension::Extension
/**
\return A dialog for preferences
- \brief A stub funtion right now
+ \brief A stub function right now
\param module Module who's preferences need getting
\param filename Hey, the file you're getting might be important
@@ -442,7 +442,7 @@ Gtk::Widget *Script::prefs_input(Inkscape::Extension::Input *module,
/**
\return A dialog for preferences
- \brief A stub funtion right now
+ \brief A stub function right now
\param module Module whose preferences need getting
This function should really do something, right now it doesn't.
@@ -602,8 +602,8 @@ void Script::save(Inkscape::Extension::Output *module,
/**
\return none
- \brief This function uses an extention as a effect on a document.
- \param module Extention to effect with.
+ \brief This function uses an extension as an effect on a document.
+ \param module Extension to effect with.
\param doc Document to run through the effect.
This function is a little bit trickier than the previous two. It
diff --git a/src/extension/init.cpp b/src/extension/init.cpp
index 699c0382f..17c07ae1d 100644
--- a/src/extension/init.cpp
+++ b/src/extension/init.cpp
@@ -113,7 +113,7 @@ using namespace Inkscape::IO::Resource;
namespace Inkscape {
namespace Extension {
-/** This is the extention that all files are that are pulled from
+/** This is the extension that all files are that are pulled from
the extension directory and parsed */
#define SP_MODULE_EXTENSION "inx"
diff --git a/src/extension/internal/bluredge.cpp b/src/extension/internal/bluredge.cpp
index d1fe357da..1040ef194 100644
--- a/src/extension/internal/bluredge.cpp
+++ b/src/extension/internal/bluredge.cpp
@@ -36,7 +36,7 @@ namespace Internal {
/**
\brief A function to allocated anything -- just an example here
\param module Unused
- \return Whether the load was sucessful
+ \return Whether the load was successful
*/
bool
BlurEdge::load (Inkscape::Extension::Extension */*module*/)
diff --git a/src/extension/internal/cairo-render-context.cpp b/src/extension/internal/cairo-render-context.cpp
index 3edb58a13..972081c0d 100644
--- a/src/extension/internal/cairo-render-context.cpp
+++ b/src/extension/internal/cairo-render-context.cpp
@@ -606,7 +606,7 @@ CairoRenderContext::popLayer(void)
clip_ctx->setImageTarget(CAIRO_FORMAT_A8);
clip_ctx->setClipMode(CLIP_MODE_MASK); // Raster
// This code ties the clipping to the document coordinates. It doesn't allow
- // for a clipped object intially drawn off the page and then translated onto
+ // for a clipped object initially drawn off the page and then translated onto
// the page.
if (!clip_ctx->setupSurface(_width, _height)) {
TRACE(("clip: setupSurface failed\n"));
@@ -1482,7 +1482,7 @@ CairoRenderContext::_prepareRenderText()
}
/* We need CairoPaintOrder as markers are rendered in a separate step and may be rendered
- * inbetween fill and stroke.
+ * in between fill and stroke.
*/
bool
CairoRenderContext::renderPathVector(Geom::PathVector const & pathv, SPStyle const *style, Geom::OptRect const &pbox, CairoPaintOrder order)
diff --git a/src/extension/internal/gimpgrad.cpp b/src/extension/internal/gimpgrad.cpp
index 8c348dfbb..e6a429d34 100644
--- a/src/extension/internal/gimpgrad.cpp
+++ b/src/extension/internal/gimpgrad.cpp
@@ -35,7 +35,7 @@ namespace Internal {
/**
\brief A function to allocate anything -- just an example here
\param module Unused
- \return Whether the load was sucessful
+ \return Whether the load was successful
*/
bool GimpGrad::load (Inkscape::Extension::Extension */*module*/)
{
@@ -106,10 +106,10 @@ static Glib::ustring stop_svg(ColorRGBA const in_color, double const location)
of entries just reading until it fails.
The other small piece of trickery here is that GIMP gradients define
- a left possition, right possition and middle possition. SVG gradients
- have no middle possition in them. In order to handle this case the
+ a left position, right position and middle position. SVG gradients
+ have no middle position in them. In order to handle this case the
left and right colors are averaged in a linear manner and the middle
- possition is used for that color.
+ position is used for that color.
That is another point, the GIMP gradients support many different types
of gradients -- linear being the most simple. This plugin assumes
diff --git a/src/extension/internal/grid.cpp b/src/extension/internal/grid.cpp
index 9e730f5e5..649859ee5 100644
--- a/src/extension/internal/grid.cpp
+++ b/src/extension/internal/grid.cpp
@@ -42,7 +42,7 @@ namespace Internal {
/**
\brief A function to allocated anything -- just an example here
\param module Unused
- \return Whether the load was sucessful
+ \return Whether the load was successful
*/
bool
Grid::load (Inkscape::Extension::Extension */*module*/)
diff --git a/src/extension/internal/image-resolution.cpp b/src/extension/internal/image-resolution.cpp
index 57142bbdd..558276999 100644
--- a/src/extension/internal/image-resolution.cpp
+++ b/src/extension/internal/image-resolution.cpp
@@ -414,7 +414,7 @@ void ImageResolution::readmagick(char const *fn) {
x_ = image.xResolution();
y_ = image.yResolution();
-// TODO: find out why the hell the following convertion is necessary
+// TODO: find out why the hell the following conversion is necessary
if (type == "BMP") {
x_ = Inkscape::Util::Quantity::convert(x_, "in", "cm");
y_ = Inkscape::Util::Quantity::convert(y_, "in", "cm");
diff --git a/src/extension/internal/javafx-out.cpp b/src/extension/internal/javafx-out.cpp
index d7ad7e6f7..56ea46808 100644
--- a/src/extension/internal/javafx-out.cpp
+++ b/src/extension/internal/javafx-out.cpp
@@ -82,7 +82,7 @@ static void err(const char *fmt, ...)
* tree and finds all of the opacities and multiplies them.
*
* We use this for our "flat" object output. If the code is modified
- * to reflect a tree of <groups>, then this will be unneccessary.
+ * to reflect a tree of <groups>, then this will be unnecessary.
*/
static double effective_opacity(const SPStyle *style)
{
diff --git a/src/extension/internal/odf.cpp b/src/extension/internal/odf.cpp
index f885ef5e5..db18dd2ca 100644
--- a/src/extension/internal/odf.cpp
+++ b/src/extension/internal/odf.cpp
@@ -6,7 +6,7 @@
* within Inkscape. Although the initial implementations will be very lossy
* due to the differences in the models of SVG and ODF, they will hopefully
* improve greatly with time. People should consider this to be a framework
- * that can be continously upgraded for ever improving fidelity. Potential
+ * that can be continuously upgraded for ever improving fidelity. Potential
* developers should especially look in preprocess() and writeTree() to see how
* the SVG tree is scanned, read, translated, and then written to ODF.
*
@@ -1400,7 +1400,7 @@ bool OdfOutput::processStyle(SPItem *item, const Glib::ustring &id, const Glib::
}
}
- // Dont need a new style
+ // Don't need a new style
if (styleMatch)
{
return false;
diff --git a/src/extension/internal/text_reassemble.c b/src/extension/internal/text_reassemble.c
index b23176ed5..b191d4ea2 100644
--- a/src/extension/internal/text_reassemble.c
+++ b/src/extension/internal/text_reassemble.c
@@ -63,7 +63,7 @@ Optional compiler switches for development:
-DDBG_TR_INPUT draw input text and their bounding rectangles in SVG output
-DTEST build the test program
-DDBG_LOOP force the test program to cycle 5 times. Useful for finding
- memory leaks. Ouput file is overwritten each time.
+ memory leaks. Output file is overwritten each time.
File: text_reassemble.c
diff --git a/src/extension/internal/text_reassemble.h b/src/extension/internal/text_reassemble.h
index 6c1acafe5..1c6c17c78 100644
--- a/src/extension/internal/text_reassemble.h
+++ b/src/extension/internal/text_reassemble.h
@@ -231,7 +231,7 @@ typedef struct {
\brief List of all members of a single complex.
*/
typedef struct {
- int *members; /**< array of immediate children (for TR_PARA_* these are indicies
+ int *members; /**< array of immediate children (for TR_PARA_* these are indices
for TR_TEXT or TR_LINE complexes also in cxi. For TR_TEXT
and TR_LINE these are indices to the actual text in tpi.) */
uint32_t space; /**< storage slots allocated */
diff --git a/src/extension/param/parameter.h b/src/extension/param/parameter.h
index 96cc055d8..b1825d444 100644
--- a/src/extension/param/parameter.h
+++ b/src/extension/param/parameter.h
@@ -158,7 +158,7 @@ public:
const static int GUI_PARAM_WIDGETS_SPACING = 4;
/** Recommended indentation width of parameters (in px) */
const static int GUI_INDENTATION = 12;
- /** Recommended maximum line lenght for wrapping textual parameters (in chars) */
+ /** Recommended maximum line length for wrapping textual parameters (in chars) */
const static int GUI_MAX_LINE_LENGTH = 60;
diff --git a/src/extension/plugins/grid2/grid.cpp b/src/extension/plugins/grid2/grid.cpp
index 233d4e522..256bb8dc2 100644
--- a/src/extension/plugins/grid2/grid.cpp
+++ b/src/extension/plugins/grid2/grid.cpp
@@ -42,7 +42,7 @@ namespace Internal {
/**
\brief A function to allocated anything -- just an example here
\param module Unused
- \return Whether the load was sucessful
+ \return Whether the load was successful
*/
bool
Grid::load (Inkscape::Extension::Extension */*module*/)
diff --git a/src/extension/system.cpp b/src/extension/system.cpp
index afa8346df..e5b83cd20 100644
--- a/src/extension/system.cpp
+++ b/src/extension/system.cpp
@@ -323,7 +323,7 @@ save(Extension *key, SPDocument *doc, gchar const *filename, bool setextension,
doc->changeUriAndHrefs(saved_uri);
}
doc->setModifiedSinceSave(saved_modified);
- // free used ressources
+ // free used resources
g_free(saved_output_extension);
g_free(saved_dataloss);
g_free(saved_uri);