diff --git a/HACKING b/HACKING --- a/HACKING +++ b/HACKING @@ -157,7 +157,7 @@ as well as run autopep8 via shortcuts. pep8.py and autopep8.py can suppress select rules via the "--ignore" command line argument. -To ignore the 79 charachers per line rule, pep8.py can be called like this: +To ignore the 79 characters per line rule, pep8.py can be called like this: pep8.py --ignore=E501 diff --git a/README.android.md b/README.android.md --- a/README.android.md +++ b/README.android.md @@ -1,19 +1,19 @@ # Building Krita for Android First of all, I use linux to do my builds and testing. Although, -they _should_ work on Windows/macOS, I cannott give any guarentee +they _should_ work on Windows/macOS, I cannot give any guarantee that it will. ## Setting up Android SDK and NDK -We right now use android ndk version `r18b` to do our builds. So, +We right now use Android NDK version `r18b` to do our builds. So, I would recommend to use that. Download it from [google's website](https://developer.android.com/ndk/downloads/older_releases.html) then extract it. Next, Android SDK. You can either download Android Studio or just the `sdk-tools`. Both could be downloaded from [google's website](https://developer.android.com/studio). -If you downloaded Android Studio then open sdk manager and download +If you downloaded Android Studio then open SDK manager and download `Android SDK Build-Tools`. (more info: https://developer.android.com/studio/intro/update#sdk-manager) 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 @@ -688,11 +688,11 @@ The fact that a processing visitor does a really simple task (processes a single node) that is very easy to report progress using progress bars in the layer box. We just need to use progress - 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 - create a =KoUpdater= object for you. And all is done. You can see - an example in =KisTransformProcessingVisitor= class. + proxy of the node we process (=KisNodeProgressProxy=). Our + processings framework provides an even easier way of doing this. + You just need to instantiate a =ProgressHelper= object and ask it + to create a =KoUpdater= object for you. And all is done. You can + see an example in =KisTransformProcessingVisitor= class. ** Testing Usage of a common framework makes testing really simple. There is a diff --git a/libs/brush/kis_auto_brush.cpp b/libs/brush/kis_auto_brush.cpp --- a/libs/brush/kis_auto_brush.cpp +++ b/libs/brush/kis_auto_brush.cpp @@ -120,7 +120,7 @@ return new KisAutoBrush(*this); } -/* It's difficult to predict the mask height when exaclty when there are +/* It's difficult to predict the mask height when exactly when there are * more than 2 spikes, so we return an upperbound instead. */ static KisDabShape lieAboutDabShape(KisDabShape const& shape) { diff --git a/libs/flake/KoParameterShape.h b/libs/flake/KoParameterShape.h --- a/libs/flake/KoParameterShape.h +++ b/libs/flake/KoParameterShape.h @@ -101,7 +101,7 @@ * * It is no longer a parametric shape when the path was manipulated * - * @return true if it is a parametic shape, false otherwise + * @return true if it is a parametric shape, false otherwise */ bool isParametricShape() const; diff --git a/libs/global/KisSignalMapper.h b/libs/global/KisSignalMapper.h --- a/libs/global/KisSignalMapper.h +++ b/libs/global/KisSignalMapper.h @@ -62,7 +62,7 @@ with particular objects using setMapping(). The objects' signals can then be connected to the map() slot which will emit the mapped() signal with the string or integer associated with the - original signalling object. Mappings can be removed later using + original signaling object. Mappings can be removed later using removeMappings(). Example: Suppose we want to create a custom widget that contains diff --git a/libs/global/KisSignalMapper.cpp b/libs/global/KisSignalMapper.cpp --- a/libs/global/KisSignalMapper.cpp +++ b/libs/global/KisSignalMapper.cpp @@ -77,7 +77,7 @@ with particular objects using setMapping(). The objects' signals can then be connected to the map() slot which will emit the mapped() signal with the string or integer associated with the - original signalling object. Mappings can be removed later using + original signaling object. Mappings can be removed later using removeMappings(). Example: Suppose we want to create a custom widget that contains diff --git a/libs/image/kis_image.h b/libs/image/kis_image.h --- a/libs/image/kis_image.h +++ b/libs/image/kis_image.h @@ -971,7 +971,7 @@ * image will be reloaded into UI by sigSizeChanged(), so there is * no need to inform the UI about individual dirty rects. * - * The last call to enableUIUpdates() will return the list of udpates + * The last call to enableUIUpdates() will return the list of updates * that were requested while they were blocked. */ void disableUIUpdates() override; diff --git a/libs/image/kis_image.cc b/libs/image/kis_image.cc --- a/libs/image/kis_image.cc +++ b/libs/image/kis_image.cc @@ -1828,7 +1828,7 @@ void KisImage::notifySelectionChanged() { /** - * The selection is calculated asynchromously, so it is not + * The selection is calculated asynchronously, so it is not * handled by disableUIUpdates() and other special signals of * KisImageSignalRouter */ diff --git a/libs/image/kis_node.h b/libs/image/kis_node.h --- a/libs/image/kis_node.h +++ b/libs/image/kis_node.h @@ -188,7 +188,7 @@ /** * The rendering of the image may not always happen in the order - * of the main graph. Pass-through nodes ake some subgraphs + * of the main graph. Pass-through nodes make some subgraphs * linear, so it the order of rendering change. projectionLeaf() * is a special interface of KisNode that represents "a graph for * projection rendering". Therefore the nodes in projectionLeaf() @@ -209,7 +209,7 @@ * a requested rect. E.g. we change a rect of 2x2, then we want to * apply a convolution filter with kernel 4x4 (changeRect is * (2+2*3)x(2+2*3)=8x8) to that area. The rect that should be updated - * on the layer will be exaclty 8x8. More than that the needRect for + * on the layer will be exactly 8x8. More than that the needRect for * that update will be 14x14. See \ref needeRect. */ virtual QRect changeRect(const QRect &rect, PositionToFilthy pos = N_FILTHY) const; diff --git a/libs/image/tiles3/kis_hline_iterator.cpp b/libs/image/tiles3/kis_hline_iterator.cpp --- a/libs/image/tiles3/kis_hline_iterator.cpp +++ b/libs/image/tiles3/kis_hline_iterator.cpp @@ -57,7 +57,7 @@ m_tileWidth = m_pixelSize * KisTileData::HEIGHT; - // let's prealocate first row + // let's preallocate first row for (quint32 i = 0; i < m_tilesCacheSize; i++){ fetchTileDataForCache(m_tilesCache[i], m_leftCol + i, m_row); } diff --git a/libs/image/tiles3/kis_memento_manager.h b/libs/image/tiles3/kis_memento_manager.h --- a/libs/image/tiles3/kis_memento_manager.h +++ b/libs/image/tiles3/kis_memento_manager.h @@ -118,7 +118,7 @@ /** - * Removes all the history that preceds the revision + * Removes all the history that precedes the revision * pointed by oldestMemento. That is after calling to * purgeHistory(someMemento) you won't be able to do * rollback(someMemento) anymore. diff --git a/libs/image/tiles3/kis_tile.h b/libs/image/tiles3/kis_tile.h --- a/libs/image/tiles3/kis_tile.h +++ b/libs/image/tiles3/kis_tile.h @@ -44,7 +44,7 @@ /** * Provides abstraction to a tile. * + A tile contains a part of a PaintDevice, - * but only the individual pixels are accesable + * but only the individual pixels are accessible * and that only via iterators. * + Actual tile data is stored in KisTileData that can be * shared between many tiles diff --git a/libs/image/tiles3/kis_tile_data_interface.h b/libs/image/tiles3/kis_tile_data_interface.h --- a/libs/image/tiles3/kis_tile_data_interface.h +++ b/libs/image/tiles3/kis_tile_data_interface.h @@ -185,7 +185,7 @@ inline qint32 numUsers() const; /** - * Conveniece method. Returns true iff the tile data is linked to + * Convenience method. Returns true iff the tile data is linked to * information only and therefore can be swapped out easily. * * Effectively equivalent to: (mementoed() && numUsers() <= 1) diff --git a/libs/image/tiles3/kis_vline_iterator.cpp b/libs/image/tiles3/kis_vline_iterator.cpp --- a/libs/image/tiles3/kis_vline_iterator.cpp +++ b/libs/image/tiles3/kis_vline_iterator.cpp @@ -62,7 +62,7 @@ m_tileSize = m_lineStride * KisTileData::HEIGHT; - // let's prealocate first row + // let's preallocate first row for (int i = 0; i < m_tilesCacheSize; i++){ fetchTileDataForCache(m_tilesCache[i], m_column, m_topRow + i); } diff --git a/libs/image/tiles3/tests/kis_lockless_stack_test.cpp b/libs/image/tiles3/tests/kis_lockless_stack_test.cpp --- a/libs/image/tiles3/tests/kis_lockless_stack_test.cpp +++ b/libs/image/tiles3/tests/kis_lockless_stack_test.cpp @@ -48,7 +48,7 @@ } -/************ BENCHMARKING INFRASTRACTURE ************************/ +/************ BENCHMARKING INFRASTRUCTURE ************************/ #define NUM_TYPES 2 diff --git a/libs/libkis/Resource.h b/libs/libkis/Resource.h --- a/libs/libkis/Resource.h +++ b/libs/libkis/Resource.h @@ -102,7 +102,7 @@ /** * Change the internal data of the resource to the given byte * array. If the byte array is not valid, setData returns - * false, otherwwise true. + * false, otherwise true. */ bool setData(QByteArray data); diff --git a/libs/odf/KoBorder.cpp b/libs/odf/KoBorder.cpp --- a/libs/odf/KoBorder.cpp +++ b/libs/odf/KoBorder.cpp @@ -570,7 +570,7 @@ lineEnd.setY(lineEnd.y() + inwardsAcross * displacement); } - // Adjust for neigboring inner lines. + // Adjust for neighboring inner lines. if (neighbour1 && neighbour1->style == BorderDouble) { displacement = neighbour1->outerPen.widthF() + neighbour1->spacing; if (isVertical) { diff --git a/libs/odf/KoOdfBibliographyConfiguration.h b/libs/odf/KoOdfBibliographyConfiguration.h --- a/libs/odf/KoOdfBibliographyConfiguration.h +++ b/libs/odf/KoOdfBibliographyConfiguration.h @@ -70,7 +70,7 @@ void setSortByPosition(bool enable); /** - * Numberred entries + * Numbered entries * If text:numbered-entries attribute is true then bibliography entries or citations will be numbered. */ bool numberedEntries() const; diff --git a/libs/pigment/KoBasicHistogramProducers.h b/libs/pigment/KoBasicHistogramProducers.h --- a/libs/pigment/KoBasicHistogramProducers.h +++ b/libs/pigment/KoBasicHistogramProducers.h @@ -79,7 +79,7 @@ /** * The order in which channels() returns is not the same as the internal representation, * that of the pixel internally. This method converts external usage to internal usage. - * This method uses some basic assumtpions about the layout of the pixel, so _extremely_ + * This method uses some basic assumptions about the layout of the pixel, so _extremely_ * exotic spaces might want to override this (see makeExternalToInternal source for * those assumptions) **/ diff --git a/libs/pigment/Mainpage.dox b/libs/pigment/Mainpage.dox --- a/libs/pigment/Mainpage.dox +++ b/libs/pigment/Mainpage.dox @@ -2,7 +2,7 @@ * \mainpage * Pigment is a Color Manipulation System with pluggable color spaces. Color spaces * can be based on the LCMS library, or using - * the OpenCTL implmenetation of the Color + * the OpenCTL implmentation of the Color * Transformation Langboth are optional. * * Pigment color spaces offers support for many common manipulations and for diff --git a/libs/pigment/compositeops/KoCompositeOpFunctions.h b/libs/pigment/compositeops/KoCompositeOpFunctions.h --- a/libs/pigment/compositeops/KoCompositeOpFunctions.h +++ b/libs/pigment/compositeops/KoCompositeOpFunctions.h @@ -793,7 +793,7 @@ template inline T cfFogLightenIFSIllusions(T src, T dst) { using namespace Arithmetic; - //Known as Bright Blending mode found in IFS Illusions. Picked this name because the shading reminds me of fog when overlaying with a gradientt. + //Known as Bright Blending mode found in IFS Illusions. Picked this name because the shading reminds me of fog when overlaying with a gradient. qreal fsrc = scale(src); qreal fdst = scale(dst); @@ -844,7 +844,7 @@ template inline T cfModuloShiftContinuous(T src, T dst) { using namespace Arithmetic; - //This blending mode do not behave like difference/equilavent with destination layer inverted if you use group layer on addition while the content of group layer contains several addition-mode layers, it works as expected on float images. So, no need to change this. + //This blending mode do not behave like difference/equivalent with destination layer inverted if you use group layer on addition while the content of group layer contains several addition-mode layers, it works as expected on float images. So, no need to change this. qreal fsrc = scale(src); qreal fdst = scale(dst); diff --git a/libs/pigment/compositeops/KoCompositeOps.h b/libs/pigment/compositeops/KoCompositeOps.h --- a/libs/pigment/compositeops/KoCompositeOps.h +++ b/libs/pigment/compositeops/KoCompositeOps.h @@ -96,7 +96,7 @@ static KoCompositeOp* createAlphaDarkenOp(const KoColorSpace *cs) { // TODO: optimized code is disabled for 4.2 release, - // becasue it causes bug https://bugs.kde.org/show_bug.cgi?id=404133 + // because it causes bug https://bugs.kde.org/show_bug.cgi?id=404133 if (useCreamyAlphaDarken()) { return new KoCompositeOpAlphaDarken(cs); } else { diff --git a/libs/pigment/compositeops/KoStreamedMath.h b/libs/pigment/compositeops/KoStreamedMath.h --- a/libs/pigment/compositeops/KoStreamedMath.h +++ b/libs/pigment/compositeops/KoStreamedMath.h @@ -190,7 +190,7 @@ Vc::float_v::AsArg c3) { /** * FIXME: make conversion float->int - * use methematical rounding + * use mathematical rounding */ const quint32 lowByteMask = 0xFF; 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 @@ -110,7 +110,7 @@ file.close(); if (QProcess::execute(cmd) != 0) { - errorPigment << "An error has occurred when executing : '" << cmd << "' the most likely cause is that 'dot' command is missing, and that you should install graphviz (from http://www.graphiz.org)"; + errorPigment << "An error has occurred when executing : '" << cmd << "' the most likely cause is that 'dot' command is missing, and that you should install graphviz (from http://www.graphviz.org)"; } } else { errorPigment << "Unknown output type : " << outputType; diff --git a/libs/ui/KisApplication.cpp b/libs/ui/KisApplication.cpp --- a/libs/ui/KisApplication.cpp +++ b/libs/ui/KisApplication.cpp @@ -726,7 +726,7 @@ // all autosave files for our application QStringList autosaveFiles = dir.entryList(filters, QDir::Files | QDir::Hidden); - // Visibile autosave files + // Visible autosave files filters = QStringList() << QString("krita-*-*-autosave.kra"); autosaveFiles += dir.entryList(filters, QDir::Files); diff --git a/libs/ui/KisDocument.cpp b/libs/ui/KisDocument.cpp --- a/libs/ui/KisDocument.cpp +++ b/libs/ui/KisDocument.cpp @@ -946,8 +946,8 @@ { /** - * The caller guarantees that noone else uses the document (usually, - * it is a temporary docuent created specifically for exporting), so + * The caller guarantees that no one else uses the document (usually, + * it is a temporary document created specifically for exporting), so * we don't need to copy or lock the document. Instead we should just * ensure the barrier lock is synced and then released. */ diff --git a/libs/ui/KisImportExportManager.cpp b/libs/ui/KisImportExportManager.cpp --- a/libs/ui/KisImportExportManager.cpp +++ b/libs/ui/KisImportExportManager.cpp @@ -269,7 +269,7 @@ mimeTypes << "audio/flac"; dialog.setMimeTypeFilters(mimeTypes); - dialog.setCaption(i18nc("@titile:window", "Open Audio")); + dialog.setCaption(i18nc("@title:window", "Open Audio")); return dialog.filename(); } diff --git a/libs/ui/KisMainWindow.cpp b/libs/ui/KisMainWindow.cpp --- a/libs/ui/KisMainWindow.cpp +++ b/libs/ui/KisMainWindow.cpp @@ -620,7 +620,7 @@ { /** * If we are the last view of the window, Qt will not activate another tab - * before destroying tab/window. In ths case we should clear oll the dangling + * before destroying tab/window. In this case we should clear all the dangling * pointers manually by setting the current view to null */ viewManager()->inputManager()->removeTrackedCanvas(view->canvasBase()); @@ -2418,7 +2418,7 @@ * Dirty workaround for a bug in Qt (checked on Qt 5.6.1): * * If you make a window "Show on top" and then switch to the tabbed mode - * the window will contiue to be painted in its initial "mid-screen" + * the window will continue to be painted in its initial "mid-screen" * position. It will persist here until you explicitly switch to its tab. */ if (viewMode == QMdiArea::TabbedView) { diff --git a/libs/ui/KisPaletteEditor.h b/libs/ui/KisPaletteEditor.h --- a/libs/ui/KisPaletteEditor.h +++ b/libs/ui/KisPaletteEditor.h @@ -96,7 +96,7 @@ /** * @brief renameGroup * @param oldName - * @return new name if change accpeted, empty string if cancelled + * @return new name if change accepted, empty string if cancelled */ QString renameGroup(const QString &oldName); void changeGroupRowCount(const QString &name, int newRowCount); diff --git a/libs/ui/canvas/kis_canvas2.cpp b/libs/ui/canvas/kis_canvas2.cpp --- a/libs/ui/canvas/kis_canvas2.cpp +++ b/libs/ui/canvas/kis_canvas2.cpp @@ -630,8 +630,8 @@ void KisCanvas2::startUpdateInPatches(const QRect &imageRect) { /** - * We don't do patched loading for openGL canvas, becasue it loads - * the tiles, which are bascially "patches". Therefore, big chunks + * We don't do patched loading for openGL canvas, because it loads + * the tiles, which are basically "patches". Therefore, big chunks * of memory are never allocated. */ if (m_d->currentCanvasIsOpenGL) { diff --git a/libs/ui/canvas/kis_grid_config.h b/libs/ui/canvas/kis_grid_config.h --- a/libs/ui/canvas/kis_grid_config.h +++ b/libs/ui/canvas/kis_grid_config.h @@ -212,7 +212,7 @@ return *this == defaultGrid(); } - /// Transform the grids using the given \p tranform. Please note that \p transform + /// Transform the grids using the given \p transform. Please note that \p transform /// should be in 'image' coordinate system. /// Used with image-wide transformations. void transform(const QTransform &transform); diff --git a/libs/ui/canvas/kis_guides_config.h b/libs/ui/canvas/kis_guides_config.h --- a/libs/ui/canvas/kis_guides_config.h +++ b/libs/ui/canvas/kis_guides_config.h @@ -121,7 +121,7 @@ bool isDefault() const; - /// Transform the guides using the given \p tranform. Please note that \p transform + /// Transform the guides using the given \p transform. Please note that \p transform /// should be in 'document' coordinate system. /// Used with image-wide transformations. void transform(const QTransform &transform); diff --git a/libs/ui/canvas/kis_image_patch.h b/libs/ui/canvas/kis_image_patch.h --- a/libs/ui/canvas/kis_image_patch.h +++ b/libs/ui/canvas/kis_image_patch.h @@ -97,7 +97,7 @@ * The rect that was requested during creation * of the patch. It equals to patchRect withount * borders - * These borders are introdused for more accurate + * These borders are introduced for more accurate * smooth scaling to reduce border effects * (IN m_image PIXELS, relative to m_image's topLeft); diff --git a/libs/ui/canvas/kis_prescaled_projection.cpp b/libs/ui/canvas/kis_prescaled_projection.cpp --- a/libs/ui/canvas/kis_prescaled_projection.cpp +++ b/libs/ui/canvas/kis_prescaled_projection.cpp @@ -208,7 +208,7 @@ } /** - * We needn't this stuff ouside KisImage's area. We're not displaying + * We needn't this stuff outside KisImage's area. We're not displaying * anything painted outside the image anyway. */ QRect croppedImageRect = dirtyImageRect & m_d->image->bounds(); diff --git a/libs/ui/flake/kis_node_dummies_graph.h b/libs/ui/flake/kis_node_dummies_graph.h --- a/libs/ui/flake/kis_node_dummies_graph.h +++ b/libs/ui/flake/kis_node_dummies_graph.h @@ -50,7 +50,7 @@ public: /** - * Take care tha KisNodeDummy does not take ownership over + * Take care that KisNodeDummy does not take ownership over * the \p nodeShape since the handling of the removal of the * children of the shape is done by flake. So please handle it * manually. diff --git a/libs/ui/input/kis_tool_invocation_action.cpp b/libs/ui/input/kis_tool_invocation_action.cpp --- a/libs/ui/input/kis_tool_invocation_action.cpp +++ b/libs/ui/input/kis_tool_invocation_action.cpp @@ -87,8 +87,8 @@ if (!inputManager()) return; /** - * Activate call might ave come before actual input manager or tool proxy - * was attached. So we may end up wil null activatedToolProxy. + * Activate call might have come before actual input manager or tool proxy + * was attached. So we may end up with null activatedToolProxy. */ if (d->activatedToolProxy) { d->activatedToolProxy->deactivateToolAction(KisTool::Primary); diff --git a/libs/ui/kis_node_model.h b/libs/ui/kis_node_model.h --- a/libs/ui/kis_node_model.h +++ b/libs/ui/kis_node_model.h @@ -75,7 +75,7 @@ /// Use to communicate a progress report to the section delegate on an action (a value of -1 or a QVariant() disable the progress bar ProgressRole, - /// Speacial activation role which is emitted when the user Atl-clicks on a section + /// Special activation role which is emitted when the user Atl-clicks on a section /// The item is first activated with ActiveRole, then a separate AlternateActiveRole comes AlternateActiveRole, diff --git a/libs/ui/kis_painting_assistant.h b/libs/ui/kis_painting_assistant.h --- a/libs/ui/kis_painting_assistant.h +++ b/libs/ui/kis_painting_assistant.h @@ -186,7 +186,7 @@ /// it will return false if we are in the middle of creating the assistant. virtual bool isAssistantComplete() const; - /// Transform the assistant using the given \p tranform. Please note that \p transform + /// Transform the assistant using the given \p transform. Please note that \p transform /// should be in 'document' coordinate system. /// Used with image-wide transformations. virtual void transform(const QTransform &transform); diff --git a/libs/ui/kis_paintop_option.h b/libs/ui/kis_paintop_option.h --- a/libs/ui/kis_paintop_option.h +++ b/libs/ui/kis_paintop_option.h @@ -96,7 +96,7 @@ } /** - * Re-implement this to set te widgets with the values in @p setting. + * Re-implement this to set the widgets with the values in @p setting. */ virtual void readOptionSetting(const KisPropertiesConfigurationSP setting) { Q_UNUSED(setting); diff --git a/libs/ui/kis_safe_document_loader.cpp b/libs/ui/kis_safe_document_loader.cpp --- a/libs/ui/kis_safe_document_loader.cpp +++ b/libs/ui/kis_safe_document_loader.cpp @@ -174,7 +174,7 @@ m_d->initialFileTimeStamp = initialFileInfo.lastModified(); if (s_fileSystemWatcher->files().contains(m_d->path) == false && initialFileInfo.exists()) { - //When a path is renamed it is removed, so we ought to readd it. + //When a path is renamed it is removed, so we ought to re-add it. s_fileSystemWatcher->addPath(m_d->path); } diff --git a/libs/ui/opengl/KisOpenGLUpdateInfoBuilder.cpp b/libs/ui/opengl/KisOpenGLUpdateInfoBuilder.cpp --- a/libs/ui/opengl/KisOpenGLUpdateInfoBuilder.cpp +++ b/libs/ui/opengl/KisOpenGLUpdateInfoBuilder.cpp @@ -104,7 +104,7 @@ /** * Why the rect is artificial? That's easy! * It does not represent any real piece of the image. It is - * intentionally stretched to get through the overlappping + * intentionally stretched to get through the overlapping * stripes of neutrality and poke neighbouring tiles. * Thanks to the rect we get the coordinates of all the tiles * involved into update process diff --git a/libs/ui/opengl/kis_opengl_canvas2.cpp b/libs/ui/opengl/kis_opengl_canvas2.cpp --- a/libs/ui/opengl/kis_opengl_canvas2.cpp +++ b/libs/ui/opengl/kis_opengl_canvas2.cpp @@ -1025,7 +1025,7 @@ { #ifdef Q_OS_MACOS /** - * On OSX openGL defferent (shared) contexts have different execution queues. + * On OSX openGL different (shared) contexts have different execution queues. * It means that the textures uploading and their painting can be easily reordered. * To overcome the issue, we should ensure that the textures are uploaded in the * same openGL context as the painting is done. diff --git a/libs/ui/tool/kis_tool.h b/libs/ui/tool/kis_tool.h --- a/libs/ui/tool/kis_tool.h +++ b/libs/ui/tool/kis_tool.h @@ -87,7 +87,7 @@ /** * Called by KisToolProxy when the primary is no longer possible * to be started now, e.g. when its modifiers and released. The - * tool is supposed revert all the preparetions it has doen in + * tool is supposed to revert all the preparations it has done in * activatePrimaryAction(). */ virtual void deactivatePrimaryAction(); diff --git a/libs/ui/widgets/KisNewsWidget.cpp b/libs/ui/widgets/KisNewsWidget.cpp --- a/libs/ui/widgets/KisNewsWidget.cpp +++ b/libs/ui/widgets/KisNewsWidget.cpp @@ -207,7 +207,7 @@ } // minor versions are the same, so maybe bugfix version is different - // sometimes we don't communicate this, implictly make 0 if it doesn't exist + // sometimes we don't communicate this, implicitly make 0 if it doesn't exist if (onlineReleaseAnnouncement[2].isNull()) { onlineReleaseAnnouncement[2] = "0"; } diff --git a/libs/ui/widgets/kis_advanced_color_space_selector.cc b/libs/ui/widgets/kis_advanced_color_space_selector.cc --- a/libs/ui/widgets/kis_advanced_color_space_selector.cc +++ b/libs/ui/widgets/kis_advanced_color_space_selector.cc @@ -662,7 +662,7 @@ return name; } //B (0.34980, 0.35270) (4874K) (Direct Sunlight at noon)(obsolete) - //C (0.31039, 0.31905) (6774K) (avarage/north sky daylight)(obsolete) + //C (0.31039, 0.31905) (6774K) (average/north sky daylight)(obsolete) //D50 (0.34773, 0.35952) (5003K) (Horizon Light, default color of white paper, ICC profile standard illuminant) if ((whitePoint[0]>0.34773-0.005 && whitePoint[0]<0.34773 + 0.005) && (whitePoint[1]>0.35952-0.005 && whitePoint[1]<0.35952 + 0.005)){ diff --git a/libs/ui/widgets/kis_curve_widget.cpp b/libs/ui/widgets/kis_curve_widget.cpp --- a/libs/ui/widgets/kis_curve_widget.cpp +++ b/libs/ui/widgets/kis_curve_widget.cpp @@ -369,7 +369,7 @@ curveX = d->m_curve.points().at(i).x(); curveY = d->m_curve.points().at(i).y(); - int handleSize = 12; // how big should control points be (diamater size) + int handleSize = 12; // how big should control points be (diameter size) if (i == d->m_grab_point_index) { // active point is slightly more "bold" diff --git a/libs/ui/widgets/kis_paintop_presets_popup.h b/libs/ui/widgets/kis_paintop_presets_popup.h --- a/libs/ui/widgets/kis_paintop_presets_popup.h +++ b/libs/ui/widgets/kis_paintop_presets_popup.h @@ -67,7 +67,7 @@ /// returns the internal ID for the paint op (brush engine) QString currentPaintOpId(); - ///fill the cutoutOverlay rect with the cotent of an image, used to get the image back when selecting a preset + ///fill the cutoutOverlay rect with the content of an image, used to get the image back when selecting a preset ///@param image image that will be used, should be image of an existing preset resource void setPresetImage(const QImage& image); diff --git a/libs/widgets/KisDlgInternalColorSelector.cpp b/libs/widgets/KisDlgInternalColorSelector.cpp --- a/libs/widgets/KisDlgInternalColorSelector.cpp +++ b/libs/widgets/KisDlgInternalColorSelector.cpp @@ -103,7 +103,7 @@ connect(m_d->paletteChooser, SIGNAL(sigPaletteSelected(KoColorSet*)), this, SLOT(slotChangePalette(KoColorSet*))); connect(m_ui->cmbNameList, SIGNAL(sigColorSelected(KoColor)), SLOT(slotColorUpdated(KoColor))); - // For some bizare reason, the modal dialog doesn't like having the colorset set, so let's not. + // For some bizarre reason, the modal dialog doesn't like having the colorset set, so let's not. if (config.paletteBox) { //TODO: Add disable signal as well. Might be not necessary...? KConfigGroup cfg(KSharedConfig::openConfig()->group("")); diff --git a/libs/widgets/KoResourceItemChooserSync.h b/libs/widgets/KoResourceItemChooserSync.h --- a/libs/widgets/KoResourceItemChooserSync.h +++ b/libs/widgets/KoResourceItemChooserSync.h @@ -44,7 +44,7 @@ int baseLength(); /// Set the base length - /// @param length base length for the items, will be clamped if ouside range + /// @param length base length for the items, will be clamped if outside range void setBaseLength(int length); Q_SIGNALS: diff --git a/libs/widgetutils/KisActionsSnapshot.h b/libs/widgetutils/KisActionsSnapshot.h --- a/libs/widgetutils/KisActionsSnapshot.h +++ b/libs/widgetutils/KisActionsSnapshot.h @@ -49,7 +49,7 @@ /** * Returns all action collections of the current snapshot * - * WARNING: the collections are owned by the shapshot! Don't destroy + * WARNING: the collections are owned by the snapshot! Don't destroy * the snapshot before you are done with the collections! */ QMap actionCollections(); diff --git a/libs/widgetutils/KoGroupButton.h b/libs/widgetutils/KoGroupButton.h --- a/libs/widgetutils/KoGroupButton.h +++ b/libs/widgetutils/KoGroupButton.h @@ -29,7 +29,7 @@ * * The group can thus look like one solid bar: ( button1 | button2 | button3 ) * - * For groupping layout can be used. For exclusive checkable behaviour assign QButtonGroup on the buttons. + * For grouping layout can be used. For exclusive checkable behaviour assign QButtonGroup on the buttons. */ class KRITAWIDGETUTILS_EXPORT KoGroupButton : public KisHighlightedToolButton { diff --git a/libs/widgetutils/KoProgressUpdater.cpp b/libs/widgetutils/KoProgressUpdater.cpp --- a/libs/widgetutils/KoProgressUpdater.cpp +++ b/libs/widgetutils/KoProgressUpdater.cpp @@ -192,7 +192,7 @@ { // This function runs in the app main thread. All the progress // updates arrive at the KoUpdaterPrivate instances through - // queued connections, so until we relinguish control to the + // queued connections, so until we relinquish control to the // event loop, the progress values cannot change, and that // won't happen until we return from this function (which is // triggered by a timer) diff --git a/libs/widgetutils/xmlgui/KisShortcutsEditor_p.h b/libs/widgetutils/xmlgui/KisShortcutsEditor_p.h --- a/libs/widgetutils/xmlgui/KisShortcutsEditor_p.h +++ b/libs/widgetutils/xmlgui/KisShortcutsEditor_p.h @@ -78,7 +78,7 @@ void capturedShortcut(const QVariant &, const QModelIndex &); /** - * Add @p action at hierchy level @p level. + * Add @p action at hierarchy level @p level. * * Filters out QActions (TODO: hmm) and unnamed actions before adding. * diff --git a/libs/widgetutils/xmlgui/kcheckaccelerators.cpp b/libs/widgetutils/xmlgui/kcheckaccelerators.cpp --- a/libs/widgetutils/xmlgui/kcheckaccelerators.cpp +++ b/libs/widgetutils/xmlgui/kcheckaccelerators.cpp @@ -113,7 +113,7 @@ return false; } - switch (e->type()) { // just simplify debuggin + switch (e->type()) { // just simplify debugging case QEvent::ShortcutOverride: if (key && (static_cast(e)->key() == key)) { block = true; diff --git a/libs/widgetutils/xmlgui/kpartgui.dtd b/libs/widgetutils/xmlgui/kpartgui.dtd --- a/libs/widgetutils/xmlgui/kpartgui.dtd +++ b/libs/widgetutils/xmlgui/kpartgui.dtd @@ -102,7 +102,7 @@ to KAction properties. --> - Options: - No option fetchs dummy design window state for paste in osxdeploy + No option fetches dummy design window state for paste in osxdeploy set set default values changing the background to image in " } diff --git a/packaging/macos/osxbuild.sh b/packaging/macos/osxbuild.sh --- a/packaging/macos/osxbuild.sh +++ b/packaging/macos/osxbuild.sh @@ -108,7 +108,7 @@ fi } -# print status messges +# print status messages print_msg() { printf "\e[32m%s\e[0m\n" "${1}" printf "%s\n" "${1}" >> ${OUPUT_LOG} @@ -476,7 +476,7 @@ printf "BUILDSTEPS:\t\t" printf "\n builddeps \t\t Run cmake step for 3rd party dependencies, optionally takes a [pkg] arg" printf "\n rebuilddeps \t\t Rerun make and make install step for 3rd party deps, optionally takes a [pkg] arg - \t\t\t usefull for cleaning install directory and quickly reinstall all deps." + \t\t\t useful for cleaning install directory and quickly reinstall all deps." printf "\n fixboost \t\t Fixes broken boost \@rpath on OSX" printf "\n build \t\t\t Builds krita" printf "\n buildtarball \t\t\t Builds krita from provided [file] tarball" diff --git a/packaging/macos/osxdeploy.sh b/packaging/macos/osxdeploy.sh --- a/packaging/macos/osxdeploy.sh +++ b/packaging/macos/osxdeploy.sh @@ -9,7 +9,7 @@ # A short explanation of what it does: # - Copies krita.app contents to kritadmg folder -# - Copies i/share to Contents/Resources excluding unnecesary files +# - Copies i/share to Contents/Resources excluding unnecessary files # - Copies translations, qml and quicklook PlugIns # - Copies i/plugins and i/lib/plugins to Contents/PlugIns @@ -21,13 +21,13 @@ # make install # the script changes dir to installation/bin to run macdeployqt as it can be buggy -# if not runned from the same folder as the binary is on. +# if not run from the same folder as the binary is on. # - Fix rpath from krita bin -# - Find missing libraries from plugins and copy to Framworks or plugins. +# - Find missing libraries from plugins and copy to Frameworks or plugins. # This uses oTool iterative to find all unique libraries, then it searches each # library fond in folder, and if not found attempts to copy contents -# to the appropiate folder, either Frameworks (if frameworks is in namefile, or +# to the appropriate folder, either Frameworks (if frameworks is in namefile, or # library has plugin isnot in path), or plugin if otherwise. # - Builds DMG @@ -44,7 +44,7 @@ exit fi -# print status messges +# print status messages print_msg() { printf "\e[32m${1}\e[0m\n" "${@:2}" # printf "%s\n" "${1}" >> ${OUPUT_LOG} @@ -101,14 +101,14 @@ \t\t\t security add-generic-password -a \"AC_USERNAME\" -w -s \"KRITA_AC_PASS\" - -notarize-pass \t If given, the Apple acount password. Otherwise an attempt will be macdeployqt_exists + -notarize-pass \t If given, the Apple account password. Otherwise an attempt will be macdeployqt_exists \t\t\t to get the password from keychain using the account given in option. -style \t\t Style file defined from 'dmgstyle.sh' output -bg \t\t Set a background image for dmg folder. \t\t\t osxdeploy needs an input image to attach to the dmg background -\t\t\t image recomended size is at least 950x500 +\t\t\t image recommended size is at least 950x500 " } @@ -253,7 +253,7 @@ # Add to libs_used # converts absolute buildroot path to @rpath find_needed_libs () { - # echo "Analizing libraries with oTool..." >&2 + # echo "Analyzing libraries with oTool..." >&2 local libs_used="" # input lib_lists founded for libFile in ${@}; do @@ -334,7 +334,7 @@ strip_python_dmginstall() { # reduce size of framework python # Removes tests, installers, pyenv, distutils - echo "Removing unnecesary files from Python.Framework to be packaged..." + echo "Removing unnecessary files from Python.Framework to be packaged..." PythonFrameworkBase="${KRITA_DMG}/krita.app/Contents/Frameworks/Python.framework" cd ${PythonFrameworkBase} @@ -545,7 +545,7 @@ # sign Frameworks and libs cd ${KRITA_DMG}/krita.app/Contents/Frameworks - # remove debug version as both versions cant be signed. + # remove debug version as both versions can't be signed. rm ${KRITA_DMG}/krita.app/Contents/Frameworks/QtScript.framework/Versions/Current/QtScript_debug find . -type f -perm 755 -or -name "*.dylib" -or -name "*.so" | batch_codesign find . -type d -name "*.framework" | xargs printf "%s/Versions/Current\n" | batch_codesign @@ -592,7 +592,7 @@ if [[ -n "$(grep 'Error' <<< ${altoolResponse})" ]]; then printf "ERROR: xcrun altool exited with the following error! \n\n%s\n\n" "${altoolResponse}" - printf "This could mean there is an error in AppleID autentication!\n" + printf "This could mean there is an error in AppleID authentication!\n" printf "aborting notarization\n" NOTARIZE="false" return @@ -664,7 +664,7 @@ chmod -Rf go-w "/Volumes/${DMG_title}" - # ensure all writting operations to dmg are over + # ensure all writing operations to dmg are over sync hdiutil detach $device @@ -689,7 +689,7 @@ ####################### # Program starts!! ######################## -# Run deploy command, instalation is assumed to exist in BUILDROOT/i +# Run deploy command, installation is assumed to exist in BUILDROOT/i krita_deploy # Code sign krita.app if signature given diff --git a/packaging/windows/installer/installer_krita.nsi b/packaging/windows/installer/installer_krita.nsi --- a/packaging/windows/installer/installer_krita.nsi +++ b/packaging/windows/installer/installer_krita.nsi @@ -513,7 +513,7 @@ ${ElseIf} $R0 == 1 # Upgrade ${If} $KritaNsisBitness == ${KRITA_INSTALLER_BITNESS} - # Slient about upgrade + # Silent about upgrade ${Else} # Upgrade but different arch ${IfNot} ${Silent} diff --git a/plugins/color/lcms2engine/colorprofiles/LcmsColorProfileContainer.cpp b/plugins/color/lcms2engine/colorprofiles/LcmsColorProfileContainer.cpp --- a/plugins/color/lcms2engine/colorprofiles/LcmsColorProfileContainer.cpp +++ b/plugins/color/lcms2engine/colorprofiles/LcmsColorProfileContainer.cpp @@ -170,7 +170,7 @@ double d3dummy [3] = {d->mediaWhitePoint.X, d->mediaWhitePoint.Y, d->mediaWhitePoint.Z}; QGenericMatrix<1, 3, double> whitePointMatrix(d3dummy); QTransform invertDummy(CAM1[0].X, CAM1[0].Y, CAM1[0].Z, CAM1[1].X, CAM1[1].Y, CAM1[1].Z, CAM1[2].X, CAM1[2].Y, CAM1[2].Z); - //we then abuse QTransform's invert function because it probably does matrix invertion 20 times better than I can program. + //we then abuse QTransform's invert function because it probably does matrix inversion 20 times better than I can program. //if the matrix is uninvertable, invertedDummy will be an identity matrix, which for us means that it won't give any noticeble //effect when we start multiplying. QTransform invertedDummy = invertDummy.inverted(); diff --git a/plugins/dockers/smallcolorselector/KisClickableGLImageWidget.cpp b/plugins/dockers/smallcolorselector/KisClickableGLImageWidget.cpp --- a/plugins/dockers/smallcolorselector/KisClickableGLImageWidget.cpp +++ b/plugins/dockers/smallcolorselector/KisClickableGLImageWidget.cpp @@ -125,11 +125,11 @@ namespace { QPen outerHandlePen(bool useOpacity) { - // opacity works inexpectedly in HDR mode, so let the user switch it off + // opacity works unexpectedly in HDR mode, so let the user switch it off return QPen(QColor(0, 0, 0, useOpacity ? 180 : 255), 0); } QPen innerHandlePen(bool useOpacity) { - // opacity works inexpectedly in HDR mode, so let the user switch it off + // opacity works unexpectedly in HDR mode, so let the user switch it off return QPen(QColor(255, 255, 255, useOpacity ? 180 : 255), 0); } } diff --git a/plugins/filters/gaussianhighpass/gaussianhighpass_filter.cpp b/plugins/filters/gaussianhighpass/gaussianhighpass_filter.cpp --- a/plugins/filters/gaussianhighpass/gaussianhighpass_filter.cpp +++ b/plugins/filters/gaussianhighpass/gaussianhighpass_filter.cpp @@ -92,7 +92,7 @@ blurAmount, blurAmount, channelFlags, convolutionUpdater, - true); // make sure we cerate an internal transaction on temp device + true); // make sure we craate an internal transaction on temp device KisPainter painter(device); painter.setCompositeOp(blur->colorSpace()->compositeOp(COMPOSITE_GRAIN_EXTRACT)); diff --git a/plugins/python/comics_project_management_tools/comics_metadata_dialog.py b/plugins/python/comics_project_management_tools/comics_metadata_dialog.py --- a/plugins/python/comics_project_management_tools/comics_metadata_dialog.py +++ b/plugins/python/comics_project_management_tools/comics_metadata_dialog.py @@ -398,7 +398,7 @@ self.cmb_entry_type.addItems(["IssueID", "SeriesID", "URL"]) self.cmb_entry_type.setEditable(True) self.ln_source = QLineEdit() - self.ln_source.setToolTip(i18n("Whether the comic is an adaption of an existing source, and if so, how to find information about that source. So for example, for an adapted webcomic, the official website url should go here.")) + self.ln_source.setToolTip(i18n("Whether the comic is an adaptation of an existing source, and if so, how to find information about that source. So for example, for an adapted webcomic, the official website url should go here.")) self.label_uuid = QLabel() self.label_uuid.setToolTip(i18n("By default this will be filled with a generated universal unique identifier. The ID by itself is merely so that comic book library management programs can figure out if this particular comic is already in their database and whether it has been rated. Of course, the UUID can be changed into something else by manually changing the JSON, but this is advanced usage.")) self.ln_database_entry = QLineEdit() diff --git a/plugins/tools/karbonplugins/tools/CalligraphyTool/tutorial/TUTORIAL b/plugins/tools/karbonplugins/tools/CalligraphyTool/tutorial/TUTORIAL --- a/plugins/tools/karbonplugins/tools/CalligraphyTool/tutorial/TUTORIAL +++ b/plugins/tools/karbonplugins/tools/CalligraphyTool/tutorial/TUTORIAL @@ -57,7 +57,7 @@ ================ This pair of options control the width of your pen. Since pen width is changed often, you can adjust it without going to the docker, using the left and right arrow keys. The best thing about these keys is that they work while you're drawing, so you can change the width of your pen gradually in the middle of the stroke. - + Pen width may also depend on the velocity, as controlled by the thinning parameter. This parameter can take values from -1 to 1; zero means the width is independent of velocity, positive values make faster strokes thinner, negative values make faster strokes broader. Here are a few examples, the two left strokes having positive thinning, and the right two negative thinning, all strokes are drawn with the same width. For fun, set the thinning to 1 (maximum) and draw with jerky movements to get strangely naturalistic, neuron-like shapes: