1. 23 Feb, 2012 1 commit
  2. 21 Feb, 2012 2 commits
  3. 20 Feb, 2012 3 commits
  4. 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
  5. 15 Feb, 2012 1 commit
  6. 13 Feb, 2012 1 commit
  7. 10 Feb, 2012 1 commit
    • Leandro Melo's avatar
      Improve code-assist API isSortable · 70b64280
      Leandro Melo authored
      Now IGenericProposalModel::isSortable also takes the current prefix
      as a parameter. This is particularly useful for cases like in the C++
      completion: For global completions it will only sort if there's
      already a content prefix - Notice, however, that the "sorting threshold"
      for a maximum number of items is still kept in IGenericProposalModel::sort.
      
      Task-number: QTCREATORBUG-6404
      Change-Id: I3c2f282aa565287b8b4989930b6a27093862ef25
      Reviewed-by: default avatarRoberto Raggi <roberto.raggi@nokia.com>
      70b64280
  8. 09 Feb, 2012 3 commits
  9. 08 Feb, 2012 1 commit
  10. 07 Feb, 2012 1 commit
  11. 31 Jan, 2012 2 commits
  12. 26 Jan, 2012 1 commit
  13. 25 Jan, 2012 1 commit
  14. 24 Jan, 2012 7 commits
  15. 23 Jan, 2012 4 commits
    • Leandro Melo's avatar
      C++: Remaining fixes in symbol finder · 35bcccb5
      Leandro Melo authored
      Should have gone in the previous fix commit...
      
      Change-Id: Ibca55cbd6fd58caee7d61f5e8f8c37f67391c597
      Reviewed-by: default avatarLeandro Melo <leandro.melo@nokia.com>
      35bcccb5
    • 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>
      b97b45a3
    • Leandro Melo's avatar
      Compile fix · 6caa899b
      Leandro Melo authored
      Change-Id: I22dfa74f8f10a601103b179eb037604d5a747077
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      6caa899b
    • 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
  16. 13 Jan, 2012 2 commits
  17. 12 Jan, 2012 1 commit
  18. 11 Jan, 2012 2 commits
  19. 10 Jan, 2012 1 commit
  20. 20 Dec, 2011 4 commits