1. 17 Jun, 2016 1 commit
  2. 08 Jun, 2016 1 commit
  3. 01 Mar, 2016 1 commit
  4. 12 Feb, 2016 2 commits
  5. 01 Feb, 2016 1 commit
  6. 21 Jan, 2016 1 commit
  7. 16 Dec, 2015 1 commit
  8. 09 Dec, 2015 1 commit
  9. 30 Nov, 2015 4 commits
  10. 26 Nov, 2015 2 commits
  11. 14 Oct, 2015 1 commit
  12. 29 Sep, 2015 2 commits
    • Nikolai Kosjar's avatar
      Clang: Integrate clang's fixits as refactoring actions · a7928b4b
      Nikolai Kosjar authored
      They are invokable by the usual means (Alt+Enter, editor's context menu
      > Refactor) plus by the context menu of the editor's left margin for the
      related line.
      The fixit text comes directly from libclang and is thus not translated.
      We modify the text slighty by stripping the diagnostic category prefix
      ("note:", "error:", ...) and capitalizing the first letter.
      A follow-up change should properly indicate available refactorings with
      a refactoring icon in the editor's left margin.
      Task-number: QTCREATORBUG-14868
      Change-Id: I86157c9f824d2a9dedf19087476d02ad1e6cc854
      Reviewed-by: default avatarMarco Bubke <marco.bubke@theqtcompany.com>
    • Nikolai Kosjar's avatar
      Clang: Refactor handling of diagnostics · de6d7f06
      Nikolai Kosjar authored
      ...by introducing ClangDiagnosticManager and the helper class
      ClangDiagnosticManager will get more state in a follow-up change.
      Change-Id: Id2c312bc897ea41ed67292b56b24dcfb7975ff4a
      Reviewed-by: default avatarMarco Bubke <marco.bubke@theqtcompany.com>
  13. 04 Sep, 2015 1 commit
  14. 31 Aug, 2015 1 commit
  15. 04 Aug, 2015 1 commit
  16. 23 Jul, 2015 1 commit
  17. 08 Jul, 2015 1 commit
  18. 06 Jul, 2015 2 commits
  19. 16 Jun, 2015 1 commit
  20. 10 Jun, 2015 1 commit
    • Nikolai Kosjar's avatar
      Clang: Use completion through backend process · 23b8a3b2
      Nikolai Kosjar authored
      This makes us independent of libclang crashes for completion.
      Re-parsing for highlighting still happens in the Qt Creator process.
      Run in verbose mode:
      Run tests:
          -test "ClangCodeModel"
      Task-number: QTCREATORBUG-14108
      Task-number: QTCREATORBUG-12819
      Change-Id: Id3e95bd2afdb6508bbd1d35fddc69534a909b905
      Reviewed-by: default avatarMarco Bubke <marco.bubke@theqtcompany.com>
  21. 03 Jun, 2015 1 commit
  22. 13 May, 2015 1 commit
  23. 06 Oct, 2014 1 commit
  24. 25 Aug, 2014 1 commit
    • Nikolai Kosjar's avatar
      C++: Base parsing on editor document instead of widget · 89bd4ee3
      Nikolai Kosjar authored
      This mainly takes CppEditorSupport apart.
      * Parsing is now invoked by CPPEditorDocument itself by listening to
      * Upon construction and destruction CPPEditorDocument creates and
        deletes an EditorDocumentHandle for (un)registration in the model
        manager. This handle provides everything to generate the working copy
        and to access the editor document processor.
      * A CPPEditorDocument owns a BaseEditorDocumentProcessor instance that
        controls parsing, semantic info recalculation and the semantic
        highlighting for the document. This is more or less what is left from
        CppEditorSupport and can be considered as the backend of a
        CPPEditorDocument. CPPEditorDocument itself is quite small.
          * BuiltinEditorDocumentProcessor and ClangEditorDocumentProcessor
            derive from BaseEditorDocumentProcessor and implement the gaps.
          * Since the semantic info calculation was bound to the widget, it
            also calculated the local uses, which depend on the cursor
            position. This calculation got moved into the extracted class
            UseSeletionsUpdater in the cppeditor plugin, which is run once the
            cursor position changes or the semantic info document is updated.
          * Some more logic got extracted:
      	- SemanticInfoUpdater (logic was in CppEditorSupport)
      	- SemanticHighlighter (logic was in CppEditorSupport)
          * The *Parser and *Processor classes can be easily accessed by the
            static function get().
      * CppHighlightingSupport is gone since it turned out to be useless.
      * The editor dependency in CompletionAssistProviders is gone since we
        actually only need the file path now.
      Change-Id: I49d3a7bd138c5ed9620123e34480772535156508
      Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
  25. 02 Jul, 2014 1 commit
  26. 15 Apr, 2014 1 commit
  27. 10 Jan, 2014 1 commit
  28. 07 Jan, 2014 1 commit
    • Christian Kandeler's avatar
      ClangCodeModel: Add qbs project file. · 9fd21d87
      Christian Kandeler authored
      Not all logic present in the qmake project file for determining paths and
      library names is replicated here: At the moment, all paths are derived from
      the LLVM_INSTALL_DIR environment variable, and the library name is assumed
      to be always "clang". Consolidation can be done when stabilizing the
      Change-Id: Ib1ac8cf2465262e90325addb46f821549048a172
      Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@digia.com>