1. 07 Aug, 2014 1 commit
    • 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
      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>
  2. 04 Jul, 2014 1 commit
  3. 25 Jun, 2014 1 commit
  4. 18 Jun, 2014 1 commit
  5. 12 Jun, 2014 3 commits
  6. 10 Jun, 2014 1 commit
  7. 04 Jun, 2014 1 commit
  8. 23 May, 2014 1 commit
  9. 21 May, 2014 1 commit
  10. 26 Mar, 2014 3 commits
  11. 12 Mar, 2014 1 commit
  12. 05 Mar, 2014 1 commit
  13. 27 Feb, 2014 1 commit
  14. 19 Feb, 2014 1 commit
    • Fawzi Mohamed's avatar
      qml: moving most of ModelManager logic to ModelManageInterface · d24cb60d
      Fawzi Mohamed authored
      Currently ModelManager contains lot logic, but as it sits in QmlJSTools
      it is not possible to use it in standalone tests.
      Moving most of the logic to ModelManagerInterface (and cleanup)
      to allow better testing, and refactoring.
      This introduces a dependency of the qmljs lib on the cplusplus lib
      Also a (small) part of the CppTool::ModelManagerInterface has been
      moved to CPlusPlus::CppModelManagerBase to remove the dependency on
      CppTools to gather the Qml types exposed from C++.
      Change-Id: Icad7fe96dfd0f1a2b1058d82bd98c77c40aa5e9d
      Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@digia.com>
  15. 08 Jan, 2014 1 commit
  16. 07 Jan, 2014 1 commit
  17. 16 Dec, 2013 1 commit
  18. 10 Dec, 2013 1 commit
  19. 25 Nov, 2013 1 commit
  20. 14 Nov, 2013 1 commit
  21. 12 Nov, 2013 1 commit
    • Erik Verbruggen's avatar
      C++: Release more documents. · 566be099
      Erik Verbruggen authored
      - fix memory leak in find-usages
      - do not retain snapshot in search history
      - when an editor is invisible for more than 2 minutes, release the
        backing snapshot
      Retaining snapshots will retain their documents, and if done for too
      long, the memory consumption might grow. This is especially the case
      when switching to a different kit (Qt version): in that case, the new
      versions of headers will be indexed, while the old ones stay around.
      Task-number: QTCREATORBUG-5583
      Task-number: QTCREATORBUG-7645
      Task-number: QTCREATORBUG-9842
      Change-Id: I045eda1565e0a3fa702baeffaab9c12662f90289
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
  22. 10 Oct, 2013 1 commit
  23. 09 Oct, 2013 1 commit
  24. 01 Oct, 2013 1 commit
  25. 13 Sep, 2013 1 commit
  26. 11 Sep, 2013 1 commit
  27. 10 Sep, 2013 2 commits
    • Erik Verbruggen's avatar
      C++: unify highlighting/code-completion support "factories". · 3a5d3a2f
      Erik Verbruggen authored
      Both semantic highlighting and code-completion go hand-in-hand, so now
      the ModelManagerSupport class acts as a "factory" for the model manager.
      Depending on the mime-type of the document in the editor, the model
      manager will return the appropriate highlighter or code-completion
      engine. If none is registered, the built-in fall-back is used.
      Change-Id: I3e5dbb0e3b58e077dd5eda9aecb2ce5d448ac0b8
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
    • Erik Verbruggen's avatar
      C++: add fallback project part querying · 87a3aac1
      Erik Verbruggen authored
      When a file is not part of any other project part, this project part can
      be used to get at least some compiler flags, defines, etc. to use. This
      can happen when either a file outside a project is opened, or when the
      project description is incomplete.
      Change-Id: I5d595fae7195e8b61dbad14368b6cae9eb15c21b
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
  28. 09 Sep, 2013 3 commits
  29. 05 Sep, 2013 1 commit
  30. 04 Sep, 2013 1 commit
  31. 02 Sep, 2013 1 commit
  32. 19 Aug, 2013 1 commit
  33. 13 Aug, 2013 1 commit
    • Nikolai Kosjar's avatar
      CppTools: Rework handling of ProjectInfo changes · 8ea14767
      Nikolai Kosjar authored
      (a) The code model manager figures out by itself which files were added
          or removed from the project.
          If this was done successfully, check also the timestamp of the
          common files and reindex if necessary.
      (b) A full reindexing is only triggered if the project configuration
          changes (defines, includes, framework paths).
      (c) If project files were removed, the garbage collector is called.
      Task-number: QTCREATORBUG-9730
      Change-Id: Ib855614b070880576233a3525813617c967a72f3
      Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@digia.com>