Skip to content
Snippets Groups Projects
  1. May 03, 2016
    • Nikolai Kosjar's avatar
      QbsProjectManager: Fix SOFT ASSERT: "future.isFinished()" · 1cbb4cc9
      Nikolai Kosjar authored
      
      ...in file qbsproject.cpp, line 940.
      
      The assert can be triggered with e.g.:
       1. Load a bigger qbs project, e.g. qtcreator.qbs.
       2. Trigger project build as soon as possible.
       3. Cancel the "Parsing C/C++" operation.
       4. Wait until the build finished and the assert occurs.
      
      This happens because CppModelManager::updateProjectInfo() since
      
        commit  536ccc8a
        CppTools: Fix incompletely indexed project
      
      will check whether the previous indexer run was canceled or not. If it
      was canceled, it will trigger a full-reindexing of the project.
      
      Updating the compiler call data is a special case and it should never
      trigger an indexing operation, so introduce a dedicated update function
      for this case.
      
      Change-Id: I456945ccf2bf697aaeada572ed87f3acb21a5eaf
      Reviewed-by: default avatarChristian Kandeler <christian.kandeler@theqtcompany.com>
      Reviewed-by: default avatarEike Ziller <eike.ziller@qt.io>
      1cbb4cc9
  2. Apr 27, 2016
  3. Apr 26, 2016
  4. Apr 25, 2016
    • Nikolai Kosjar's avatar
      CppTools: Fix incompletely indexed project · 536ccc8a
      Nikolai Kosjar authored
      
      Use case to reproduce:
       1. Open some bigger project, e.g. qtcreator.pro
       2. As soon as "Parsing C/C++ files" is reported, add a character to
          qmake's additional arguments in project mode (indexing should not be
          finished at this point).
       3. The indexing gets canceled.
       ==> ...but reindexing is not triggered.
      
      Fix by checking whether the future was canceled.
      
      Task-number: QTCREATORBUG-16134
      Change-Id: I520c6a64a6adc1cb04cafb5e0aa56c8bf41d7b14
      Reviewed-by: default avatarChristian Stenger <christian.stenger@qt.io>
      536ccc8a
  5. Apr 22, 2016
  6. Apr 21, 2016
  7. Apr 15, 2016
  8. Apr 13, 2016
  9. Apr 12, 2016
  10. Apr 11, 2016
  11. Apr 06, 2016
  12. Mar 31, 2016
  13. Mar 24, 2016
  14. Mar 15, 2016
  15. Mar 11, 2016
  16. Mar 04, 2016
  17. Mar 01, 2016
  18. Feb 29, 2016
  19. Feb 26, 2016
  20. Feb 25, 2016
  21. Feb 24, 2016
  22. Feb 19, 2016
  23. Feb 18, 2016
  24. Feb 16, 2016
    • Nikolai Kosjar's avatar
      Clang: Indicate available "fix its" with a light bulb · 89199b51
      Nikolai Kosjar authored
      
      ...at the end of the line, just like for the "Apply Function Signature
      Changes" refactor action.
      
      * Hovering the light bulb shows the tooltip "Inspect available fixits".
      * Clicking the light bulb leads to the refactoring menu, as if the user
        hit Alt+Return.
      
      Change-Id: Iaf7b3734c43e21fc28e6b0658f517d98858c0e0c
      Reviewed-by: default avatarAlessandro Portale <alessandro.portale@theqtcompany.com>
      89199b51
    • Ulf Hermann's avatar
      Generalize support for extra compilers · 2e3e0605
      Ulf Hermann authored
      
      Allow for different extra compilers which may get called to generate
      additional code for the code model. The build system is expected to
      know what files are generated from which source file and the extra
      compilers know how to generate the content of those files, without
      touching the build directory. the uic adapter is refactored to be
      the first such extra compiler.
      
      The extra compiler is run when an editor for its source document
      loses focus, or after a timeout of 1s when the source document has
      been changed.
      
      Change-Id: I13c110c61120c812f02639a3684144daf8979b37
      Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
      2e3e0605
Loading