1. 07 Apr, 2017 1 commit
  2. 27 Mar, 2017 1 commit
    • 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
  3. 10 Mar, 2017 1 commit
    • Tobias Hunger's avatar
      ProjectExplorer: Create initial project tree · 49fef0ae
      Tobias Hunger authored
      Create an initial project tree with a ProjectNode and a FileNode for
      the project file itself.
      
      Fix the Projects to not implement their own tree before they have
      better data.
      
      Change-Id: I147ccd5603d22d1d60880a97f30fd8c271eac88c
      Reviewed-by: default avatarhjk <hjk@qt.io>
      49fef0ae
  4. 09 Mar, 2017 1 commit
  5. 28 Feb, 2017 2 commits
  6. 20 Feb, 2017 1 commit
    • 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
  7. 05 Oct, 2016 1 commit
  8. 04 Feb, 2016 1 commit
    • Tobias Hunger's avatar
      Autotools: Modernize · 063b9775
      Tobias Hunger authored
      * Use pragma once
      * Make sure overrides are everywhere
      * Clean up code here and there
      * Remove useless code from initializer lists
      
      Change-Id: I9c285a803ea36cb32d14b3335757fd4b57f27d02
      Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
      063b9775
  9. 19 Jan, 2016 1 commit
  10. 11 Jan, 2016 4 commits
  11. 07 Jan, 2016 1 commit
  12. 28 Jul, 2015 1 commit
  13. 16 Jan, 2015 1 commit
  14. 09 Oct, 2014 1 commit
  15. 21 Aug, 2014 1 commit
  16. 05 May, 2014 1 commit
  17. 12 Feb, 2014 1 commit
    • Orgad Shaneh's avatar
      Clean up single namespace forward-declarations · 7ed15760
      Orgad Shaneh authored
      Done using the following ruby script:
      
      Dir.glob('**/*.h').each { |file|
        if File.file?(file)
          s = File.read(file)
          t = s.gsub(/^namespace .+ \{\n\s*class .*;\n\s*\}.*$/) { |m| m.gsub(/\n\s*/, ' ').gsub(/\s*\/\/.*$/, '') }
          if t != s
            puts file
            File.open(file, 'w').write(t)
          end
        end
      }
      
      Change-Id: Iffcb966e90eb8e1a625eccd5dd0b94f000ae368e
      Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
      7ed15760
  18. 08 Jan, 2014 1 commit
  19. 14 Oct, 2013 1 commit
  20. 10 Oct, 2013 1 commit
  21. 17 Sep, 2013 1 commit
    • Tobias Hunger's avatar
      BuildConfigurationFactory: Refactor code · d2adc303
      Tobias Hunger authored
      Refactor the code of the build configuration factories. The idea is to
      generalize the code so much that we can allow plugins to install
      custom build configuration factories for the platforms they support.
      
      To support this use case the following changes where done here:
       * BuildInfo class was introduced to describe one build configuration that
         can be created by a factory.
       * Factories report a list of BuildInfo to describe what they can produce.
         This fixes the need for factories to implicitly create one buildconfiguration
         and then create another one 'officially' to support debug and release build
         configurations to be set up for projects.
       * Do no longer work around factories to create build configurations.
      
      Change-Id: Ic372e4a9b5c582633b467d130538948472b89d91
      Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
      d2adc303
  22. 13 Aug, 2013 1 commit
  23. 29 Jan, 2013 1 commit
  24. 16 Nov, 2012 1 commit
  25. 05 Oct, 2012 1 commit
  26. 24 Aug, 2012 1 commit
    • Daniel Teske's avatar
      Remove evaluateBuildSystem signal · 36f6c02f
      Daniel Teske authored
      It adds almost nothing and introduced some bugs.
      This fixes:
      Double evaluation in cmakeproject on build directory changes.
      Wrong runconfiguration update in cmake for set_target_properties(target
      PROPERTIES OUTPUT_NAME [..]) changes.
      
      Unecessary runconfiguration removal in AutoTools and Generic projectmanager.
      
      Reevaluation of .pro files on changing the active runconfiguration or deploy
      configuration.
      
      Task-number: QTCREATORBUG-7723
      Task-number: QTCREATORBUG-7761
      
      Change-Id: I50249b186917cd3a4f399f187f09ac8428ab6f9e
      Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
      36f6c02f
  27. 25 Jul, 2012 1 commit
  28. 21 Jun, 2012 1 commit
    • Tobias Hunger's avatar
      Profile introduction · 24314562
      Tobias Hunger authored
      Introduce Profiles to store sets of values that describe a system/device.
      
      These profiles are held by a target, getting rid of much of the information
      stored in the Build-/Run-/DeployConfigurations, greatly simplifying those.
      
      This is a squash of the wip/profile branch which has been on gerrit for a
      while, rebased to current master.
      
      Change-Id: I25956c8dd4d1962b2134bfaa8a8076ae3909460f
      Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
      24314562
  29. 25 Apr, 2012 1 commit
  30. 16 Mar, 2012 1 commit
  31. 21 Feb, 2012 1 commit
  32. 20 Feb, 2012 1 commit
  33. 15 Feb, 2012 1 commit
  34. 30 Nov, 2011 2 commits