1. 31 Aug, 2012 1 commit
  2. 29 Aug, 2012 1 commit
  3. 27 Aug, 2012 1 commit
    • Christian Kandeler's avatar
      Utils: Introduce HostOsInfo class. · e669f054
      Christian Kandeler authored
      The class' member functions are intended to be used
      instead of the Q_OS_* macros in all contexts where
      the latter are not syntactically required.
      This lowers the likelihood of changes made on one
      platform breaking the build on another, e.g. due to
      the code model missing symbols in #ifdef'ed out code
      when refactoring.
      
      Change-Id: I4a54788591b4c8f8d589b8368a6c683d4155c9fa
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      e669f054
  4. 23 Aug, 2012 2 commits
  5. 17 Aug, 2012 1 commit
  6. 09 Aug, 2012 1 commit
  7. 06 Aug, 2012 2 commits
  8. 30 Jul, 2012 2 commits
  9. 23 Jul, 2012 1 commit
  10. 20 Jul, 2012 1 commit
  11. 19 Jul, 2012 1 commit
  12. 17 Jul, 2012 3 commits
    • Leandro Melo's avatar
      C++: Change back highlighting of types · 441c652c
      Leandro Melo authored
      The type highlighting change part of the recent patch
      4a2a17af didn't seem to
      please much from a visual point of view. It's a better
      idea to keep the type highlighting as it was for now
      and in the future try again the approach with an explicit
      option and perhaps a more restrictive context.
      
      The other patch is not reverted entirely because it does
      fix a couple of bugs.
      
      Change-Id: I806afa3d8c1c4b241080b8704255d737f61ee12c
      Reviewed-by: default avatarRoberto Raggi <roberto.raggi@nokia.com>
      441c652c
    • Leandro Melo's avatar
      C++: Changes in semantic highlighting · 4a2a17af
      Leandro Melo authored
      - Fix issues with virtual/non-virtual destructors. They were not
        being correctly identified in some cases - in particular on certain
        uses in derived classes.
      
      - Since now we do have a highlighting item for regular functions,
        constructors and destructors are now highlighted as such. This is
        more semantically correct and actually makes navigation and readiblity
        more distinguishable, since it cleary differentiates the type itself
        from its uses in expressions and declarators. (This seems to be what
        other IDEs like Eclipse, Visual Studio, KDevelop are doing.)
      
        NOTE: There's a switch to disable this item in the case it doesn't
        get good acceptance. Actually, the switch can be made a user
        setting...?
      
      - Change the default color scheme so regular and virtual functions
        have the same color (virtuals continue to be italic). This makes
        sense given the above mentioned changes in constructors/destructors
        highlighting behavior. (In other schemes virtual funcions don't have
        different color, so this shouldn't be necessary in those.)
      
      - Small renaming: "members" are now "fields" - consistent, since
        they apply for data and it's the term used in the UI.
      
      Change-Id: Ib1aa9c0bbf28a31d09f5696460b0095fbe29de80
      Reviewed-by: default avatarRoberto Raggi <roberto.raggi@nokia.com>
      4a2a17af
    • Sergey Shambir's avatar
      Added tooltips on completions proposals · edabcb40
      Sergey Shambir authored
      Change-Id: Ic22b99e25159edfa4977e13c98f334ce75809af7
      Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
      Reviewed-by: default avatarEike Ziller <eike.ziller@nokia.com>
      edabcb40
  13. 29 Jun, 2012 2 commits
  14. 28 Jun, 2012 2 commits
  15. 25 Jun, 2012 1 commit
    • Leandro Melo's avatar
      C++: Core changes in preprocessing · d6ccffc0
      Leandro Melo authored
      Summary of most relevant items:
      
      - Preprocessor output format change. No more gen true/false. Instead
        a more intuitive and natural expansion (like from a real compiler) is
        performed directly corresponding to the macro invocation. Notice that
        information about the generated tokens is not lost, because it's now
        embedded in the expansion section header (in terms of lines and columns
        as explained in the code). In addition the location on where the macro
        expansion happens is also documented for future use.
      
      - Fix line control directives and associated token line numbers.
        This was not detected in tests cases because some of them were
        actually wrong: Within expansions the line information was being
        considered as originally computed in the macro definition, while
        the desired and expected for Creator's reporting mechanism (just
        like regular compilers) is the line from the expanded version
        of the tokens.
      
      - Do not allow for eager expansion. This was previously being done
        inside define directives. However, it's not allowed and might
        lead to incorrect results, since the argument substitution should
        only happen upon the macro invocation (and following nested ones).
        At least GCC and clang are consistent with that. See test case
        tst_Preprocessor:dont_eagerly_expand for a detailed explanation.
      
      - Revive the 'expanded' token flag. This is used to mark every token
        that originates from a macro expansion. Notice, however, that
        expanded tokens are not necessarily generated tokens (although
        every generated token is a expanded token). Expanded tokens that
        are not generated are those which are still considered by our
        code model features, since they are visible on the editor. The
        translation unit is smart enough to calculate line/column position
        for such tokens based on the information from the expansion section
        header.
      
      - How expansions are tracked has also changed. Now, we simply add
        two surrounding marker tokens to each "top-level" expansion
        sequence. There is an enumeration that control expansion states.
        Also, no "previous" token is kept around.
      
      - Preprocessor client methods suffered a change in signature so
        they now receive the line number of the action in question as
        a paramater. Previously such line could be retrieved by the client
        implementation by accessing the environment line. However, this
        is not reliable because we try to avoid synchronization of the
        output/environment lines in order to avoid unnecessary output,
        while expanding macros or handling preprocessor directives.
      
      - Although macros are not expanded during define directives (as
        mentioned above) the preprocessor client is now "notified"
        when it sees a macro. This is to allow usage tracking.
      
      - Other small stuff.
      
      This is all in one patch because the fixes are a consequence
      of the change in preprocessing control.
      
      Change-Id: I8f4c6e6366f37756ec65d0a93b79f72a3ac4ed50
      Reviewed-by: default avatarRoberto Raggi <roberto.raggi@nokia.com>
      d6ccffc0
  16. 20 Jun, 2012 1 commit
  17. 19 Jun, 2012 2 commits
  18. 06 Jun, 2012 2 commits
    • Leandro Melo's avatar
      C++: Introduce unicode char/strings support · 23c637c4
      Leandro Melo authored
      Those are the types char16_t and char32_t along with the new
      char/string literals u'', U'', u"", u8"", and U"".
      
      This is particularly important for the use of QStringLiteral
      since in some platforms it relies on expansion such as above.
      
      Note: The string literals quickfixes still need some tunning.
      
      Task-number: QTCREATORBUG-7449
      Change-Id: Iebcfea15677dc8e0ebb6143def89a5477e1be7d4
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      23c637c4
    • Andre Hartmann's avatar
      Implemented Rename Macro Usages · 44a3a5e0
      Andre Hartmann authored
      Works the same way as Rename Usages for C++ Symbols.
      
      For now, no Search Again as this requieres further work.
      
      Task-number: QTCREATORBUG-413
      
      Change-Id: I09e85ea1e8c247f5ce0b6bc566aba8018c1569e4
      Reviewed-by: default avatarLeandro Melo <leandro.melo@nokia.com>
      44a3a5e0
  19. 05 Jun, 2012 2 commits
  20. 01 Jun, 2012 1 commit
    • Leandro Melo's avatar
      C++: Fix macro uses line info · ca7ac8c0
      Leandro Melo authored
      Make sure the environment line is consistent during preprocessor
      directives and identifier handling so clients can rely on consistent
      information. Particularly important for macro usages.
      
      New tests also added.
      
      Change-Id: I962a39a86cd17b8d945d2959c2c95e2d258ea3e6
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      ca7ac8c0
  21. 25 May, 2012 1 commit
  22. 23 May, 2012 1 commit
  23. 22 May, 2012 1 commit
  24. 11 May, 2012 1 commit
  25. 30 Apr, 2012 1 commit
  26. 19 Apr, 2012 4 commits
  27. 13 Apr, 2012 1 commit