Skip to content
Snippets Groups Projects
  1. Jan 19, 2016
  2. Jun 10, 2015
  3. Jan 16, 2015
  4. Oct 09, 2014
  5. Sep 25, 2014
  6. 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
  7. Jun 12, 2014
  8. Jan 08, 2014
  9. Sep 10, 2013
    • 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>
      3a5d3a2f
  10. Aug 30, 2013
  11. Aug 26, 2013
  12. Jan 29, 2013
  13. Jan 18, 2013
  14. Nov 26, 2012
  15. Nov 22, 2012
  16. Oct 05, 2012
  17. Jul 19, 2012
  18. Jan 26, 2012
  19. Dec 02, 2011
  20. Nov 03, 2011
  21. May 06, 2011
  22. Apr 13, 2011
  23. Jan 12, 2011
  24. Dec 17, 2010
  25. Jul 23, 2010
    • con's avatar
      C++ symbols find filter for advanced find. · 2bda8675
      con authored
      Required refactoring of the search result window to show real trees of
      search results.
      
      The backend is the backend from the Locator filter, which is a bit
      outdated now.
      2bda8675
  26. Mar 05, 2010
  27. Oct 16, 2009
  28. Aug 14, 2009
  29. Jun 16, 2009
    • con's avatar
      Cherry-pick: Update license headers and sales contact details. · 2919c210
      con authored
      Reviewed-by: Trust Me
      
      Conflicts:
      
      	src/libs/cplusplus/CppBindings.cpp
      	src/libs/cplusplus/CppBindings.h
      	src/libs/cplusplus/FastPreprocessor.cpp
      	src/libs/cplusplus/FastPreprocessor.h
      	src/plugins/cpptools/cppcurrentdocumentfilter.cpp
      	src/plugins/cpptools/cppcurrentdocumentfilter.h
      	src/plugins/cpptools/cppsemanticsearch.cpp
      	src/plugins/cpptools/cppsemanticsearch.h
      	src/plugins/duieditor/parser/qmljs.g
      	src/plugins/duieditor/parser/qmljsast.cpp
      	src/plugins/duieditor/parser/qmljsast_p.h
      	src/plugins/duieditor/parser/qmljsastfwd_p.h
      	src/plugins/duieditor/parser/qmljsastvisitor.cpp
      	src/plugins/duieditor/parser/qmljsastvisitor_p.h
      	src/plugins/duieditor/parser/qmljsengine_p.cpp
      	src/plugins/duieditor/parser/qmljsengine_p.h
      	src/plugins/duieditor/parser/qmljsgrammar.cpp
      	src/plugins/duieditor/parser/qmljsgrammar_p.h
      	src/plugins/duieditor/parser/qmljslexer.cpp
      	src/plugins/duieditor/parser/qmljslexer_p.h
      	src/plugins/duieditor/parser/qmljsmemorypool_p.h
      	src/plugins/duieditor/parser/qmljsnodepool_p.h
      	src/plugins/duieditor/parser/qmljsparser.cpp
      	src/plugins/duieditor/parser/qmljsparser_p.h
      	src/plugins/duieditor/parser/qmljsprettypretty.cpp
      	src/plugins/duieditor/parser/qmljsprettypretty_p.h
      	src/plugins/duieditor/rewriter/rewriter.cpp
      	src/plugins/duieditor/rewriter/rewriter_p.h
      	src/plugins/duieditor/rewriter/textwriter.cpp
      	src/plugins/duieditor/rewriter/textwriter_p.h
      	src/shared/cplusplus/ASTClone.cpp
      	tests/manual/cplusplus/main.cpp
      2919c210
    • Jason McDonald's avatar
      Update license headers and sales contact details. · 884b7af7
      Jason McDonald authored
      Reviewed-by: Trust Me
      884b7af7
  30. Feb 25, 2009
  31. Jan 13, 2009
  32. Dec 16, 2008
  33. Dec 05, 2008
  34. Dec 04, 2008
Loading