1. 15 Nov, 2019 2 commits
  2. 14 Nov, 2019 3 commits
  3. 13 Nov, 2019 11 commits
  4. 11 Nov, 2019 9 commits
  5. 10 Nov, 2019 2 commits
  6. 09 Nov, 2019 3 commits
  7. 08 Nov, 2019 2 commits
  8. 07 Nov, 2019 2 commits
  9. 06 Nov, 2019 2 commits
    • Dmitry Kazakov's avatar
      Fix slowdown in Warp Transform Tool · 33bc57f3
      Dmitry Kazakov authored
      Looks like before the signal compressor fix the it worked fast purely
      accidentally. Tablet device generated a lot of events, so we shouldn't
      request warp transform recalculation for every one of it. Instead, some
      event compression should happen.
      
      BUG:413157
      33bc57f3
    • Dmitry Kazakov's avatar
      Fix layer data loss when pressing Esc multiple times, while transforming stroke · 1fdbf7f5
      Dmitry Kazakov authored
      There were several problems:
      
      1) When the jobs from m_overriddenCommand have been executed,
         they shouldn't be added to the strokes's undo commands queue.
         After the clear-selection job, the paint device gets new
         transaction, therefore all the redo information is lost.
         And commands from the previous stroke are not valid anymore.
      
      2) Since the commands from m_overridenCommand do not take part in
         normal cancel/undo process, in case of stroke cancellation we
         should re-apply them manually. And therefore, we must ensure
         that clear selection and create-preview-device actions are
         executed before cancellation action is performed. Therefore the
         patch introduces a special isCancellable() tag of the stroke jobs.
      
      3) Since finishStrokeCallback() now adds more jobs to the strokes
         queue, we need some way to mark them non-cancellable. It is done
         by the same isCancellable() tag.
      
      BUG:412561
      1fdbf7f5
  10. 05 Nov, 2019 4 commits
    • Dmitry Kazakov's avatar
      Fix assert and a data-loss in Transform Tool · f336923b
      Dmitry Kazakov authored
      The patch rewrites the logic of transform stroke completion. Previously,
      the decision whether to cancel transformation or to recover continued
      state was done by the GUI thread. It cased troubles, because the user
      could press esc/enter keys too quickly, even before the stroke was
      actually initialized (and before sigTransactionGenerated() was received).
      It caused confsion, resulting in the loss of the data of the continued
      state.
      
      Now GUI thread doesn't worry about the continued state. All the decisions
      are done by the stroke itself, so no races should happen.
      
      BUG:412561
      f336923b
    • Dmitry Kazakov's avatar
      Fix regression (deadlock) when loading .kra with non-default color prfofile · 179649cf
      Dmitry Kazakov authored
      KisKraLoader works under ubdatesBlocked(), so to ensure waitForDone()
      doesn't deadlock, we should guarantee that no updates are issued in
      a process of profile setting. And we shouldn't issue updates anyway,
      because loading process will emit initialRefreshGraph() anyway.
      179649cf
    • Dmitry Kazakov's avatar
      Restore Image->Properties to have an option to convert projection-only · e7ad756d
      Dmitry Kazakov authored
      Now Image->Properties has a checkbox (enabled by default) to convert
      layers' colorspace as well. If you still want to convert projection
      only, just disable this checkbox.
      e7ad756d
    • Dmitry Kazakov's avatar
      Rename "Convert Layer Type" -> "Convert Layer Color Space" · a5147784
      Dmitry Kazakov authored
      This patch should not go to 4.2 branch
      a5147784