1. 14 Sep, 2017 40 commits
  2. 08 Sep, 2017 40 commits
  3. 05 Sep, 2017 40 commits
  4. 29 Aug, 2017 40 commits
  5. 02 Aug, 2017 40 commits
    • Tobias Hunger's avatar
      ProjectExplorer: Add subscribeSignal method to targets and projects · e52ebbf2
      Tobias Hunger authored
      Add a subscribeSignal method to targets and projects that will make
      sure all signals of all project configurations added during the lifetime
      of the project/target will get connected (if the type matches).
      
      Use this to connect to some signal in all BuildConfigurations of
      a project and get rid of code that keeps connecting to the current
      build configuration.
      
      Use Project::buildEnvironmentChanged as an example and convert its
      usages.
      
      Change-Id: I689bcebac4b191bf3f8a18765bf18eaac371c5fe
      Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
      e52ebbf2
  6. 26 Jul, 2017 40 commits
  7. 25 Jul, 2017 40 commits
  8. 15 Jun, 2017 40 commits
    • Tobias Hunger's avatar
      Autotools: Fix autotools project tree · 784f807c
      Tobias Hunger authored
      All nodes in the autotools project tree were of type Resource, which
      resulted in strange behavior:-) Get the proper type instead. Apply
      some no-risk cleanups while visiting the code.
      
      Task-number: QTCREATORBUG-18371
      Change-Id: I370846100239cca91683dd184a1e5a56d3543732
      Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
      784f807c
  9. 07 Apr, 2017 40 commits
  10. 05 Apr, 2017 40 commits
    • hjk's avatar
      ProjectNodes: Handle supported actions one-by-one · bd5e2faa
      hjk authored
      Getting the full list for a node can get quite expensive e.g. in
      cases of recursive calls of QMakeProjectManager::findPriFile.
      
      However, the FlatModel needs to decide quickly on whether an item
      is editable to potentially allow renaming.
      
      So split up QList<Actions> supportedActions() into individual
      bool supportsAction(action) calls and make sure Rename is not
      on the critical path.
      
      Task-number: QTCREATORBUG-17953
      Change-Id: I31841847f8aa7d7b94c63d76ce71efb1c930fa69
      Reviewed-by: Tobias Hunger's avatarTobias Hunger <tobias.hunger@qt.io>
      bd5e2faa
  11. 29 Mar, 2017 40 commits
  12. 27 Mar, 2017 40 commits
    • Tobias Hunger's avatar
      ProjectExplorer: Handle project file list globally · fc5ce1e7
      Tobias Hunger authored
      Handle the generation of the list of files in a project globally, based
      on the project tree.
      
      Creator now has the concept of TreeManagers which can enrich the project
      tree with additional data (e.g. the files found in a resource file), which
      the project does not necessarily know about. So use that tree to find
      the files that belong to a project instead of implementing similar features
      in each project.
      
      Change-Id: Ia375a914a1f2c0adaa427f9eda834eec2db07f68
      Reviewed-by: default avatarhjk <hjk@qt.io>
      Reviewed-by: default avatarMarco Benelli <marco.benelli@qt.io>
      fc5ce1e7
  13. 14 Mar, 2017 40 commits
  14. 10 Mar, 2017 40 commits
  15. 09 Mar, 2017 40 commits
  16. 03 Mar, 2017 40 commits
  17. 28 Feb, 2017 40 commits
  18. 24 Feb, 2017 40 commits
  19. 22 Feb, 2017 40 commits
  20. 21 Feb, 2017 40 commits
  21. 20 Feb, 2017 40 commits
    • Nikolai Kosjar's avatar
      CppTools/ProjectManagers: Reduce ui blocking when loading projects · 8c90998f
      Nikolai Kosjar authored
      ${AnyProject}::updateCppCodeModel() did two potentially not that cheap
      operations in the ui thread:
       (1) Querying the MimeDatabase for the mime type for the source files of
           the project. In 99.9% of the cases no files need to be read for
           this as the file extension will resolve the type. The expensiveness
           comes from the sheer number of files that can occur.
       (2) Calling compilers with the "(sub)project's compiler command line"
           to determine the macros. While the caches avoid redundant calls,
           the number of the unique compiler calls makes this still a
           ui-freezing experience.
      
      These two operations are moved into a worker thread. For this, the
      expensive compiler calls are encapsulated in thread safe lambdas
      ("runners") in order to keep the "mutexed" data minimal. The original
      API calls of the toolchains are implemented in terms of the runners.
      
      While adapting the project managers, remove also the calls to
      setProjectLanguage(). These are redundant because all of the project
      managers already set a proper value in the constructor. Also, currently
      there is no need (client) to report back detection of C sources in
      project parts. This also keeps CppProjectUpdater simple.
      
      There is still room for improvement:
       * Run the compiler calls in parallel instead of sequence.
       * Ensure that the mime type for a file is determined exactly once.
      
      Change-Id: I2efc4e132ee88e3c8f264012ec8fafe3d86c404f
      Reviewed-by: Tobias Hunger's avatarTobias Hunger <tobias.hunger@qt.io>
      8c90998f
  22. 30 Jan, 2017 40 commits
  23. 27 Jan, 2017 40 commits
  24. 23 Jan, 2017 40 commits
  25. 19 Jan, 2017 40 commits
  26. 06 Dec, 2016 40 commits
  27. 05 Dec, 2016 40 commits
  28. 25 Nov, 2016 40 commits
  29. 03 Nov, 2016 40 commits
  30. 31 Oct, 2016 40 commits
  31. 05 Oct, 2016 40 commits
  32. 14 Jul, 2016 40 commits