1. 08 Feb, 2012 1 commit
  2. 07 Feb, 2012 1 commit
  3. 03 Feb, 2012 2 commits
  4. 01 Feb, 2012 1 commit
  5. 30 Jan, 2012 1 commit
  6. 26 Jan, 2012 2 commits
  7. 24 Jan, 2012 5 commits
  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>
      b97b45a3
    • 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
  9. 20 Jan, 2012 1 commit
  10. 18 Jan, 2012 1 commit
  11. 17 Jan, 2012 1 commit
  12. 16 Jan, 2012 2 commits
  13. 13 Jan, 2012 2 commits
  14. 12 Jan, 2012 3 commits
  15. 11 Jan, 2012 2 commits
  16. 10 Jan, 2012 1 commit
  17. 20 Dec, 2011 1 commit
  18. 19 Dec, 2011 1 commit
  19. 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>
      30374e2b
  20. 09 Dec, 2011 1 commit
  21. 02 Dec, 2011 1 commit
  22. 28 Nov, 2011 1 commit
  23. 23 Nov, 2011 1 commit
  24. 21 Nov, 2011 3 commits
  25. 18 Nov, 2011 1 commit
  26. 15 Nov, 2011 1 commit