1. 19 Jun, 2012 1 commit
  2. 14 Mar, 2012 1 commit
  3. 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.
          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.
          GCC: Evaluate cxxflags when checking for predefined macros
          MSVC: Take cxxflags into account when checking for predefined macros
          Compile fixes
      Change-Id: I9de94ad038dfc5dc1987732e84b13fb4419c96f5
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@nokia.com>
  4. 15 Feb, 2012 1 commit
  5. 10 Feb, 2012 1 commit
  6. 26 Jan, 2012 1 commit
  7. 24 Jan, 2012 1 commit
  8. 23 Jan, 2012 2 commits
    • Leandro Melo's avatar
      C++: Fix "reference" file in symbol finder · b97b45a3
      Leandro Melo authored
      Througout the initial review the singleton was transformed into an
      ordinary class, but a error was introduced: The "reference" file was
      incorrectly assumed to be the editors file, which is wrong, since
      it should be the declaration file.
      Change-Id: Iad3e25a690fa8bd07a18184b24b10f8dea965332
      Reviewed-by: default avatarRoberto Raggi <roberto.raggi@nokia.com>
    • 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>
  9. 13 Jan, 2012 1 commit
  10. 12 Jan, 2012 1 commit
  11. 10 Jan, 2012 1 commit
  12. 18 Dec, 2011 1 commit
    • Friedemann Kleint's avatar
      CppEditor: Improve string literal quick fix. · 30374e2b
      Friedemann Kleint authored
      - Add conversion for single character constants, offering
        to convert them characters or QLatin1Char.
      - Offer conversions from character constants to string constants.
      - Rewrite the WrapStringLiteral::Operation class such that it
        takes a mask of actions to perform which can be combined
        in arbitrary ways. Provide static convenience functions
        that can be used for the Translation/Objective C conversion
        as well.
      - Move code outside class to reduce indentation.
      - Use its functionality for the Translation/Objective C
        conversion as well, reducing redundant analysis/operation code.
      Change-Id: If32c16a705cfc1cc20a48ab1c93b5053467d1749
      Reviewed-by: default avatarLeandro Melo <leandro.melo@nokia.com>
  13. 02 Dec, 2011 1 commit
  14. 03 Nov, 2011 1 commit
  15. 25 Oct, 2011 1 commit
  16. 12 Oct, 2011 1 commit
  17. 30 Sep, 2011 1 commit
  18. 05 Sep, 2011 1 commit
  19. 19 Aug, 2011 1 commit
    • Christian Kamm's avatar
      Refactoring changes: Cleanup and improvements. · 8a6d767a
      Christian Kamm authored
      Previously RefactoringFiles were usually passed around by value.
      However, since a RefactoringFile may sometimes own a QTextDocument
      (when it was read from a file), that's not great and caused the
      file to be reread after every copy.
      With this change RefactoringFile becomes noncopyable and is always
      owned by a shared pointer.
      This change also allowed having const RefactoringFiles which is
      useful because they can be safely used from other threads. See
      Change-Id: I9045921d6d0f6349f9558ff2a3d8317ea172193b
      Reviewed-on: http://codereview.qt.nokia.com/3084
      Reviewed-by: default avatarLeandro T. C. Melo <leandro.melo@nokia.com>
  20. 15 Aug, 2011 1 commit
  21. 08 Jun, 2011 1 commit
  22. 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).
  23. 11 May, 2011 1 commit
  24. 06 May, 2011 1 commit
  25. 18 Apr, 2011 1 commit
  26. 13 Apr, 2011 1 commit
  27. 22 Feb, 2011 1 commit
    • hjk's avatar
      texteditor: merge ITextEditable into ITextEditor · f576ad9f
      hjk authored
      rename BastTextEditor->BaseTextEditorWidget, BaseTextEditorEditable->BaseTextEditor
      rename BaseTextEditor{,Widget} subclasses
      rename editableInterface->editorInterface
      rename createEditableInterface->createEditor
      minor cleanups after renamings
  28. 20 Jan, 2011 1 commit
  29. 12 Jan, 2011 2 commits
  30. 10 Jan, 2011 1 commit
  31. 07 Jan, 2011 1 commit
  32. 17 Dec, 2010 1 commit
  33. 10 Dec, 2010 1 commit
  34. 18 Nov, 2010 1 commit
  35. 01 Nov, 2010 1 commit
  36. 08 Oct, 2010 1 commit
  37. 30 Sep, 2010 1 commit
  38. 27 Sep, 2010 1 commit