1. 19 Sep, 2014 2 commits
  2. 04 Sep, 2014 1 commit
  3. 27 Aug, 2014 1 commit
  4. 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
        QTextDocument::contentsChanged().
      
      * 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>
      89bd4ee3
  5. 21 Aug, 2014 1 commit
  6. 20 Aug, 2014 1 commit
  7. 18 Aug, 2014 1 commit
  8. 08 Aug, 2014 1 commit
  9. 07 Aug, 2014 1 commit
  10. 31 Jul, 2014 1 commit
  11. 24 Jul, 2014 1 commit
  12. 17 Jul, 2014 1 commit
  13. 10 Jul, 2014 1 commit
  14. 04 Jul, 2014 1 commit
  15. 23 Jun, 2014 2 commits
  16. 16 Jun, 2014 1 commit
  17. 13 Jun, 2014 2 commits
  18. 12 Jun, 2014 1 commit
  19. 02 Jun, 2014 2 commits
  20. 23 May, 2014 2 commits
  21. 21 May, 2014 1 commit
  22. 20 Feb, 2014 2 commits
  23. 24 Jan, 2014 3 commits
  24. 14 Jan, 2014 1 commit
  25. 09 Jan, 2014 1 commit
  26. 08 Jan, 2014 1 commit
  27. 03 Dec, 2013 1 commit
  28. 27 Nov, 2013 1 commit
    • Nikolai Kosjar's avatar
      CppEditor: Fix stack overflow in quick fixes · 323be40b
      Nikolai Kosjar authored
      
      
      The MoveDeclarationOutOfIf quick fix modified a IfStatementAST in case
      there were several such ASTs in interface->path(). The resulting AST was
      invalid (else_statement was pointing to 'this' afterwards), thus the
      afterwards executed PointerDeclarationFormatter (an ASTVisitor) was not
      able to finish his visit.
      
      The actual problem was that op->pattern in the match() calls was not
      reset.
      
      Task-number: QTCREATORBUG-10919
      Change-Id: Ifbcac73e75690321ef45b6d8c2dc32fcea236efa
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
      323be40b
  29. 12 Nov, 2013 1 commit
  30. 17 Oct, 2013 1 commit
  31. 10 Oct, 2013 1 commit
  32. 07 Oct, 2013 1 commit