1. 15 Dec, 2017 1 commit
    • hjk's avatar
      De-emphasize PluginManager::getObjects<Type>() · cc883023
      hjk authored
      ... by additionally keeping local (currently non-owning) pools per
      "interesting" type.
      
      Current situation:
        - The global object pool does not scale well for looking up
          objects, as iteration plus qobject_cast typically iterates
          over all pooled objects.
        - User code that can use typed results from the object
          pool need to have access to the full type definition anyway,
          i.e.  depend on the plugin of the target class anyway.
      
      The patch here solves the scaling problem is to have local
      type-specific pools to which objects register in their
      constructors and deregister in their destructors.
      
      This patch here does *not* change the ownership model of the
      pooled objects, however, it opens the possibility to change
      the ownership model per type (e.g. by not putting things into
      the global pool at all anymore and make the local pool 'owning')
      and the intent is to handle that in later patchs.
      
      Even without the follow-up patches this here is a performance
      improvement for the cases that access the local pools instead
      the global one, i.e. "practically all".
      
      Change-Id: Ib11a42df2c4ecf5e1155534730083a520dd1995b
      Reviewed-by: Eike Ziller's avatarEike Ziller <eike.ziller@qt.io>
      Reviewed-by: Christian Kandeler's avatarChristian Kandeler <christian.kandeler@qt.io>
      cc883023
  2. 12 Dec, 2017 3 commits
    • Eike Ziller's avatar
      Add "Remove File" to file system view · 7b6943e5
      Eike Ziller authored
      Task-number: QTCREATORBUG-19208
      Change-Id: Iacf1e1468018fa8dd3426bc1325f36bb39a4b4e2
      Reviewed-by: Tobias Hunger's avatarTobias Hunger <tobias.hunger@qt.io>
      7b6943e5
    • Eike Ziller's avatar
      Move RemoveFileDialog to Utils · 7cba5fc4
      Eike Ziller authored
      Change-Id: I88892fc8d43ca3f59598b5b44e0daac0bfb439b5
      Reviewed-by: Tobias Hunger's avatarTobias Hunger <tobias.hunger@qt.io>
      7cba5fc4
    • Jaroslaw Kobus's avatar
      Refactor HighlightScrollBar · 990da15c
      Jaroslaw Kobus authored
      Rename it into HighlightScrollBarController.
      Don't derive it anymore from QScrollBar.
      Make it based on QObject and decorate
      the existing instance of QAbstractScrollArea as needed.
      
      Fix the highlight of the shared scrollbar of the SideBySideDiffEditor.
      Both left and right diff editors have their own
      HighlightScrollBarController and their own separate overlays, but both
      overlays are created as children of the same right editor instance.
      
      Synchronize also the cursor between left and right editors.
      Make highlight current line working.
      
      Make the overlay transparent for mouse events - this fixes
      issues on macOS when scolling over invisible scrollbar.
      
      Change-Id: Iab05c360173e09d8748658c59785da86438a7189
      Reviewed-by: David Schulz's avatarDavid Schulz <david.schulz@qt.io>
      990da15c
  3. 21 Nov, 2017 1 commit
  4. 16 Nov, 2017 1 commit
    • hjk's avatar
      Add some mechanism to help screenshot creation · cdaa4aee
      hjk authored
      If QTC_SCREENSHOTS_PATH points to a writable directory, each widget that
      has been registered with ICore's setupScreenShooter(const QString &name,
      QWidget *w) will dump a screen shot to this directory as soon as the
      widget is shown.
      
      Change-Id: I2dec12064f1bb3c510d2fd9d27c1b79f7b7d5f30
      Reviewed-by: Jake Petroules's avatarJake Petroules <jake.petroules@qt.io>
      cdaa4aee
  5. 13 Nov, 2017 1 commit
  6. 07 Nov, 2017 2 commits
  7. 05 Nov, 2017 1 commit
  8. 04 Nov, 2017 1 commit
  9. 02 Nov, 2017 1 commit
  10. 01 Nov, 2017 3 commits
  11. 30 Oct, 2017 1 commit
  12. 26 Oct, 2017 1 commit
  13. 24 Oct, 2017 1 commit
  14. 20 Oct, 2017 3 commits
  15. 19 Oct, 2017 2 commits
  16. 05 Oct, 2017 1 commit
  17. 04 Oct, 2017 2 commits
  18. 29 Sep, 2017 3 commits
  19. 27 Sep, 2017 1 commit
  20. 26 Sep, 2017 1 commit
  21. 25 Sep, 2017 1 commit
  22. 19 Sep, 2017 5 commits
  23. 18 Sep, 2017 1 commit
  24. 17 Sep, 2017 1 commit
  25. 14 Sep, 2017 1 commit