1. 18 Apr, 2013 1 commit
  2. 17 Apr, 2013 1 commit
  3. 10 Apr, 2013 2 commits
  4. 09 Apr, 2013 1 commit
  5. 08 Apr, 2013 1 commit
  6. 03 Apr, 2013 1 commit
  7. 08 Mar, 2013 2 commits
  8. 26 Feb, 2013 1 commit
  9. 21 Feb, 2013 2 commits
    • Erik Verbruggen's avatar
      Fix compilation issue with clang. · edec1c1d
      Erik Verbruggen authored
      cppeditor.cpp:2631:13: error: use of overloaded operator '+' is ambiguous (with operand types 'QChar' and 'QChar')
                  + characterAt(pos - 2)
                  ^ ~~~~~~~~~~~~~~~~~~~~
      ../../../../../builds/qt5-stable/qtbase/include/QtCore/../../src/corelib/tools/qstring.h:1116:22: note: candidate function
      inline const QString operator+(const QString &s1, QChar s2)
                           ^
      ../../../../../builds/qt5-stable/qtbase/include/QtCore/../../src/corelib/tools/qstring.h:1118:22: note: candidate function
      inline const QString operator+(QChar s1, const QString &s2)
                           ^
      ../../../../../builds/qt5-stable/qtbase/include/QtCore/../../src/corelib/tools/qstring.h:1114:22: note: candidate function
      inline const QString operator+(const QString &s1, const QString &s2)
                           ^
      
      Change-Id: I65663a901d301d6b0a3df2c8b5631e9aa5ab081b
      Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
      edec1c1d
    • Knut Petter Svendsen's avatar
      C++: Improved automatic Doxygen comment blocks with CppStyle · c937226d
      Knut Petter Svendsen authored
      Added support for CppStyle for Doxygen block generation when
      hitting enter after a /// or //! comment. Previously only
      QtStyle and JavaStyle was supported.
      
      Change-Id: Ib010e55ba602127a6842ba02034fbe85994ee2bd
      Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
      c937226d
  10. 19 Feb, 2013 2 commits
  11. 14 Feb, 2013 2 commits
  12. 11 Feb, 2013 1 commit
  13. 01 Feb, 2013 1 commit
  14. 29 Jan, 2013 1 commit
  15. 23 Jan, 2013 1 commit
  16. 22 Jan, 2013 1 commit
  17. 11 Jan, 2013 1 commit
    • Petar Perisin's avatar
      Editor: Allow to open links in a new split. · 39e9c5ef
      Petar Perisin authored
      This changes current behavior while opening links. Link is now opened in
      next split by default. If you use CTRL+Click to open links, it will also
      open in next split. However, by using CTRL+ALT+click it will open in
      current split.
      
      There are two new checkboxes in Tools/Options/Text Editor/Display:
      - "Open Links in New Split" - if it is checked, links will not be opened
      in current split. However, if document with link is already opened, it
      will be used to open the split
      - "Force open links in next split" - Links will always open in next
      split, even if their document is already opened somewhere else.
      
      Task-number: QTCREATORBUG-8117
      Change-Id: Ib99075b55d9e9683ed2c2386767227457de0a3fc
      Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
      39e9c5ef
  18. 08 Jan, 2013 1 commit
    • Orgad Shaneh's avatar
      Remove braces for single lines of conditions · 29a93998
      Orgad Shaneh authored
      #!/usr/bin/env ruby
      
      Dir.glob('**/*.cpp') { |file|
        # skip ast (excluding paste, astpath, and canv'ast'imer)
        next if file =~ /ast[^eip]|keywords\.|qualifiers|preprocessor|names.cpp/i
        s = File.read(file)
        next if s.include?('qlalr')
        orig = s.dup
        s.gsub!(/\n *if [^\n]*{\n[^\n]*\n\s+}(\s+else if [^\n]* {\n[^\n]*\n\s+})*(\s+else {\n[^\n]*\n\s+})?\n/m) { |m|
          res = $&
          if res =~ /^\s*(\/\/|[A-Z_]{3,})/ # C++ comment or macro (Q_UNUSED, SDEBUG), do not touch braces
            res
          else
            res.gsub!('} else', 'else')
            res.gsub!(/\n +} *\n/m, "\n")
            res.gsub(/ *{$/, '')
          end
        }
        s.gsub!(/ *$/, '')
        File.open(file, 'wb').write(s) if s != orig
      }
      
      Change-Id: I3b30ee60df0986f66c02132c65fc38a3fbb6bbdc
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      29a93998
  19. 12 Dec, 2012 1 commit
  20. 06 Dec, 2012 1 commit
  21. 04 Dec, 2012 1 commit
  22. 20 Nov, 2012 1 commit
  23. 01 Nov, 2012 1 commit
  24. 15 Oct, 2012 1 commit
  25. 05 Oct, 2012 1 commit
  26. 21 Sep, 2012 1 commit
  27. 29 Aug, 2012 1 commit
  28. 30 Jul, 2012 1 commit
  29. 19 Jul, 2012 2 commits
  30. 28 Jun, 2012 1 commit
  31. 06 Jun, 2012 1 commit
  32. 05 Jun, 2012 1 commit
    • Francois Ferrand's avatar
      CppHighlighter: highlight all functions/methods. · 809611f3
      Francois Ferrand authored
      - Highlight all function/methods (not just virtual methods).
      - Highlight as a function even if number of arguments does not match. In
        that case, add a diagnostic message to indicate there are too many/too
        few arguments.
      - Fix highlighting of parameters in function declarations.
        These used to be handled indiferently, and they could be mistaken for
        type or field references.
      - Properly highlight template method calls.
      
      Change-Id: I6e61c9ee47763db95c62314f9cc1c4d398df38b3
      Reviewed-by: default avatarLeandro Melo <leandro.melo@nokia.com>
      809611f3
  33. 25 May, 2012 1 commit
  34. 11 May, 2012 1 commit