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. 21 Nov, 2017 1 commit
  3. 13 Nov, 2017 1 commit
  4. 05 Nov, 2017 1 commit
  5. 01 Nov, 2017 1 commit
  6. 04 Oct, 2017 1 commit
  7. 27 Sep, 2017 1 commit
  8. 25 Sep, 2017 1 commit
  9. 14 Sep, 2017 1 commit
  10. 08 Sep, 2017 1 commit
  11. 05 Sep, 2017 2 commits
  12. 10 Jul, 2017 1 commit
  13. 03 Jul, 2017 1 commit
  14. 24 Apr, 2017 1 commit
    • Alessandro Portale's avatar
      Reduce usage of qApp in favor of static function calls · 3624a663
      Alessandro Portale authored
      Q*Application classes have unusually many static functions. In many
      cases in our code, these functions are unnecessarily called as instance
      functions, using the qApp helper.
      
      This patch replaces many occurencies of qApp with the according
      Q*Application classname.
      
      Change-Id: I6099a419fa7bf969891269c37ed7a9e817ef5124
      Reviewed-by: default avatarhjk <hjk@qt.io>
      3624a663
  15. 14 Apr, 2017 2 commits
  16. 06 Apr, 2017 1 commit
  17. 29 Mar, 2017 1 commit
  18. 20 Mar, 2017 1 commit
  19. 16 Mar, 2017 1 commit
  20. 03 Mar, 2017 1 commit
  21. 08 Feb, 2017 1 commit
  22. 16 Jan, 2017 1 commit
  23. 13 Dec, 2016 1 commit
  24. 06 Dec, 2016 1 commit
  25. 24 Nov, 2016 1 commit
  26. 23 Nov, 2016 1 commit
  27. 14 Nov, 2016 2 commits
  28. 21 Oct, 2016 2 commits
  29. 13 Oct, 2016 1 commit
  30. 20 Sep, 2016 1 commit
  31. 08 Sep, 2016 1 commit
  32. 23 Aug, 2016 1 commit
  33. 05 Aug, 2016 1 commit
  34. 30 Jun, 2016 1 commit
  35. 21 Jun, 2016 1 commit
  36. 13 Jun, 2016 1 commit
    • Eike Ziller's avatar
      EditorManager: Auto-suspend editors · 92e352f4
      Eike Ziller authored
      Adds an option (enabled by default) to close older documents when
      opening new documents. These documents are put into "suspended" state,
      similar to when restoring sessions: They editors and document are
      removed, freeing the memory from their content and attached resources
      (e.g. code model resources), but keeping the entry in the open editor
      list (and history list, of course).
      This is limited to editor/document types that can restore their UI state
      when the document is reopened.
      
      Task-number: QTCREATORBUG-10016
      Change-Id: Icb5595aec950e3f666d42177fe2fd233954f2772
      Reviewed-by: default avatarDavid Schulz <david.schulz@theqtcompany.com>
      Reviewed-by: Riitta-Leena Miettinen's avatarLeena Miettinen <riitta-leena.miettinen@qt.io>
      92e352f4