Skip to content
Snippets Groups Projects
  1. Jan 19, 2016
  2. Jan 13, 2016
  3. Jun 04, 2015
  4. Apr 24, 2015
    • Nikolai Kosjar's avatar
      CppTools: Remove separate indexing revision · d4bb5033
      Nikolai Kosjar authored
      
      For indexing we used a custom revision that was updated on each
      modelManager BuiltinIndexingSupport::refreshSourceFiles() call. This
      could lead to rejection of updated documents triggered by refactoring
      actions, like for the following case:
      
       1. Open a project containing a.h and a.cpp
       2. Open a.cpp, insert some new lines, save and close the document
       3. Open a.h and rename a function that is defined in a.cpp
          --> The refactoring action modifies a.h and a.cpp, so re-indexing
              of those is triggered. Since a.cpp has already a higher revision
              (step 2) than the updated document, the updated document is
              discarded. As a consequence find usages and follow symbol fails
              for the renamed function.
      
      Now the document call back provided to CppSourceProcessor is responsible
      for updating the document revision based on the latest revision in the
      global snapshot.
      
      Change-Id: I4dfa0a4d34991655acfa749109f00c47b0fbfdbe
      Reviewed-by: default avatarOrgad Shaneh <orgads@gmail.com>
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@theqtcompany.com>
      Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
      d4bb5033
  5. Feb 20, 2015
  6. Jan 16, 2015
  7. Nov 03, 2014
  8. Oct 15, 2014
  9. Sep 25, 2014
  10. Sep 19, 2014
  11. Sep 04, 2014
  12. Aug 22, 2014
  13. Aug 20, 2014
  14. Jul 24, 2014
    • Nikolai Kosjar's avatar
      CppTools: Auto-include pre-compiled headers · 6a9ae7e2
      Nikolai Kosjar authored
      
      So far the pre-compiled headers were processed (thus defines from those
      headers were visible), but the actual includes for the documents were
      not added, which is necessary for lookup/completion.
      
      Note that this will be only done if pre-compiled headers are not ignored
      (Options > C++ > Code Model > [] Ignore pre-compiled headers).
      
      Change-Id: I54a8e6b00597af164d958e3e9f2a1075ea187788
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
      6a9ae7e2
  15. Jul 04, 2014
  16. Jun 30, 2014
  17. Jun 18, 2014
  18. Jun 10, 2014
    • Nikolai Kosjar's avatar
      CppTools: Unexport some internal classes. · 11845cd3
      Nikolai Kosjar authored
      
      Unexports CppModelManager, CppSourceProcessor and CppToolsPlugin.
      
      Now only some constructor signatures mention "Internal::" in the
      exported symbols:
      
      % nm --extern-only --demangle ./lib/qtcreator/plugins/libCppTools.so | grep "Internal::"
      CppTools::CppClassesFilter::CppClassesFilter(CppTools::Internal::CppLocatorData*)
      CppTools::CppClassesFilter::CppClassesFilter(CppTools::Internal::CppLocatorData*)
      CppTools::CppEditorSupport::CppEditorSupport(CppTools::Internal::CppModelManager*, TextEditor::BaseTextEditor*)
      CppTools::CppEditorSupport::CppEditorSupport(CppTools::Internal::CppModelManager*, TextEditor::BaseTextEditor*)
      
      Change-Id: I167c21a6dc03cf02230c95fde66cf404e40df36f
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
      11845cd3
  19. Jun 04, 2014
  20. May 23, 2014
  21. Mar 10, 2014
  22. Nov 18, 2013
  23. Oct 01, 2013
  24. Sep 11, 2013
  25. May 31, 2013
  26. Apr 26, 2013
Loading