1. 21 Jan, 2015 40 commits
  2. 12 Jan, 2015 40 commits
  3. 10 Nov, 2014 40 commits
  4. 19 Sep, 2014 40 commits
  5. 18 Sep, 2014 40 commits
  6. 25 Aug, 2014 40 commits
    • 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
  7. 20 Aug, 2014 40 commits
  8. 04 Jul, 2014 40 commits
  9. 16 Jun, 2014 40 commits
  10. 04 Jun, 2014 40 commits
  11. 03 Jun, 2014 40 commits
  12. 28 May, 2014 40 commits
  13. 27 Mar, 2014 40 commits
  14. 26 Mar, 2014 40 commits
  15. 11 Mar, 2014 40 commits
  16. 11 Feb, 2014 40 commits
  17. 14 Jan, 2014 40 commits
  18. 07 Jan, 2014 40 commits
  19. 11 Dec, 2013 40 commits
  20. 12 Nov, 2013 40 commits
  21. 09 Oct, 2013 40 commits
  22. 01 Oct, 2013 40 commits
  23. 20 Sep, 2013 40 commits
    • Orgad Shaneh's avatar
      Mute MSVC safety warnings · 5dc58306
      Orgad Shaneh authored
      Botan:
      C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xutility:2227:
      warning: C4996: 'std::_Copy_impl': Function call with parameters that may be
      unsafe - this call relies on the caller to check that the passed values are
      correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See
      documentation on how to use Visual C++ 'Checked Iterators'
      
      c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\xutility:2212:
      see declaration of 'std::_Copy_impl'
      
      D:\dev\qt-creator\src\libs\3rdparty\botan\botan.cpp:7248: see reference
      to function template instantiation
      '_OutIt std::copy<const Botan::u32bit*,T*>(_InIt,_InIt,_OutIt)' being compiled
      with
      [
          _OutIt=Botan::word *,
          T=Botan::word,
          _InIt=const Botan::u32bit *
      ]
      
      CppTools:
      C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xutility:2873:
      warning: C4996: 'std::_Mismatch1': Function call with parameters that may be
      unsafe - this call relies on the caller to check that the passed values are
      correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See
      documentation on how to use Visual C++ 'Checked Iterators'
      
      C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\xutility:2856:
      see declaration of 'std::_Mismatch1'
      
      D:\dev\qt-creator\src\plugins\cpptools\symbolfinder.cpp:388: see reference to
      function template instantiation 'std::pair<_Ty1,_Ty2>
      std::mismatch<QString::const_iterator,QString::const_iterator>(_InIt1,_InIt1,_InIt2)'
      being compiled
      with
      [
          _Ty1=QString::const_iterator,
          _Ty2=QString::const_iterator,
          _InIt1=QString::const_iterator,
          _InIt2=QString::const_iterator
      ]
      
      Change-Id: I09a477e755c4555101b064271f10c08a69576e33
      Reviewed-by: default avatarChristian Kandeler <christian.kandeler@digia.com>
      Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
      5dc58306
  24. 13 Sep, 2013 40 commits
  25. 10 Sep, 2013 40 commits
    • 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
  26. 09 Sep, 2013 40 commits
  27. 03 Sep, 2013 40 commits
  28. 30 Aug, 2013 40 commits
    • Nikolai Kosjar's avatar
      CppTools: Introduce LocatorData · fc731a3a
      Nikolai Kosjar authored
      Until now the locator filters CppLocatorFilter, CppClassesFilter and
      CppFunctionsFilter used unnecessarily their own SearchSymbols instance.
      The results were also saved separately, which was unfavorable since e.g.
      the functions and classes data could be shared.
      
      Starting with this patch an instance of LocatorData will serve all
      mentioned filters.
      
      This saves about 20MB of memory after indexing the Qt Creator project.
      
      Change-Id: I8a34b67eb9fe0e5c68ba6e7c8f576389c78efc6f
      Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
      fc731a3a
  29. 22 Aug, 2013 40 commits
  30. 20 Aug, 2013 40 commits
  31. 19 Aug, 2013 40 commits
  32. 13 Aug, 2013 40 commits
  33. 10 Jul, 2013 40 commits
    • Tobias Hunger's avatar
      Move Ui code model support into QtSupport · 81eba6f9
      Tobias Hunger authored
      * Move basic ui code model support from CppTools into QtSupport
      * Use Kit infrastructure to retrieve uicCommand and environment
      * Remove specialization for cmake projects (no longer needed)
      * Remove specialization for qmake based projects (no longer needed)
      
      Change-Id: I8569cc01acb46a540883c2da235d169bebf7db39
      Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
      81eba6f9
  34. 09 Jul, 2013 40 commits