1. 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
  2. 17 Mar, 2014 1 commit
    • Nikolai Kosjar's avatar
      CppTools: Tag incomplete semantic info · 18e6be55
      Nikolai Kosjar authored
      ...in order to be able to full-rehighlight on the next turn.
      
      The following sequence was problematic:
      
      1. recalculateSemanticInfoDetached(true)
         * e.g. triggered by opening the document
      2. recalculateSemanticInfoDetached(false)
         * e.g. triggered by moving the cursor
         * cancels 1. and leads to incompletely parsed/checked document - OK
      3. startHighlighting()
         * triggered by 1.; starts highlighting on incomplete document - OK
      4. startHighlighting()
         * gets a completely parsed/checked document - OK
         * not forced, so just compare revisions; they are the same, so
           skip/return - a partly highlighted document is left behind.
      
      Task-number: QTCREATORBUG-11367
      Change-Id: Ic56e00e862ec4a1ffa197b2fc8b48be56a3562de
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
      18e6be55
  3. 08 Jan, 2014 1 commit
  4. 19 Feb, 2013 1 commit
  5. 29 Jan, 2013 1 commit
  6. 05 Oct, 2012 1 commit
  7. 19 Jul, 2012 1 commit
  8. 08 Feb, 2012 1 commit
  9. 26 Jan, 2012 1 commit
  10. 03 Nov, 2011 1 commit
  11. 06 May, 2011 1 commit
  12. 13 Apr, 2011 1 commit
  13. 12 Jan, 2011 2 commits
  14. 17 Dec, 2010 1 commit
  15. 05 Jul, 2010 1 commit
  16. 05 Mar, 2010 1 commit
  17. 07 Jan, 2010 1 commit
    • Tobias Hunger's avatar
      Add copyright headers. · f5a893bc
      Tobias Hunger authored
       * Make sure all non-empty source files found below ./src have
         a copyright header.
      
      Reviewed-by: con
      f5a893bc
  18. 04 Jan, 2010 1 commit
  19. 28 Oct, 2009 1 commit
  20. 28 Jul, 2009 1 commit
    • Daniel Molkentin's avatar
      Make the welcome screen into plugins. · 5633de2a
      Daniel Molkentin authored
      This removes the all hard dependencies to and from welcome screen,
      except the one to the core plugin. More in detail:
      
      - Add IWelcomePage to add a tab to the welcome screen
      - Move tabs in the modules where they belong
      - Enables QHelpManager to open help fullscreen and contextually
      - "Getting Started" moves to Qt4ProjectManager
      - Projects & Sessions (aka "Develop") moves to ProjectExplorer
      - "Community" remains in the welcome plugin for simplicity
      5633de2a