1. 28 Oct, 2016 1 commit
  2. 30 Mar, 2016 1 commit
  3. 19 Jan, 2016 1 commit
  4. 24 Apr, 2015 1 commit
    • 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: Orgad Shaneh's 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. 16 Jan, 2015 1 commit
  6. 09 Oct, 2014 1 commit
  7. 19 Sep, 2014 1 commit
  8. 04 Sep, 2014 1 commit
  9. 20 Aug, 2014 1 commit
  10. 07 Aug, 2014 2 commits
    • Nikolai Kosjar's avatar
      CppTools: Tests: Add "Find Errors Indexing" mode · 0f3032f8
      Nikolai Kosjar authored
      
      
      Adding QTC_FIND_ERRORS_INDEXING=1 to the run environment will Creator
      force to do some "extended indexing" in order to find bugs:
      
         1) The project files are parsed as if they would be opened in an
            editor. That is, parsing happens as precisely as possible, based on
            the ProjectPart information.
      
         2) Symbols are looked up by invoking CheckSymbols, the backend of the
            semantic highlighter.
      
         3) A "Task List File" (*.tasks) will be written with all diagnostic
            messages.
      
      This special indexing mode is meant for testing purposes. E.g. it can be
      run nightly on some bigger projects to find regressions.
      
      Note that Qt Creator will quit exactly after the first time some source
      files are indexed. E.g. that will happen if you open a file manually or
      if you open a new unconfigured project. Therefore it's required to
      configure projects as needed before invoking in this indexing mode.
      
      Change-Id: If25b83e67d24df9e28e107cb062f21cbf3b4c643
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
      0f3032f8
    • Nikolai Kosjar's avatar
      CppTools: Builtin-Indexer: Remove superfluous member · 70ca7496
      Nikolai Kosjar authored
      
      
      Change-Id: Ia76a59f0c2739bec5e145edce3ca8711f54b5fa4
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
      70ca7496
  11. 08 Jan, 2014 1 commit
  12. 24 Jun, 2013 1 commit
  13. 10 Apr, 2013 1 commit
  14. 08 Apr, 2013 1 commit
  15. 28 Mar, 2013 1 commit
  16. 04 Dec, 2012 1 commit
  17. 26 Nov, 2012 1 commit