1. 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
  2. 16 Sep, 2015 1 commit
  3. 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.
  4. 27 Jul, 2015 1 commit
  5. 26 Dec, 2014 1 commit
    • Dmitry Kazakov's avatar
      Remove the link to KisNode in KisPaintOpSettings · 6ed320c4
      Dmitry Kazakov authored
      The settings object is purely XML data so we shouldn't store a shared
      pointer there. It causes really subtle bugs related to the lifetime of
      the node in question.
      Now the node is passed to the PaontOp directly via constructor. And the
      options widget gets it directly from KisPaintOpBox.
  6. 08 Jul, 2014 1 commit
    • Dmitry Kazakov's avatar
      Switch the pool of tile data to boost::singleton_pool · d504b9be
      Dmitry Kazakov authored
      Using usual malloc/free causes huge memory fragmenation, in the result
      Krita eats all the memory of the system until some stable fragmented
      state is reached.
      There seems to be a regression: the first stroke is sometimes delayed.
      Needs testing.
      Image 8k x 8k, 2 layer
      Brush 1k x 1k
      Paint a dozen of strokes with undo disabled. If the memory continually
      grows, it means the RAM gets fragmented. This image should not take much
      more than 1.5 GiB (and massif will report it)
  7. 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).
  8. 03 Aug, 2013 1 commit
    • Dmitry Kazakov's avatar
      Fixed Speed, Distance and Drawing Angle sensors · 327f800d
      Dmitry Kazakov authored
      This patch makes the following user-visible changes:
      1) Speed and Distance sensors are fixed
      2) Drawing Angle sensor became much more stable and smooth
      3) Drawing Angle sensor works right on the rotated canvas
      Technical details:
      This patch hugely refactors the distance information part of
      our painting system. The two most significant changes:
      1) KisPaintInformation doesn't have movement() method, because it
         used to get inconsistent *very* fast when the lien was split into
         chunks in paintBezierCurve. The access to drawingDistance(),
         drawingAngle() and drawingSpeep() parameters is provided only by means
         of teh associated KisDistanceInformation.
      2) (follows from the point 1) From now on paintAt() function also accepts
          KisDistanceInformation object, because otherwise it will not be able
          to access the calculated parameters.
  9. 19 Sep, 2012 1 commit
    • Dmitry Kazakov's avatar
      Added a benchmark for pool/swap systems · 17a3efb1
      Dmitry Kazakov authored
      This benchmark runs a series of huge strokes on a canvas with
      a particular configuration of the swapper/pooler and history
      management. After the test is done you can visualize the results
      with the GNU Octave. Please use kis_low_memory_show_report.m file
      for that.