1. 14 Aug, 2019 1 commit
    • Agata Cacko's avatar
      Fix transform worker tests failing because of NN · f54b48bb
      Agata Cacko authored
      Tests for transform worker were failing because the result files
      contained results from the old version of NN/Box filter.
      Since I changed it a bit in 57c3194c
      the old result files were no longer valid.
      This commit updates the result files.
      Also since the execution of the filter on one of the images
      resulted in a transparent pixel in the location that the previous filter
      had a non-transparent pixel, it changed the size of the resulting image
      so it didn't pass the test partially because of the change in size.
      Since other tests don't check the size, I removed the checks in this
      test, too. (Because of the transparency in the test image, it is possible
      that the resulting image will have a different size even though it is
      not scaled in this dimension.)
  2. 27 Jul, 2018 1 commit
  3. 26 Jul, 2018 1 commit
  4. 23 Mar, 2018 1 commit
  5. 25 Jan, 2016 1 commit
    • Boudewijn Rempt's avatar
      Move kritaimage to libs · b46898a0
      Boudewijn Rempt authored
      This shows up a bunch of other problems with alien includes. Some
      tests have been disabled (marked "kisdoc") because they needed
  6. 26 Nov, 2015 1 commit
  7. 16 Sep, 2015 1 commit
  8. 04 Sep, 2015 1 commit
    • Boudewijn Rempt's avatar
      Port away from kdebug to qcdebug · 4fa86a75
      Boudewijn Rempt authored
      The approach taken is a bit different from what's in the porting
      scripts or in pigment: I've moved kis_debug to libglobal and adapted
      the dbgKrita etc. defines to use qcDebug etc. I've kept the old
      category numbers for now. I've also ported all places where we
      used kDebug() etc. directly, and not a few places where qDebug() etc
      were used directly.
  9. 29 Mar, 2015 1 commit
  10. 05 Jan, 2015 1 commit
  11. 27 Oct, 2014 1 commit
    • Dmitry Kazakov's avatar
      First ready-for-testing version of the Transform Mask functionality · 18db77f3
      Dmitry Kazakov authored
      1) Just create a Transform Mask and edit it with usual Transform Tool
      2) All the transformation modes are supported.
      2.1) Affine transforms (Free and Perspective) have dynamic preview. That
           is you can paint on a layer and the mask will be updated dynamically
      2.1) The other types are updated "statically", that is after 3 sec after
           the last change in the original layer.
      Question for testers: isn't this 3 sec delay too long? Probably we should
                            make it shorter?
      3) The transformation is written into the mask after you click Apply button.
      4) The quality of the affine preview and the final transform (after 3 sec
         delay) differs a bit. That is expected.
      5) You can also apply a transform mask onto a Clone Layer, which will
         allow you painting in 3D-perspective dynamically.
      Please test it in krita-chili-kazakov branch :)
  12. 30 May, 2014 1 commit
    • Dmitry Kazakov's avatar
      Implemented type-safe translations for undo actions · 9e143a4e
      Dmitry Kazakov authored
      See documentation to a KUndo2MagicString class.
      Now KUndo2Command cannot accept a usual string as the operation text().
      The supplied text must pass through the kundo2_i18n() function, which
      tells the developer to use (qtundo-format) which is mandatory for all the
      undo-related strings (because in some languages they should be shown in
      different cases in undo/redo action and in undo history, and the
      translators should use Magic Split for them).
  13. 12 Nov, 2013 1 commit
    • Dmitry Kazakov's avatar
      Rewrite the device mirroring code · 42a70611
      Dmitry Kazakov authored
      This patch does effectively three things:
      1) Implements new mirroring algorithm, which
          + doesn't have rounding bugs of the previous one
          + works 4-5 times faster that the previous one
          + is the same for Horizontal and Vertical mirroring
      2) Ports mirroring to the Strokes Framework (implements
         new KisMirrorProcessingVisitor)
      3) Fixes exact bounds cache reset in KisPaintDevice
  14. 04 Aug, 2013 1 commit
  15. 20 Jul, 2013 1 commit
  16. 16 Mar, 2013 1 commit
  17. 02 Mar, 2013 1 commit
  18. 05 Jan, 2013 2 commits
  19. 28 Dec, 2012 1 commit
    • Friedrich W. H. Kossebau's avatar
      Remove usage of toAscii/fromAscii (basically replace with toLatin/fromLatin) · 6b6d3f81
      Friedrich W. H. Kossebau authored
      * use implicit conversion from toLatin1-QByteArray to const char*, where possible
      * constData() instead of data() everywhere, to avoid unneeded deep copies if code get copied
      * removed unneeded conversion to latin1 where QString was expected
      * use QByteArray instead of QString, if QString not really needed
      * cache result of conversion where useful
      REVIEW: 107871
      Thanks boud and jarosław for review
  20. 12 May, 2012 2 commits
  21. 29 Dec, 2011 1 commit
  22. 31 Oct, 2011 1 commit
    • Boudewijn Rempt's avatar
      Fix color management of the display · a8c01ff9
      Boudewijn Rempt authored
      We took the display profile from the kritarc config file, which when it's
      set by colord or anything else wrong. So make sure that it's easy to get
      the correct colorprofile and use that everywhere.
  23. 21 Aug, 2011 2 commits
    • Dmitry Kazakov's avatar
      Never use QRect::right() or QRect::bottom()! · c34e9ee7
      Dmitry Kazakov authored
      In most cases they do not what you expect they do.
      This commit fixes two bugs in KisTransformWorker:
      1) m_boundRect was not updated in a special case: rotation + scale.
         That caused wrong translation along the X axis
      2) There were rounding problem due to the use of QRect::right() and
    • Dmitry Kazakov's avatar
      Ported KisTransformVisitor to the processings framework · 08e369de
      Dmitry Kazakov authored
      This fixes a very tricky bug as well: the clones store the shift
      internally, so when we transform a source layer, we should transform
      the clone's offset as well. So we need to represent our transformation
      with a matrix to do this. Now there is a matrix and a test for it in
      WARNING: there is a bug(?) in the worker. Its transformation differs 1-3
      pixels from the theoretical values. Looks like there are some rounding
      problem. Anyway, we can use it even in such a rought way.
      The bug will be closed when the visitor will be added to KisImage
  24. 27 Aug, 2010 1 commit
  25. 21 Aug, 2010 2 commits
  26. 19 Jul, 2010 1 commit
  27. 10 Jul, 2010 1 commit
  28. 13 Jun, 2010 1 commit
    • Dmitry Kazakov's avatar
      KisTransaction refactoring. · 91c942eb
      Dmitry Kazakov authored
      I'll write more thoroughtly on wiki later.
      Just a short summary:
        - KisTransaction no longer inherits QUndoCommand;
          it encapsulates all the operations with KisTransactionData,
          that is actual QUndoCommand
        - There are two types of versioning now:
            a) Commands - they are based on QUndoCommand - the work is done
               in redo() method. Just as Qt describes
            b) Transactions - they are different - they are created before
               direct accessing the device and finished after the work is
               done. Their first redo() does nothing() (to support adding to
               QUndoStack). They just watch from the side and record your
        - Made a decision to detete KisUndoAdapter::undo()/setUndo()
          mechanism. This is a global variable, that is weird. More than
          that, it gives us nothing now. So the removal is started, though
          not finished.
      svn path=/trunk/koffice/; revision=1137488
  29. 09 Apr, 2010 1 commit
  30. 07 Feb, 2010 1 commit
  31. 16 Jan, 2010 1 commit
  32. 29 Nov, 2009 1 commit
  33. 29 Sep, 2009 1 commit
  34. 08 Apr, 2009 1 commit
  35. 13 Mar, 2009 1 commit
  36. 01 Jan, 2009 1 commit
    • Boudewijn Rempt's avatar
      * Header cleanups · 6760f3e7
      Boudewijn Rempt authored
      * Move the mirror methods from the paint device to the transformworker (which seems much more logical,
      upon reflection)
      svn path=/trunk/koffice/; revision=904151