1. 04 Jul, 2014 2 commits
  2. 23 May, 2014 2 commits
  3. 15 May, 2014 1 commit
  4. 15 Oct, 2013 1 commit
  5. 09 Oct, 2013 1 commit
  6. 12 Sep, 2013 1 commit
  7. 31 Jul, 2013 1 commit
  8. 16 Jul, 2013 1 commit
  9. 15 Jul, 2013 1 commit
  10. 12 Jul, 2013 1 commit
  11. 06 Jun, 2013 1 commit
  12. 13 May, 2013 1 commit
  13. 19 Apr, 2013 1 commit
  14. 30 Jan, 2013 1 commit
  15. 24 Jan, 2013 1 commit
  16. 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
  17. 07 Nov, 2012 1 commit
  18. 31 Oct, 2012 1 commit
  19. 11 Oct, 2012 1 commit
  20. 19 Sep, 2012 5 commits
  21. 17 Sep, 2012 1 commit
  22. 07 Sep, 2012 1 commit
  23. 23 Aug, 2012 1 commit
    • Leandro Melo's avatar
      C++: Fix regression when binding qualified names · 15a67c41
      Leandro Melo authored
      This was introduced in function extraction refactoring intended
      to fix an issue with invalid class names: a66e344b
      The patch fixes only the regression itself - the previous fix
      is correct.
      
      The report below consists two parts. The other one is not a
      regression but nevertheless is fixed by the previous patch.
      
      Task-number: QTCREATORBUG-7730
      Change-Id: I6f65584902619b542c9ce56cd0f37218a3d50104
      Reviewed-by: default avatarRoberto Raggi <roberto.raggi@nokia.com>
      15a67c41
  24. 30 Jul, 2012 1 commit
  25. 11 Jun, 2012 1 commit
  26. 06 Jun, 2012 1 commit
    • 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
  27. 20 Mar, 2012 1 commit
  28. 23 Feb, 2012 2 commits
  29. 21 Feb, 2012 1 commit
  30. 10 Feb, 2012 1 commit
  31. 02 Feb, 2012 2 commits
  32. 31 Jan, 2012 1 commit
    • Flex Ferrum's avatar
      C++: Type deduction for auto-declared variables implemented · c6fc0be8
      Flex Ferrum authored
      Handled to major cases of 'auto' variable declaration:
      1. auto var = someInitializer;
      2. Q_FOREACH(auto item, collection) or foreach(auto item, collection)
      
      In first case type deducted directly from initializer. If variable has no initializer then corresponded error reported. In second case type deducted from '*collection.begin()' expression.
      
      Change-Id: Ie930add1648b99440281ae04d973fd6904bc9e46
      Reviewed-by: default avatarRoberto Raggi <roberto.raggi@nokia.com>
      c6fc0be8