1. 11 Dec, 2013 2 commits
  2. 12 Nov, 2013 1 commit
  3. 01 Oct, 2013 1 commit
  4. 20 Sep, 2013 1 commit
    • 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
  5. 13 Sep, 2013 1 commit
  6. 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>
      3a5d3a2f
  7. 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>
      b4a1bd41
  8. 03 Sep, 2013 1 commit
  9. 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>
      fc731a3a
  10. 22 Aug, 2013 1 commit
  11. 20 Aug, 2013 1 commit
  12. 19 Aug, 2013 1 commit
  13. 13 Aug, 2013 1 commit
  14. 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>
      81eba6f9
  15. 11 Jun, 2013 1 commit
  16. 26 Apr, 2013 1 commit
  17. 10 Apr, 2013 1 commit
  18. 03 Apr, 2013 2 commits
  19. 02 Apr, 2013 2 commits
  20. 27 Mar, 2013 1 commit
  21. 21 Mar, 2013 1 commit
  22. 24 Jan, 2013 1 commit
  23. 16 Jan, 2013 1 commit
  24. 20 Dec, 2012 1 commit
  25. 26 Nov, 2012 1 commit
  26. 22 Nov, 2012 1 commit
  27. 23 Oct, 2012 1 commit
  28. 23 Jul, 2012 1 commit
  29. 14 Mar, 2012 1 commit
  30. 23 Feb, 2012 1 commit
  31. 20 Feb, 2012 1 commit
  32. 08 Feb, 2012 1 commit
  33. 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
      class.
      
      Task-number: QTCREATORBUG-6697
      Task-number: QTCREATORBUG-6792
      
      Change-Id: Ia518f014275fec1f4d0cb3224bd4e06a9df6d557
      Reviewed-by: default avatarRoberto Raggi <roberto.raggi@nokia.com>
      466ea484
  34. 09 Dec, 2011 1 commit
  35. 15 Nov, 2011 1 commit
  36. 23 Sep, 2011 1 commit
  37. 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:
      
      Bases
       +QObject
        +QWidget
         +...
           BaseTextEditorWidget
       +QPaintDevice
        +...
          BaseTextEditorWidget
      Derived
       +BaseTextEditorWidget
        +VCSBaseEditorWidget
          GitEditor
          MercurialEditor
          ...
         GLSLEditorWidget
         CppEditorWidget
         QmlJSTextEditorWidget
         ...
      
      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>
      23decd9d