1. 29 Feb, 2016 1 commit
  2. 16 Feb, 2016 1 commit
  3. 19 Jan, 2016 1 commit
  4. 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
  5. 12 Oct, 2015 1 commit
  6. 01 Jul, 2015 1 commit
  7. 24 Jun, 2015 1 commit
  8. 22 Jun, 2015 1 commit
  9. 10 Jun, 2015 1 commit
    • Nikolai Kosjar's avatar
      Clang: Use completion through backend process · 23b8a3b2
      Nikolai Kosjar authored
      This makes us independent of libclang crashes for completion.
      Re-parsing for highlighting still happens in the Qt Creator process.
      
      Run in verbose mode:
          qtc.clangcodemodel.ipc=true
      
      Run tests:
          -test "ClangCodeModel"
      
      Task-number: QTCREATORBUG-14108
      Task-number: QTCREATORBUG-12819
      Change-Id: Id3e95bd2afdb6508bbd1d35fddc69534a909b905
      Reviewed-by: default avatarMarco Bubke <marco.bubke@theqtcompany.com>
      23b8a3b2
  10. 20 Apr, 2015 1 commit
  11. 20 Mar, 2015 1 commit
  12. 27 Feb, 2015 1 commit
  13. 26 Feb, 2015 1 commit
  14. 09 Feb, 2015 2 commits
  15. 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
  16. 26 Jan, 2015 2 commits
  17. 16 Jan, 2015 1 commit
  18. 12 Jan, 2015 1 commit
  19. 18 Dec, 2014 1 commit
  20. 17 Dec, 2014 1 commit
  21. 25 Nov, 2014 1 commit
  22. 23 Oct, 2014 1 commit
  23. 15 Oct, 2014 2 commits
  24. 09 Oct, 2014 1 commit
  25. 06 Oct, 2014 1 commit
  26. 30 Sep, 2014 1 commit
  27. 29 Sep, 2014 2 commits
  28. 26 Sep, 2014 2 commits
  29. 25 Sep, 2014 1 commit
  30. 19 Sep, 2014 1 commit
  31. 16 Sep, 2014 1 commit
    • Erik Verbruggen's avatar
      C++: Move preprocessor settings handling to the document. · cc6a9bab
      Erik Verbruggen authored
      This cleans up the handling of those settings, and makes sure that the
      C++ document is setting those settings before parsing. This also
      prevents lock contention in the parser, because before this patch the
      document would kick of the initial parse (after opening a document),
      after which the editor would come in and try to set the preprocessor
      settings, resulting in the UI thread locking until the initial parse was
      done.
      
      Change-Id: Ia2e18a9667e10279f045c1c5849046ec4cfe85ae
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
      cc6a9bab
  32. 09 Sep, 2014 2 commits
    • hjk's avatar
      TextEditor: Merge some "assist" related classes · 0edefc4c
      hjk authored
      Simplifies the code base by removing one level of unused
      and unneeded abstraction.
      
      - Merge {I,Default}AssistInterface to AssistInterface
      - Merge {IAssist,Basic}ProposalItem to AssistProposalItem
      - Merge {IGenericProposal,BasicProposalItemList}Model to GenericProposalModel
      
      Change-Id: I54ee7b095427383d67a00fc1d87c3808c21d812d
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
      0edefc4c
    • Nikolai Kosjar's avatar
      CppEditor: Fix local renaming · e9e111ff
      Nikolai Kosjar authored
      CppLocalRenaming was connected to the initial QPlainTextEdit::document()
      and not the "updated" QTextDocument set by
      BaseTextEditorWidgetPrivate::setupDocumentSignals().
      
      Broken by
      
          commit c655d7e5
          CppEditor: Convert to new construction scheme
      
      Change-Id: I2e785a9d62a3bd39d9e613776cfc8e35dd9ff5d4
      Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
      e9e111ff
  33. 08 Sep, 2014 1 commit
  34. 04 Sep, 2014 1 commit