1. 06 Aug, 2011 2 commits
    • Dmitry Kazakov's avatar
      More removals · 284345b8
      Dmitry Kazakov authored
      Removed the variables those had been moved the the helper class.
    • Dmitry Kazakov's avatar
      Major cleanup in KisToolFreehand · a0eea794
      Dmitry Kazakov authored
      1) Extracted all the painting stuff from the KisToolFreehand into
         a separate class
      2) Removed airbrushing duplications from KisToolBrush and KisToolDyna
         (now airbrushing is in KisToolFreehandHelper)
      3) Removed some old unused code
  2. 05 Aug, 2011 3 commits
  3. 04 Aug, 2011 5 commits
  4. 03 Aug, 2011 3 commits
  5. 30 Jul, 2011 3 commits
  6. 29 Jul, 2011 2 commits
  7. 28 Jul, 2011 7 commits
  8. 27 Jul, 2011 9 commits
    • Jarosław Staniek's avatar
    • Dmitry Kazakov's avatar
      Fixed shared pointer bug · e5efebed
      Dmitry Kazakov authored
      m_walker stores a link to the node, so it should be destructed as soon
      as the job is finished.
      There is a really tough bug possible, never do like this:
      inline void setDone() {
          m_type = EMPTY;
          m_walker = 0;
          m_strokeJob = 0;
      It'll be a hometask to guess why ;)
    • Dmitry Kazakov's avatar
      The context should be deleted before the queues · e639808e
      Dmitry Kazakov authored
      The jobs of the context access the queues in the end of their execution
      to try to get more work. So they should be finished first.
    • Dmitry Kazakov's avatar
      A huge patch · 903079cc
      Dmitry Kazakov authored
      There are two changes:
      1) See: http://community.kde.org/Krita/Undo_adapter_vs_Undo_store
         Split the functionality of KisUndoAdapter into two classes:
         KisUndoStore and KisUndoAdapter. The former one works as an
         interface to an external storage of the undo information:
         undo stack, KoDocument, /dev/null. The latter one defines the
         behavior of the system when someone wants to add a command. There
         are three variants:
            1) KisSurrogateUndoAdapter -- saves commands directly to the
               internal stack. Used for wrapping around legacy code into
               a single command.
            2) KisLegacyUndoAdapter -- blocks the strokes and updates queue,
               and then adds the command to a store
            3) KisPostExecutionUndoAdapter -- used by the strokes. It doesn't
               call redo() when you add a command. It is assumed, that you have
               already executed the command yourself and now just notify
               the system about it. Warning: it doesn't inherit KisUndoAdapter
               because it doesn't fit the contract of this class. And, more
               important, KisTransaction should work differently with this class.
      2) The ownership on the KisUndoStore (that substituted KisUndoAdapter
         in the document's code) now belongs to the image. It means that
         KisDoc2::createUndoStore() is just a factory method, the document
         doesn't store the undo store itself.
    • Casper Boemann's avatar
    • Sebastian Sauer's avatar
      Fix percentage line-spacing to proper adjust the line's position. · 38dbee43
      Sebastian Sauer authored
      This is the same logic we already apply for fixed line height's.
    • Lukáš Tvrdý's avatar
      Fix rendering of W command in enhanced-path · 33fa5c34
      Lukáš Tvrdý authored
      If W is the first point in the subpath,
      it should make moveTo, not lineTo
    • Halla Rempt's avatar
      Fix crash when printing to PDF · f85e4387
      Halla Rempt authored
    • Thorsten Zachmann's avatar
      Fix regession char based bullets are aligned wrong · 46884e5e
      Thorsten Zachmann authored
      The regression was introduced by me in 568cfe7403505ddb9e14ef115ebfca0d1a54decc.
      If a bullet is character based use the character aligning for it.
  9. 26 Jul, 2011 5 commits
  10. 25 Jul, 2011 1 commit