1. 16 May, 2014 1 commit
  2. 15 May, 2014 1 commit
  3. 31 Mar, 2014 1 commit
  4. 25 Mar, 2014 2 commits
  5. 05 Mar, 2014 1 commit
  6. 27 Feb, 2014 1 commit
  7. 04 Feb, 2014 1 commit
  8. 20 Jan, 2014 1 commit
  9. 08 Jan, 2014 1 commit
  10. 15 Oct, 2013 1 commit
  11. 29 Aug, 2013 1 commit
  12. 17 Jul, 2013 1 commit
  13. 03 Jun, 2013 1 commit
  14. 10 Apr, 2013 1 commit
  15. 03 Apr, 2013 1 commit
  16. 29 Jan, 2013 1 commit
  17. 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
  18. 28 Nov, 2012 2 commits
  19. 05 Oct, 2012 1 commit
  20. 19 Sep, 2012 1 commit
  21. 19 Jul, 2012 1 commit
  22. 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
  23. 12 Mar, 2012 1 commit
  24. 15 Feb, 2012 1 commit
  25. 26 Jan, 2012 1 commit
  26. 24 Jan, 2012 1 commit
  27. 08 Dec, 2011 1 commit
  28. 03 Nov, 2011 1 commit
  29. 11 Oct, 2011 1 commit
  30. 21 Sep, 2011 1 commit
  31. 06 Jul, 2011 2 commits
  32. 01 Jun, 2011 1 commit
  33. 30 May, 2011 1 commit
  34. 24 May, 2011 1 commit
  35. 19 May, 2011 2 commits
  36. 06 May, 2011 1 commit