1. 12 Jul, 2019 1 commit
    • Dmitry Kazakov's avatar
      Refactor signal compressor to have better timing properties · bbc0f807
      Dmitry Kazakov authored
      * before: emits signals with time range [1.0...2.0] * interval
      * after: emits signals with time range [0.5...1.5] * interval
      
      Bascially, now it handles it much better when interval is around
      10-20 ms. With the old version it caused KisCanvas2 to drop frames
      and look ugly when the user pans the canvas.
      
      CCBUG:409460
      bbc0f807
  2. 18 Jun, 2019 1 commit
    • Tusooa Zhu's avatar
      Add new signal/slot connection syntax to KisSignalAutoConnection · 3b75498f
      Tusooa Zhu authored
      1. Use template to accommodate the new syntax of signal/slot connection.
      
      2. Instead of the four parameters passed to QObject::connect(), we
      store the QMetaObject::Connection returned by connect(), and use that
      to disconnect() it afterwards.
      
      3. There is a unit test to test the auto-(dis)connection, just to
      make sure it works with both syntaxes.
      
      4. There is no need to change any existing code involving
      KisSignalAutoConnectionsStore, unless you want to replace the old
      syntax with the new one.
      3b75498f
  3. 08 Aug, 2018 2 commits
  4. 15 Sep, 2017 1 commit
    • Dmitry Kazakov's avatar
      Implement KisSharedThreadPoolAdapter concept · 5bb19009
      Dmitry Kazakov authored
      Shared thread pool concept is a wrapper around a usual thread pool
      that allows the user to wait for a subset of running jobs to complete.
      
      The jobs added to the thread pool via shared thread pool adapter are
      treated separately and can be waitForDone() without waiting for all the
      jobs of the thread pool to complete.
      5bb19009