1. 28 Jul, 2017 1 commit
  2. 26 Jun, 2017 1 commit
  3. 23 Jun, 2017 1 commit
  4. 29 May, 2017 1 commit
  5. 17 May, 2017 1 commit
  6. 16 Mar, 2017 3 commits
  7. 22 Feb, 2017 1 commit
  8. 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
  9. 23 Jan, 2017 1 commit
  10. 20 Jan, 2017 1 commit
  11. 11 Jan, 2017 2 commits
  12. 05 Jan, 2017 1 commit
  13. 21 Nov, 2016 1 commit
    • Friedemann Kleint's avatar
      Add support for Visual Studio 15.0 (MSVC2017) · 4c29f5fc
      Friedemann Kleint authored
      
      
      Extend ABI by flavor and add look-up.
      
      As with each major update, rewrite the the MSVC toolchain
      autodetection.
      Previously, the detection looped over the entries in "VC" registry
      section and checked in the "VS" section whether a valid installation
      belonged to the entry. MSVC2017 no longer has an entry in the "VC"
      section.
      Introduce a struct describing the installation including version
      number and rewrite the loop to run over the "VS" section and retrieve
      the VC path from the "VC" section only for versions <= 14.0.
      Also, the various .bat files for the target architecture are
      now in a single folder instead of spread around various bin/XXX
      subfolders. Introduce an array of structs for the platform that
      has the prefix and .bat name and uses the prefix only for
      versions <= 14.0.
      
      Task-number: QTBUG-57086
      Change-Id: I947edd885c0a379f196440041c07d60cd4244d9c
      Reviewed-by: Eike Ziller's avatarEike Ziller <eike.ziller@qt.io>
      Reviewed-by: Joerg Bornemann's avatarJoerg Bornemann <joerg.bornemann@qt.io>
      Reviewed-by: David Schulz's avatarDavid Schulz <david.schulz@qt.io>
      Reviewed-by: Tobias Hunger's avatarTobias Hunger <tobias.hunger@qt.io>
      4c29f5fc
  14. 31 Oct, 2016 2 commits
  15. 15 Jul, 2016 1 commit
    • Tobias Hunger's avatar
      SynchronousProcess: Store raw bytes from stdout/stderr of the process · 5efd8246
      Tobias Hunger authored
      
      
      Only convert the raw output later in a stdOut() and stdErr() method of
      the SynchronousProcessResponse.
      
      This is necessary since we have processes that use different encodings
      for different sections of the file (I am looking at you, git).
      
      Also remove the signals for raw data on stdout/stderr, leaving only the
      signals returning buffered QString lines. This should be safe, even
      with UTF-16 output.
      
      Change-Id: Ida613fa86d1468cbd33bc6b3a1506a849c2d1c0a
      Reviewed-by: Tobias Hunger's avatarTobias Hunger <tobias.hunger@qt.io>
      5efd8246
  16. 14 Jul, 2016 2 commits
  17. 11 Jul, 2016 1 commit
    • Tobias Hunger's avatar
      MSVC: Re-detect compilers if detected ABI changes · ca52ed15
      Tobias Hunger authored
      
      
      Old creator versions detected MSVC 2015 with the 2005 ABIs. Upgrading
      from those to a current version of Creator will keep this detected ABI,
      effectively breaking MSVC 2015 for users upgrading from settings where
      it was mis-detected.
      
      Force re-creation of MSVC toolchains if the saved toolchain ABI and
      the currently detected ABI differ. This will break kits (as the MSVC
      toolchain's ID will change), but it will make sure a usable MSVC 2015
      toolchain is available.
      
      Change-Id: If7d9ab0d414bb33781243bcdf5112b411ecf5c13
      Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
      ca52ed15
  18. 05 Jul, 2016 1 commit
  19. 06 Jun, 2016 1 commit
  20. 26 May, 2016 1 commit
  21. 19 May, 2016 1 commit
  22. 11 May, 2016 1 commit
  23. 26 Apr, 2016 1 commit
  24. 15 Apr, 2016 1 commit
  25. 15 Mar, 2016 1 commit
  26. 15 Feb, 2016 1 commit
  27. 11 Feb, 2016 1 commit
    • Friedemann Kleint's avatar
      Add experimental clang-cl based toolchain. · eb4d1584
      Friedemann Kleint authored
      
      
      Add new ClangClToolChain, which is autodetect by checking the registry
      key created by LLVM and trying to find a suitable version of MSVC2015.
      
      Add ClangClParser for parsing the output.
      
      [ChangeLog][ProjectExplorer] Added experimental support for clang-cl.
      
      Task-number: QTBUG-50804
      Task-number: QTCREATORBUG-15641
      Change-Id: Id34341570e935afc8ef6a104421d4abb5892176f
      Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
      eb4d1584
  28. 04 Feb, 2016 1 commit
  29. 01 Feb, 2016 1 commit
  30. 19 Jan, 2016 1 commit
  31. 16 Nov, 2015 1 commit
  32. 27 Oct, 2015 1 commit
    • Tobias Hunger's avatar
      ToolChainManager: Refactor toolchain restoration · ac1d9abd
      Tobias Hunger authored
      
      
      This should be simpler to follow now.
      
      Fix autodetection to return not only the newly detected toolchains,
      but also those that are re-detected (taking their definition from
      the alreadyKnown list passed to the autodetect method where possible).
      
      This avoids running lots of toolchains during start-up, but still
      enables us to fix QTCREATORBUG-12751
      
      Task-number: QTCREATORBUG-12751
      Change-Id: Ie74e7cffb2b014a6132cc8559db232397344f2f1
      Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
      ac1d9abd
  33. 14 Oct, 2015 1 commit
  34. 08 Oct, 2015 1 commit
  35. 14 Jul, 2015 1 commit