1. 20 Sep, 2013 1 commit
    • Orgad Shaneh's avatar
      Mute MSVC safety warnings · 5dc58306
      Orgad Shaneh authored
      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
          _OutIt=Botan::word *,
          _InIt=const Botan::u32bit *
      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>
      being compiled
      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>
  2. 13 Sep, 2013 1 commit
  3. 10 Sep, 2013 1 commit
    • 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>
  4. 09 Sep, 2013 1 commit
    • Erik Verbruggen's avatar
      C++: clean-up CppCompletionAssist. · b4a1bd41
      Erik Verbruggen authored
      This is step 1 of 2 for merging the various provider factories into a
      single class. Merging has the advantage that selecting based on editor
      (content) mime-type only has to select one class, instead of re-doing
      the selection for each class separately.
      Change-Id: I11f815151bd4769ae6028b636793d6a80d02e202
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
  5. 03 Sep, 2013 1 commit
  6. 30 Aug, 2013 1 commit
    • 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>
  7. 22 Aug, 2013 1 commit
  8. 20 Aug, 2013 1 commit
  9. 19 Aug, 2013 1 commit
  10. 13 Aug, 2013 1 commit
  11. 10 Jul, 2013 1 commit
    • 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>
  12. 11 Jun, 2013 1 commit
  13. 26 Apr, 2013 1 commit
  14. 10 Apr, 2013 1 commit
  15. 03 Apr, 2013 2 commits
  16. 02 Apr, 2013 2 commits
  17. 27 Mar, 2013 1 commit
  18. 21 Mar, 2013 1 commit
  19. 24 Jan, 2013 1 commit
  20. 16 Jan, 2013 1 commit
  21. 20 Dec, 2012 1 commit
  22. 26 Nov, 2012 1 commit
  23. 22 Nov, 2012 1 commit
  24. 23 Oct, 2012 1 commit
  25. 23 Jul, 2012 1 commit
  26. 14 Mar, 2012 1 commit
  27. 23 Feb, 2012 1 commit
  28. 20 Feb, 2012 1 commit
  29. 08 Feb, 2012 1 commit
  30. 23 Jan, 2012 1 commit
    • Leandro Melo's avatar
      C++: Improve file accuracy when finding symbols · 466ea484
      Leandro Melo authored
      This patch introduces a priority-based mechanism when searching for certains
      symbols in the snapshot. The priority corresponds to how similar the file path
      from the "reference" symbol is to the file path from the "candidate" symbol.
      This solves a variety of issues when matching "equivalent" symbols but that
      are in another file/project, such as when following a function declaration,
      a forward class declaration, or adding a definition through a quickfix.
      There's now a symbol finder which will compute the "best" search order and cache
      the most recent results. A consequence is that following symbols in some cases
      is slower, but not apparently significatly.
      Note: The "find" functions were moved from the Snapshot to the new SymbolFinder
      Task-number: QTCREATORBUG-6697
      Task-number: QTCREATORBUG-6792
      Change-Id: Ia518f014275fec1f4d0cb3224bd4e06a9df6d557
      Reviewed-by: default avatarRoberto Raggi <roberto.raggi@nokia.com>
  31. 09 Dec, 2011 1 commit
  32. 15 Nov, 2011 1 commit
  33. 23 Sep, 2011 1 commit
  34. 08 Jul, 2011 1 commit
    • Leandro Melo's avatar
      C++ editor: Improve type hierarchy widget · 23decd9d
      Leandro Melo authored
      Now the type hierarchy widget will also show the classes
      derived from the selected one. For consistency the way
      the base classes are shown was changed too. The diagram
      below is an example from Creator's code when openining
      the type hierarchy for BaseTextEditorWidget:
      Depending on the project and on the selected class the
      hierarchy widget might take a bit to be constructed.
      This should be improved later.
      Change-Id: Ifbdd1cbbba955a0bdf03297ff0e7620351b12dc5
      Reviewed-on: http://codereview.qt.nokia.com/883Reviewed-by: default avatarRoberto Raggi <roberto.raggi@nokia.com>
  35. 24 May, 2011 1 commit
  36. 18 May, 2011 1 commit
    • Leandro Melo's avatar
      New code assist API · bec4f024
      Leandro Melo authored
      This is a re-work of our completion engine. Primary goals are:
      - Allow the computation to run in a separate thread so the GUI is not locked.
      - Support a model-based approach. QStrings are still needed (filtering, etc), but
      internal structures are free to use more efficient representations.
      - Unifiy all kinds of *assist* into a more reusable and extensible framework.
      - Remove unnecessary dependencies on the text editor so we have more generic
      and easily "plugable" components (still things to be resolved).
  37. 04 Jan, 2011 1 commit
  38. 03 Nov, 2010 1 commit