1. 23 Jul, 2014 1 commit
    • Dmitry Kazakov's avatar
      Split the transform tool into several classes · 9c919cde
      Dmitry Kazakov authored
      Now the tool is split into three classes:
      
      o KisToolTransform
      o KisWarpTransformStrategy
      o KisFreeTransformStrategy
      
      They handle the transformation modes separately.
      
      This patch also ports the handwritten gradient descent methods into
      GNU Scientific Library.
      9c919cde
  2. 16 Jul, 2014 2 commits
  3. 11 Jul, 2014 1 commit
  4. 08 Jul, 2014 1 commit
  5. 05 Jul, 2014 1 commit
  6. 03 Jul, 2014 2 commits
    • Dmitry Kazakov's avatar
      Fix a visual glitch reported by Timothee Giet · 3e4daa71
      Dmitry Kazakov authored
      "btw just one "visual glitch" bug: on startup,
      if Delay is not checked, the slider is not grayed out. needs
      to switch it on/off again to show proper gay slider"
      3e4daa71
    • Dmitry Kazakov's avatar
      Fix the last issues in the line tool · 110a5e94
      Dmitry Kazakov authored
      1) Add a "Preview" checkbox to select whether the user wants to ee
         an outline preview for the line.
      2) Make it OFF by default
      3) Make offset and angle snapping work with vector preview as well
      
      Thanks David and Thimothee for pointing this out!
      110a5e94
  7. 02 Jul, 2014 1 commit
  8. 01 Jul, 2014 2 commits
  9. 27 Jun, 2014 1 commit
    • Dmitry Kazakov's avatar
      [FEATURE] Implemented "Delayed Stroke" feature for brush smoothing · 411a7016
      Dmitry Kazakov authored
      This patch adds two improvements to the Stabilizer algorithm implemented
      by Juan Luis Boya García:
      
      1) "Delayed Stroke" feature. If enabled the brush has a dead zone, where
         nothing is painted. This is extremely handy when one needs to paint
         a smooth line with explicit angles.
      
      2) "Finish line" option for the brush stanilizer. When option is disabled,
         the line will not jump to the cursor position in the end of the stroke.
      
      CCMAIL:kimageshop@kde.org
      411a7016
  10. 22 Jun, 2014 1 commit
  11. 20 Jun, 2014 1 commit
    • Dmitry Kazakov's avatar
      Fixed crash when color picking from a group layer · 63d9370e
      Dmitry Kazakov authored
      Also fix all the pickers to read from projection() instead of paintDevice().
      All nodes in Krita are expected to have projection() which is a visual
      representation of the node in the stack.
      
      The only new behavior this patch introduces is the picking from
      Filter layers. Now it picks not from their 'selection' (which is
      a paintDevice()), but from the filtered area cache (projection()).
      
      BUG:336473
      63d9370e
  12. 19 Jun, 2014 2 commits
    • Dmitry Kazakov's avatar
      [FEATURE] Fixed painting and color picking on global selections · bebc4485
      Dmitry Kazakov authored
      This patch fixes three problems:
      
      1) Painting on a global selection now is not recursively limited to
         the selected area of the selection itself. If current node and active
         selection mask are the same entity, KisResourcesSnapshot will report
         no selection active.
      
      2) Color Picker can now pick from selection masks. Yes, it converts the
         color into compositionSourceColorSpace() to make it paintable.
      
      3) The Color Picker's option widget now shows alpha value correctly,
         although the resource server gets opaque color.
      
      CCMAIL:kimageshop@kde.org
      BUG:336115
      bebc4485
    • Dmitry Kazakov's avatar
      Fixed moving of the global selection with Move Tool · 777b52b1
      Dmitry Kazakov authored
      Also fix GUI updates after changing the contents of a vector selection.
      777b52b1
  13. 15 Jun, 2014 1 commit
    • Juan Luis Boya García's avatar
      [FEATURE] Brush stabilizer patch by Juan Luis Boya García · 6da12242
      Juan Luis Boya García authored
      This commit adds to calligra a new stabilizer feature as an alternative
      to the current "Weigthed smoothing".
      
      This stabilizer is very simple, calculating an arithmetic mean of the
      last N values (position, pressure and tilt) each millisecond and drawing
      a line from the previous point to there.
      
      This takes into account both the length of the strokes and the speed
      they are made with.
      
      Fast and small movements are considered erratic and are likely to be
      ignored yielding a mostly straight line.
      
      On the other hand, slower and bigger movements are assumed to be
      deliberated and will follow the shape the user draws. The slower and
      bigger, the more accurate.
      
      This process makes the strokes draw 'slowly'. The user sees how the line
      pursues their cursor. The effect is harder or softer depending on the N
      chosen (sample size), which is user-customizable.
      
      Starting and end points are forced by the algorithm to be drawn exactly
      where the user began and ended the line.
      6da12242
  14. 06 Jun, 2014 4 commits
  15. 03 Jun, 2014 2 commits
  16. 02 Jun, 2014 1 commit
  17. 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).
      9e143a4e
  18. 25 May, 2014 3 commits
  19. 22 May, 2014 3 commits
  20. 03 May, 2014 1 commit
  21. 22 Apr, 2014 1 commit
  22. 06 Apr, 2014 1 commit
  23. 04 Apr, 2014 1 commit
  24. 02 Apr, 2014 2 commits
  25. 01 Apr, 2014 2 commits
  26. 30 Mar, 2014 1 commit