diff --git a/README_PACKAGERS.md b/README_PACKAGERS.md --- a/README_PACKAGERS.md +++ b/README_PACKAGERS.md @@ -19,7 +19,7 @@ There are four forks of 3rd party libraries that are relevant and cannot be replaced by system libraries: -* plugins/impex/raw/3rdparty contains a fork of kdcraw. Upstread removed most functionality from this library and is in general unable to provide a stable API. The library has been renamed to avoid conflicts with upstream kdcraw. +* plugins/impex/raw/3rdparty contains a fork of kdcraw. Upstream removed most functionality from this library and is in general unable to provide a stable API. The library has been renamed to avoid conflicts with upstream kdcraw. * plugins/impex/xcf/3rdparty contains the xcftools code. This has never been released as a library diff --git a/krita/doc/strokes/strokes_documentation.org b/krita/doc/strokes/strokes_documentation.org --- a/krita/doc/strokes/strokes_documentation.org +++ b/krita/doc/strokes/strokes_documentation.org @@ -691,7 +691,7 @@ pxoxy of the node we process (=KisNodeProgressProxy=). Our processings framework provides even easier way of doing this. You just need to instantiate a =ProgressHelper= object and ask it to - greate a =KoUpdater= object for you. And all is done. You can see + create a =KoUpdater= object for you. And all is done. You can see an example in =KisTransformProcessingVisitor= class. ** Testing diff --git a/libs/color/colord/org.freedesktop.ColorManager.Device.xml b/libs/color/colord/org.freedesktop.ColorManager.Device.xml --- a/libs/color/colord/org.freedesktop.ColorManager.Device.xml +++ b/libs/color/colord/org.freedesktop.ColorManager.Device.xml @@ -309,7 +309,7 @@ The default option is hard, and this means that the user has explicitly mapped a profile to - a device, and this should take precidence over any + a device, and this should take precedence over any soft profiles. diff --git a/libs/flake/KoShape.cpp b/libs/flake/KoShape.cpp --- a/libs/flake/KoShape.cpp +++ b/libs/flake/KoShape.cpp @@ -567,7 +567,7 @@ * zIndex are **merged**, while in Krita the contents of groups * is never merged. One group will always below than the other. * Therefore, when zIndex of two groups inside the same parent - * coinside, the resulting painting order in Krita is + * coincide, the resulting painting order in Krita is * **UNDEFINED**. * * To avoid this trouble we use KoShapeReorderCommand::mergeInShape() diff --git a/libs/flake/KoShapeSavingContext.cpp b/libs/flake/KoShapeSavingContext.cpp --- a/libs/flake/KoShapeSavingContext.cpp +++ b/libs/flake/KoShapeSavingContext.cpp @@ -247,7 +247,7 @@ QString KoShapeSavingContext::imageHref(const QImage &image) { // TODO this can be optimized to recognize images which have the same content - // Also this can use quite a lot of memeory as the qimage are all kept until + // Also this can use quite a lot of memory as the qimage are all kept until // they are saved to the store in memory QString href = QString("Pictures/image%1.png").arg(++d->imageId); d->images.insert(href, image); diff --git a/libs/flake/KoToolBase.h b/libs/flake/KoToolBase.h --- a/libs/flake/KoToolBase.h +++ b/libs/flake/KoToolBase.h @@ -309,7 +309,7 @@ virtual void dropEvent(QDropEvent *event, const QPointF &point); /** - * @return a menu with context-aware actions for the currect selection. If + * @return a menu with context-aware actions for the current selection. If * the returned value is null, no context menu is shown. */ virtual QMenu* popupActionsMenu(); diff --git a/libs/flake/commands/KoShapeAlignCommand.h b/libs/flake/commands/KoShapeAlignCommand.h --- a/libs/flake/commands/KoShapeAlignCommand.h +++ b/libs/flake/commands/KoShapeAlignCommand.h @@ -45,7 +45,7 @@ /** * Command to align a set of shapes in a rect * @param shapes a set of all the shapes that should be aligned - * @param align the aligment type + * @param align the alignment type * @param boundingRect the rect the shape will be aligned in * @param parent the parent command used for macro commands */ diff --git a/libs/flake/commands/KoShapeReorderCommand.cpp b/libs/flake/commands/KoShapeReorderCommand.cpp --- a/libs/flake/commands/KoShapeReorderCommand.cpp +++ b/libs/flake/commands/KoShapeReorderCommand.cpp @@ -88,7 +88,7 @@ { KUndo2Command::redo(); for (int i = 0; i < d->shapes.count(); i++) { - // z-index cannot chage the bounding rect of the shape, so + // z-index cannot change the bounding rect of the shape, so // no united updates needed d->shapes.at(i)->setZIndex(d->newIndexes.at(i)); d->shapes.at(i)->update(); @@ -99,7 +99,7 @@ { KUndo2Command::undo(); for (int i = 0; i < d->shapes.count(); i++) { - // z-index cannot chage the bounding rect of the shape, so + // z-index cannot change the bounding rect of the shape, so // no united updates needed d->shapes.at(i)->setZIndex(d->previousIndexes.at(i)); d->shapes.at(i)->update(); diff --git a/libs/flake/svg/SvgParser.h b/libs/flake/svg/SvgParser.h --- a/libs/flake/svg/SvgParser.h +++ b/libs/flake/svg/SvgParser.h @@ -64,7 +64,7 @@ void setResolution(const QRectF boundsInPixels, qreal pixelsPerInch); - /// A special workaround coeff for usign when loading old ODF-embedded SVG files, + /// A special workaround coeff for using when loading old ODF-embedded SVG files, /// which used hard-coded 96 ppi for font size void setForcedFontSizeResolution(qreal value); @@ -198,7 +198,7 @@ void applyId(const QString &id, KoShape *shape); /// Applies viewBox transformation to the current graphical context - /// NOTE: after applying the function currectBoundingBox can become null! + /// NOTE: after applying the function currentBoundingBox can become null! void applyViewBoxTransform(const KoXmlElement &element); private: diff --git a/libs/flake/svg/SvgSavingContext.h b/libs/flake/svg/SvgSavingContext.h --- a/libs/flake/svg/SvgSavingContext.h +++ b/libs/flake/svg/SvgSavingContext.h @@ -49,7 +49,7 @@ /// Provides access to the shape writer KoXmlWriter &shapeWriter(); - /// Create a unqiue id from the specified base text + /// Create a unique id from the specified base text QString createUID(const QString &base); /// Returns the unique id for the given shape diff --git a/libs/flake/svg/SvgSavingContext.cpp b/libs/flake/svg/SvgSavingContext.cpp --- a/libs/flake/svg/SvgSavingContext.cpp +++ b/libs/flake/svg/SvgSavingContext.cpp @@ -144,7 +144,7 @@ else id = "shape"; } - // create a compeletely new id based on object name + // create a completely new id based on object name // or a generic name id = createUID(id); } diff --git a/libs/flake/tests/TestImageCollection.cpp b/libs/flake/tests/TestImageCollection.cpp --- a/libs/flake/tests/TestImageCollection.cpp +++ b/libs/flake/tests/TestImageCollection.cpp @@ -179,7 +179,7 @@ QPixmap pixmap3 = data.pixmap(); QCOMPARE(pixmap.cacheKey(), pixmap3.cacheKey()); - // now get a differen size; + // now get a different size; QPixmap pixmap4 = data.pixmap(QSize(10, 12)); QCOMPARE(pixmap.width(), 40); QCOMPARE(pixmap.height(), 41); diff --git a/libs/flake/text/KoSvgTextShape.cpp b/libs/flake/text/KoSvgTextShape.cpp --- a/libs/flake/text/KoSvgTextShape.cpp +++ b/libs/flake/text/KoSvgTextShape.cpp @@ -119,7 +119,7 @@ /** * HACK ALERT: - * QTextLayout should only be accessed from the tread it has been created in. + * QTextLayout should only be accessed from the thread it has been created in. * If the cached layout has been created in a different thread, we should just * recreate the layouts in the current thread to be able to render them. */ @@ -196,7 +196,7 @@ QPainterPath path; path.addRect(overlineBlob); - // don't use direct addRect, because it does't care about Qt::WindingFill + // don't use direct addRect, because it doesn't care about Qt::WindingFill result += path; } @@ -209,7 +209,7 @@ QPainterPath path; path.addRect(strikeThroughBlob); - // don't use direct addRect, because it does't care about Qt::WindingFill + // don't use direct addRect, because it doesn't care about Qt::WindingFill result += path; } @@ -221,7 +221,7 @@ QPainterPath path; path.addRect(underlineBlob); - // don't use direct addRect, because it does't care about Qt::WindingFill + // don't use direct addRect, because it doesn't care about Qt::WindingFill result += path; } } diff --git a/libs/flake/tools/KoZoomStrategy.h b/libs/flake/tools/KoZoomStrategy.h --- a/libs/flake/tools/KoZoomStrategy.h +++ b/libs/flake/tools/KoZoomStrategy.h @@ -36,7 +36,7 @@ * constructor * @param tool the parent tool this strategy is for * @param controller the canvas controller that wraps the canvas the tool is acting on. - * @param clicked the location (in documnet points) where the interaction starts. + * @param clicked the location (in document points) where the interaction starts. */ KoZoomStrategy(KoZoomTool *tool, KoCanvasController *controller, const QPointF &clicked); diff --git a/libs/image/kis_paint_device.h b/libs/image/kis_paint_device.h --- a/libs/image/kis_paint_device.h +++ b/libs/image/kis_paint_device.h @@ -362,7 +362,7 @@ /** * Checks whether a src paint device can be used as source * of fast bitBlt operation. The result of the check may - * depend on whether color spaces coinside, whether there is + * depend on whether color spaces coincide, whether there is * any shift of tiles between the devices and etc. * * WARNING: This check must be done before performing any @@ -793,7 +793,7 @@ * Create an iterator that will "artificially" extend the paint device with the * value of the border when trying to access values outside the range of data. * - * @param rc indicates the rectangle that trully contains data + * @param rc indicates the rectangle that truly contains data */ KisRepeatVLineConstIteratorSP createRepeatVLineConstIterator(qint32 x, qint32 y, qint32 h, const QRect& _dataWidth) const; diff --git a/libs/image/kis_repeat_iterators_pixel.h b/libs/image/kis_repeat_iterators_pixel.h --- a/libs/image/kis_repeat_iterators_pixel.h +++ b/libs/image/kis_repeat_iterators_pixel.h @@ -75,7 +75,7 @@ { public: /** - * @param rc indicates the rectangle that trully contains data + * @param rc indicates the rectangle that truly contains data */ inline KisRepeatHLineIteratorPixelBase(KisDataManager *dm, qint32 x, qint32 y, qint32 w, qint32 offsetx, qint32 offsety, const QRect& _rc, KisIteratorCompleteListener *completeListener); inline ~KisRepeatHLineIteratorPixelBase() override; @@ -101,7 +101,7 @@ { public: /** - * @param rc indicates the rectangle that trully contains data + * @param rc indicates the rectangle that truly contains data */ inline KisRepeatVLineIteratorPixelBase(KisDataManager *dm, qint32 x, qint32 y, qint32 h, qint32 offsetx, qint32 offsety, const QRect& _rc, KisIteratorCompleteListener *completeListener); inline ~KisRepeatVLineIteratorPixelBase() override; diff --git a/libs/image/kis_selection_filters.cpp b/libs/image/kis_selection_filters.cpp --- a/libs/image/kis_selection_filters.cpp +++ b/libs/image/kis_selection_filters.cpp @@ -612,7 +612,7 @@ } pixelSelection->writeBytes(out, rect.x(), rect.y() + y, rect.width(), 1); } - /* undo the offsets to the pointers so we can free the malloced memmory */ + /* undo the offsets to the pointers so we can free the malloced memory */ circ -= m_xRadius; max -= m_xRadius; @@ -762,7 +762,7 @@ pixelSelection->writeBytes(out, rect.x(), rect.y() + y, rect.width(), 1); } - // undo the offsets to the pointers so we can free the malloced memmory + // undo the offsets to the pointers so we can free the malloced memory circ -= m_xRadius; max -= m_xRadius; diff --git a/libs/image/kis_transform_worker.cc b/libs/image/kis_transform_worker.cc --- a/libs/image/kis_transform_worker.cc +++ b/libs/image/kis_transform_worker.cc @@ -453,7 +453,7 @@ } /** - * If the axis is not aligned, that is crosses some pixel cell, we shoudl just skip this + * If the axis is not aligned, that is crosses some pixel cell, we should just skip this * column and not process it. Actually, how can we mirror the central single-pixel column? */ const bool axisNonAligned = qFloor(axis) < axis; diff --git a/libs/image/lazybrush/KisWatershedWorker.h b/libs/image/lazybrush/KisWatershedWorker.h --- a/libs/image/lazybrush/KisWatershedWorker.h +++ b/libs/image/lazybrush/KisWatershedWorker.h @@ -50,7 +50,7 @@ * @brief Adds a key stroke to the worker. * * The key strokes may intersect, in which case the lastly added stroke will have - * a proirity over all the previous ones. + * a priority over all the previous ones. * * @param dev alpha8 paint device of the key stroke, may contain disjoint areas * @param color the color of the stroke diff --git a/libs/image/metadata/kis_meta_data_value.cc b/libs/image/metadata/kis_meta_data_value.cc --- a/libs/image/metadata/kis_meta_data_value.cc +++ b/libs/image/metadata/kis_meta_data_value.cc @@ -397,7 +397,7 @@ Q_ASSERT(d->type == LangArray); QMap langArray; Q_FOREACH (const KisMetaData::Value& val, *d->value.array) { - Q_ASSERT(val.d->propertyQualifiers.contains("xml:lang")); // TODO propably worth to have an assert for this in the constructor as well + Q_ASSERT(val.d->propertyQualifiers.contains("xml:lang")); // TODO probably worth to have an assert for this in the constructor as well KisMetaData::Value valKeyVal = val.d->propertyQualifiers.value("xml:lang"); Q_ASSERT(valKeyVal.type() == Variant); QVariant valKeyVar = valKeyVal.asVariant(); diff --git a/libs/image/tiles3/kis_memento_manager.cc b/libs/image/tiles3/kis_memento_manager.cc --- a/libs/image/tiles3/kis_memento_manager.cc +++ b/libs/image/tiles3/kis_memento_manager.cc @@ -117,7 +117,7 @@ * 4) Then we called clear() and getMemento() [==commit()] * 5) The tile will be registered as deleted and successfully * committed to a revision. That means the states of the memento - * manager at stages 1 and 5 do not coinside. + * manager at stages 1 and 5 do not coincide. * This will not lead to any memory leaks or bugs seen, it just * not good from a theoretical perspective. */ diff --git a/libs/libqml/plugins/components/PageStack.qml b/libs/libqml/plugins/components/PageStack.qml --- a/libs/libqml/plugins/components/PageStack.qml +++ b/libs/libqml/plugins/components/PageStack.qml @@ -291,7 +291,7 @@ } } - // Handles state change depening on transition animation status + // Handles state change depending on transition animation status function setState(newState) { if (transitionAnimationRunning) diff --git a/libs/pigment/KoColorProfileStorage.h b/libs/pigment/KoColorProfileStorage.h --- a/libs/pigment/KoColorProfileStorage.h +++ b/libs/pigment/KoColorProfileStorage.h @@ -43,7 +43,7 @@ * * Encapsulation of the profile accesses inside a separate class lets us * follow this rule without even thinking of it. KoColorProfileStorage just - * *never* calls any method of the registry, therefore lock order inverion is + * *never* calls any method of the registry, therefore lock order inversion is * not possible, */ class KoColorProfileStorage diff --git a/libs/pigment/tests/CCSGraph.cpp b/libs/pigment/tests/CCSGraph.cpp --- a/libs/pigment/tests/CCSGraph.cpp +++ b/libs/pigment/tests/CCSGraph.cpp @@ -60,7 +60,7 @@ parser.process(app); // PORTING SCRIPT: move this to after any parser.addOption if (parser.isSet("graphs")) { - // Don't change those lines to use dbgPigment derivatives, they need to be outputed + // Don't change those lines to use dbgPigment derivatives, they need to be outputted // to stdout not stderr. std::cout << "full : show all the connection on the graph" << std::endl; std::cout << "bestpath : show the best path for a given transformation" << std::endl; diff --git a/libs/ui/KisImportExportFilter.h b/libs/ui/KisImportExportFilter.h --- a/libs/ui/KisImportExportFilter.h +++ b/libs/ui/KisImportExportFilter.h @@ -137,7 +137,7 @@ /** * @brief createConfigurationWidget creates a widget that can be used to define the settings for a given import/export filter - * @param parent the ownder of the widget; the caller is responsible for deleting + * @param parent the owner of the widget; the caller is responsible for deleting * @param from The mimetype of the source file/document * @param to The mimetype of the destination file/document * diff --git a/libs/ui/canvas/kis_canvas_widget_base.cpp b/libs/ui/canvas/kis_canvas_widget_base.cpp --- a/libs/ui/canvas/kis_canvas_widget_base.cpp +++ b/libs/ui/canvas/kis_canvas_widget_base.cpp @@ -74,7 +74,7 @@ KisCanvasWidgetBase::~KisCanvasWidgetBase() { /** - * Clear all the attached decoration. Oherwise they might decide + * Clear all the attached decoration. Otherwise they might decide * to process some events or signals after the canvas has been * destroyed */ diff --git a/libs/ui/dialogs/KisAsyncAnimationRenderDialogBase.h b/libs/ui/dialogs/KisAsyncAnimationRenderDialogBase.h --- a/libs/ui/dialogs/KisAsyncAnimationRenderDialogBase.h +++ b/libs/ui/dialogs/KisAsyncAnimationRenderDialogBase.h @@ -55,7 +55,7 @@ * - one should implement two methods to make the rendering work: * - calcDirtyFrames() * - createRenderer(KisImageSP image) - * - these methids will be called on the start of the rendering + * - these methods will be called on the start of the rendering */ class KRITAUI_EXPORT KisAsyncAnimationRenderDialogBase : public QObject { diff --git a/libs/ui/kis_paintop_box.cc b/libs/ui/kis_paintop_box.cc --- a/libs/ui/kis_paintop_box.cc +++ b/libs/ui/kis_paintop_box.cc @@ -1034,7 +1034,7 @@ if (m_presetsEnabled) { // IMPORTANT: set the PaintOp size before setting the other properties - // it wont work the other way + // it won't work the other way // TODO: why?! m_resourceProvider->setSize(size); diff --git a/libs/ui/tests/modeltest.cpp b/libs/ui/tests/modeltest.cpp --- a/libs/ui/tests/modeltest.cpp +++ b/libs/ui/tests/modeltest.cpp @@ -229,7 +229,7 @@ */ void ModelTest::parent() { - // Make sure the model wont crash and will return an invalid QModelIndex + // Make sure the model won't crash and will return an invalid QModelIndex // when asked for the parent of an invalid index. Q_ASSERT(model->parent(QModelIndex()) == QModelIndex()); diff --git a/libs/ui/tool/kis_tool_paint.cc b/libs/ui/tool/kis_tool_paint.cc --- a/libs/ui/tool/kis_tool_paint.cc +++ b/libs/ui/tool/kis_tool_paint.cc @@ -737,7 +737,7 @@ QRectF outlineDocRect = currentImage()->pixelToDocument(outlinePixelRect); // This adjusted call is needed as we paint with a 3 pixel wide brush and the pen is outside the bounds of the path - // Pen uses view coordinates so we have to zoom the document value to match 2 pixel in view coordiates + // Pen uses view coordinates so we have to zoom the document value to match 2 pixel in view coordinates // See BUG 275829 qreal zoomX; qreal zoomY; diff --git a/libs/ui/widgets/kis_cmb_composite.cc b/libs/ui/widgets/kis_cmb_composite.cc --- a/libs/ui/widgets/kis_cmb_composite.cc +++ b/libs/ui/widgets/kis_cmb_composite.cc @@ -315,7 +315,7 @@ // popup widget to the view // don't know if this is expected behaviour // on all supported platforms. - // Thre is nothing written about this in the docs. + // There is nothing written about this in the docs. showPopup(); } diff --git a/libs/ui/widgets/kis_preset_live_preview_view.h b/libs/ui/widgets/kis_preset_live_preview_view.h --- a/libs/ui/widgets/kis_preset_live_preview_view.h +++ b/libs/ui/widgets/kis_preset_live_preview_view.h @@ -117,7 +117,7 @@ /// internal reference for internal brush size /// used to check if our brush size has changed - /// do zooming and other things internall if it has changed + /// do zooming and other things internally if it has changed float m_currentBrushSize = 1.0; /// the range of brush sizes that will control zooming in/out diff --git a/libs/widgets/KoUnitDoubleSpinBox.h b/libs/widgets/KoUnitDoubleSpinBox.h --- a/libs/widgets/KoUnitDoubleSpinBox.h +++ b/libs/widgets/KoUnitDoubleSpinBox.h @@ -32,7 +32,7 @@ * Spin box for double precision numbers with unit display. * Use this widget for any value that represents a real measurable value for consistency throughout * Krita. - * This widget shows the value in the user-selected units (inch, milimeters, etc) but keeps the + * This widget shows the value in the user-selected units (inch, millimeters, etc) but keeps the * Krita-widget default measurement unit internally. This has the advantage that just setting and * getting a value will not change the value due to conversions. * The KoDocument class has a unit() method for consistent (document wide) configuration of the diff --git a/libs/widgetutils/xmlgui/khelpmenu.h b/libs/widgetutils/xmlgui/khelpmenu.h --- a/libs/widgetutils/xmlgui/khelpmenu.h +++ b/libs/widgetutils/xmlgui/khelpmenu.h @@ -166,7 +166,7 @@ * * The returned menu is configured with an icon, a title and * menu entries. Therefore adding the returned pointer to your menu - * is enougth to have access to the help menu. + * is enough to have access to the help menu. * * Note: This method will only create one instance of the menu. If * you call this method twice or more the same pointer is returned. diff --git a/plugins/dockers/advancedcolorselector/kis_color_selector.cpp b/plugins/dockers/advancedcolorselector/kis_color_selector.cpp --- a/plugins/dockers/advancedcolorselector/kis_color_selector.cpp +++ b/plugins/dockers/advancedcolorselector/kis_color_selector.cpp @@ -261,7 +261,7 @@ } } - // reset the currect color after resizing the widget + // reset the correct color after resizing the widget setColor(m_lastRealColor); KisColorSelectorBase::resizeEvent(e); diff --git a/plugins/extensions/pykrita/plugin/version_checker.h b/plugins/extensions/pykrita/plugin/version_checker.h --- a/plugins/extensions/pykrita/plugin/version_checker.h +++ b/plugins/extensions/pykrita/plugin/version_checker.h @@ -202,8 +202,8 @@ , undefined , less , less_or_equal - , greather - , greather_or_equal + , greater + , greater_or_equal , not_equal , equal , last__ @@ -230,15 +230,15 @@ switch (m_op) { case less: return left < m_rhs; - case greather: + case greater: return left > m_rhs; case equal: return left == m_rhs; case not_equal: return left != m_rhs; case less_or_equal: return left <= m_rhs; - case greather_or_equal: + case greater_or_equal: return left >= m_rhs; default: Q_ASSERT(!"Sanity check"); @@ -257,7 +257,7 @@ case less: result = " < "; break; - case greather: + case greater: result = " > "; break; case equal: @@ -269,7 +269,7 @@ case less_or_equal: result = " <= "; break; - case greather_or_equal: + case greater_or_equal: result = " >= "; break; default: @@ -292,7 +292,7 @@ lookup_next_char = true; break; case '>': - checker.m_op = greather; + checker.m_op = greater; lookup_next_char = true; break; case '=': diff --git a/plugins/extensions/qmic/QMic.cpp b/plugins/extensions/qmic/QMic.cpp --- a/plugins/extensions/qmic/QMic.cpp +++ b/plugins/extensions/qmic/QMic.cpp @@ -352,7 +352,7 @@ } if (m.isAttached()) { if (!m.lock()) { - dbgPlugins << "Could not lock memeory segment" << m.error() << m.errorString(); + dbgPlugins << "Could not lock memory segment" << m.error() << m.errorString(); } dbgPlugins << "Memory segment" << key << m.size() << m.constData() << m.data(); gmic_image *gimg = new gmic_image(); @@ -366,10 +366,10 @@ dbgPlugins << "created gmic image" << gimg->name << gimg->_width << gimg->_height; if (!m.unlock()) { - dbgPlugins << "Could not unlock memeory segment" << m.error() << m.errorString(); + dbgPlugins << "Could not unlock memory segment" << m.error() << m.errorString(); } if (!m.detach()) { - dbgPlugins << "Could not detach from memeory segment" << m.error() << m.errorString(); + dbgPlugins << "Could not detach from memory segment" << m.error() << m.errorString(); } images.append(gimg); } diff --git a/plugins/filters/blur/kis_gaussian_blur_filter.cpp b/plugins/filters/blur/kis_gaussian_blur_filter.cpp --- a/plugins/filters/blur/kis_gaussian_blur_filter.cpp +++ b/plugins/filters/blur/kis_gaussian_blur_filter.cpp @@ -101,7 +101,7 @@ QVariant value; /** - * NOTE: integer devision by two is done on purpose, + * NOTE: integer division by two is done on purpose, * because the kernel size is always odd */ const int halfWidth = _config->getProperty("horizRadius", value) ? KisGaussianKernel::kernelSizeFromRadius(t.scale(value.toFloat())) / 2 : 5; diff --git a/plugins/filters/convertheightnormalmap/kis_convert_height_to_normal_map_filter.cpp b/plugins/filters/convertheightnormalmap/kis_convert_height_to_normal_map_filter.cpp --- a/plugins/filters/convertheightnormalmap/kis_convert_height_to_normal_map_filter.cpp +++ b/plugins/filters/convertheightnormalmap/kis_convert_height_to_normal_map_filter.cpp @@ -146,7 +146,7 @@ QVariant value; /** - * NOTE: integer devision by two is done on purpose, + * NOTE: integer division by two is done on purpose, * because the kernel size is always odd */ const int halfWidth = _config->getProperty("horizRadius", value) ? KisEdgeDetectionKernel::kernelSizeFromRadius(t.scale(value.toFloat())) / 2 : 5; diff --git a/plugins/filters/edgedetection/kis_edge_detection_filter.cpp b/plugins/filters/edgedetection/kis_edge_detection_filter.cpp --- a/plugins/filters/edgedetection/kis_edge_detection_filter.cpp +++ b/plugins/filters/edgedetection/kis_edge_detection_filter.cpp @@ -135,7 +135,7 @@ QVariant value; /** - * NOTE: integer devision by two is done on purpose, + * NOTE: integer division by two is done on purpose, * because the kernel size is always odd */ const int halfWidth = _config->getProperty("horizRadius", value) ? KisEdgeDetectionKernel::kernelSizeFromRadius(t.scale(value.toFloat())) / 2 : 5; diff --git a/plugins/flake/textshape/kotext/KoInlineObject.h b/plugins/flake/textshape/kotext/KoInlineObject.h --- a/plugins/flake/textshape/kotext/KoInlineObject.h +++ b/plugins/flake/textshape/kotext/KoInlineObject.h @@ -169,7 +169,7 @@ const QRectF &rect, const QTextInlineObject &object, int posInDocument, const QTextCharFormat &format) = 0; /** - * Overwrite this if you are interrested in propertychanges. + * Overwrite this if you are interested in propertychanges. * @param property the property id that has been changed, one from the Property enum. * You should ignore all properties you don't use as new properties can be added at any time. * @param value the new value of the property wrapped in a QVariant. Properties can be a lot of diff --git a/plugins/flake/textshape/kotext/KoSectionModel.h b/plugins/flake/textshape/kotext/KoSectionModel.h --- a/plugins/flake/textshape/kotext/KoSectionModel.h +++ b/plugins/flake/textshape/kotext/KoSectionModel.h @@ -22,7 +22,7 @@ * semantics of operation to handle it right way. * 2) Model(Tree) Level: on this level we should update KoSectionModel * right way, so it in any moment represents the actual tree - * of sections. Tree is builded easily: + * of sections. Tree is built easily: * One section is son of another, if it is directly nested in it. * As text editing commands have access to change Formatting Level, * they are declared as friend classes of KoSectionModel to be able diff --git a/plugins/flake/textshape/kotext/KoTextEditor_undo.cpp b/plugins/flake/textshape/kotext/KoTextEditor_undo.cpp --- a/plugins/flake/textshape/kotext/KoTextEditor_undo.cpp +++ b/plugins/flake/textshape/kotext/KoTextEditor_undo.cpp @@ -169,7 +169,7 @@ } if (newState == NoOp && !commandStack.isEmpty()) { //Calling updateState to NoOp when the commandStack isn't empty means that the current headCommand on the commandStack is finished. Further UndoTextCommands do not belong to it. So we pop it. - //If after poping the headCommand we still have some commands on the commandStack means we have not finished with the highest "macro". In that case we need to stay in the "Custom" state. + //If after popping the headCommand we still have some commands on the commandStack means we have not finished with the highest "macro". In that case we need to stay in the "Custom" state. //On the contrary, an empty commandStack means we have finished with the "macro". In that case, we set the editor to NoOp state. A signal from the QTextDocument should also generate a new headCommand. debugText << "we are in a macro and update the state to NoOp. this means that the command on top of the commandStack is finished. we should pop it"; debugText << "commandStack count before: " << commandStack.count(); diff --git a/plugins/flake/textshape/kotext/KoTextLocator.h b/plugins/flake/textshape/kotext/KoTextLocator.h --- a/plugins/flake/textshape/kotext/KoTextLocator.h +++ b/plugins/flake/textshape/kotext/KoTextLocator.h @@ -56,7 +56,7 @@ /// return the word in which the locator is inserted. QString word() const; - /// Add a text reference that is interrested in knowing when this locator is laid-out in a differen position. + /// Add a text reference that is interested in knowing when this locator is laid-out in a different position. void addListener(KoTextReference *reference); /// Remove a reference from the listeners. void removeListener(KoTextReference *reference); diff --git a/plugins/flake/textshape/kotext/Mainpage.dox b/plugins/flake/textshape/kotext/Mainpage.dox --- a/plugins/flake/textshape/kotext/Mainpage.dox +++ b/plugins/flake/textshape/kotext/Mainpage.dox @@ -33,7 +33,7 @@ * created QTextDocument with KoText. This has the implication that all * the extra content is stored inside the document. We add QTextFormat * based properties for that as can be seen in the styles (see - * KoParagraphStyle::Properities for instance), and we allow managers to + * KoParagraphStyle::Properties for instance), and we allow managers to * be stored on the document too. So for example a KoStyleManager will * be stored as a property on the QTextDocument and you can access that * using the KoTextDocument API. Note that you can use the diff --git a/plugins/flake/textshape/kotext/opendocument/KoTextSharedLoadingData.cpp b/plugins/flake/textshape/kotext/opendocument/KoTextSharedLoadingData.cpp --- a/plugins/flake/textshape/kotext/opendocument/KoTextSharedLoadingData.cpp +++ b/plugins/flake/textshape/kotext/opendocument/KoTextSharedLoadingData.cpp @@ -246,7 +246,7 @@ parentStyles.insert(parastyle, styleElem->attributeNS(KoXmlNS::style, "parent-style-name")); // TODO check if it a know style set the styleid so that the custom styles are kept during copy and paste - // in case styles are not added to the style manager they have to be deleted after loading to avoid leaking memeory + // in case styles are not added to the style manager they have to be deleted after loading to avoid leaking memory if (styleManager) { styleManager->add(parastyle); } else { @@ -387,7 +387,7 @@ d->tableStylesDotXmlStyles.insert(it->first, it->second); } // TODO check if it a know style set the styleid so that the custom styles are kept during copy and paste - // in case styles are not added to the style manager they have to be deleted after loading to avoid leaking memeory + // in case styles are not added to the style manager they have to be deleted after loading to avoid leaking memory if (styleManager) { styleManager->add(it->second); } else { @@ -427,7 +427,7 @@ d->tableColumnStylesDotXmlStyles.insert(it->first, it->second); } // TODO check if it a know style set the styleid so that the custom styles are kept during copy and paste - // in case styles are not added to the style manager they have to be deleted after loading to avoid leaking memeory + // in case styles are not added to the style manager they have to be deleted after loading to avoid leaking memory if (styleManager) { styleManager->add(it->second); } else { @@ -467,7 +467,7 @@ d->tableRowStylesDotXmlStyles.insert(it->first, it->second); } // TODO check if it a know style set the styleid so that the custom styles are kept during copy and paste - // in case styles are not added to the style manager they have to be deleted after loading to avoid leaking memeory + // in case styles are not added to the style manager they have to be deleted after loading to avoid leaking memory if (styleManager) { styleManager->add(it->second); } else { @@ -507,7 +507,7 @@ d->tableCellStylesDotXmlStyles.insert(it->first, it->second); } // TODO check if it a know style set the styleid so that the custom styles are kept during copy and paste - // in case styles are not added to the style manager they have to be deleted after loading to avoid leaking memeory + // in case styles are not added to the style manager they have to be deleted after loading to avoid leaking memory if (styleManager) { styleManager->add(it->second); } else { @@ -547,7 +547,7 @@ d->sectionStylesDotXmlStyles.insert(it->first, it->second); } // TODO check if it a know style set the styleid so that the custom styles are kept during copy and paste - // in case styles are not added to the style manager they have to be deleted after loading to avoid leaking memeory + // in case styles are not added to the style manager they have to be deleted after loading to avoid leaking memory if (styleManager) { styleManager->add(it->second); } else { @@ -687,7 +687,7 @@ for (; it != tableTemplates.end(); ++it) { d->tableTemplates.insert(it->first, it->second); - // in case templates are not added to the style manager they have to be deleted after loading to avoid leaking memeory + // in case templates are not added to the style manager they have to be deleted after loading to avoid leaking memory if (styleManager) { styleManager->add(it->second); } else { diff --git a/plugins/flake/textshape/kotext/styles/KoListLevelProperties.h b/plugins/flake/textshape/kotext/styles/KoListLevelProperties.h --- a/plugins/flake/textshape/kotext/styles/KoListLevelProperties.h +++ b/plugins/flake/textshape/kotext/styles/KoListLevelProperties.h @@ -141,7 +141,7 @@ qreal minimumDistance() const; /// sets the margin of the list - void setMargin(qreal vlaue); + void setMargin(qreal value); /// returns the margin of the list qreal margin() const; diff --git a/plugins/flake/textshape/textlayout/ListItemsHelper.cpp b/plugins/flake/textshape/textlayout/ListItemsHelper.cpp --- a/plugins/flake/textshape/textlayout/ListItemsHelper.cpp +++ b/plugins/flake/textshape/textlayout/ListItemsHelper.cpp @@ -475,7 +475,7 @@ qreal counterSpacing = 0; if (format.boolProperty(KoListStyle::AlignmentMode)) { - // for aligmentmode spacing should be 0 + // for AlignmentMode spacing should be 0 counterSpacing = 0; } else { if (listStyle != KoListStyle::None) { diff --git a/plugins/flake/textshape/textlayout/Mainpage.dox b/plugins/flake/textshape/textlayout/Mainpage.dox --- a/plugins/flake/textshape/textlayout/Mainpage.dox +++ b/plugins/flake/textshape/textlayout/Mainpage.dox @@ -33,7 +33,7 @@ * created QTextDocument with KoText. This has the implication that all * the extra content is stored inside the document. We add QTextFormat * based properties for that as can be seen in the styles (see - * KoParagraphStyle::Properities for instance), and we allow managers to + * KoParagraphStyle::Properties for instance), and we allow managers to * be stored on the document too. So for example a KoStyleManager will * be stored as a property on the QTextDocument and you can access that * using the KoTextDocument API. Note that you can use the diff --git a/plugins/impex/jpeg/kis_jpeg_converter.cc b/plugins/impex/jpeg/kis_jpeg_converter.cc --- a/plugins/impex/jpeg/kis_jpeg_converter.cc +++ b/plugins/impex/jpeg/kis_jpeg_converter.cc @@ -86,7 +86,7 @@ ( *( cinfo->err->format_message ) ) ( cinfo, jpegLastErrorMsg ); /* Jump to the setjmp point */ - throw std::runtime_error( jpegLastErrorMsg ); // or your preffered exception ... + throw std::runtime_error( jpegLastErrorMsg ); // or your preferred exception ... } J_COLOR_SPACE getColorTypeforColorSpace(const KoColorSpace * cs) diff --git a/plugins/impex/xcf/3rdparty/xcftools/xcf-general.c b/plugins/impex/xcf/3rdparty/xcftools/xcf-general.c --- a/plugins/impex/xcf/3rdparty/xcftools/xcf-general.c +++ b/plugins/impex/xcf/3rdparty/xcftools/xcf-general.c @@ -60,7 +60,7 @@ ncolors = xcfL(ptr+8) ; if( ncolors > 256 ) FatalBadXCF("Colormap has %" PRIu32 " entries",ncolors); - /* Surprise! Some older verion of the Gimp computed the wrong length + /* Surprise! Some older version of the Gimp computed the wrong length * word, and the _reader_ always just reads three bytes per color * and ignores the length tag! Duplicate this so we too can read * the buggy XCF files. diff --git a/plugins/python/comics_project_management_tools/comics_project_manager_docker.py b/plugins/python/comics_project_management_tools/comics_project_manager_docker.py --- a/plugins/python/comics_project_management_tools/comics_project_manager_docker.py +++ b/plugins/python/comics_project_management_tools/comics_project_manager_docker.py @@ -673,7 +673,7 @@ self.pagesModel.appendRow(newPageItem) """ - Write to the json configuratin file. + Write to the json configuration file. This also checks the current state of the pages list. """ @@ -734,8 +734,9 @@ self.slot_write_config() """ - An attempt at making the description editable from the comic pages list. It is currently not working because ZipFile - has no overwrite mechanism, and I don't have the energy to write one yet. + An attempt at making the description editable from the comic pages list. + It is currently not working because ZipFile has no overwrite mechanism, + and I don't have the energy to write one yet. """ def slot_write_description(self, index): @@ -827,7 +828,8 @@ """ Resize all the pages in the pages list. - It will show a dialog with the options for resizing. Then, it will try to pop up a progress dialog while resizing. + It will show a dialog with the options for resizing. + Then, it will try to pop up a progress dialog while resizing. The progress dialog shows the remaining time and pages. """ diff --git a/plugins/tools/basictools/kis_tool_gradient.cc b/plugins/tools/basictools/kis_tool_gradient.cc --- a/plugins/tools/basictools/kis_tool_gradient.cc +++ b/plugins/tools/basictools/kis_tool_gradient.cc @@ -231,7 +231,7 @@ m_cmbShape->addItem(i18nc("the gradient will be drawn bilinearly", "Bi-Linear")); m_cmbShape->addItem(i18nc("the gradient will be drawn radially", "Radial")); m_cmbShape->addItem(i18nc("the gradient will be drawn in a square around a centre", "Square")); - m_cmbShape->addItem(i18nc("the gradient will be drawn as an assymmetric cone", "Conical")); + m_cmbShape->addItem(i18nc("the gradient will be drawn as an asymmetric cone", "Conical")); m_cmbShape->addItem(i18nc("the gradient will be drawn as a symmetric cone", "Conical Symmetric")); m_cmbShape->addItem(i18nc("the gradient will be drawn in a selection outline", "Shaped")); addOptionWidgetOption(m_cmbShape, m_lbShape); diff --git a/plugins/tools/basictools/kis_tool_move.cc b/plugins/tools/basictools/kis_tool_move.cc --- a/plugins/tools/basictools/kis_tool_move.cc +++ b/plugins/tools/basictools/kis_tool_move.cc @@ -280,7 +280,7 @@ void KisToolMove::requestUndoDuringStroke() { - // we shouldn't cancel the stroke on Ctrl+Z, becasue it will not only + // we shouldn't cancel the stroke on Ctrl+Z, because it will not only // cancel the stroke, but also undo the previous command, which we haven't // yet pushed to the stack } diff --git a/plugins/tools/karbonplugins/tools/CalligraphyTool/BUGS b/plugins/tools/karbonplugins/tools/CalligraphyTool/BUGS --- a/plugins/tools/karbonplugins/tools/CalligraphyTool/BUGS +++ b/plugins/tools/karbonplugins/tools/CalligraphyTool/BUGS @@ -5,8 +5,8 @@ * ctrl+mouse weel zoom don't center correctly * at times the cpu usage remains very high even without doing anything (shape proprieties seem to be the cause) * colors used are not those of the global palette (I think) -* a "degenerate" curve doesn't show anything... I mean when you have only two points in the same position -- if it has control points it shows as expected in inkscape, firefox, opera, and openoffice, not in konqueror. When it hasn't control points I whould expect it to show, nothing, a circle and a square respectively when using But Cap, Round Cap, and Square Cap. I only tested this for inkscape, which showed this behavior except in the third case, where it didn't show anything. +* a "degenerate" curve doesn't show anything... I mean when you have only two points in the same position -- if it has control points it shows as expected in inkscape, firefox, opera, and openoffice, not in konqueror. When it hasn't control points I would expect it to show, nothing, a circle and a square respectively when using But Cap, Round Cap, and Square Cap. I only tested this for inkscape, which showed this behavior except in the third case, where it didn't show anything. * In a path without control points sometimes at one side there is still a piece of path when there shouldn't... (maybe a Qt bug if it uses QPainterPath to paint) * in KoParameterShape there is a repainting error when moving the control points * when the path generated by the calligraphy tool has a _lot_ of points bezierFit() crashes * KoPathPoint.cpp:374 Does fuzzycompare with 0.0 work, I don't think so.. \ No newline at end of file diff --git a/plugins/tools/tool_smart_patch/kis_tool_smart_patch.cpp b/plugins/tools/tool_smart_patch/kis_tool_smart_patch.cpp --- a/plugins/tools/tool_smart_patch/kis_tool_smart_patch.cpp +++ b/plugins/tools/tool_smart_patch/kis_tool_smart_patch.cpp @@ -217,7 +217,7 @@ QRectF outlineDocRect = currentImage()->pixelToDocument(outlinePixelRect); // This adjusted call is needed as we paint with a 3 pixel wide brush and the pen is outside the bounds of the path - // Pen uses view coordinates so we have to zoom the document value to match 2 pixel in view coordiates + // Pen uses view coordinates so we have to zoom the document value to match 2 pixel in view coordinates // See BUG 275829 qreal zoomX; qreal zoomY; diff --git a/sdk/tests/KisRectsCollisionsTracker.h b/sdk/tests/KisRectsCollisionsTracker.h --- a/sdk/tests/KisRectsCollisionsTracker.h +++ b/sdk/tests/KisRectsCollisionsTracker.h @@ -51,7 +51,7 @@ Q_FOREACH (const QRect &rc, m_rectsInProgress) { if (rc != rect && rect.intersects(rc)) { - ENTER_FUNCTION() << "FAIL: concurrect access from" << rect << "to" << rc << tag; + ENTER_FUNCTION() << "FAIL: concurrent access from" << rect << "to" << rc << tag; return false; } }