Skip to content
Snippets Groups Projects
  1. Jan 19, 2016
  2. Jan 16, 2015
  3. Oct 09, 2014
  4. Aug 25, 2014
    • 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: default avatarOrgad Shaneh <orgads@gmail.com>
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
      89bd4ee3
  5. Mar 17, 2014
    • 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
  6. Jan 08, 2014
  7. Feb 19, 2013
  8. Jan 29, 2013
  9. Oct 05, 2012
  10. Jul 19, 2012
  11. Feb 08, 2012
  12. Jan 26, 2012
  13. Nov 03, 2011
  14. May 06, 2011
  15. Apr 13, 2011
  16. Jan 12, 2011
  17. Dec 17, 2010
  18. Jul 05, 2010
  19. Mar 05, 2010
  20. Jan 07, 2010
    • 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
  21. Jan 04, 2010
  22. Oct 28, 2009
  23. Jul 28, 2009
    • 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
Loading