1. 19 Jan, 2016 1 commit
  2. 16 Dec, 2015 1 commit
  3. 19 Nov, 2015 1 commit
    • Nikolai Kosjar's avatar
      C++: Revert lookup to 3.4.2 · 0498fb68
      Nikolai Kosjar authored
      ...which was least buggy.
      
      The bugs fixed by the changes we revert here (highlighting/completion
      for code involving templates) were minor compared to ones we currently
      have. Those bugs will be addressed by the clang code model anyway.
      
      Relevant commits were collected via:
      
        $ cd ${QTC}/src/libs/cplusplus
        $ git log \
         --no-merges \
         --format=oneline \
         v3.4.2..HEAD \
         -- LookupContext.* ResolveExpression.* TypeResolver.* TypeOfExpression.* \
            ../../plugins/cpptools/cppcompletion_test.cpp
      
      From this list the following were skipped due to irrelevance:
      
        88c5b47e # CppTools: Minor cleanup in completion tests
        e5255a1f # CppTools: Add a test for ObjC not replacing dot with arrow
        5b12c8d6 # CppTools: Support ObjC in member access operator tests
        9fef4fb9 # CPlusPlus: Fix warnings about overriding visit(...) methods
      
      There were only minor conflicts while reverting those.
      
      This changes touches so many files because there were quite some
      cleanups and renames after the 3.4.2 release.
      
      Task-number: QTCREATORBUG-14889
      Task-number: QTCREATORBUG-15211
      Task-number: QTCREATORBUG-15213
      Task-number: QTCREATORBUG-15257
      Task-number: QTCREATORBUG-15264
      Task-number: QTCREATORBUG-15291
      Task-number: QTCREATORBUG-15329
      Change-Id: I01f759f8f35ecb4228928a4f22086e279c1a5435
      Reviewed-by: default avatarMarco Bubke <marco.bubke@theqtcompany.com>
      0498fb68
  4. 04 Nov, 2015 2 commits
  5. 24 Sep, 2015 1 commit
  6. 10 Jul, 2015 1 commit
  7. 03 Jun, 2015 1 commit
  8. 13 May, 2015 1 commit
  9. 20 Apr, 2015 1 commit
  10. 05 Mar, 2015 1 commit
  11. 04 Feb, 2015 1 commit
    • Orgad Shaneh's avatar
      C++: Remove unneeded qualifications · 65e7db42
      Orgad Shaneh authored
      Mostly done using the following ruby script:
      Dir.glob('**/*.cpp').each { |file|
        next if file =~ %r{src/shared/qbs|/qmljs/}
        s = File.read(file)
        s.scan(/^using namespace (.*);$/) {
          ns = $1
          t = s.gsub(/^(.*)\b#{ns}::((?!Const)[A-Z])/) { |m|
            before = $1
            char = $2
            if before =~ /"|\/\/|\\|using|SIGNAL|SLOT|Q_/
              m
            else
              before + char
            end
          }
          if t != s
            puts file
            File.open(file, 'w').write(t)
          end
        }
      }
      
      Change-Id: I6fbe13ddc1485efe95c3156097bf41d90c0febac
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@theqtcompany.com>
      65e7db42
  12. 26 Jan, 2015 1 commit
    • Nikolai Kosjar's avatar
      CppEditor: Move CppEditorWidget::linkToSymbol to CppTools · cfd3b561
      Nikolai Kosjar authored
      * Cuts direct dependency to CPlusPlus from cppeditor.h, but
        cppfunctiondecldeflink.h still pulls it in.
      
      * Cuts direct dependency to
        cppeditor.h from cppvirtualfunctionassistprovider.cpp, but it still
        depends on cppeditorconstants.h.
      
      * Cuts direct dependency to cppeditor.h from cppelementevaluator.cpp.
      
      The long-term goal is to make the CppEditor independent from concrete
      code model backends.
      
      Change-Id: I291ee0d0da5fc5ed1a839a763fe7be11dcf7a6fb
      Reviewed-by: default avatarMarco Bubke <marco.bubke@theqtcompany.com>
      cfd3b561
  13. 16 Jan, 2015 1 commit
  14. 12 Jan, 2015 1 commit
  15. 09 Oct, 2014 1 commit
  16. 22 Sep, 2014 1 commit
  17. 20 Aug, 2014 1 commit
  18. 10 Jun, 2014 1 commit
    • Nikolai Kosjar's avatar
      CppTools: Unexport some internal classes. · 11845cd3
      Nikolai Kosjar authored
      Unexports CppModelManager, CppSourceProcessor and CppToolsPlugin.
      
      Now only some constructor signatures mention "Internal::" in the
      exported symbols:
      
      % nm --extern-only --demangle ./lib/qtcreator/plugins/libCppTools.so | grep "Internal::"
      CppTools::CppClassesFilter::CppClassesFilter(CppTools::Internal::CppLocatorData*)
      CppTools::CppClassesFilter::CppClassesFilter(CppTools::Internal::CppLocatorData*)
      CppTools::CppEditorSupport::CppEditorSupport(CppTools::Internal::CppModelManager*, TextEditor::BaseTextEditor*)
      CppTools::CppEditorSupport::CppEditorSupport(CppTools::Internal::CppModelManager*, TextEditor::BaseTextEditor*)
      
      Change-Id: I167c21a6dc03cf02230c95fde66cf404e40df36f
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
      11845cd3
  19. 23 May, 2014 1 commit
  20. 08 Jan, 2014 1 commit
  21. 10 Apr, 2013 1 commit
  22. 03 Apr, 2013 1 commit
  23. 29 Jan, 2013 1 commit
  24. 05 Oct, 2012 1 commit
  25. 19 Jul, 2012 1 commit
  26. 13 Apr, 2012 1 commit
  27. 16 Feb, 2012 1 commit
    • Erik Verbruggen's avatar
      Supply c++11 flags and per-project info to c++ code model. · 3aab8bea
      Erik Verbruggen authored
      A manual squash/merge of the changes below, plus a couple of subsequent
      code fixes.
      
      59085aa5fbb99e2d786cd2c1a06c24a111ccb49f:
          Modify CppModel::ProjectInfo
      
          Adding per project node information, to pass on the correct
          defines/includes for each file, instead of aggregating them incorrectly.
      
          Also split up SOURCES and OBJECTIVE_SOURCES.
      
          Also ask the toolchain to convert the compilerflags to flags the
          codemodel understands, for now only gcc and only c++11.
      
          Also make the toolchain aware of the flags used to compile, so that it
          can emit the correct defines.
      
          Note: No header files are passed on.
      
      74028802314cd4e75b41b46407433e07090a304d:
          GCC: Evaluate cxxflags when checking for predefined macros
      
      ebaaa4957e4c02cc9637a998eddae1d0acd74f83:
          MSVC: Take cxxflags into account when checking for predefined macros
      
      9bfce7e889bcf7bcc47bf880e3ea25945ca7d0d7:
          Compile fixes
      
      Change-Id: I9de94ad038dfc5dc1987732e84b13fb4419c96f5
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@nokia.com>
      3aab8bea
  28. 15 Feb, 2012 1 commit
  29. 26 Jan, 2012 1 commit
  30. 10 Jan, 2012 1 commit
  31. 15 Nov, 2011 1 commit
  32. 03 Nov, 2011 1 commit
  33. 25 Oct, 2011 1 commit
  34. 12 Oct, 2011 1 commit
  35. 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
  36. 06 May, 2011 1 commit
  37. 13 Apr, 2011 1 commit
  38. 12 Jan, 2011 2 commits