1. 29 Feb, 2016 1 commit
  2. 16 Feb, 2016 1 commit
  3. 15 Feb, 2016 1 commit
  4. 12 Feb, 2016 1 commit
  5. 09 Feb, 2016 1 commit
  6. 03 Feb, 2016 1 commit
  7. 02 Feb, 2016 1 commit
  8. 01 Feb, 2016 1 commit
  9. 19 Jan, 2016 1 commit
  10. 18 Jan, 2016 1 commit
  11. 13 Jan, 2016 2 commits
  12. 12 Jan, 2016 1 commit
    • Marco Bubke's avatar
      CppTools: Add CppToolsBridge · 6fe9b0cc
      Marco Bubke authored
      We broke the dependency of
      BaseEditorDocumentProcessor *BaseEditorDocumentProcessor::get(const QString &filePath)
      
      It's hiding static calls and it is much easier to do it that way than to
      provide a reference to every user. It's also possible to exchange it with
      different implementations for different test cases.
      
      Change-Id: Ic74699b45948e8b48f7efb6a1b295ba2641b8951
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@theqtcompany.com>
      6fe9b0cc
  13. 15 Dec, 2015 1 commit
  14. 02 Dec, 2015 1 commit
  15. 25 Nov, 2015 1 commit
    • Alessandro Portale's avatar
      Themed Icons: Introduce Utils::Icon · 033862f3
      Alessandro Portale authored
      Instead of describing icons via file name or in the themed icons case
      via
      a string that is a list of mask/color pairs, we have now a class for it.
      
      Icons are now listed in per-plugin *icons.h headers.
      
      RunControl::m_icon was The only place left where an icon property was in
      fact a string. This patch changes that member to be a Utils::Icon.
      
      Change-Id: Ibcfa8bb25e6d2e330c567ee7ccc0b97ead603177
      Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
      033862f3
  16. 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
  17. 16 Nov, 2015 1 commit
  18. 23 Oct, 2015 1 commit
  19. 12 Oct, 2015 2 commits
  20. 06 Oct, 2015 1 commit
  21. 30 Sep, 2015 1 commit
  22. 29 Sep, 2015 1 commit
    • Nikolai Kosjar's avatar
      Clang: Integrate clang's fixits as refactoring actions · a7928b4b
      Nikolai Kosjar authored
      They are invokable by the usual means (Alt+Enter, editor's context menu
      > Refactor) plus by the context menu of the editor's left margin for the
      related line.
      
      The fixit text comes directly from libclang and is thus not translated.
      We modify the text slighty by stripping the diagnostic category prefix
      ("note:", "error:", ...) and capitalizing the first letter.
      
      A follow-up change should properly indicate available refactorings with
      a refactoring icon in the editor's left margin.
      
      Task-number: QTCREATORBUG-14868
      Change-Id: I86157c9f824d2a9dedf19087476d02ad1e6cc854
      Reviewed-by: default avatarMarco Bubke <marco.bubke@theqtcompany.com>
      a7928b4b
  23. 10 Sep, 2015 1 commit
  24. 04 Sep, 2015 1 commit
  25. 02 Sep, 2015 1 commit
    • Nikolai Kosjar's avatar
      C++: Fix crash after triggering completion and closing editor · 169556db
      Nikolai Kosjar authored
      Fix use-after-free for the following case:
        1. Open an editor
        2. Trigger a long processing completion
           (e.g. simulate with QThread::msleep in
            CppCompletionAssistInterface::getCppSpecifics)
        3. ...and immediately close the editor (e.g. with Ctrl+W)
        4. Wait until it crashes.
      
      The completion thread relied on the BuiltinEditorDocumentParser object,
      which is deleted once the editor is closed. Fixed by sharing the
      ownership of that object between the *EditorDocumentProcessor and the
      completion assist interface.
      
      This case came up when doing tests for the bug report below.
      
      Task-number: QTCREATORBUG-14991
      Change-Id: I0b009229e68fc6b7838740858cdc41a32403fe6f
      Reviewed-by: default avatarDavid Schulz <david.schulz@theqtcompany.com>
      169556db
  26. 31 Aug, 2015 2 commits
  27. 21 Aug, 2015 2 commits
  28. 20 Aug, 2015 1 commit
  29. 18 Aug, 2015 2 commits
  30. 06 Aug, 2015 1 commit
  31. 31 Jul, 2015 1 commit
    • Nikolai Kosjar's avatar
      C++: Do not let ASTPath calculate line/column for generated tokens · 892cb154
      Nikolai Kosjar authored
      ASTPath uses TranslationUnit::getPosition(), which returns reasonable
      results for:
      
          1. non-expanded tokens
          2. expanded but not generated tokens
      
      The expanded *and* generated tokens case is not handled since there is
      no reasonable mapping from generated tokens to a continuous line/column
      information. Consider:
      
          #define DECLARE_FOO int foo; // Multiple generated tokens
          DECLARE_FOO // ...can be mapped to this line, but to which columns?
      
      Since the result where not valid for the expanded and generated case,
      ASTPath took the wrong branches. Avoid this by skipping generated
      tokens.
      
      Change-Id: I33a2e0f62917f87d691b19feaeef67b09ea8d563
      Task-number: QTCREATORBUG-13386
      Task-number: QTCREATORBUG-13390
      Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@theqtcompany.com>
      Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
      892cb154
  32. 29 Jul, 2015 1 commit
  33. 28 Jul, 2015 1 commit
  34. 20 Jul, 2015 1 commit
  35. 13 Jul, 2015 1 commit